:root {
  --bg: #f8f8f7;
  --panel: #ffffff;
  --line: #e6e6e2;
  --text: #1f2430;
  --muted: #666e7a;
  --accent: #8a4a30;
  --accent-soft: #f1e7e1;
  --shadow: 0 12px 36px rgba(31, 36, 48, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(138, 74, 48, 0.04), transparent 22%),
    linear-gradient(180deg, #fbfbfa 0%, var(--bg) 100%);
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.topbar-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #fdfdfc 0%, #ffffff 62%, #f7f7f5 100%);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Lato", sans-serif;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: #3b4250;
  font-size: 18px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: #2d3440;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.hero-media {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-visual {
  min-height: 280px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 20%, rgba(138, 74, 48, 0.10), transparent 22%),
    radial-gradient(circle at 80% 25%, rgba(79, 111, 181, 0.10), transparent 20%),
    linear-gradient(135deg, #f8f8f6 0%, #f2f2ef 48%, #fbfbfa 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.hero-visual::before {
  width: 180px;
  height: 180px;
  right: -30px;
  bottom: -20px;
  background: rgba(31, 36, 48, 0.08);
}

.hero-visual::after {
  width: 110px;
  height: 110px;
  left: 18px;
  bottom: 22px;
  background: rgba(155, 79, 45, 0.14);
}

.hero-facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.hero-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid rgba(231, 223, 213, 0.8);
  font-size: 15px;
}

.hero-facts li:first-child {
  border-top: 0;
}

.hero-facts strong {
  color: #424957;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  margin-top: 30px;
  padding: 0 2px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: 27px;
  font-family: "Montserrat", "Lato", sans-serif;
  font-weight: 400;
  color: #232733;
}

.section-note {
  color: #8a6f5f;
  font-size: 14px;
  font-family: "Lato", sans-serif;
}

.flow {
  display: grid;
  gap: 14px;
}

.flow-block {
  padding: 6px 0 14px;
  border-bottom: 1px solid rgba(230, 230, 226, 0.9);
}

.flow-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.flow-block h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #232733;
}

.flow-block p,
.flow-block li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
  font-weight: 400;
}

.highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  padding: 10px 0;
  border-top: 1px solid rgba(231, 223, 213, 0.8);
}

.highlights li:first-child {
  padding-top: 0;
  border-top: 0;
}

.media-frame {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #d6d2cb;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfcfb 0%, #f4f4f1 100%);
  color: #7d7a74;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tab {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a6f5f;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.tab-panel[hidden] {
  display: none;
}

.pub-list {
  display: grid;
  gap: 14px;
}

.pub-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0 16px;
  border-bottom: 1px solid rgba(230, 230, 226, 0.9);
}

.pub-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pub-cover {
  min-height: 104px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(138, 74, 48, 0.12), transparent 22%),
    linear-gradient(135deg, #f5f4f0 0%, #ecebe6 100%);
}

.pub-meta {
  margin: 0 0 5px;
  color: #8a6f5f;
  font-size: 13px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pub-item h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #232733;
}

.pub-authors {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

.pub-notes {
  margin: 0 0 8px;
  padding-left: 18px;
  color: #8a6f5f;
}

.pub-notes li {
  margin: 0 0 4px;
  line-height: 1.55;
  font-size: 15px;
}

.resource-list,
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list li,
.timeline li {
  padding: 12px 0;
  border-top: 1px solid rgba(231, 223, 213, 0.8);
}

.resource-list li:first-child,
.timeline li:first-child {
  border-top: 0;
  padding-top: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
}

.timeline-date {
  color: #8a6f5f;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(230, 230, 226, 0.9);
  color: #8f8b84;
  font-size: 13px;
  text-align: center;
  font-family: Arial, sans-serif;
}

@media (max-width: 920px) {
  .hero,
  .pub-item,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 18px 12px 56px;
  }

  .hero,
  .pub-item {
    padding: 18px;
  }

  .hero-links a {
    width: 100%;
    justify-content: center;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
