:root {
  --bg: #f5efe3;
  --bg-accent: #efe4cc;
  --surface: rgba(255, 252, 246, 0.86);
  --surface-strong: #fffdf8;
  --ink: #1c1b18;
  --muted: #6d6558;
  --line: rgba(35, 29, 21, 0.12);
  --brand: #8f2d1b;
  --brand-soft: #d46e40;
  --brand-deep: #6f1f14;
  --royal-blue: #1d3f77;
  --gold: #b8892d;
  --sand: #ead9b7;
  --forest: #27413e;
  --shadow: 0 20px 60px rgba(58, 36, 18, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(184, 137, 45, 0.12), transparent 22%),
    radial-gradient(circle at top left, rgba(212, 110, 64, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(39, 65, 62, 0.14), transparent 26%),
    linear-gradient(90deg, rgba(29, 63, 119, 0.04), transparent 18%, transparent 82%, rgba(143, 45, 27, 0.05)),
    linear-gradient(180deg, #f6f0e4 0%, #f3eadb 48%, #efe6d7 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background:
    radial-gradient(circle at 12px 12px, rgba(184, 137, 45, 0.08) 2px, transparent 2.5px),
    radial-gradient(circle at 36px 36px, rgba(143, 45, 27, 0.04) 2px, transparent 2.5px);
  background-size: 48px 48px;
}

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

a {
  color: inherit;
}

.site-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 24px;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 8px;
}

.sidebar__inner {
  height: calc(100vh - 32px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(245, 237, 222, 0.9)),
    linear-gradient(90deg, rgba(184, 137, 45, 0.08), transparent 28%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.sidebar__inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background:
    linear-gradient(90deg, var(--brand) 0 36%, var(--royal-blue) 36% 72%, var(--gold) 72% 100%);
}

.eyebrow,
.toc__label,
.report-section__eyebrow,
.hero__panel-label,
.page-card__section {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.sidebar__title,
.hero__title,
.section-heading h3,
.report-section__title,
.page-card__title {
  margin: 0;
  line-height: 1.05;
  font-weight: 600;
}

.sidebar__title {
  font-size: 2.1rem;
}

.sidebar__blurb,
.hero__subtitle,
.hero__panel-copy,
.highlight-card__detail,
.results-meta,
.report-section__pages,
.page-card__number,
.page-card__details,
.authors,
.toc__pages {
  color: var(--muted);
}

.toc {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toc__links {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding-right: 6px;
}

.toc__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.54);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.toc__link:hover,
.toc__link:focus-visible {
  transform: translateX(4px);
  border-color: rgba(143, 45, 27, 0.18);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
}

.toc__text {
  font-size: 1rem;
}

.toc__pages {
  font-size: 0.9rem;
  white-space: nowrap;
}

.lang-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.lang-switch__button {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.lang-switch__button.is-active {
  background: var(--brand);
  color: #fff8f3;
}

.sidebar__actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  text-decoration: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff8f3;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.main-content {
  display: grid;
  gap: 22px;
  padding-bottom: 24px;
}

.hero,
.highlights,
.executive-brief,
.chart-spotlight,
.chapter-guide,
.reader-tools,
.content-view {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.82fr);
  gap: 18px;
  padding: 24px 26px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(247, 239, 225, 0.86)),
    radial-gradient(circle at top right, rgba(184, 137, 45, 0.18), transparent 22%);
}

.hero__copy {
  display: grid;
  align-content: start;
  gap: 12px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background:
    linear-gradient(90deg, var(--brand) 0 38%, var(--royal-blue) 38% 76%, var(--gold) 76% 100%);
}

.hero__title {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  max-width: 10.5ch;
  text-wrap: balance;
  position: relative;
  line-height: 0.96;
}

.hero__title::after {
  content: "";
  display: block;
  width: 116px;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--gold), rgba(184, 137, 45, 0.18));
}

.hero__subtitle {
  margin: 4px 0 0;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.5;
}

.authors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.authors span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 29, 21, 0.08);
  font-size: 0.92rem;
}

