/* ============================================================================
   DemeureDeLuxe - luxury editorial design system
   Quiet-luxury palette, self-hosted serifs, generous space, fine gold rules.
   Zero framework. One stylesheet. Fast by design.
   ========================================================================== */

/* ----- Self-hosted fonts (SIL OFL, latin subset) -------------------------- */
@font-face {
  font-family: "Cormorant";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-600.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/eb-garamond-400.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/eb-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/eb-garamond-400-italic.woff2") format("woff2");
}

/* ----- Tokens ------------------------------------------------------------- */
:root {
  --ink:        #17150f;   /* warm near-black */
  --ink-2:      #3c372d;   /* secondary ink */
  --muted:      #6d6656;   /* muted warm grey-brown */
  --paper:      #f7f3ea;   /* warm ivory page */
  --paper-2:    #efe8d9;   /* deeper sand panel */
  --card:       #fdfbf6;   /* lifted card surface */
  --line:       #e5dece;   /* hairline */
  --line-2:     #d8ceb8;   /* stronger hairline */
  --gold:       #9c7a3c;   /* antique brass gold (accents) */
  --gold-2:     #ba9758;   /* lighter gilt (hover, detail) */
  --gold-ink:   #7a5f2b;   /* gold dark enough for body links */
  --gold-soft:  #efe6d1;   /* gold tint background */
  --deep:       #15241f;   /* deep Riviera pine/sea (dark bands) */
  --deep-2:     #0d1814;   /* darker gradient partner */
  --deep-line:  #2d453b;   /* hairline on deep */
  --on-deep:    #ece5d3;   /* text on deep */
  --on-deep-mut:#9fac9c;   /* muted text on deep */

  --display: "Cormorant", Georgia, "Times New Roman", serif;
  --serif:   "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --measure: 44rem;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 1px 2px rgba(23,21,15,.04), 0 12px 34px -18px rgba(23,21,15,.22);
  --shadow-lg: 0 2px 6px rgba(23,21,15,.06), 0 26px 60px -24px rgba(23,21,15,.34);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.175rem/1.75 var(--serif);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper texture, very faint, no external asset */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(156,122,60,.05), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(21,36,31,.04), transparent 55%);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

::selection { background: var(--gold-soft); color: var(--ink); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 52px); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100;
  font-family: var(--sans); font-size: 14px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
  display: inline-block; opacity: .7;
}
.eyebrow.center { justify-content: center; }

/* ----- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(23,21,15,.4);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px 0; transition: padding .3s var(--ease);
}
.site-header.scrolled .header-inner { padding: 13px 0; }

.brand {
  font-family: var(--display); font-weight: 600;
  font-size: 1.72rem; line-height: 1; letter-spacing: .01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: .5ch;
}
.brand .brand-de { color: var(--gold); font-style: italic; font-weight: 500; }
.brand:hover { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); font-family: var(--sans); }
.main-nav a {
  position: relative; color: var(--ink-2); text-decoration: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 18px !important; color: var(--ink) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; border-color: var(--ink); }

/* ----- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .6ch;
  font-family: var(--sans); font-size: .85rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .arw { transition: transform .3s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-2); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-2px); }
.btn-on-deep { border-color: rgba(236,229,211,.4); color: var(--on-deep); }
.btn-on-deep:hover { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }

/* ----- Main / sections ---------------------------------------------------- */
main { display: block; }
.reading { padding-top: 8px; }
.reading .page { max-width: var(--measure); margin: 0 auto; }
main.wrap { padding-top: 30px; padding-bottom: 40px; }
main.home { padding: 0; max-width: none; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.band { background: var(--paper-2); }
.band-deep {
  background:
    radial-gradient(120% 120% at 80% -10%, rgba(186,151,88,.14), transparent 55%),
    linear-gradient(160deg, var(--deep), var(--deep-2));
  color: var(--on-deep);
}
.band-deep .eyebrow { color: var(--gold-2); }
.band-deep .eyebrow::before { background: var(--gold-2); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-title { font-family: var(--display); font-weight: 500; letter-spacing: .005em; }
h2.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.08; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 44ch; margin: 12px 0 0; }
.see-all {
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-2); white-space: nowrap; display: inline-flex; gap: .6ch; align-items: center;
}
.see-all .arw { transition: transform .3s var(--ease); }
.see-all:hover { color: var(--gold-ink); }
.see-all:hover .arw { transform: translateX(4px); }
.band-deep .see-all { color: var(--on-deep); }
.band-deep .see-all:hover { color: var(--gold-2); }

