:root {
  --ink: #2f2928;
  --muted: #6f6460;
  --paper: #fbf8f3;
  --surface: #ffffff;
  --accent: #a66f50;
  --accent-dark: #704834;
  --gold: #d0aa6a;
  --line: #e5ddd5;
  --sage: #687568;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "TildaSans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(47,41,40,.96);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--max));
  min-height: 70px;
  margin: 0 auto;
}
.brand {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: .02em;
  text-decoration: none;
}
.brand span { color: var(--gold); }
.site-nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.site-nav a { color: #fff; font-size: 15px; text-decoration: none; }
.site-nav a:hover { color: var(--gold); }
.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #332c29;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31,25,23,.9) 0%, rgba(31,25,23,.65) 48%, rgba(31,25,23,.18) 100%),
              linear-gradient(0deg, rgba(31,25,23,.58), transparent 55%);
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 110px 0 74px;
}
.eyebrow { margin: 0 0 14px; color: #f2cc83; font-size: 14px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.18; text-wrap: balance; }
h1 { max-width: 900px; margin: 0; font-size: clamp(42px, 6vw, 76px); font-weight: 400; }
.hero__lead { max-width: 790px; margin: 22px 0 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; color: #efe8df; font-size: 15px; }
.breadcrumbs { width: min(calc(100% - 40px), var(--max)); margin: 24px auto; color: var(--muted); font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #a79c96; }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 70px;
  width: min(calc(100% - 40px), var(--max));
  margin: 48px auto 88px;
}
.article { min-width: 0; }
.answer-box, .note, .stat-grid, .palette, .source-box, .cta {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.answer-box { margin: 0 0 42px; padding: 28px 30px; border-left: 5px solid var(--gold); }
.answer-box h2 { margin: 0 0 10px; font-size: 25px; }
.answer-box p:last-child { margin-bottom: 0; }
.article h2 { margin: 58px 0 18px; font-size: clamp(31px, 4vw, 44px); font-weight: 400; scroll-margin-top: 92px; }
.article h3 { margin: 34px 0 12px; font-size: 26px; font-weight: 400; }
.article p { margin: 0 0 20px; }
.article ul, .article ol { padding-left: 24px; }
.article li { margin-bottom: 9px; }
.article figure { margin: 36px 0; }
.article figure img { width: 100%; max-height: 620px; border-radius: 22px; object-fit: cover; }
.article figcaption { margin-top: 9px; color: var(--muted); font-size: 14px; }
.note { margin: 28px 0; padding: 24px 26px; background: #f0ebe5; }
.note strong { color: var(--accent-dark); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin: 30px 0; background: var(--line); }
.stat { padding: 24px; background: #fff; }
.stat b { display: block; color: var(--accent-dark); font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.stat span { display: block; margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px; }
.swatch { min-height: 150px; padding: 16px; display: flex; align-items: flex-end; border-radius: 14px; color: #fff; font-weight: 700; text-shadow: 0 1px 5px rgba(0,0,0,.35); }
.swatch--light { color: #382f2c; text-shadow: none; }
.table-wrap { margin: 28px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; min-width: 660px; border-collapse: collapse; }
th, td { padding: 15px 17px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
th { color: #fff; background: var(--ink); font-size: 15px; }
tr:last-child td { border-bottom: 0; }
.checklist { padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 31px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 800; }
.faq details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; }
.faq details div { padding: 0 20px 18px; }
.source-box { margin-top: 54px; padding: 26px 28px; }
.source-box h2 { margin-top: 0; font-size: 28px; }
.source-box li { font-size: 15px; }
.cta { margin-top: 42px; padding: 34px; color: #fff; background: var(--ink); }
.cta h2 { margin: 0 0 12px; color: var(--gold); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button { display: inline-block; padding: 12px 20px; border: 1px solid var(--gold); border-radius: 999px; color: #2f2928; background: var(--gold); font-weight: 700; text-decoration: none; }
.button--ghost { color: #fff; background: transparent; }
.toc { position: sticky; top: 96px; align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.88); }
.toc strong { display: block; margin-bottom: 12px; font-family: Georgia, serif; font-size: 20px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 0 0 9px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.toc a { text-decoration: none; }
.author { display: grid; grid-template-columns: 72px 1fr; gap: 17px; align-items: center; margin-top: 34px; padding: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author__mark { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent-dark); font-family: Georgia, serif; font-size: 25px; }
.author p { margin: 0; font-size: 15px; }
.related { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 90px; }
.related h2 { font-size: 38px; font-weight: 400; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.card h3 { margin: 0 0 10px; font-size: 24px; }
.card p { color: var(--muted); font-size: 16px; }
.site-footer { padding: 44px 20px; color: #ddd2c8; background: #25201f; text-align: center; }
.site-footer a { color: #f2cc83; }
.trend-hub { padding: 86px 20px; background: var(--paper); }
.trend-hub__inner { width: min(100%, var(--max)); margin: 0 auto; }
.trend-hub__eyebrow { margin: 0 0 10px; color: var(--accent-dark); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.trend-hub h2 { max-width: 820px; margin: 0; color: var(--ink); font-size: clamp(36px, 5vw, 58px); font-weight: 400; }
.trend-hub__lead { max-width: 760px; margin: 18px 0 32px; color: var(--muted); }
.trend-hub__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.trend-hub__card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.trend-hub__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trend-hub__body { padding: 24px; }
.trend-hub__body span { color: var(--accent-dark); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trend-hub__body h3 { margin: 8px 0 10px; color: var(--ink); font-size: 26px; font-weight: 400; }
.trend-hub__body p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.trend-hub__body a { font-weight: 700; }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; order: -1; }
  .related__grid { grid-template-columns: 1fr; }
  .trend-hub__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .site-header__inner { align-items: flex-start; flex-direction: column; gap: 5px; padding: 12px 0 14px; }
  .site-nav { gap: 8px 14px; justify-content: flex-start; }
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(0deg, rgba(31,25,23,.92), rgba(31,25,23,.38)); }
  .hero__content { padding-bottom: 46px; }
  .layout { margin-top: 28px; }
  .answer-box, .cta { padding: 23px; }
  .stat-grid { grid-template-columns: 1fr; }
  .palette { grid-template-columns: 1fr 1fr; }
  .swatch { min-height: 110px; }
  .article h2 { margin-top: 46px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  @page { size: A4; margin: 12mm 10mm; }
  .skip-link { display: none !important; }
  .site-header, .toc { position: static; }
}
