/*
Theme Name: Knippie
Theme URI: https://knippie.com
Author: Knipsoft
Author URI: https://knippie.com
Description: Officieel Klaverjas HD thema voor knippie.com — dark editorial design met cinematic wow-effect.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: knippie
*/

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --color-bg:         #0b1f33;
  --color-surface:    #0f2744;
  --color-surface-2:  #163352;
  --color-border:     #1e4470;
  --color-text:       #ffffff;
  --color-text-muted: #90b8d8;
  --color-btn:        #5b9cf6;
  --color-btn-hover:  #7ab3ff;
  --color-red:        #e63946;
  --color-sand:       #e8c882;
  --shadow-deep:      0 40px 80px -20px rgba(0,0,0,0.6), 0 20px 30px -10px rgba(0,0,0,0.4);
  --shadow-card:      0 20px 40px -12px rgba(0,0,0,0.5);
  --serif:            Georgia, 'Times New Roman', Times, serif;
  --sans:             system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

/* WordPress alignment helpers */
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--color-text-muted); margin-top: 6px; font-style: italic; }

/* ─────────────────────────────────────────────────────────────
   AMBIENT CARD SUITS
───────────────────────────────────────────────────────────── */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient .suit {
  position: absolute;
  font-family: var(--serif);
  color: rgba(255,255,255,0.025);
  font-size: 380px;
  line-height: 1;
  user-select: none;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.ambient .s1 { top: 5%;  left: -4%;  transform: rotate(-12deg); }
.ambient .s2 { top: 38%; right: -5%; transform: rotate(15deg);  color: rgba(230,57,70,0.04); }
.ambient .s3 { bottom: -8%; left: 30%; transform: rotate(-6deg); }
.ambient .s4 { top: 70%; left: -3%; transform: rotate(8deg);    color: rgba(230,57,70,0.035); }

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 32px;
  background: rgba(11,31,51,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30,68,112,0);
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color 0.3s, padding 0.3s;
}
header.site.scrolled { border-bottom-color: var(--color-border); padding: 12px 32px; }

/* inner pages – sticky not fixed */
header.site.is-inner {
  position: sticky; top: 0;
  background: rgba(11,31,51,0.92);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 32px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.brand-name { font-family: var(--serif); font-size: 22px; line-height: 1; }
.brand-name small {
  display: block; font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-text-muted); margin-top: 4px;
}
/* WP custom-logo wrapper */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }

nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a { font-size: 14px; color: var(--color-text-muted); transition: color 0.2s; position: relative; }
nav.main a:hover { color: var(--color-text); }
nav.main a.active { color: var(--color-text); }
nav.main a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--color-btn);
}