/* ----- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--on-deep);
  background:
    radial-gradient(80% 60% at 50% 88%, rgba(186,151,88,.22), transparent 60%),
    linear-gradient(165deg, #1b2f28 0%, var(--deep) 42%, var(--deep-2) 100%);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 2;
  padding: clamp(96px, 15vh, 190px) 0 clamp(72px, 11vh, 128px);
  max-width: 60rem;
}
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: 1.02;
  letter-spacing: -.005em; margin: 0 0 26px; color: #fff;
}
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-lede {
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.6;
  color: var(--on-deep); max-width: 40ch; margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* trust strip under hero */
.trust {
  position: relative; z-index: 2;
  border-top: 1px solid var(--deep-line);
  background: rgba(13,24,20,.4);
  color: var(--on-deep-mut);
}
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center;
  padding: 20px 0; font-family: var(--sans); font-size: .8rem; letter-spacing: .04em;
}
.trust-inner span { display: inline-flex; align-items: center; gap: 12px; }
.trust-inner span::before { content: "\2022"; color: var(--gold-2); }
.trust-inner span:first-child::before { display: none; }

/* ----- Card grids --------------------------------------------------------- */
.card-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card-grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { margin: 0; }
.card a {
  display: flex; flex-direction: column; height: 100%;
  padding: 26px 26px 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.card a::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card a:hover {
  transform: translateY(-4px); border-color: var(--line-2);
  box-shadow: var(--shadow-lg);
}
.card a:hover::before { transform: scaleX(1); }
.card-kicker {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.14;
  margin-bottom: 10px; letter-spacing: .005em;
}
.card-desc {
  font-family: var(--sans); font-size: .92rem; line-height: 1.6; color: var(--muted);
  margin: 0 0 18px;
}
.card-more {
  margin-top: auto; font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: .6ch;
}
.card-more .arw { color: var(--gold); transition: transform .3s var(--ease); }
.card a:hover .card-more .arw { transform: translateX(5px); }

/* tools have a slightly richer card */
.card-tool a { background: linear-gradient(180deg, var(--card), #fbf7ee); }

/* ----- Article / prose ---------------------------------------------------- */
.article-head { margin: 0 0 36px; }
.article-head h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08;
  letter-spacing: -.003em; margin: 0;
}
.byline {
  font-family: var(--sans); font-size: .84rem; color: var(--muted);
  margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.lede, .reading .page .lede {
  font-family: var(--serif); font-size: 1.28rem; line-height: 1.65;
  color: var(--ink-2); margin: 0 0 26px;
}

.page h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 0 0 8px;
}
.page h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.05rem); line-height: 1.15;
  margin: 52px 0 14px; letter-spacing: .005em;
}
.page h2::before {
  content: ""; display: block; width: 34px; height: 2px; background: var(--gold);
  margin-bottom: 18px; opacity: .8;
}
.page h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.32rem;
  margin: 34px 0 8px; color: var(--ink);
}
.page p { margin: 0 0 20px; }
.reading .page > p:first-of-type,
.reading .page .article-head + p {
  font-size: 1.28rem; line-height: 1.7; color: var(--ink-2);
}
.page ul, .page ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.page ul li, .page ol li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.page ul li::before {
  content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
}
.page ol { counter-reset: li; }
.page ol li { counter-increment: li; }
.page ol li::before {
  content: counter(li); position: absolute; left: 0; top: .1em;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; color: var(--gold);
  width: 20px; height: 20px; border: 1px solid var(--gold-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--gold-soft);
}
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
hr { border: none; height: 1px; background: var(--line); margin: 44px 0; }
hr::after { content: none; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px;
}

blockquote {
  margin: 30px 0; padding: 6px 0 6px 28px;
  border-left: 2px solid var(--gold);
  font-family: var(--display); font-style: italic;
  font-size: 1.5rem; line-height: 1.4; color: var(--ink-2);
}
blockquote p { margin: 0; }

/* ----- Tables ------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; margin: 30px 0;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
table { border-collapse: collapse; width: 100%; font-family: var(--sans); font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-ink); background: var(--gold-soft);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) td { background: rgba(239,232,217,.35); }

/* ----- Affiliate call to action ------------------------------------------- */
.affiliate-box {
  margin: 32px 0; padding: 22px 26px;
  background: linear-gradient(180deg, var(--gold-soft), #f6eeda);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  position: relative; display: flex; flex-direction: column; gap: 8px;
}
.affiliate-box::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2)); border-radius: 3px 0 0 3px;
}
.affiliate-tag {
  align-self: flex-start; font-family: var(--sans); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
  background: var(--gold); padding: 4px 11px; border-radius: 999px;
}
.affiliate-cta {
  font-family: var(--display); font-weight: 600; font-size: 1.42rem; line-height: 1.25;
  color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .5ch;
}
.affiliate-cta:hover { color: var(--gold-ink); }

