/* ==========================================================================
   Voorbeeld Allochtoon — design system
   Dark cinematic foundation (Lotgenoten) + warm editorial sections (Omdenken)
   Tokens are committed brand values (see DESIGN.md). Do not re-seed.
   ========================================================================== */

:root {
  /* Color — committed brand palette */
  --bg: #111111;
  --surface: #1c1c1c;
  --surface-2: #242424;
  --accent: #e8821a;
  --accent-hover: #c96e12;
  --accent-ink: #1a1a1a;          /* text on amber (6.7:1) */
  --red: #d43b2a;
  --ink-on-dark: #f4f0eb;
  --muted-on-dark: #9b9690;
  --bg-light: #fafaf8;
  --bg-light-2: #f1ede6;
  --ink: #1a1a1a;
  --muted: #5a5a58;
  --border-dark: rgba(255, 255, 255, 0.08);
  --border-dark-strong: rgba(255, 255, 255, 0.16);
  --border-light: #e5e2dc;
  --success: #2e8b57;
  --error: #c0392b;

  /* Multicolour mark stops (diversity motif) — decorative only */
  --bar-1: #00aeef; --bar-2: #ec1c64; --bar-3: #8e2d8e; --bar-4: #f6c700;
  --bar-5: #2eb872; --bar-6: #ee6c4d; --bar-7: #2b0a52; --bar-8: #d43b2a;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step-h1: clamp(2.25rem, 1.3rem + 4.2vw, 4.5rem);
  --step-h2: clamp(1.7rem, 1.2rem + 2.2vw, 2.75rem);
  --step-h3: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --step-lead: clamp(1.06rem, 0.98rem + 0.5vw, 1.375rem);
  --step-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-stat: clamp(2rem, 1.3rem + 3vw, 4rem);

  /* Space (8px grid) */
  --space-section: clamp(4rem, 2.5rem + 6vw, 6rem);
  --container: 1200px;
  --measure: 44rem;             /* ~740px editorial measure */

  /* Radius */
  --r-btn: 6px;
  --r-card: 10px;
  --r-pill: 999px;

  /* Z-scale */
  --z-sticky: 100;
  --z-drawer-backdrop: 200;
  --z-drawer: 210;
  --z-toast: 300;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);     /* quint-ish ease-out */
}

