:root {
  --forest: #1e3d32;
  --forest-deep: #142820;
  --sage: #4a7c65;
  --sage-soft: #6b9480;
  --mist: #e6efe9;
  --cream: #f6f2eb;
  --paper: #fbf9f5;
  --white: #ffffff;
  --terracotta: #c45d3e;
  --terracotta-deep: #9e4630;
  --gold: #c4a574;
  --ink: #1b1a17;
  --muted: #5c5953;
  --line: #e3ddd3;
  --shadow: 0 10px 30px rgba(30, 61, 50, 0.08);
  --shadow-hover: 0 16px 40px rgba(30, 61, 50, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; line-height: 1.18; color: var(--forest-deep); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 80;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--cream); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--sage), var(--terracotta));
  z-index: 70; transform-origin: left;
}

/* Layout */
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest);
  flex-shrink: 0;
}
.logo:hover { color: var(--forest); }
.logo-mark { width: 36px; height: 36px; color: var(--forest); display: block; }
.logo-word {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.03em; line-height: 1;
}
.logo-123 { color: var(--terracotta); font-weight: 600; margin-left: 1px; font-size: 0.92em; }
.logo-claim { display: none; }

.nav {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav a, .nav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 999px; text-decoration: none;
  color: var(--forest); font-weight: 550; font-size: 0.95rem; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav-btn:hover, .nav a.is-active { background: var(--mist); color: var(--forest-deep); }
.mega {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 12px; display: none;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { display: grid; gap: 2px; }
.mega a {
  display: block; padding: 8px 10px; border-radius: 8px; font-weight: 500; color: var(--muted);
}
.mega a:hover { background: var(--cream); color: var(--forest); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions-mobile { margin-left: auto; }
.header-actions-desktop { display: none; margin-left: auto; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--forest); cursor: pointer;
  display: grid; place-items: center; font-size: 1.15rem;
}
.icon-btn:hover { border-color: var(--sage); background: var(--mist); }
.menu-toggle { display: grid; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--forest); }
.btn-ghost:hover { background: var(--mist); color: var(--forest-deep); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--forest-deep); color: var(--cream); }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 12px 16px 24px;
}
.mobile-nav.is-open { display: block; }
.contact-form label { font-weight: 650; color: var(--forest); }
.mobile-nav a {
  display: block; padding: 12px 8px; text-decoration: none; color: var(--forest);
  font-weight: 600; border-bottom: 1px solid var(--line);
}
.mobile-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 8px 16px; }
.mobile-subs a {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem;
  font-weight: 500; color: var(--muted);
}

/* Hero */
.hero { padding: 48px 0 24px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sage); font-weight: 650; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.75rem;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--terracotta); }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem); margin: 14px 0 16px; max-width: 16ch;
}
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-photo {
  border-radius: 22px; overflow: hidden; aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 56px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { margin: 0; color: var(--muted); }

.featured {
  display: grid; gap: 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.featured img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.featured-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 10px 0 12px; }
.featured-body h2 a { text-decoration: none; color: inherit; }
.featured-body h2 a:hover { color: var(--terracotta); }
.excerpt { color: var(--muted); margin: 0 0 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 0.9rem; }

.pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pill {
  display: flex; gap: 12px; align-items: center; padding: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; color: inherit; min-height: 72px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pill:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.pill-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--mist);
  display: grid; place-items: center; color: var(--forest); flex-shrink: 0;
}
.pill strong { display: block; color: var(--forest-deep); }
.pill span { color: var(--muted); font-size: 0.88rem; }