.header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--color-border); border-radius: 999px;
  padding: 4px; font-size: 11px; letter-spacing: 0.1em;
}
.lang-switch a,
.lang-switch button {
  background: none; border: none; color: var(--color-text-muted);
  padding: 5px 10px; border-radius: 999px;
  font: inherit; cursor: pointer; display: block;
  transition: background 0.2s, color 0.2s;
}
.lang-switch a.on,
.lang-switch button.on { background: var(--color-btn); color: #fff; }
.lang-switch a:not(.on):hover,
.lang-switch button:not(.on):hover { color: var(--color-text); }

.hamburger { display: none; background: none; border: none; color: white; cursor: pointer; padding: 8px; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; top: 70px; left: 0; right: 0; z-index: 49;
  background: rgba(11,31,51,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 32px;
  flex-direction: column; gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 16px; color: var(--color-text-muted); padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.mobile-nav a:hover { color: var(--color-text); }

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  padding: 140px 32px 60px;
  display: grid; grid-template-rows: 1fr auto;
  overflow: hidden; z-index: 1;
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(91,156,246,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(230,57,70,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 2; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 26px; padding: 8px 16px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: rgba(91,156,246,0.06);
  opacity: 0; animation: fadeUp 1s 0.1s forwards;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--color-btn); border-radius: 50%; box-shadow: 0 0 8px var(--color-btn); }

.hero h1 {
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 1.0; letter-spacing: -0.025em;
  max-width: 18ch; margin: 0 auto;
}
.hero h1 .row { display: block; opacity: 0; animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .row:nth-child(1) { animation-delay: 0.2s; }
.hero h1 .row:nth-child(2) { animation-delay: 0.4s; font-style: italic; }

.hero-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--color-text-muted);
  max-width: 640px; margin: 32px auto 0;
  opacity: 0; animation: fadeUp 1s 0.6s forwards;
}
.hero-sub strong { font-style: normal; color: var(--color-text); font-weight: 400; }

/* ─── Store buttons ─── */
.stores {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 44px; opacity: 0; animation: fadeUp 1s 0.8s forwards;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); font-size: 13px; transition: all 0.2s;
}
.store-btn:hover { background: var(--color-surface-2); border-color: var(--color-btn); transform: translateY(-2px); }
.store-btn.primary { background: var(--color-btn); border-color: var(--color-btn); }
.store-btn.primary:hover { background: var(--color-btn-hover); border-color: var(--color-btn-hover); }
.store-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.store-btn .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.store-btn .lbl small { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.store-btn .lbl span { font-family: var(--serif); font-size: 16px; }
.cta-strip .stores { opacity: 1; animation: none; }

/* ─── Device (landscape) ─── */
.device-stage {
  margin: 70px auto 0; max-width: 1100px;
  opacity: 0; animation: fadeUp 1.2s 1s forwards;
  perspective: 1800px;
}
.device {
  position: relative; aspect-ratio: 1792 / 828; /* iPhone 11 landscape — matches the screenshots */
  border-radius: 46px;
  /* brushed-titanium edge */
  background:
    linear-gradient(135deg,
      #4a4d52 0%, #1d1e22 14%, #303237 34%,
      #16171a 60%, #2c2e33 80%, #45484d 100%);
  padding: 13px;
  box-shadow:
    var(--shadow-deep),
    0 0 0 1px rgba(0,0,0,0.55),
    inset 0 0 0 1.5px rgba(255,255,255,0.16),
    inset 0 3px 5px rgba(255,255,255,0.20),
    inset 0 -3px 6px rgba(0,0,0,0.55);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
/* volume rocker — top edge, left side (landscape) */
.device::before {
  content: ''; position: absolute; z-index: 2;
  top: -2.5px; left: 17%;
  width: 92px; height: 4px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #54575c 0%, #2a2b2f 55%, #131316 100%);
  box-shadow: 124px 0 0 -0.5px #2a2b2f; /* action / power-adjacent nub */
}
/* power button — bottom edge, right side */
.device::after {
  content: ''; position: absolute; z-index: 2;
  bottom: -2.5px; right: 19%;
  width: 104px; height: 4px;
  border-radius: 1px 1px 3px 3px;
  background: linear-gradient(0deg, #54575c 0%, #2a2b2f 55%, #131316 100%);
}
.device-screen {
  width: 100%; height: 100%; border-radius: 34px;
  background: #0b1f33; overflow: hidden; position: relative;
  box-shadow: inset 0 0 0 2px #000, inset 0 0 14px rgba(0,0,0,0.55);
}
.device-screen img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* Dynamic Island — left short edge in landscape */
.device-screen::after {
  content: ''; position: absolute; z-index: 6;
  left: 11px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 68px;
  background: #000;
  border-radius: 13px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    inset -1px 0 2px rgba(255,255,255,0.07);
}
/* glass reflection sheen */
.device-screen::before {
  content: ''; position: absolute; inset: 0; z-index: 5;
  pointer-events: none;
  background: linear-gradient(125deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.03) 22%,
    rgba(255,255,255,0) 46%);
}
.device-screen .placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-surface-2) 0%, var(--color-bg) 100%);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.4);
  font-family: var(--serif); font-style: italic; font-size: 24px;
}

/* ─── Screenshot thumbs ─── */
.thumb-row {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 28px; opacity: 0; animation: fadeUp 1s 1.4s forwards;
}
.thumb {
  width: 110px; aspect-ratio: 16/9; border-radius: 8px;
  overflow: hidden; background: var(--color-surface);
  border: 2px solid var(--color-border); cursor: pointer;
  transition: all 0.25s; padding: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-surface), var(--color-surface-2));
  display: grid; place-items: center; color: var(--color-text-muted); font-size: 18px;
}
.thumb:hover { transform: translateY(-3px); border-color: var(--color-btn); }
.thumb.on { border-color: var(--color-btn); box-shadow: 0 0 0 3px rgba(91,156,246,0.2); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────
   SHARED SECTION
───────────────────────────────────────────────────────────── */
section { padding: 120px 32px; position: relative; z-index: 1; }
.container { max-width: 1280px; margin: 0 auto; }

.section-eyebrow {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-text-muted);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.section-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--color-btn); }

h2.section-title {
  font-size: clamp(42px, 6vw, 80px); line-height: 1.0; letter-spacing: -0.02em; max-width: 16ch;
}
h2.section-title em { font-style: italic; color: var(--color-btn); }