/* --- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.65;
  color: var(--ink-on-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--r-btn); font-weight: 600;
  z-index: var(--z-toast); transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 8px; }

/* --- Layout ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--space-section); }
.section--dark { background: var(--bg); color: var(--ink-on-dark); }
.section--surface { background: var(--surface); color: var(--ink-on-dark); }
.section--light { background: var(--bg-light); color: var(--ink); }
.section--light-2 { background: var(--bg-light-2); color: var(--ink); }

.section-head { max-width: 56rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--accent); }
h2.section-title { font-size: var(--step-h2); margin-top: 0.7rem; }
.section--light .section-title, .section--light-2 .section-title { color: var(--ink); }
.section-sub { margin-top: 1rem; font-size: var(--step-lead); color: var(--muted-on-dark); max-width: 42rem; }
.section--light .section-sub, .section--light-2 .section-sub { color: var(--muted); }
.section-head--center .section-sub { margin-inline: auto; }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  line-height: 1; padding: 0.95rem 1.6rem; border-radius: var(--r-btn);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform 0.18s var(--ease-out), background 0.18s var(--ease-out),
              border-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--outline { background: transparent; border-color: var(--border-dark-strong); color: var(--ink-on-dark); }
.btn--outline:hover { border-color: var(--ink-on-dark); }
.btn--ghost-dark { background: transparent; border-color: rgba(0,0,0,0.18); color: var(--ink); }
.btn--ghost-dark:hover { border-color: var(--ink); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--full { width: 100%; }
.btn .arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.textlink {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; color: var(--accent);
}
.textlink .arrow { transition: transform 0.2s var(--ease-out); }
.textlink:hover .arrow { transform: translateX(4px); }
.textlink:hover { color: var(--accent-hover); }

/* --- Pills / badges ---------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.4rem 0.8rem; border-radius: var(--r-pill);
}
.pill--amber { background: var(--accent); color: var(--accent-ink); }
.pill--outline { border: 1px solid var(--border-dark-strong); color: var(--ink-on-dark); }
.pill--red { background: var(--red); color: #fff; }
.pill--new { background: var(--red); color: #fff; }

/* --- Navigation -------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border-dark);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a {
  font-size: 0.94rem; color: var(--muted-on-dark); font-weight: 500;
  position: relative; padding-block: 0.5rem; transition: color 0.18s var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink-on-dark); }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
}
.nav__cta { display: flex; align-items: center; gap: 0.9rem; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink-on-dark);
  position: relative; transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; visibility: hidden;
  z-index: var(--z-drawer-backdrop); transition: opacity 0.25s var(--ease-out), visibility 0.25s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--bg); border-left: 1px solid var(--border-dark);
  z-index: var(--z-drawer); transform: translateX(100%);
  transition: transform 0.3s var(--ease-out); padding: 1.5rem 1.5rem 2.5rem;
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer__close { background: none; border: 0; cursor: pointer; width: 44px; height: 44px; color: var(--ink-on-dark); font-size: 1.6rem; line-height: 1; }
.drawer__links { display: flex; flex-direction: column; gap: 0.25rem; }
.drawer__links a { padding: 0.85rem 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; border-bottom: 1px solid var(--border-dark); }
.drawer__links a[aria-current="page"] { color: var(--accent); }
.drawer .btn { margin-top: 1.5rem; }

/* --- Hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.35) 35%, rgba(17,17,17,0.92) 100%),
    linear-gradient(90deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.45) 60%, rgba(17,17,17,0.2) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4rem, 3rem + 9vw, 8.5rem); max-width: 46rem; }
.hero h1 { font-size: var(--step-h1); font-weight: 800; letter-spacing: -0.03em; margin-top: 1.25rem; }
.hero h1 .accent { color: var(--accent); }
.hero__lead { margin-top: 1.5rem; font-size: var(--step-lead); color: rgba(244,240,235,0.86); max-width: 38rem; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--border-dark); }
.hero__stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--accent); line-height: 1; }
.hero__stat .label { display: block; margin-top: 0.4rem; font-size: 0.84rem; color: var(--muted-on-dark); }

/* --- Stat strip -------------------------------------------------------- */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--border-dark); border: 1px solid var(--border-dark); border-radius: var(--r-card); overflow: hidden; }
.stats-strip__item { background: var(--surface); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem) 1.5rem; }
.stats-strip__num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-stat); color: var(--accent); line-height: 1; }
.stats-strip__label { margin-top: 0.6rem; color: var(--muted-on-dark); font-size: 0.92rem; }

/* --- Multicolour barcode divider (diversity motif) --------------------- */
.barcode { display: flex; height: 6px; width: 100%; border-radius: var(--r-pill); overflow: hidden; }
.barcode span { flex: 1; }
.barcode span:nth-child(1){background:var(--bar-1)} .barcode span:nth-child(2){background:var(--bar-2)}
.barcode span:nth-child(3){background:var(--bar-3)} .barcode span:nth-child(4){background:var(--bar-4)}
.barcode span:nth-child(5){background:var(--bar-5)} .barcode span:nth-child(6){background:var(--bar-6)}
.barcode span:nth-child(7){background:var(--bar-7)} .barcode span:nth-child(8){background:var(--bar-8)}

/* --- Content cards (editorial covers) ---------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-dark);
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  position: relative;
}
.section--light .card, .section--light-2 .card { background: #fff; border-color: var(--border-light); }
.card:hover { transform: translateY(-4px); border-color: var(--border-dark-strong); box-shadow: 0 18px 40px -24px rgba(0,0,0,0.6); }
.section--light .card:hover, .section--light-2 .card:hover { box-shadow: 0 18px 40px -24px rgba(0,0,0,0.28); border-color: #d8d3ca; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out); }
.card:hover::after { transform: scaleX(1); }

/* Designed cover (typographic, on-brand — replaces stock photography) */
.card__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; }
.card__cover img { width: 100%; height: 100%; object-fit: cover; grid-area: 1/1; }
.cover-art { grid-area: 1/1; position: relative; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.cover-art__bars { position: absolute; inset: 0; display: flex; opacity: 0.92; }
.cover-art__bars i { flex: 1; }
.cover-art__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.55)); }
.cover-art__quote { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; text-shadow: 0 2px 18px rgba(0,0,0,0.35); }
.cover-art__by { position: relative; margin-top: 0.6rem; font-size: 0.8rem; opacity: 0.9; }

