/* ============================================================
   IMMOBILIENSPIEGEL – Redaktionelles Magazin-Design
   Palette: Tannengrün / Elfenbein / Messing
   ============================================================ */

:root {
  --pine: #1e3a31;
  --pine-deep: #142823;
  --pine-soft: #2c4f43;
  --brass: #a8874d;
  --brass-bright: #c3a066;
  --paper: #f7f4ed;
  --paper-2: #efeade;
  --card: #fffdf8;
  --line: #ded7c6;
  --ink: #22261f;
  --text: #33372f;
  --muted: #6d7268;
  --serif: "Playfair Display", "Georgia", serif;
  --body-serif: "Source Serif 4", "Georgia", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--body-serif);
  font-size: 1.06rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--brass); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--pine-deep);
  color: #e9e4d6;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px;
}
.topbar a { color: #cfc7b2; }
.topbar a:hover { color: var(--brass-bright); }
.topbar .tb-right { display: flex; gap: 18px; }

/* ---------- Masthead ---------- */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 22px;
  text-align: center;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.brand-img { max-height: 74px; width: auto; }
.brand-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  letter-spacing: 0.12em;
  color: var(--pine);
  text-transform: uppercase;
  line-height: 1;
}
.brand-word .spiegel { color: var(--brass); }
.brand-claim {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Navigation ---------- */
.nav {
  background: var(--pine);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(20, 40, 35, 0.18);
}
.nav .wrap { display: flex; justify-content: center; flex-wrap: wrap; }
.nav a {
  color: #e9e4d6;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 15px 20px;
  display: inline-block;
  border-bottom: 3px solid transparent;
  transition: all 0.18s ease;
}
.nav a:hover, .nav a.active { color: var(--brass-bright); border-bottom-color: var(--brass); }

/* ---------- Kicker & Meta ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-block;
}
.meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
}
.meta .dot::before { content: "·"; margin-right: 8px; color: var(--brass); }

/* ---------- Hero ---------- */
.hero { padding: 52px 0 46px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 44px; align-items: stretch; }
.hero-story { display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.hero-story h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  line-height: 1.16;
  color: var(--ink);
  font-weight: 700;
}
.hero-story h1 a { color: var(--ink); }
.hero-story h1 a:hover { color: var(--pine); }
.hero-story p.lede { font-size: 1.12rem; color: var(--text); }
.btn {
  display: inline-block;
  background: var(--pine);
  color: #f3efe3;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease;
}
.btn:hover { background: var(--brass); color: #fff; }
.btn.ghost { background: transparent; color: var(--pine); border: 1px solid var(--pine); }
.btn.ghost:hover { background: var(--pine); color: #f3efe3; }

/* Marktdaten-Panel */
.market-panel {
  background: var(--pine);
  color: #e9e4d6;
  padding: 30px 30px 24px;
  display: flex; flex-direction: column;
}
.market-panel h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 18px;
}
.market-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(233, 228, 214, 0.14);
  font-family: var(--sans);
  font-size: 0.9rem;
}
.market-row:last-of-type { border-bottom: none; }
.market-row .loc { color: #e9e4d6; }
.market-row .val { font-weight: 600; color: #fff; white-space: nowrap; }
.market-note {
  margin-top: auto; padding-top: 14px;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(233, 228, 214, 0.65);
  line-height: 1.5;
}
.market-note a { color: var(--brass-bright); }

/* ---------- Sections ---------- */
.section { padding: 54px 0; }
.section.tinted { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 2px solid var(--pine);
  padding-bottom: 10px; margin-bottom: 30px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
}
.section-head .all-link { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-media { margin: -26px -26px 2px; }
.card-media img { width: 100%; height: 176px; object-fit: cover; display: block; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(34, 38, 31, 0.09); }
.card h3 { font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--pine); }
.card p { font-size: 0.97rem; color: var(--text); }
.card .meta { margin-top: auto; padding-top: 8px; }

/* ---------- Zahlenband ---------- */
.stats-band { background: var(--pine-deep); color: #e9e4d6; padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--brass-bright);
  line-height: 1.1;
}
.stat .lbl { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em; color: rgba(233,228,214,0.8); margin-top: 6px; }
.stats-src { text-align: center; margin-top: 26px; font-family: var(--sans); font-size: 0.73rem; color: rgba(233,228,214,0.55); }
.stats-src a { color: var(--brass-bright); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--card);
  border: 1px solid var(--brass);
  padding: 40px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center;
}
.newsletter h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.newsletter p { font-size: 0.95rem; color: var(--muted); }
.nl-form { display: flex; gap: 10px; }
.nl-form input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
}
.nl-form input:focus { outline: 2px solid var(--brass); border-color: var(--brass); }

/* ---------- Artikel-Layout ---------- */
.article-head { padding: 52px 0 30px; border-bottom: 1px solid var(--line); }
.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 14px 0 16px;
  max-width: 900px;
}
.article-head .lede { font-size: 1.18rem; color: var(--text); max-width: 820px; margin-bottom: 18px; }