.hero__panel {
  padding: 18px;
  border-radius: calc(var(--radius-lg) - 8px);
  background:
    linear-gradient(135deg, rgba(39, 65, 62, 0.98), rgba(84, 113, 100, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #f4eee6;
  display: grid;
  align-content: start;
  gap: 12px;
  position: relative;
}

.hero__cover {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 34px rgba(16, 22, 19, 0.2);
  aspect-ratio: 0.74;
}

.hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: rgba(255, 255, 255, 0.08);
}

.hero__panel-copy,
.hero__panel-label {
  color: rgba(244, 238, 230, 0.8);
}

.hero__panel-copy {
  margin: 2px 0 0;
  line-height: 1.55;
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mode-switch__button,
.chip {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font: inherit;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.mode-switch__button {
  color: rgba(244, 238, 230, 0.82);
  background: transparent;
  min-height: 42px;
}

.mode-switch__button.is-active {
  background: #f7f0e7;
  color: var(--forest);
}

.section-heading {
  padding: 24px 28px 0;
  position: relative;
}

.section-heading h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  position: relative;
  display: inline-block;
}

.section-heading h3::after {
  content: "";
  display: block;
  width: 88px;
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--brand), var(--gold));
}

.highlights__grid {
  padding: 22px 28px 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brief-grid {
  padding: 22px 28px 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.brief-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(32, 49, 47, 0.98), rgba(63, 88, 84, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  color: #f5eee4;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.brief-card::before,
.chart-card::before,
.chapter-card::before,
.highlight-card::before,
.footer-card::before,
.report-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--brand), var(--royal-blue));
}

.brief-card__kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 238, 228, 0.7);
}

.brief-card__title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
}

.brief-card__copy {
  margin: 0;
  color: rgba(245, 238, 228, 0.82);
  line-height: 1.7;
}

.brief-card__button {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #fff9f2;
  font: inherit;
  cursor: pointer;
}

.chart-grid {
  padding: 22px 28px 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chart-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 230, 0.82));
  border: 1px solid rgba(35, 29, 21, 0.08);
  display: grid;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.chart-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.chart-card__eyebrow {
  margin: 0 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.chart-card__title {
  margin: 0;
  font-size: 1.28rem;
}

.chart-card__page,
.chart-card__copy {
  margin: 0;
  color: var(--muted);
}

.chart-card__copy {
  line-height: 1.7;
}

.chart-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chart-card__button {
  cursor: pointer;
}

.chapter-grid {
  padding: 22px 28px 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chapter-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(239, 228, 204, 0.72));
  border: 1px solid rgba(35, 29, 21, 0.08);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.chapter-card__eyebrow {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.chapter-card__title {
  margin: 0;
  font-size: 1.4rem;
}

.chapter-card__summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.chapter-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chapter-card__button {
  cursor: pointer;
}

.highlight-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 230, 0.78));
  border: 1px solid rgba(35, 29, 21, 0.08);
  position: relative;
  overflow: hidden;
}

.highlight-card__value {
  margin: 0;
  font-size: 2.2rem;
  color: var(--forest);
}

.highlight-card__label {
  margin: 12px 0 8px;
  font-size: 1.06rem;
}

.reader-tools {
  padding-bottom: 24px;
}

.tools-bar {
  padding: 22px 28px 6px;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(220px, 1fr);
  gap: 16px;
}

.search-field,
.filter-field {
  display: grid;
  gap: 10px;
}

.search-field__label {
  font-size: 0.9rem;
  color: var(--muted);
}

.search-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(35, 29, 21, 0.1);
  background: var(--surface-strong);
  color: var(--ink);
  font: inherit;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(35, 29, 21, 0.1);
  color: var(--ink);
}

.chip.is-active {
  background: var(--brand);
  color: #fff7f1;
}

.results-meta {
  padding: 0 28px;
  margin: 8px 0 0;
}

.content-view {
  overflow: hidden;
}

.is-hidden {
  display: none;
}