.card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card__pill { align-self: flex-start; }
.card__title { font-size: var(--step-h3); color: var(--ink-on-dark); }
.section--light .card__title, .section--light-2 .card__title { color: var(--ink); }
.card__meta { font-size: 0.82rem; color: var(--muted-on-dark); }
.section--light .card__meta, .section--light-2 .card__meta { color: var(--muted); }
.card__excerpt { font-size: 0.95rem; color: var(--muted-on-dark); }
.section--light .card__excerpt, .section--light-2 .card__excerpt { color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 0.4rem; }
.card__link-cover { position: absolute; inset: 0; z-index: 1; } /* whole-card click target */

/* --- Split / feature blocks -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.split--media-right { grid-template-columns: 1fr 1fr; }
.split__media { border-radius: var(--r-card); overflow: hidden; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: var(--step-h2); }

.feature-photo { position: relative; border-radius: var(--r-card); overflow: hidden; }
.feature-photo__tag { position: absolute; left: 1rem; bottom: 1rem; }

/* --- Credential / chip strip ------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem; border-radius: var(--r-pill); border: 1px solid var(--border-dark-strong); font-size: 0.85rem; font-weight: 500; color: var(--ink-on-dark); }
.section--light .chip, .section--light-2 .chip { border-color: var(--border-light); color: var(--ink); background:#fff; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* --- CTA band ---------------------------------------------------------- */
.cta-band { position: relative; border-radius: clamp(14px, 1vw, 20px); overflow: hidden; background: var(--surface); border: 1px solid var(--border-dark); padding: clamp(2rem, 1.5rem + 4vw, 4rem); }
.cta-band::before { content: ""; position: absolute; width: 60%; height: 160%; right: -10%; top: -30%; background: radial-gradient(ellipse at center, rgba(232,130,26,0.22), transparent 65%); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { font-size: var(--step-h2); }
.cta-band .value-list { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.value-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-on-dark); }
.value-list .mark { color: var(--accent); font-weight: 700; flex: none; }
.cta-band__action { display: flex; flex-direction: column; gap: 1rem; }

/* --- Forms ------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--accent); }
.field .hint { font-size: 0.8rem; color: var(--muted-on-dark); }
.section--light .field .hint { color: var(--muted); }
.input, .textarea, .select {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-btn);
  background: var(--surface-2); border: 1px solid var(--border-dark-strong); color: var(--ink-on-dark);
  transition: border-color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.section--light .input, .section--light .textarea, .section--light .select { background: #fff; border-color: var(--border-light); color: var(--ink); }
.input::placeholder, .textarea::placeholder { color: var(--muted-on-dark); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,130,26,0.25); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.textarea { min-height: 140px; resize: vertical; }
.field-error { color: #ffb4ab; font-size: 0.82rem; min-height: 1em; }
.section--light .field-error { color: var(--error); }
.newsletter-inline { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter-inline .input { flex: 1; min-width: 200px; }
.checkbox-row { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted-on-dark); }
.checkbox-row input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.form-note { font-size: 0.82rem; color: var(--muted-on-dark); }
.form-status { margin-top: 0.5rem; font-weight: 600; }
.form-status[data-state="ok"] { color: #7fdca4; }
.form-status[data-state="err"] { color: #ffb4ab; }

/* --- Article (prose) --------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.25rem; }
.prose p { font-size: 1.12rem; line-height: 1.75; color: var(--ink); }
.section--dark .prose p, .section--surface .prose p { color: rgba(244,240,235,0.9); }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-h3); margin-top: 1.8rem; }
.prose blockquote { border-left: 0; margin: 2rem 0; padding: 1.4rem 1.6rem; background: var(--bg-light-2); border-radius: var(--r-card); font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.3; color: var(--ink); }
.section--dark .prose blockquote { background: var(--surface); color: var(--ink-on-dark); }
.prose blockquote::before { content: "“"; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -0.35em; margin-right: 0.1em; }
.prose a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 2px; }
.section--dark .prose a { color: var(--accent); }
.prose ul.bullets { display: grid; gap: 0.6rem; }
.prose ul.bullets li { position: relative; padding-left: 1.5rem; color: var(--ink); }
.prose ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }

/* Article header */
.article-head { background: var(--bg); color: var(--ink-on-dark); }
.article-head__inner { max-width: var(--measure); padding-block: clamp(2.5rem, 2rem + 4vw, 4.5rem); }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; margin-block: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; color: var(--muted-on-dark); font-size: 0.9rem; }
.author { display: inline-flex; align-items: center; gap: 0.6rem; }
.author__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); background: var(--accent); font-size: 0.95rem; }