.article-body { padding: 44px 0 60px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: 56px; }
.article-grid > * { min-width: 0; }

/* Artikel-Aufmacherbild */
.article-lead { margin: 0 0 6px; }
.article-lead img {
  width: 100%;
  height: clamp(240px, 34vw, 400px);
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}
.article-lead figcaption {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  padding-top: 7px;
}
.article-lead figcaption a { color: var(--muted); text-decoration: underline; }
.article-content > * + * { margin-top: 1.15em; }
.article-content h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--ink);
  margin-top: 1.9em;
  padding-top: 0.6em;
  border-top: 2px solid var(--pine);
}
.article-content h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-top: 1.6em; }
.article-content ul, .article-content ol { padding-left: 1.4em; }
.article-content li + li { margin-top: 0.5em; }
.article-content blockquote {
  border-left: 3px solid var(--brass);
  padding: 6px 0 6px 22px;
  font-style: italic;
  color: var(--pine);
  font-size: 1.12rem;
}
.article-content .hinweis {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  padding: 18px 22px;
  font-size: 0.95rem;
  font-family: var(--sans);
  line-height: 1.6;
}

/* Tabellen */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--card); }
table.vgl { border-collapse: collapse; width: 100%; min-width: 720px; font-family: var(--sans); font-size: 0.88rem; }
table.vgl caption {
  text-align: left; font-family: var(--sans); font-size: 0.78rem;
  color: var(--muted); padding: 12px 14px; caption-side: bottom;
}
table.vgl th {
  background: var(--pine);
  color: #f0ecdf;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
table.vgl td, table.vgl tbody th { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.vgl tbody th { background: transparent; color: inherit; font-weight: 400; letter-spacing: normal; white-space: normal; min-width: 180px; overflow-wrap: normal; }
table.vgl tr:nth-child(even) td, table.vgl tr:nth-child(even) th { background: rgba(239, 234, 222, 0.5); }
table.vgl tr.highlight td, table.vgl tr.highlight th { background: rgba(168, 135, 77, 0.13); border-bottom-color: var(--brass); }
table.vgl .check { color: var(--pine); font-weight: 700; }
table.vgl .minus { color: var(--muted); }

/* Orientierung für Kaufinteressenten */
.comparison-note {
  background: var(--pine);
  color: #ece7d8;
  padding: 30px 32px;
  margin: 2em 0;
}
.comparison-note .kicker { color: var(--brass-bright); }
.comparison-note h3 { font-family: var(--serif); font-size: 1.45rem; color: #fff; margin: 8px 0 10px; }
.comparison-note p { font-size: 0.98rem; }
.comparison-note a { color: var(--brass-bright); text-decoration: underline; }

/* Anbieter-Profile */
.profil {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 28px;
  margin-top: 1.4em;
}
.profil .p-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.profil h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin: 0; }
.profil .rank {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass);
}
.profil .p-fakten {
  font-family: var(--sans); font-size: 0.84rem; color: var(--muted);
  margin: 10px 0 12px; line-height: 1.55;
}

/* FAQ */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  margin-top: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--brass); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; font-size: 0.97rem; }