.section-lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 24px); color: var(--color-text-muted);
  line-height: 1.4; max-width: 560px; margin-top: 26px;
}

/* ─────────────────────────────────────────────────────────────
   FRIENDS / MULTIPLAYER
───────────────────────────────────────────────────────────── */
.friends { background: var(--color-surface); position: relative; overflow: hidden; isolation: isolate; }
.friends-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.4) contrast(1.05);
  opacity: 0.28; transform: scale(1.05);
}
.friends::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, var(--color-surface) 0%, transparent 30%, transparent 70%, var(--color-surface) 100%),
    linear-gradient(90deg, var(--color-surface) 0%, rgba(15,39,68,0.5) 50%, var(--color-surface) 100%),
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(230,57,70,0.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(91,156,246,0.18), transparent 60%);
}
.friends .container { position: relative; z-index: 2; }
.friends-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.phones-stack { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.phone {
  position: absolute; width: 380px; aspect-ratio: 19/9;
  background: linear-gradient(160deg, #1a1a1a, #0a0a0a);
  border-radius: 28px; padding: 10px;
  box-shadow: var(--shadow-deep); border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.phone .screen {
  width: 100%; height: 100%; background: #0b1f33;
  border-radius: 20px; overflow: hidden; position: relative;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .screen .ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: rgba(255,255,255,0.3); font-family: var(--serif); font-style: italic;
  font-size: 14px; text-align: center; padding: 20px;
  background: linear-gradient(180deg, var(--color-surface-2), var(--color-bg));
}
.phone::before {
  content: ''; position: absolute;
  left: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 70px;
  background: #050505; border-radius: 0 10px 10px 0; z-index: 5;
}
.phone.left   { transform: rotate(-5deg) translate(-110px, 110px) scale(0.88); z-index: 1; }
.phone.center { transform: translate(0, -10px); z-index: 3; }
.phone.right  { transform: rotate(5deg) translate(110px, 110px) scale(0.88); z-index: 1; }
.phones-stack:hover .phone.left   { transform: rotate(-7deg) translate(-140px, 105px) scale(0.9); }
.phones-stack:hover .phone.center { transform: translate(0, -20px) scale(1.02); }
.phones-stack:hover .phone.right  { transform: rotate(7deg) translate(140px, 105px) scale(0.9); }

.voice-badge {
  position: absolute; top: -16px; right: -20px;
  background: var(--color-red); color: white;
  padding: 8px 14px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(230,57,70,0.4); z-index: 6;
}
.voice-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: white;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(0.6); opacity: 0.5; }
}
.friends-feats { margin-top: 36px; display: grid; gap: 14px; }
.friends-feats li {
  display: flex; align-items: center; gap: 14px;
  list-style: none; font-size: 15px; color: var(--color-text-muted);
}
.friends-feats .check {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(91,156,246,0.12); border: 1px solid var(--color-btn);
  display: grid; place-items: center; color: var(--color-btn); flex-shrink: 0; font-size: 14px;
}

/* ─────────────────────────────────────────────────────────────
   FEATURES — INFOGRAPHIC
───────────────────────────────────────────────────────────── */
.features { background: var(--color-bg); }
.features-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.feature-showcase {
  display: grid; grid-template-columns: 1fr minmax(420px, 1.3fr) 1fr;
  gap: 40px; align-items: center; position: relative;
}
.fcards { display: grid; gap: 24px; align-content: center; }
.fcards.left .fcard { text-align: right; }
.fcard {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 16px; padding: 24px 26px; cursor: pointer;
  text-align: left; color: var(--color-text); font: inherit;
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
  position: relative; overflow: hidden;
}
.fcard::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(91,156,246,0.18), transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.fcard:hover { border-color: rgba(91,156,246,0.5); transform: translateY(-2px); }
.fcard.active {
  background: var(--color-surface-2); border-color: var(--color-btn);
  box-shadow: 0 0 0 1px var(--color-btn), 0 20px 40px -16px rgba(91,156,246,0.4);
}
.fcard.active::before { opacity: 1; }
.fcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fcards.left .fcard-head { flex-direction: row-reverse; }
.fcard-num { font-size: 11px; letter-spacing: 0.2em; color: var(--color-btn); font-family: var(--sans); }
.fcard-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(91,156,246,0.12); border: 1px solid rgba(91,156,246,0.3);
  display: grid; place-items: center; color: var(--color-btn); flex-shrink: 0;
}
.fcard h3 { font-size: 24px; line-height: 1.1; margin-bottom: 10px; color: var(--color-text); }
.fcard p  { font-size: 14px; line-height: 1.55; color: var(--color-text-muted); }

