/* =========================================================
   LONVIQ BLOG — Stylesheet
   Rewritten 2026-07-12 to match the class names used in the
   article HTML. Design tokens identical to lonviq.com.
   Two type families only: Cormorant Garamond + DM Sans.
   ========================================================= */

/* ── TOKENS (identical to lonviq.com) ───────────────────── */
:root {
  --espresso:  #15100A;
  --espresso2: #1C1409;
  --cream:     #F0E7CE;
  --cream2:    #E5DCBE;
  --cream3:    #DDD2B4;
  --bone:      #C8BFA8;
  --gold:      #C29850;
  --gold-dk:   #9A7838;
  --gold-lt:   #D4B87C;
  --terra:     #AF5A3C;
  --terra-dk:  #8A3E28;
  --stone:     #6A5A44;
  --stone-lt:  #8A7A62;

  --bg:          var(--cream);
  --text:        var(--espresso);
  --rule:        rgba(21,16,10,0.12);
  --rule-strong: rgba(21,16,10,0.25);

  --display: 'Cormorant Garamond', Georgia, serif;
  --body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --measure: 700px;   /* reading column */
  --wide:    1100px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width:100%; display:block; height:auto; }
:focus-visible { outline:2px solid var(--terra-dk); outline-offset:3px; }

/* Base link colour — safety net so no link can ever fall back to browser blue */
a { color: var(--terra-dk); }

/* German compound words must not blow out narrow viewports */
p, li, h1, h2, h3, td, th, .faq-q, .faq-a, .card-title { overflow-wrap:break-word; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position:sticky; top:0; z-index:100;
  background: rgba(240,231,206,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--wide); margin:0 auto;
  padding: 16px var(--pad);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.nav .logo {
  font-family: var(--body);
  font-size: 15px; font-weight:700;
  letter-spacing: 0.30em; text-transform:uppercase;
  color: var(--espresso); text-decoration:none;
  transition: color .2s;
}
.nav .logo:hover { color: var(--terra-dk); }

.nav-links { display:flex; align-items:center; gap: clamp(14px, 2.2vw, 28px); }
.nav-links a {
  font-family: var(--body);
  font-size: 12px; font-weight:600;
  letter-spacing: 0.14em; text-transform:uppercase;
  color: var(--stone); text-decoration:none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--espresso); border-bottom-color: var(--gold); }

.nav-links a.lang-toggle {
  border: 1px solid var(--rule-strong);
  border-bottom-color: var(--rule-strong);
  padding: 5px 12px;
  font-weight:700; letter-spacing:0.1em;
}
.nav-links a.lang-toggle:hover {
  border-color: var(--terra-dk);
  color: var(--terra-dk);
}

/* ── ARTICLE SHELL ──────────────────────────────────────── */
.article {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 88px) var(--pad) clamp(56px, 8vh, 96px);
}

/* ── ARTICLE HEAD ───────────────────────────────────────── */
.article > .eyebrow {
  font-family: var(--body);
  font-size: 11px; font-weight:700;
  letter-spacing: 0.24em; text-transform:uppercase;
  color: var(--terra-dk);
  margin-bottom: 20px;
}
.article h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 22px;
}
.article h1 em { font-style:italic; color: var(--terra-dk); }

.article .lede {
  font-family: var(--display);
  font-style: italic; font-weight:400;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
  color: var(--stone);
  margin-bottom: 28px;
}

.meta {
  display:flex; flex-wrap:wrap; align-items:center;
  gap: 0;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(36px, 5vh, 56px);
}
.meta span {
  font-family: var(--body);
  font-size: 11px; font-weight:600;
  letter-spacing: 0.18em; text-transform:uppercase;
  color: var(--stone-lt);
}
.meta span:not(:last-child)::after {
  content: '/';
  margin: 0 14px;
  color: var(--gold);
  font-weight: 400;
}

/* ── BODY TYPE ──────────────────────────────────────────── */
.article p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 22px;
}
.article strong { font-weight: 600; color: var(--text); }
.article em { font-style: italic; }

.article h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.008em;
  color: var(--text);
  margin: clamp(48px, 6vh, 68px) 0 18px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.article h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.25;
  color: var(--text);
  margin: 36px 0 12px;
}
.article h2 + p, .article h3 + p { margin-top: 0; }

.article ul, .article ol { margin: 0 0 22px; padding-left: 24px; }
.article li {
  font-family: var(--body);
  font-size: 17px; line-height: 1.75;
  margin-bottom: 10px;
}
.article li::marker { color: var(--terra-dk); }

/* SIGNATURE — citation apparatus.
   The footnote marker is the brand's whole argument in miniature:
   every claim points at a source. */
.article sup {
  font-family: var(--body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: super;
  line-height: 0;
  color: var(--gold-dk);
  margin-left: 1px;
}

/* ── CALLOUT ────────────────────────────────────────────── */
.callout {
  background: var(--cream2);
  border-left: 3px solid var(--terra-dk);
  padding: clamp(22px, 3vw, 30px);
  margin: 36px 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
}
.callout p { font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }

/* ── NUMBER HERO (the one loud moment) ──────────────────── */
.number-hero {
  margin: clamp(40px, 5vh, 60px) 0;
  padding: clamp(32px, 4vw, 44px) 0;
  border-top: 1px solid var(--espresso);
  border-bottom: 1px solid var(--espresso);
  text-align: center;
}
.number {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 11vw, 104px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--terra-dk);
  display: block;
}
.number-unit {
  font-family: var(--display);
  font-style: italic; font-weight: 500;
  font-size: 0.42em;
  color: var(--terra);
  margin-left: 6px;
  letter-spacing: 0;
}
.number-label {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--stone);
  margin-top: 16px;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq { margin: 8px 0 0; }
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-a {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--stone);
}