/* Quellen */
.quellen {
  margin-top: 3em;
  padding: 24px 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.85rem;
}
.quellen h2, .quellen h3 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pine); border: none; margin: 0 0 12px; padding: 0; }
.quellen ol { padding-left: 1.3em; }
.quellen li { margin-top: 6px; line-height: 1.55; }
.quellen a { word-break: break-word; }

/* Sidebar */
.sidebar > div { background: var(--card); border: 1px solid var(--line); padding: 24px; margin-bottom: 26px; }
.sidebar h2 {
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pine);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 8px; margin-bottom: 14px;
}
.sidebar ul { list-style: none; }
.sidebar li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; line-height: 1.45; }
.sidebar li:last-child { border-bottom: none; }
.sidebar .mini-meta { font-family: var(--sans); font-size: 0.74rem; color: var(--muted); display: block; margin-top: 3px; }

/* ---------- Footer ---------- */
footer { background: var(--pine-deep); color: #cfc9b8; margin-top: 70px; }
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding: 52px 0 40px;
}
.foot-brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #f0ecdf;
}
.foot-brand .spiegel { color: var(--brass-bright); }
.foot-grid p { font-size: 0.88rem; line-height: 1.65; margin-top: 12px; font-family: var(--sans); color: rgba(207, 201, 184, 0.85); }
.foot-grid h2 {
  font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass-bright); margin-bottom: 14px;
}
.foot-grid ul { list-style: none; }
.foot-grid li { margin-top: 9px; font-family: var(--sans); font-size: 0.88rem; }
.foot-grid a { color: #cfc9b8; }
.foot-grid a:hover { color: var(--brass-bright); }
.foot-legal {
  border-top: 1px solid rgba(207, 201, 184, 0.18);
  padding: 18px 0 26px;
  font-family: var(--sans);
  font-size: 0.76rem;
  color: rgba(207, 201, 184, 0.6);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* Breadcrumb */
.breadcrumb { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); padding-top: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brass); }

/* ---------- Feature-Karte (Aufmacher) ---------- */
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass);
  box-shadow: 0 16px 44px rgba(34, 38, 31, 0.10);
  display: flex; flex-direction: column;
}
.fc-media { position: relative; }
.fc-media img { width: 100%; height: clamp(220px, 30vw, 340px); object-fit: cover; }
.badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--pine);
  color: #f0ecdf;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 13px;
  box-shadow: 0 4px 14px rgba(20, 40, 35, 0.35);
}
.badge .b-gold { color: var(--brass-bright); }
.fc-credit {
  font-family: var(--sans); font-size: 0.67rem; color: var(--muted);
  text-align: right; padding: 6px 14px 0;
}
.fc-credit a { color: var(--muted); text-decoration: underline; }
.fc-body { padding: 18px 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.fc-body h1 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.18;
  color: var(--ink);
  font-weight: 700;
}
.fc-body h1 a { color: var(--ink); }
.fc-body h1 a:hover { color: var(--pine); }
.fc-body .lede { font-size: 1.05rem; color: var(--text); }

/* ---------- Meist gelesen (Toplist) ---------- */
.toplist { background: var(--card); border: 1px solid var(--line); padding: 26px 26px 14px; display: flex; flex-direction: column; }
.toplist h3 {
  font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--pine);
  border-bottom: 2px solid var(--brass);
  padding-bottom: 9px; margin-bottom: 6px;
}
.toplist ol { list-style: none; counter-reset: top; }
.toplist li { counter-increment: top; display: flex; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.toplist li:last-child { border-bottom: none; }
.toplist li::before {
  content: counter(top, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.45rem; font-weight: 700;
  color: var(--brass);
  line-height: 1;
}
.toplist a { color: var(--ink); font-family: var(--body-serif); font-size: 0.97rem; font-weight: 600; line-height: 1.4; display: block; }
.toplist a:hover { color: var(--pine); }
.toplist .mini-meta { font-family: var(--sans); font-size: 0.74rem; color: var(--muted); display: block; margin-top: 4px; font-weight: 400; }

/* ---------- Zitat-Band ---------- */
.quote-band { background: var(--pine-deep); color: #ece7d8; padding: 60px 0; text-align: center; }
.quote-band .q-mark { font-family: var(--serif); font-size: 3rem; color: var(--brass-bright); line-height: 0.4; display: block; margin-bottom: 18px; }
.quote-band blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  line-height: 1.45;
  max-width: 880px; margin: 0 auto;
  border: none; padding: 0; color: #f0ecdf;
}
.quote-band cite {
  display: block; margin-top: 20px;
  font-family: var(--sans); font-style: normal;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass-bright);
}

/* ---------- Ressorts ---------- */
.ressort-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ressort {
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--brass);
  padding: 26px 24px 22px;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ressort:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(34, 38, 31, 0.09); }