.fdevice { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px 0; }
.fdevice::before {
  content: ''; position: absolute; inset: -40px -10px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(91,156,246,0.18), transparent 70%);
  pointer-events: none; z-index: 0;
}
/* features device — same iPhone look, smaller scale (inherits .device base) */
.fdevice .device {
  width: 100%; max-width: 460px; margin: 0 auto;
  border-radius: 34px;
  padding: 10px;
  z-index: 1;
}
.fdevice .device::before { left: 18%; width: 50px; box-shadow: 68px 0 0 -0.5px #2a2b2f; }
.fdevice .device::after  { right: 20%; width: 56px; }
.fdevice .device-screen { border-radius: 26px; }
.fdevice .device-screen::after {
  width: 16px; height: 50px; left: 9px; border-radius: 9px;
}
.fdevice .device-screen img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.4s; }
.fcaption {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  background: var(--color-bg); border: 1px solid var(--color-btn); color: var(--color-text);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; white-space: nowrap; z-index: 2;
  transition: opacity 0.3s;
}
.fcaption .num { color: var(--color-btn); margin-right: 8px; }

/* ─────────────────────────────────────────────────────────────
   VARIANTS
───────────────────────────────────────────────────────────── */
.variants { background: var(--color-surface); }
.variant-list { margin-top: 60px; }
.variant-row {
  display: grid; grid-template-columns: 70px 64px 1.1fr 2fr 160px;
  gap: 32px; align-items: center;
  padding: 32px 0; border-top: 1px solid var(--color-border);
  cursor: pointer; transition: padding 0.3s, background 0.3s; position: relative;
}
.variant-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(91,156,246,0.08); border: 1px solid var(--color-border);
  display: grid; place-items: center; color: var(--color-text); flex-shrink: 0;
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
}
.variant-icon svg { width: 32px; height: 32px; }
.variant-row:hover .variant-icon { border-color: var(--color-btn); background: rgba(91,156,246,0.16); color: var(--color-btn); transform: rotate(-4deg) scale(1.05); }
.variant-row:last-child { border-bottom: 1px solid var(--color-border); }
.variant-row:hover { padding-left: 20px; background: linear-gradient(90deg, var(--color-surface-2) 0%, transparent 60%); }
.variant-row:hover .variant-name { color: var(--color-btn); }
.variant-row:hover .variant-arrow { color: var(--color-btn); transform: translateX(8px); }
.variant-num  { font-size: 11px; letter-spacing: 0.2em; color: var(--color-text-muted); }
.variant-name { font-family: var(--serif); font-size: 44px; line-height: 1; transition: color 0.3s; }
.variant-desc { font-size: 15px; color: var(--color-text-muted); line-height: 1.5; }
.variant-arrow { text-align: right; font-size: 12px; letter-spacing: 0.2em; color: var(--color-text-muted); transition: all 0.3s; }

/* ─────────────────────────────────────────────────────────────
   NEWS
───────────────────────────────────────────────────────────── */
.news { background: var(--color-surface); position: relative; }
.news::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-btn) 50%, transparent); opacity: 0.6;
}
.news-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
.news-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--color-btn); color: white; font-size: 14px; transition: background 0.2s;
}
.news-cta:hover { background: var(--color-btn-hover); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--color-btn); }
.news-card-img {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--color-surface), var(--color-surface-2));
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img.var1 { background: radial-gradient(ellipse 60% 40% at 30% 40%, rgba(230,57,70,0.3), transparent 60%), linear-gradient(135deg, #2d1620, #0b1f33); }
.news-card-img.var2 { background: radial-gradient(ellipse 60% 40% at 70% 50%, rgba(91,156,246,0.35), transparent 60%), linear-gradient(135deg, #11304a, #0b1f33); }
.news-card-img.var3 { background: radial-gradient(ellipse 60% 40% at 40% 60%, rgba(232,200,130,0.25), transparent 60%), linear-gradient(135deg, #2a2410, #0b1f33); }
.news-card-img::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 12px 12px;
}
.news-card-img .icon-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 80px; color: rgba(255,255,255,0.12); z-index: 1;
}
.news-card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-text-muted); margin-bottom: 14px;
}
.news-tag {
  background: var(--color-red); color: white;
  padding: 3px 8px; border-radius: 4px; font-size: 9px; letter-spacing: 0.18em;
}
.news-card h3 { font-size: 24px; line-height: 1.2; }
.news-card p  { font-size: 14px; color: var(--color-text-muted); margin-top: 12px; line-height: 1.55; flex: 1; }
.news-read {
  margin-top: 20px; font-size: 13px; color: var(--color-btn);
  display: inline-flex; align-items: center; gap: 6px;
}
.news-read::after { content: '→'; transition: transform 0.2s; }
.news-card:hover .news-read::after { transform: translateX(4px); }

/* ─────────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────────── */
.testimonials { background: var(--color-bg); padding: 140px 32px; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 140px; color: var(--color-btn); opacity: 0.45; line-height: 0.5; margin-bottom: 0; }
.quote-text {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(26px, 3.5vw, 44px); line-height: 1.25;
  max-width: 960px; margin: 30px auto 32px; letter-spacing: -0.01em;
}
.quote-text em { color: var(--color-btn); font-style: italic; }
.quote-attr { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-text-muted); }
.quote-attr span { color: var(--color-text); }
.quote-dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.quote-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, width 0.2s;
}
.quote-dots button.on { background: var(--color-btn); width: 24px; border-radius: 4px; }