/* ----- FAQ ---------------------------------------------------------------- */
.faq { margin-top: 8px; }
.faq p {
  border-bottom: 1px solid var(--line); padding: 20px 0; margin: 0;
}
.faq p strong {
  font-family: var(--display); font-weight: 600; font-size: 1.24rem; color: var(--ink);
  display: block; margin-bottom: 8px;
}

/* ----- Related / index intros --------------------------------------------- */
.related { margin-top: 64px; }
.related > h2 {
  font-family: var(--display); font-weight: 500; font-size: 1.7rem;
  margin: 0 0 24px; padding-top: 28px; border-top: 1px solid var(--line);
}
.related > h2::before, .briefing h2::before { content: none; }

.index-intro { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 0 0 44px; line-height: 1.6; }

/* Home statement of purpose */
.statement { max-width: 44rem; margin: 0 auto; text-align: center; }
.statement p { font-size: 1.32rem; line-height: 1.7; color: var(--ink-2); margin: 0 0 20px; }
.statement p:first-of-type { font-size: 1.55rem; line-height: 1.55; color: var(--ink); }
.statement p:last-child { margin-bottom: 0; }
@media (max-width: 680px) {
  .statement p { font-size: 1.15rem; text-align: left; }
  .statement p:first-of-type { font-size: 1.28rem; }
}