.grid { display: grid; gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); color: inherit; }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card h3 a, .card h3 { text-decoration: none; color: var(--forest-deep); }
.badge {
  display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px;
  background: var(--mist); color: var(--forest); font-size: 0.75rem; font-weight: 650;
  letter-spacing: 0.02em; text-transform: uppercase;
}
.badge-gold { background: #f3ead8; color: #7a5a2a; }

.study-grid { display: grid; gap: 16px; }
.study-card {
  background: var(--forest); color: var(--cream); border-radius: 20px; padding: 24px;
  text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
}
.study-card:hover { color: var(--cream); background: var(--forest-deep); }
.study-card p { margin: 0; color: #d7e4dc; }
.study-card h3 { color: #fff; margin: 0; font-size: 1.3rem; }

.newsletter {
  background: linear-gradient(160deg, var(--forest) 0%, #2b5646 100%);
  color: var(--cream); border-radius: 28px; padding: 36px 28px;
  display: grid; gap: 20px;
}
.newsletter h2 { color: #fff; margin: 0 0 8px; }
.newsletter p { margin: 0; color: #d5e5dc; }
.newsletter-form, .contact-form { display: grid; gap: 10px; }
.newsletter-form input, .contact-form input, .contact-form textarea {
  min-height: 48px; border-radius: 12px; border: 0; padding: 12px 14px; width: 100%;
}
.form-note { font-size: 0.85rem; color: #c9d9d0; }
.form-error { color: #ffd2c4; font-size: 0.9rem; }
.form-ok { background: var(--mist); color: var(--forest-deep); padding: 16px; border-radius: 12px; }

.about-teaser {
  display: grid; gap: 24px; align-items: center;
}
.about-teaser img { border-radius: 22px; width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.portrait-wrap { position: relative; }
.portrait-caption {
  position: absolute; left: 16px; bottom: 16px; background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 10px; font-size: 0.85rem;
}

/* Footer */
.site-footer {
  background: var(--forest-deep); color: #d7e3dc; margin-top: 48px; padding: 48px 0 24px;
}
.site-footer a { color: #e8f0ea; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h3 { color: #fff; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo .logo { color: #e8f0ea; }
.footer-logo .logo-mark { color: #e8f0ea; }
.footer-logo .logo-123 { color: var(--gold); }
.claim { color: var(--gold); font-family: var(--serif); font-style: italic; margin: 8px 0 0; }
.disclaimer {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #2d4a3e;
  font-size: 0.88rem; color: #b7c7be;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border: 1px solid #3a5a4c; border-radius: 999px;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}

/* Category / listing */
.page-hero { padding: 40px 0 12px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 8px 0 12px; }
.filters { display: flex; gap: 8px; margin: 16px 0 8px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 8px 14px; min-height: 40px; cursor: pointer; color: var(--muted); font-weight: 600;
}
.filter-btn.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Article */
.article-hero { padding: 28px 0 8px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--terracotta); }
.article-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 12px 0 16px; }
.lead { font-size: 1.22rem; color: var(--muted); margin: 0 0 20px; }
.article-cover { border-radius: 22px; overflow: hidden; margin: 24px 0 8px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-caption { color: var(--muted); font-size: 0.85rem; margin: 8px 0 0; }

.article-layout { display: grid; gap: 32px; padding: 24px 0 64px; }
.toc {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.toc h2 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.toc a:hover, .toc a.is-active { color: var(--forest); }
.takeaways {
  background: var(--mist); border-radius: 18px; padding: 20px 22px; margin: 8px 0 28px;
}
.takeaways h2 { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 10px; }
.takeaways ol { margin: 0; padding-left: 18px; }
.takeaways li { margin: 8px 0; }

.prose h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.prose h3 { font-size: 1.25rem; margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 6px 0; }
.callout {
  border-radius: 16px; padding: 16px 18px; margin: 20px 0;
  border: 1px solid var(--line); background: var(--white);
}
.callout strong.label { display: block; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 6px; color: var(--sage); }
.callout-tun { background: #f8efe6; border-color: #ead9c4; }
.callout-tun strong.label { color: var(--terracotta-deep); }
.sources { font-size: 0.92rem; color: var(--muted); }
.sources a { color: var(--sage); }
.disclaimer-box {
  margin-top: 32px; padding: 16px 18px; border-left: 3px solid var(--gold);
  background: var(--cream); color: var(--muted); font-size: 0.92rem;
}

.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.share a, .share button {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 8px 14px; min-height: 40px; cursor: pointer; text-decoration: none; color: var(--forest); font-weight: 600;
}

.inline-nl {
  background: var(--forest); color: var(--cream); border-radius: 20px; padding: 24px;
  margin: 32px 0;
}
.inline-nl h2 { color: #fff; margin: 0 0 8px; font-size: 1.5rem; }
.inline-nl p { color: #d5e5dc; }
.inline-nl input { min-height: 46px; border: 0; border-radius: 10px; padding: 10px 12px; width: 100%; }
.inline-nl .row { display: grid; gap: 8px; margin-top: 12px; }

.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 8px 0;
}
.faq summary { cursor: pointer; font-weight: 650; color: var(--forest-deep); }
.faq p { margin: 10px 0 4px; color: var(--muted); }

/* About / legal */
.split { display: grid; gap: 28px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.standards { display: grid; gap: 12px; }
.standard { background: var(--cream); border-radius: 14px; padding: 16px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 1.4rem; margin-top: 28px; }
.muster {
  display: inline-block; background: #f3ead8; color: #7a5a2a; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; margin-left: 6px;
}

/* 404 */
.notfound { padding: 80px 0; text-align: center; }
.notfound h1 { font-size: clamp(2.4rem, 6vw, 4rem); }

/* Cookie + search */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--forest-deep); color: #e8f0ea; border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow-hover); display: grid; gap: 12px;
}
.cookie[hidden],
.search-overlay[hidden] { display: none !important; }
.cookie a { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; align-items: center; }
.search-overlay {
  position: fixed; inset: 0; background: rgba(20, 40, 32, 0.46); z-index: 55;
  display: grid; place-items: start center; padding: 12vh 16px 16px;
}
.search-panel {
  width: min(680px, 100%); background: var(--paper); border-radius: 20px; padding: 20px;
  box-shadow: var(--shadow-hover);
}
.search-head { display: flex; justify-content: space-between; align-items: center; }
.search-head h2 { margin: 0; }
.search-panel input {
  width: 100%; min-height: 52px; border-radius: 12px; border: 1px solid var(--line);
  padding: 12px 14px; margin: 12px 0; background: var(--white);
}
.search-hit {
  display: block; padding: 12px; border-radius: 12px; text-decoration: none; color: inherit;
}
.search-hit:hover { background: var(--mist); }
.search-hit strong { display: block; color: var(--forest-deep); }
.search-hit span { color: var(--muted); font-size: 0.9rem; }

.empty { padding: 24px; color: var(--muted); }

@media (min-width: 760px) {
  .pills { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .study-grid { grid-template-columns: repeat(3, 1fr); }
  .featured { grid-template-columns: 1.15fr 1fr; }
  .featured img { min-height: 100%; }
  .newsletter { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 44px; }
  .about-teaser { grid-template-columns: 0.8fr 1.2fr; }
  .about-teaser img { aspect-ratio: 4/5; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .inline-nl .row { grid-template-columns: 1fr auto; }
  .cookie { left: auto; right: 24px; width: min(420px, calc(100% - 48px)); }
  .menu-toggle { display: none; }
  .nav { display: flex; margin-left: auto; }
  .header-actions-mobile { display: none; }
  .header-actions-desktop { display: flex; }
  .logo-claim { display: block; font-size: 0.68rem; color: var(--muted); font-weight: 500; margin-top: 4px; letter-spacing: 0.01em; }
}

@media (min-width: 1080px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .pills { grid-template-columns: repeat(5, 1fr); }
  .article-layout { grid-template-columns: 230px minmax(0, 1fr); align-items: start; }
  .toc { position: sticky; top: 96px; }
  .hero { padding-top: 64px; }
}

@media (max-width: 759px) {
  .logo-mark { width: 32px; height: 32px; }
  .logo-word { font-size: 1.02rem; }
  .hero { padding-top: 28px; }
  .breadcrumb span:last-child { display: none; }
  .menu-toggle { display: grid !important; }
  .cookie { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; font-size: 0.92rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .pill { transition: none; }
}