/* ─────────────────────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────────────────────── */
.about { background: var(--color-surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.about-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: 20px; padding: 36px 32px; position: relative;
}
.about-card::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-btn) 50%, transparent);
}
.about-stat { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--color-text); }
.about-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.about-stat-item small { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 6px; }
.about-body p { font-size: 17px; line-height: 1.6; color: var(--color-text-muted); margin-bottom: 18px; }
.about-body p:first-child::first-letter { font-family: var(--serif); font-size: 56px; float: left; line-height: 0.9; margin: 6px 12px 0 0; color: var(--color-text); }
.about-body strong { color: var(--color-text); font-weight: 400; }

/* ─────────────────────────────────────────────────────────────
   CTA STRIP
───────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--color-bg); padding: 140px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(91,156,246,0.15), transparent 70%);
}
.cta-strip h2 { font-size: clamp(48px, 8vw, 120px); line-height: 0.95; position: relative; }
.cta-strip h2 em { color: var(--color-btn); font-style: italic; }
.cta-strip p { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--color-text-muted); margin-top: 24px; position: relative; }
.cta-strip .stores { position: relative; margin-top: 50px; }

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
footer.site {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 70px 32px 36px;
}
.foot-top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; }
.foot-brand p { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; margin-top: 18px; max-width: 320px; }
.foot h4 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-text); margin-bottom: 18px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a, .foot li { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; transition: color 0.2s; }
.foot a:hover { color: var(--color-text); }
.foot-bottom {
  max-width: 1280px; margin: 50px auto 0; padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.1em; color: var(--color-text-muted);
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom .socials { display: flex; gap: 16px; }

/* ─────────────────────────────────────────────────────────────
   REVEAL ANIMATION
───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   INNER PAGES — exact design CSS (handleiding · faq · privacy · voorwaarden)
───────────────────────────────────────────────────────────── */

/* ─── PAGE HEAD ─── */
.page-head {
  padding: 80px 32px 50px;
  border-bottom: 1px solid var(--color-border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(91,156,246,0.15), transparent 70%),
    var(--color-bg);
}
.page-head-inner { max-width: 1280px; margin: 0 auto; }
.page-head-inner.narrow { max-width: 980px; }
.crumbs { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 16px; }
.crumbs a { color: var(--color-text-muted); }
.crumbs a:hover { color: var(--color-btn); }
.crumbs span { color: var(--color-text); margin-left: 6px; }
.page-head h1 {
  font-size: clamp(48px, 6vw, 80px); line-height: 1.0; letter-spacing: -0.02em;
  max-width: 18ch;
}
.page-head h1 em { font-style: italic; color: var(--color-btn); }
.page-head p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--color-text-muted);
  max-width: 56ch; margin-top: 22px;
}
.head-meta {
  display: flex; gap: 30px; margin-top: 28px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.head-meta span strong { color: var(--color-text); font-weight: 400; }

/* ─── LAYOUT (handleiding / legal) ─── */
.layout {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr;
  gap: 60px; padding: 60px 32px 120px;
}

/* ─── SIDEBAR TOC ─── */
aside.toc {
  position: sticky; top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 12px;
}
aside.toc::-webkit-scrollbar { width: 6px; }
aside.toc::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
.toc h4 {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--color-btn); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--color-border);
}
.toc ol { list-style: none; counter-reset: toc; }
.toc > ol > li { counter-increment: toc; margin-bottom: 4px; }
.toc a.top {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: all 0.2s;
  line-height: 1.3;
}
.toc a.top::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.1em; color: var(--color-text-muted);
  opacity: 0.6;
  flex-shrink: 0;
}
.toc a.top:hover { color: var(--color-text); background: var(--color-surface); }
.toc a.top.active {
  color: var(--color-text);
  background: var(--color-surface-2);
  border-left-color: var(--color-btn);
}
.toc a.top.active::before { color: var(--color-btn); opacity: 1; }
.toc ul.sub {
  list-style: none;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 30px;
}
.toc li.has-sub.open ul.sub { max-height: 500px; }
.toc ul.sub li a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--color-text-muted);
  border-left: 1px solid var(--color-border);
  margin-left: -1px;
  transition: all 0.2s;
}
.toc ul.sub li a:hover { color: var(--color-text); border-left-color: var(--color-btn); }
.toc ul.sub li a.active { color: var(--color-btn); border-left-color: var(--color-btn); }
.toc-toggle { display: none; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; color: var(--color-text); font: inherit; cursor: pointer; padding: 6px 0; font-size: 14px; }

