:root {
  --ink: #15251f;
  --ink-soft: #425149;
  --paper: #f7f6f0;
  --paper-deep: #e7ebe3;
  --accent: #9a482d;
  --line: rgba(21, 37, 31, 0.2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.wordmark span {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wordmark small,
.eyebrow,
.section-number,
dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.language-nav {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-nav a {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
}

.language-nav a[aria-current="page"] {
  color: var(--paper);
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
  padding: clamp(64px, 9vw, 110px) 0 80px;
}

.eyebrow,
.section-number {
  margin: 0 0 22px;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.55rem, 4.6vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.035em;
}

.lead {
  max-width: 680px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.project-card {
  padding: 6px 0 2px 28px;
  border-left: 1px solid var(--line);
}

.project-card dl {
  margin: 0;
}

.project-card dl div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.project-card dt {
  color: var(--ink-soft);
}

.project-card dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.summary,
.report {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 96px;
}

.summary-copy {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.summary-copy p:first-child {
  margin-top: 42px;
}

.pillars {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 20px 0 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}

.pillars li {
  min-height: 150px;
  padding: 28px;
  background: var(--paper);
}

.pillars strong,
.pillars span {
  display: block;
}

.pillars strong {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2rem;
}

.pillars span {
  margin-top: 26px;
  color: var(--ink-soft);
}

.report-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  font-size: 0.9rem;
  font-weight: 650;
}

.pdf-shell {
  height: min(78vh, 960px);
  min-height: 620px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.pdf-shell object {
  width: 100%;
  height: 100%;
  border: 0;
  background: white;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 64px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.84rem;
}

footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 78px;
  }

  .wordmark small {
    display: none;
  }

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

  .hero {
    gap: 56px;
    padding: 72px 0;
  }

  h1 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 9vw, 3.5rem);
    line-height: 0.98;
  }

  .project-card {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .summary,
  .report {
    padding: 72px 0;
  }

  .summary {
    gap: 16px;
  }

  .summary-copy p:first-child {
    margin-top: 28px;
  }

  .pillars {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .pillars li {
    min-height: auto;
  }

  .report-heading {
    align-items: start;
    flex-direction: column;
  }

  .report-actions {
    justify-content: flex-start;
  }

  .pdf-shell {
    height: 70vh;
    min-height: 480px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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