/* ----- Interactive tools -------------------------------------------------- */
.tool-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); margin: 32px 0; font-family: var(--sans);
  box-shadow: var(--shadow);
}
.tool-row { margin-bottom: 22px; }
.tool-row label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 9px; text-transform: uppercase; }
.tool-row input[type="number"], .tool-row select {
  width: 100%; max-width: 340px; font: 400 1.05rem/1.4 var(--sans);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.tool-row input[type="number"]:focus, .tool-row select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.tool-row input[type="range"] { width: 100%; max-width: 340px; accent-color: var(--gold); }
.tool-hint { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.tool-results { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 8px; }
.tool-result {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.tool-result:last-child { border-bottom: none; }
.tool-label { font-size: .95rem; color: var(--muted); }
.tool-value { font: 500 1.4rem/1.2 var(--display); color: var(--ink); white-space: nowrap; }
.tool-key {
  margin-top: 6px; padding: 18px 20px; background: var(--deep); border-radius: var(--radius-sm);
  border-bottom: none;
}
.tool-key .tool-label { color: var(--on-deep-mut); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; }
.tool-key .tool-value { font-size: 2.1rem; color: var(--gold-2); }
.tool-note { font-size: .92rem; color: var(--muted); margin: 18px 0 0; }
.tool-share {
  margin-top: 22px; font: 600 .78rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: none; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 12px 22px; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.tool-share:hover { background: var(--gold-soft); border-color: var(--gold); }

/* Budget calculator results */
#bud-table td { font-size: .95rem; }
#bud-table .bud-area { font: 500 1.1rem/1.2 var(--display); color: var(--ink); white-space: nowrap; }
.bud-band { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.bud-range { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.bud-tag {
  display: inline-block; font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: 4px 12px; border-radius: 999px; border: 1px solid transparent;
}
.bud-ok { color: #2f6b4f; background: #eaf3ed; border-color: #cfe4d7; }
.bud-mid { color: #8a6a1f; background: #f6efdc; border-color: #e7d7ac; }
.bud-no { color: #9a4a3a; background: #f6e9e5; border-color: #e7c8bf; }

/* ----- Newsletter (The Riviera Briefing) ---------------------------------- */
.briefing {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: clamp(34px, 5vw, 56px);
  background:
    radial-gradient(90% 120% at 90% 0%, rgba(186,151,88,.18), transparent 55%),
    linear-gradient(160deg, var(--deep), var(--deep-2));
  color: var(--on-deep); margin: 0;
}
.briefing-full { border-radius: 0; }
.briefing .eyebrow { color: var(--gold-2); }
.briefing .eyebrow::before { background: var(--gold-2); }
.briefing h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.1; margin: 0 0 14px; color: #fff;
}
.briefing > p { font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--on-deep); max-width: 46ch; margin: 0 0 26px; }
.briefing-inner { position: relative; z-index: 2; max-width: 640px; }
.briefing-form { display: flex; gap: 12px; flex-wrap: wrap; }
.briefing-form input[type="email"] {
  flex: 1; min-width: 240px; font: 400 1rem/1.4 var(--sans);
  padding: 15px 18px; border: 1px solid var(--deep-line); border-radius: 999px;
  background: rgba(255,255,255,.06); color: #fff;
}
.briefing-form input[type="email"]::placeholder { color: var(--on-deep-mut); }
.briefing-form input[type="email"]:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(186,151,88,.2); }
.briefing-form button {
  font: 600 .85rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--deep); background: var(--gold-2); border: none; border-radius: 999px;
  padding: 0 30px; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease);
}
.briefing-form button:hover { background: #cba968; transform: translateY(-1px); }
.briefing-note { margin-top: 16px !important; font-size: .78rem !important; color: var(--on-deep-mut) !important; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ----- Footer ------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--deep-2), #0a1210);
  color: var(--on-deep-mut); padding: clamp(56px, 7vw, 88px) 0 40px; margin-top: 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--deep-line);
}
.footer-brand .brand { color: #fff; font-size: 1.8rem; }
.footer-brand .brand .brand-de { color: var(--gold-2); }
.footer-brand p { font-family: var(--sans); font-size: .92rem; line-height: 1.65; color: var(--on-deep-mut); margin: 16px 0 0; max-width: 34ch; }
.footer-col h3 {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-2); margin: 0 0 18px;
}
.footer-col nav { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-family: var(--sans); font-size: .92rem; color: var(--on-deep); text-decoration: none; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold-2); }
.footer-legal { padding-top: 28px; }
.footer-legal p { font-family: var(--sans); font-size: .78rem; line-height: 1.7; color: var(--on-deep-mut); margin: 0; max-width: 90ch; }

/* ----- Search ------------------------------------------------------------- */
.search { margin-top: 8px; }
.search-input {
  width: 100%; font: 400 1.15rem/1.4 var(--sans);
  padding: 16px 22px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--card); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.search-status { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin: 20px 0 24px; min-height: 1.2em; }
#searchResults:empty { margin: 0; }

/* ----- Consent banner (RGPD) ---------------------------------------------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, var(--deep), var(--deep-2));
  border-top: 1px solid var(--deep-line);
  box-shadow: 0 -12px 40px -20px rgba(0,0,0,.5);
  animation: consent-up .5s var(--ease) both;
}
@keyframes consent-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .consent { animation: none; } }
.consent-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 32px; padding: 18px 0; flex-wrap: wrap;
}
.consent-text {
  font-family: var(--sans); font-size: .9rem; line-height: 1.55; color: var(--on-deep);
  margin: 0; max-width: 62ch;
}
.consent-text a { color: var(--gold-2); }
.consent-text a:hover { color: #fff; }
.consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-consent {
  font: 600 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 999px; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-consent.decline { background: none; color: var(--on-deep); border: 1px solid var(--deep-line); }
.btn-consent.decline:hover { border-color: var(--on-deep); }
.btn-consent.accept { background: var(--gold-2); color: var(--deep); border: 1px solid var(--gold-2); }
.btn-consent.accept:hover { background: #cba968; border-color: #cba968; }

/* ----- Breadcrumbs -------------------------------------------------------- */
.breadcrumbs {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .02em; color: var(--muted);
  margin: 0 0 26px;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-ink); }
.breadcrumbs .sep { margin: 0 9px; color: var(--line-2); }
.breadcrumbs [aria-current="page"] { color: var(--ink-2); }

/* ----- Entrance animation (pure CSS, no JS) -------------------------------
   Content is fully visible by default. When the browser can animate and the
   visitor has not asked for reduced motion, sections gently fade and rise in
   on load. It never depends on JavaScript, so content can never be stranded. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: ddl-rise .9s var(--ease) both; }
  .reveal:nth-of-type(2) { animation-delay: .05s; }
  .reveal:nth-of-type(3) { animation-delay: .1s; }
  .reveal:nth-of-type(4) { animation-delay: .15s; }
}
@keyframes ddl-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ----- Responsive --------------------------------------------------------- */
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 1.1rem; }
  .main-nav { gap: 14px; }
  .main-nav .nav-hide { display: none; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .section-head { align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .reading .page > p:first-of-type { font-size: 1.15rem; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.45rem; }
}