/* ─── ARTICLE ─── */
article.manual {
  max-width: 760px;
  font-size: 16px;
  color: var(--color-text);
}
article.manual > section { padding-top: 60px; margin-top: -40px; }
article.manual > section:first-of-type { padding-top: 0; margin-top: 0; }
article.manual > section + section { border-top: 1px solid var(--color-border); padding-top: 80px; }
.section-num {
  font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.25em; color: var(--color-btn);
  margin-bottom: 14px;
}
article.manual h2 {
  font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
article.manual h3 {
  font-size: 26px; line-height: 1.15;
  margin-top: 48px; margin-bottom: 14px;
  color: var(--color-text);
}
article.manual h4 {
  font-size: 18px; line-height: 1.3;
  margin-top: 32px; margin-bottom: 10px;
  color: var(--color-text);
  font-family: var(--sans); font-weight: 600;
  letter-spacing: 0;
}
article.manual p { margin-bottom: 16px; color: var(--color-text-muted); line-height: 1.7; }
article.manual p strong { color: var(--color-text); font-weight: 500; }
article.manual a { color: var(--color-btn); border-bottom: 1px solid rgba(91,156,246,0.3); transition: border-color 0.2s; }
article.manual a:hover { border-bottom-color: var(--color-btn); }
article.manual ul, article.manual ol { margin: 0 0 18px 24px; color: var(--color-text-muted); line-height: 1.7; }
article.manual ul li, article.manual ol li { margin-bottom: 8px; }
article.manual ul li::marker { color: var(--color-btn); }
.lede {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 2px solid var(--color-btn);
}

/* tables */
article.manual .tbl-wrap { overflow-x: auto; margin: 24px 0; border-radius: 12px; border: 1px solid var(--color-border); }
article.manual table { width: 100%; border-collapse: collapse; font-size: 14px; }
article.manual th, article.manual td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-border); }
article.manual th {
  background: var(--color-surface-2);
  font-family: var(--sans); font-weight: 500;
  color: var(--color-text);
  font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
}
article.manual td { color: var(--color-text-muted); }
article.manual td:first-child { color: var(--color-text); }
article.manual tr:last-child td { border-bottom: none; }
article.manual tr:nth-child(even) { background: rgba(91,156,246,0.04); }

/* callouts */
.callout {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-btn);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
}
.callout.warn { border-left-color: var(--color-red); }
.callout.tip { border-left-color: var(--color-btn); }
.callout strong { color: var(--color-text); display: block; margin-bottom: 6px; font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.callout p { color: var(--color-text-muted); line-height: 1.6; margin: 0; }
.callout p:last-child { margin-bottom: 0; }

/* image embeds */
.figure {
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.figure img { width: 100%; height: auto; }
.figure figcaption {
  padding: 12px 18px;
  font-size: 13px; color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-2);
  font-style: italic;
}
.img-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 28px 0;
}
.img-grid .figure { margin: 0; }

/* example/quote */
article.manual blockquote {
  font-family: var(--serif); font-style: italic;
  color: var(--color-text);
  padding: 12px 0 12px 20px;
  border-left: 2px solid var(--color-btn);
  margin: 18px 0;
  font-size: 16px;
  line-height: 1.5;
}
article.manual .clause {
  display: inline-block;
  min-width: 34px;
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-btn);
  margin-right: 8px;
}

