:root {
  --ink: #16181a;
  --graphite: #3a3e40;
  --mist: #dbdbd6;
  --chip: #e9e9e5;
  --bone: #f7f5f0;

  --bg: var(--ink);
  --surface: #202325;
  --surface-border: #34383a;
  --text-primary: var(--bone);
  --text-secondary: var(--mist);
  --text-muted: #8b8e88;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --content-width: 720px;
  --wide-width: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  width: 100%;
}

a {
  color: inherit;
}

/* ---------- ambient background glow ---------- */

.glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.glow-a {
  width: 560px;
  height: 560px;
  top: -220px;
  left: -160px;
  background: radial-gradient(circle, rgba(58, 62, 64, 0.55) 0%, rgba(58, 62, 64, 0) 70%);
}

.glow-b {
  width: 640px;
  height: 640px;
  bottom: -280px;
  right: -220px;
  background: radial-gradient(circle, rgba(58, 62, 64, 0.4) 0%, rgba(58, 62, 64, 0) 70%);
}

header, main, footer, nav.site-nav {
  position: relative;
  z-index: 1;
}

/* ---------- site nav ---------- */

.site-nav {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-links {
  display: flex;
  gap: 24px;
  font-family: var(--sans);
  font-size: 13px;
}

.site-links a {
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-links a:hover {
  color: var(--text-primary);
}

.site-links a.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--text-muted);
}

/* ---------- masthead ---------- */

.masthead {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px 0;
}

.byline {
  display: flex;
  align-items: center;
  gap: 20px;
}

.headshot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.05);
  border: 1px solid var(--surface-border);
  flex-shrink: 0;
}

.byline-text h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
}

.byline-text .role {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- intro ---------- */

.intro {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.intro p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 20px;
}

.intro p:last-child {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- carousel ---------- */

.carousel-section {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 76px 0 8px;
}

.carousel-viewport {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.report-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  min-height: 220px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.report-card.is-center {
  cursor: default;
}

.card-logo {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: var(--chip);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0 0 18px;
}

.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

.report-card .tags {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.report-card .hook {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0 0 18px;
}

.report-card .parties {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  border-top: 1px solid var(--surface-border);
  padding-top: 12px;
}

.report-card .parties .sponsor {
  color: var(--text-primary);
  font-weight: 500;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.carousel-arrow:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-dots .dot.is-active {
  background: var(--text-primary);
}

/* ---------- plain list ---------- */

.report-list {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 64px 24px 112px;
}

.list-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--surface-border);
  text-decoration: none;
}

.list-row:first-child {
  border-top: 1px solid var(--surface-border);
}

.list-logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--chip);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}

.list-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

.list-row-body {
  min-width: 0;
}

.list-row .tags {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.list-row .hook {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.list-row .parties {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.list-row .parties .sponsor {
  color: var(--text-primary);
  font-weight: 500;
}

/* ---------- footer ---------- */

footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 96px 24px 64px;
}

footer p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--surface-border);
}

.footer-contact a:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  .masthead { padding-top: 48px; }
  .byline { gap: 14px; }
  .headshot { width: 52px; height: 52px; }
  .byline-text h1 { font-size: 21px; }
  .intro p { font-size: 17px; }
  .carousel-viewport { height: 420px; }
  .report-card { width: 210px; padding: 18px 20px; min-height: 200px; }
  .report-card .hook { font-size: 15px; }
  .card-logo { width: 56px; height: 56px; padding: 10px; }
}