.ressort .r-num { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--brass); display: block; margin-bottom: 10px; }
.ressort h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; }
.ressort p { font-family: var(--sans); font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

/* ---------- Folgen Sie uns ---------- */
.social-section { text-align: center; }
.social-section h2 { font-family: var(--serif); font-size: 1.55rem; color: var(--ink); }
.social-section .social-sub { font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin-top: 8px; }
.social-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.social-btn {
  width: 54px; height: 54px;
  border: 1.5px solid var(--pine);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pine);
  transition: all 0.18s ease;
}
.social-btn svg { width: 22px; height: 22px; fill: currentColor; }
.social-btn:hover { background: var(--pine); color: var(--brass-bright); transform: translateY(-3px); }
.social-note { margin-top: 18px; font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .article-grid, .newsletter { grid-template-columns: 1fr; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr 1fr; }
  .stats-grid, .ressort-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .card-grid, .card-grid.two, .ressort-grid { grid-template-columns: 1fr; }
  .nav a { padding: 13px 12px; font-size: 0.78rem; }
  .topbar .tb-right { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .fc-body { padding: 16px 20px 22px; }
}

/* Website-Vorschau in den Anbieterprofilen */
.profil .p-shot { margin: 14px 0 0; }
.profil .p-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; border: 1px solid var(--line); background: #fff; }
.profil .p-shot figcaption { font-family: var(--sans); font-size: 0.7rem; color: var(--muted); padding-top: 6px; }
/* Zweites Bild im Artikel */
.article-inline { margin: 1.6em 0 0; }
.article-inline img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border: 1px solid var(--line); }
.article-inline figcaption { font-family: var(--sans); font-size: 0.7rem; color: var(--muted); text-align: right; padding-top: 7px; }
.article-inline figcaption a { color: var(--muted); text-decoration: underline; }

/* Keyboard access and compact navigation; native links remain available without JS. */
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 4px; }
[id] { scroll-margin-top: 76px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.nav-toggle { display: none; }
.table-help { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); }
.table-scroll { max-width: 100%; }
.newsletter-note { grid-column: 1 / -1; }
.nl-form input { min-width: 0; }
.nl-form :disabled { cursor: not-allowed; opacity: 0.65; }

@media (max-width: 620px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand-word { font-size: clamp(1.2rem, 6vw, 2rem); letter-spacing: 0.06em; }
  .brand-claim { max-width: 100%; padding: 0 16px; letter-spacing: 0.16em; }
  .section-head { gap: 12px; flex-wrap: wrap; }
  .newsletter { padding: 24px; }
  .nl-form { flex-wrap: wrap; }
  .nav.is-enhanced .nav-toggle { display: block; width: calc(100% - 32px); margin: 0 16px; padding: 13px 12px; min-height: 44px; border: 0; background: transparent; color: #e9e4d6; font: 600 0.86rem var(--sans); text-align: left; cursor: pointer; }
  .nav-toggle::after { content: "+"; float: right; }
  .nav-toggle[aria-expanded="true"]::after { content: "−"; }
  .nav.is-enhanced .nav-toggle[aria-expanded="false"] + .nav-links { display: none; }
  .nav.is-enhanced .nav-links { flex-direction: column; max-height: 65vh; overflow-y: auto; }
  .nav.is-enhanced a { min-height: 44px; }
  .article-content, .article-head h1, .brand { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