/* ─────────────────────────────────────────────────────────────
   FAQ — exact design CSS
───────────────────────────────────────────────────────────── */
.search-wrap {
  max-width: 980px; margin: 40px auto -30px; padding: 0 32px;
  position: relative; z-index: 5;
}
.search {
  width: 100%; display: flex; align-items: center; gap: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search:focus-within { border-color: var(--color-btn); box-shadow: 0 0 0 4px rgba(91,156,246,0.12); }
.search svg { color: var(--color-text-muted); flex-shrink: 0; }
.search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--color-text); font: inherit; font-size: 15px;
}
.search input::placeholder { color: var(--color-text-muted); }
.search .count {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.faq-wrap { max-width: 980px; margin: 0 auto; padding: 80px 32px 120px; }
.faq-section-label {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.faq-section-label::before { content: ''; width: 32px; height: 1px; background: var(--color-btn); }

.faq-list { display: grid; gap: 12px; }

details.qa {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
details.qa[open] {
  background: var(--color-surface-2);
  border-color: rgba(91,156,246,0.45);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5);
}
details.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 18px;
  align-items: center;
  transition: background 0.2s;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { background: rgba(91,156,246,0.04); }
.qa-num {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.18em;
  color: var(--color-btn);
  line-height: 1;
}
.qa-q {
  font-family: var(--serif);
  font-size: 19px; line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.005em;
}
details.qa[open] .qa-q { color: var(--color-btn); }
.qa-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: grid; place-items: center;
  color: var(--color-text-muted);
  transition: all 0.3s cubic-bezier(.2,.7,.2,1);
  flex-shrink: 0;
}
details.qa[open] .qa-icon {
  background: var(--color-btn); color: white;
  border-color: var(--color-btn);
  transform: rotate(45deg);
}
.qa-body {
  padding: 0 26px 26px 88px;
  color: var(--color-text-muted);
  font-size: 15px; line-height: 1.7;
  animation: qaIn 0.4s cubic-bezier(.2,.7,.2,1);
}
@keyframes qaIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.qa-body p { margin-bottom: 14px; }
.qa-body p:last-child { margin-bottom: 0; }
.qa-body strong { color: var(--color-text); font-weight: 500; }
.qa-body em { color: var(--color-text); font-style: italic; }
.qa-body ul { margin: 0 0 14px 24px; }
.qa-body ul li { margin-bottom: 6px; }
.qa-body ul li::marker { color: var(--color-btn); }
.qa-body a { color: var(--color-btn); border-bottom: 1px solid rgba(91,156,246,0.3); }
.qa-body a:hover { border-bottom-color: var(--color-btn); }
.qa-body .tbl-wrap { overflow-x: auto; margin: 12px 0 18px; border-radius: 10px; border: 1px solid var(--color-border); }
.qa-body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.qa-body th, .qa-body td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--color-border); }
.qa-body th { background: var(--color-bg); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text); }
.qa-body tr:last-child td { border-bottom: none; }
.qa-body td:first-child { color: var(--color-text); }
.qa-body .neg { color: var(--color-red); }
.qa-body blockquote {
  font-family: var(--serif); font-style: italic;
  color: var(--color-text);
  border-left: 2px solid var(--color-btn);
  padding: 12px 0 12px 18px;
  margin: 14px 0;
  line-height: 1.5;
  font-size: 15px;
}
.qa-body pre {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--color-text);
  overflow-x: auto;
  margin: 14px 0;
  line-height: 1.55;
}
.qa-body pre .kw { color: var(--color-btn); }
.qa-body pre .str { color: #e8a87c; }
.qa-body pre .com { color: var(--color-text-muted); font-style: italic; }

.contact-strip {
  max-width: 980px; margin: 60px auto 0;
  text-align: center;
  padding: 50px 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
}
.contact-strip h3 { font-size: 28px; line-height: 1.2; margin-bottom: 10px; }
.contact-strip h3 em { font-style: italic; color: var(--color-btn); }
.contact-strip p { color: var(--color-text-muted); font-size: 15px; margin-bottom: 24px; }
.contact-strip a.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-btn); color: white;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; transition: background 0.2s;
}
.contact-strip a.btn:hover { background: var(--color-btn-hover); }

.no-match {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  font-family: var(--serif); font-style: italic;
  font-size: 18px;
}
.no-match.show { display: block; }
details.qa.hidden { display: none; }

