:root {
  --bg: #f7f5f0;
  --panel: #ffffff;
  --text: #111111;
  --muted: #6e6e6e;
  --line: #e4dfd3;
  --brand: #111111;
  --brand-2: #aa566b;
  --accent: #c9a24d;
  --accent-soft: #f1ecde;
  --shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f5f0 0%, #f1ecde 220px);
}

a {
  color: var(--brand-2);
}

.page {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px;
}

.hero {
  background: linear-gradient(135deg, #111111 0%, #2f1c20 45%, #aa566b 100%);
  color: #fff;
  border-radius: 26px;
  padding: 34px 36px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  opacity: 0.82;
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.05;
  font-family: Fraunces, Georgia, serif;
}

.hero p {
  margin: 0;
  max-width: 950px;
  line-height: 1.6;
  color: rgba(247, 245, 240, 0.9);
}

.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 24px;
}

.hero-footer .meta {
  margin-top: 0;
  flex: 1 1 320px;
}

.contact-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 16px 20px;
  line-height: 1.5;
  font-size: 14px;
  box-shadow: var(--shadow);
}

.contact-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.35em;
  margin-bottom: 8px;
}

.contact-card a {
  color: #f7f5f0;
  text-decoration: underline;
  font-weight: 600;
}

.disclaimer {
  margin: 0 0 22px;
  background: #f7f5f0;
  border: 1px solid #c9a24d;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  line-height: 1.6;
}

.disclaimer strong {
  color: #8b6a20;
}

.pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.sidebar h3 {
  margin: 6px 8px 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.tablist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-toggle {
  display: none;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.mobile-nav-toggle span {
  float: right;
  color: var(--muted);
  font-weight: 400;
}

.tab-btn {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

.tab-btn:hover {
  background: #f2eee2;
}

.tab-btn.active {
  background: var(--accent);
  color: #111111;
  border-color: #b98a38;
  font-weight: 600;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel {
  display: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.panel.active {
  display: block;
}

.section-title {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.15;
  font-family: Fraunces, Georgia, serif;
}

.lede,
.placeholder-note,
.empty-state,
.quote {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.65;
}

.placeholder-note {
  border-left-color: var(--brand-2);
}

.empty-state {
  border: 1px dashed var(--line);
  background: #fffdf5;
}

p {
  line-height: 1.7;
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}

.card {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.card .k {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.card .v {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-2);
  margin-bottom: 6px;
}

.card .s {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.figure {
  margin: 18px 0 20px;
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
}

.figcap {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}

.source {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.mini h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 16px 0 20px;
}

.summary-item {
  background: #fffdf5;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.summary-item h4 {
  margin: 0 0 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 18px;
  font-size: 14px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

th {
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 700;
}

.fine-print {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .sidebar-title {
    display: none;
  }

  .tablist {
    display: none;
  }

  .sidebar.open .tablist {
    display: flex;
    margin-top: 8px;
  }

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

}

@media (max-width: 680px) {
  .page {
    padding: 16px;
  }

  .hero {
    padding: 24px 20px;
  }

  h1 {
    font-size: 30px;
  }

  .panel {
    padding: 18px;
  }
}