.page-jump {
  padding: 18px 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-pill {
  border: 1px solid rgba(35, 29, 21, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font: inherit;
  padding: 10px 14px;
  cursor: pointer;
}

.page-pill:hover,
.page-pill:focus-visible {
  border-color: rgba(143, 45, 27, 0.28);
  color: var(--brand);
  outline: none;
}

.section-list {
  padding: 20px 24px 28px;
  display: grid;
  gap: 16px;
}

.report-section {
  scroll-margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 29, 21, 0.08);
  position: relative;
  overflow: hidden;
}

.report-section__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(35, 29, 21, 0.08);
}

.report-section__title {
  font-size: 1.5rem;
}

.report-section__body {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.section-page {
  display: grid;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px dashed rgba(35, 29, 21, 0.12);
}

.section-page:first-child {
  padding-top: 0;
  border-top: 0;
}

.section-page__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.section-page__label,
.section-page__anchor {
  font-size: 0.92rem;
}

.section-page__anchor {
  color: var(--brand);
}

.section-page p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.page-grid {
  padding: 20px 24px 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 6px 8px;
  color: var(--muted);
}

.site-footer a {
  color: var(--brand);
}

.footer-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 240, 230, 0.82));
  border: 1px solid rgba(35, 29, 21, 0.08);
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.footer-card__label,
.footer-card__meta {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.footer-card__title,
.footer-card__body {
  margin: 0;
}

.footer-card__title {
  font-size: 1.2rem;
  color: var(--ink);
}

.footer-card__body {
  line-height: 1.75;
}

.footer-card__link {
  line-height: 1.6;
  word-break: break-word;
}

.footer-card__link--title {
  color: inherit;
  text-decoration: none;
}

.footer-card__link--title:hover,
.footer-card__link--title:focus-visible {
  color: var(--brand);
  text-decoration: underline;
}

.lightbox {
  width: min(92vw, 1200px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: rgba(248, 242, 233, 0.98);
  box-shadow: 0 30px 80px rgba(12, 10, 8, 0.3);
}

.lightbox::backdrop {
  background: rgba(20, 17, 13, 0.72);
  backdrop-filter: blur(4px);
}

.lightbox__inner {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.lightbox__close {
  justify-self: end;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(35, 29, 21, 0.1);
  background: white;
  font: inherit;
  cursor: pointer;
}

.lightbox__image {
  max-height: 74vh;
  width: 100%;
  object-fit: contain;
  background: white;
  border-radius: 16px;
}

.lightbox__caption {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.page-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(35, 29, 21, 0.08);
}

.page-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.page-card__image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(25, 20, 13, 0.12);
  background: white;
  cursor: zoom-in;
}

.page-card__details {
  margin-top: 12px;
}

.page-card__details summary {
  cursor: pointer;
  color: var(--brand);
}

.page-card__text {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(243, 238, 227, 0.92);
  white-space: pre-wrap;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.83rem;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding-top: 0;
  }

  .sidebar__inner {
    height: auto;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .highlights__grid,
  .brief-grid,
  .chart-grid,
  .chapter-grid,
  .page-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1121px) and (max-width: 1320px) {
  .hero {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 16px;
    padding: 22px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    max-width: 10ch;
  }

  .hero__subtitle {
    max-width: 38ch;
  }

  .hero__panel {
    padding: 16px;
  }
}

@media (max-width: 920px) {
  .site-shell {
    padding: 18px;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .highlights__grid,
  .brief-grid,
  .chart-grid,
  .chapter-grid,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px 22px;
  }

  .section-heading,
  .highlights__grid,
  .brief-grid,
  .chart-grid,
  .chapter-grid,
  .tools-bar,
  .section-list,
  .page-grid,
  .page-jump {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 14px;
    gap: 14px;
  }

  .sidebar {
    top: auto;
  }

  .sidebar__title {
    font-size: 1.7rem;
  }

  .sidebar__blurb {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .toc__links {
    max-height: 220px;
    padding-right: 2px;
  }

  .toc__link {
    padding: 10px 12px;
  }

  .sidebar__inner,
  .hero,
  .highlight-card,
  .brief-card,
  .chart-card,
  .chapter-card,
  .footer-card,
  .report-section,
  .page-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .highlights__grid,
  .brief-grid,
  .chart-grid,
  .chapter-grid,
  .page-grid,
  .tools-bar {
    grid-template-columns: 1fr;
  }

  .report-section__header,
  .section-page__meta,
  .page-card__meta {
    display: grid;
  }

  .hero__title {
    font-size: clamp(2rem, 11vw, 3rem);
    max-width: 9ch;
  }

  .section-heading h3 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }

  .hero__subtitle {
    max-width: none;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero__panel {
    gap: 10px;
  }

  .hero__cover {
    aspect-ratio: 1.02;
  }

  .hero__panel-copy {
    font-size: 0.95rem;
  }

  .mode-switch {
    grid-template-columns: 1fr 1fr;
  }

  .mode-switch__button {
    padding: 10px 12px;
  }

  .search-field input {
    min-height: 48px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  .filter-chips {
    gap: 8px;
  }

  .section-page p,
  .chart-card__copy,
  .chapter-card__summary,
  .footer-card__body {
    line-height: 1.68;
  }

  .report-section__title,
  .page-card__title {
    font-size: 1.22rem;
  }

  .report-section__body {
    gap: 14px;
    padding-top: 14px;
  }

  .page-card__details summary {
    font-size: 0.92rem;
  }

  .page-card__text {
    padding: 12px;
    font-size: 0.78rem;
  }

  .highlights__grid,
  .brief-grid,
  .chart-grid,
  .chapter-grid,
  .section-list,
  .page-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 0 2px 8px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    padding: 10px;
  }

  .sidebar__inner {
    padding: 18px 16px;
    gap: 16px;
  }

  .hero {
    padding: 18px 16px;
    gap: 14px;
  }

  .hero::before {
    height: 10px;
  }

  .hero__copy {
    gap: 10px;
  }

  .hero__title {
    font-size: clamp(1.7rem, 13vw, 2.45rem);
    max-width: 8.2ch;
  }

  .hero__title::after {
    width: 72px;
    height: 8px;
    margin-top: 10px;
  }

  .hero__subtitle {
    font-size: 0.92rem;
  }

  .hero__panel {
    padding: 14px;
    border-radius: 18px;
  }

  .hero__cover {
    aspect-ratio: 1.08;
    border-radius: 14px;
  }

  .button,
  .lang-switch__button,
  .mode-switch__button,
  .chip,
  .page-pill {
    min-height: 44px;
    font-size: 0.92rem;
  }

  .authors {
    gap: 8px;
  }

  .authors span {
    width: 100%;
    border-radius: 14px;
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .section-heading {
    padding-top: 18px;
  }

  .section-heading h3::after {
    width: 64px;
    margin-top: 10px;
  }

  .highlight-card,
  .brief-card,
  .chart-card,
  .chapter-card,
  .footer-card,
  .report-section,
  .page-card {
    border-radius: 16px;
  }

  .highlight-card__value {
    font-size: 1.8rem;
  }

  .highlight-card__label,
  .brief-card__title,
  .chart-card__title,
  .chapter-card__title {
    font-size: 1.12rem;
  }

  .tools-bar {
    gap: 12px;
    padding-top: 18px;
  }

  .results-meta {
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.92rem;
  }

  .page-jump {
    gap: 8px;
    padding-top: 14px;
  }

  .page-pill {
    padding: 9px 12px;
  }

  .report-section__header {
    gap: 10px;
    padding-bottom: 12px;
  }

  .section-page {
    padding-top: 12px;
    gap: 8px;
  }

  .section-page__label,
  .section-page__anchor,
  .page-card__number {
    font-size: 0.86rem;
  }

  .page-card__image {
    border-radius: 12px;
  }

  .site-footer {
    gap: 12px;
  }

  .footer-card {
    padding: 18px 16px;
  }

  .section-heading,
  .highlights__grid,
  .brief-grid,
  .chart-grid,
  .chapter-grid,
  .tools-bar,
  .section-list,
  .page-grid,
  .page-jump {
    padding-left: 16px;
    padding-right: 16px;
  }
}