/* ── PRODUCT CTA ────────────────────────────────────────── */
.product-cta {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(36px, 5vw, 52px) clamp(28px, 4vw, 48px);
  margin: clamp(56px, 7vh, 80px) 0 0;
  text-align: center;
}
.product-cta .eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--espresso);
  background: var(--gold);
  padding: 6px 14px;
  margin-bottom: 22px;
}
.product-cta h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  color: var(--cream);
  margin: 0 0 14px;
  border-top: none; padding-top: 0;
}
.product-cta p {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.72;
  color: var(--bone);
  max-width: 460px;
  margin: 0 auto 28px;
}
.product-cta .btn {
  display: inline-block;
  background: var(--terra);
  color: var(--cream);
  font-family: var(--body);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px 34px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.product-cta .btn:hover { background: var(--terra-dk); transform: translateY(-1px); }

/* ── RELATED ────────────────────────────────────────────── */
.related { margin-top: clamp(56px, 7vh, 80px); }
.related-title {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--terra-dk);
  margin-bottom: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.related-card {
  display: block;
  background: var(--cream2);
  padding: 26px 24px;
  text-decoration: none;
  transition: background .2s;
}
.related-card:hover { background: var(--cream3); }
.card-eyebrow {
  font-family: var(--body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra-dk);
  margin-bottom: 10px;
}
.card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.22;
  color: var(--text);
}

/* ── SOURCES (bibliography, journal register) ───────────── */
.sources {
  margin-top: clamp(56px, 7vh, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--espresso);
}
.sources h3 {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--terra-dk);
  margin: 0 0 18px;
}
.sources ol { padding-left: 22px; margin-bottom: 0; }
.sources li {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.62;
  color: var(--stone);
  margin-bottom: 10px;
}
.sources li::marker { color: var(--gold-dk); font-weight: 700; }
.sources em { font-style: italic; color: var(--text); }
.sources p { font-size: 12px; color: var(--stone-lt); line-height: 1.6; }

/* Links inside prose */
.article a:not(.btn):not(.related-card) {
  color: var(--terra-dk);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.article a:not(.btn):not(.related-card):hover { color: var(--espresso); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--cream2);
  border-top: 1px solid var(--rule);
  padding: 36px var(--pad);
}
.footer-inner { max-width: var(--wide); margin: 0 auto; }
.footer-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-row > div:first-child { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-row a {
  font-family: var(--body);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-decoration: none;
  transition: color .2s;
}
.footer-row a:hover { color: var(--espresso); }
.footer-row > div:last-child {
  font-family: var(--body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--stone-lt);
}
.footer-legal {
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.6;
  color: var(--stone-lt);
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}

/* ── BLOG INDEX (article list) ──────────────────────────
   Selectors written against blog/index.html as it actually is:
   header.blog-hero > .eyebrow / h1 / .lede
   main.posts-grid > a.post-card > .card-eyebrow / h2 / p / .read-more
   ------------------------------------------------------- */
.blog-hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) var(--pad) clamp(36px, 5vh, 56px);
  text-align: center;
}
.blog-hero .eyebrow {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--terra-dk);
  margin-bottom: 20px;
}
.blog-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 20px;
}
.blog-hero h1 em { font-style: italic; color: var(--terra-dk); }
.blog-hero .lede {
  font-family: var(--display);
  font-style: italic; font-weight: 400;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.5;
  color: var(--stone);
  max-width: 620px;
  margin: 0 auto;
}

.posts-grid {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 8vh, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-top: 1px solid var(--rule);
  padding-top: clamp(40px, 5vh, 64px);
}
.post-card {
  display: flex; flex-direction: column;
  background: var(--cream2);
  padding: clamp(28px, 3vw, 38px) clamp(24px, 2.5vw, 30px);
  text-decoration: none;
  min-height: 300px;
  transition: background .2s, transform .2s;
}
.post-card:hover { background: var(--cream3); transform: translateY(-2px); }
.post-card .card-eyebrow {
  font-family: var(--body);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra-dk);
  margin-bottom: 18px;
}
.post-card h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.17;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0 0 12px;
  border-top: none; padding-top: 0;   /* cancel the article h2 rule */
}
.post-card p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.68;
  color: var(--stone);
  margin: 0 0 auto;
}
.read-more {
  font-family: var(--body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terra-dk);
  margin-top: 28px;
  transition: color .2s;
}
.post-card:hover .read-more { color: var(--espresso); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article p, .article li { font-size: 16px; }
  .nav-inner { padding: 14px var(--pad); }
  .nav-links { gap: 12px; }
  .nav .logo { font-size: 13px; letter-spacing: 0.22em; }
  .meta span:not(:last-child)::after { margin: 0 8px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

/* ── MOTION / PRINT ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  .nav, .product-cta, .related, .footer { display: none; }
  body { background: #fff; color: #000; }
  .article { max-width: none; padding: 0; }
}