/* breadcrumb */
.breadcrumb { font-size: 0.85rem; color: var(--muted-on-dark); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--ink-on-dark); }
.section--light .breadcrumb { color: var(--muted); }
.section--light .breadcrumb a:hover { color: var(--ink); }

/* --- Webshop product --------------------------------------------------- */
.product { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 4.5rem); align-items: start; }
.product__media { border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--border-dark); aspect-ratio: 3/4; display: grid; }
.product__price { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--ink-on-dark); }
.section--light .product__price { color: var(--ink); }
.product__price small { font-size: 0.95rem; font-weight: 500; color: var(--muted-on-dark); }

/* --- Podcast / embed --------------------------------------------------- */
.embed { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border-dark); background: var(--surface); }
.embed iframe { display: block; width: 100%; border: 0; }
.platform-links { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* --- Footer ------------------------------------------------------------ */
.footer { background: var(--bg); color: var(--ink-on-dark); border-top: 2px solid var(--accent); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.5rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.footer__brand img { height: 34px; margin-bottom: 1rem; }
.footer__tagline { color: var(--muted-on-dark); max-width: 22rem; }
.footer__socials { display: flex; gap: 0.7rem; margin-top: 1.25rem; }
.footer__socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-dark-strong); display: grid; place-items: center; transition: background 0.18s var(--ease-out), border-color 0.18s; }
.footer__socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer__socials svg { width: 18px; height: 18px; }
.footer__col h3 { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-on-dark); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { color: var(--ink-on-dark); font-size: 0.95rem; }
.footer__col a:hover { color: var(--accent); }
.footer__news p { color: var(--muted-on-dark); margin-bottom: 1rem; }
.footer__bottom { border-top: 1px solid var(--border-dark); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; color: var(--muted-on-dark); font-size: 0.82rem; }
.footer__bottom a:hover { color: var(--ink-on-dark); }

/* --- Misc utilities ---------------------------------------------------- */
.lead { font-size: var(--step-lead); color: var(--muted-on-dark); }
.section--light .lead { color: var(--muted); }
.center { text-align: center; }
.mt-l { margin-top: 2.5rem; }
.mt-m { margin-top: 1.5rem; }
.stack-md > * + * { margin-top: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.maxw-prose { max-width: var(--measure); }
.divider { height: 1px; background: var(--border-dark); border: 0; }
.section--light .divider { background: var(--border-light); }

/* Value/feature cards (no-photo, intentional) */
.feature { background: var(--surface); border: 1px solid var(--border-dark); border-radius: var(--r-card); padding: 1.6rem; }
.section--light .feature { background: #fff; border-color: var(--border-light); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(232,130,26,0.14); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted-on-dark); font-size: 0.96rem; }
.section--light .feature p { color: var(--muted); }

/* FAQ */
.faq { max-width: var(--measure); }
.faq details { border-bottom: 1px solid var(--border-light); padding: 0.4rem 0; }
.section--dark .faq details, .section--surface .faq details { border-color: var(--border-dark); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform 0.2s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--muted); max-width: 40rem; }
.section--dark .faq details p, .section--surface .faq details p { color: var(--muted-on-dark); }

/* --- Reveal on scroll --------------------------------------------------
   Content is VISIBLE by default. JS only "arms" (hides) elements that load
   below the fold, then reveals them on intersection. If JS/observer never
   runs (headless, crawler, no-IO), nothing is ever armed → nothing blank. */
.reveal { opacity: 1; transform: none; }
.js .reveal.reveal--armed { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js .reveal.reveal--armed.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal.reveal--armed { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .textlink .arrow, .nav__links a { transition: none !important; }
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .split, .cta-band__inner, .product { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split--reverse .split__media { order: -1; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta .btn--nav-hide { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .btn { width: 100%; }
  .hero__cta, .cta-band__action { width: 100%; }
  .newsletter-inline .btn { width: 100%; }
}