/* ─── INNER PAGES RESPONSIVE ─── */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px 80px; }
  aside.toc {
    position: static; max-height: none; overflow: visible;
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: 12px; padding: 18px;
  }
  .toc.collapsed > ol { display: none; }
  .toc-toggle { display: flex; }
  .page-head { padding: 60px 20px 40px; }
}
@media (max-width: 760px) {
  .search-wrap { padding: 0 20px; }
  .faq-wrap { padding: 60px 20px 80px; }
  details.qa summary { grid-template-columns: 36px 1fr 24px; gap: 12px; padding: 18px 18px; }
  .qa-body { padding: 0 18px 22px 66px; }
  .qa-q { font-size: 17px; }
}


/* ─────────────────────────────────────────────────────────────
   SINGLE NEWS ARTICLE
───────────────────────────────────────────────────────────── */
.article-hero { padding: 80px 32px 60px; position: relative; border-bottom: 1px solid var(--color-border); }
.article-hero-inner { max-width: 800px; margin: 0 auto; }
.article-hero .crumbs { margin-bottom: 20px; }
.article-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0; }
.article-hero h1 em { font-style: italic; color: var(--color-btn); }
.author-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text-muted); margin-top: 24px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface-2); border: 1px solid var(--color-border); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.author-pill .sep { color: var(--color-border); }

.article-featured {
  max-width: 860px; margin: 48px auto;
  padding: 60px 40px;
  border-radius: 20px; border: 1px solid var(--color-border);
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2d1620 0%, #0b1f33 50%, #11304a 100%);
  display: grid; place-items: center; min-height: 260px; text-align: center;
}
.article-featured img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; position: relative; z-index: 1; }
.article-featured .suit-bg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 200px; color: rgba(255,255,255,0.06); pointer-events: none;
}

.article-content { max-width: 860px; margin: 0 auto; padding: 0 32px 100px; }
.article-content .article-body { max-width: 100%; }

.tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0; padding-top: 32px; border-top: 1px solid var(--color-border); }
.tag-pill { padding: 6px 14px; border-radius: 999px; background: var(--color-surface); border: 1px solid var(--color-border); font-size: 12px; color: var(--color-text-muted); letter-spacing: 0.1em; transition: border-color 0.2s; }
.tag-pill:hover { border-color: var(--color-btn); color: var(--color-btn); }

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 0 auto 80px; max-width: 860px; padding: 0 32px;
}
.post-nav-btn {
  padding: 22px 26px; border-radius: 14px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  transition: border-color 0.2s, transform 0.2s;
}
.post-nav-btn:hover { border-color: var(--color-btn); transform: translateY(-2px); }
.post-nav-btn .dir { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 8px; }
.post-nav-btn .ptitle { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.post-nav-btn.next { text-align: right; }

.related-section { background: var(--color-surface); padding: 80px 32px; }
.related-section .container { max-width: 1280px; margin: 0 auto; }
.related-section h2 { font-size: 36px; margin-bottom: 40px; }

/* ─────────────────────────────────────────────────────────────
   NEWS ARCHIVE
───────────────────────────────────────────────────────────── */
.archive-header { padding: 100px 32px 60px; text-align: center; }
.archive-grid { max-width: 1280px; margin: 0 auto; padding: 0 32px 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  nav.main { display: none; }
  .hamburger { display: block; }
  .lang-switch { font-size: 10px; }
  .lang-switch button, .lang-switch a { padding: 4px 8px; }
  header.site, section { padding-left: 20px; padding-right: 20px; }
  section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 110px; }
  .friends-grid, .features-head, .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .feature-showcase { grid-template-columns: 1fr; gap: 24px; }
  .fcards.left .fcard, .fcards.left .fcard-head { text-align: left; flex-direction: row; }
  .fdevice { order: -1; }
  .news-grid, .archive-grid { grid-template-columns: 1fr; gap: 16px; }
  .variant-row { grid-template-columns: 64px 1fr; gap: 14px 20px; padding: 22px 0; }
  .variant-row > .variant-num { grid-column: 2; }
  .variant-row > .variant-icon { grid-row: 1 / span 3; }
  .variant-row > .variant-name { grid-column: 2; }
  .variant-row > .variant-desc { grid-column: 1 / -1; }
  .variant-arrow { display: none; }
  .variant-name { font-size: 32px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .device-stage { margin-top: 50px; }
  .phones-stack { transform: scale(0.85); }
  .quote-text { font-size: 24px; }
  .ambient .suit { font-size: 220px; }
  .post-nav { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .thumb-row { gap: 8px; }
  .thumb { width: 70px; }
  .phones-stack { transform: scale(0.65); }
  .news-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .article-hero { padding: 60px 20px 40px; }
  .article-content { padding: 0 20px 60px; }
  .post-nav { padding: 0 20px; }
}
