@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #121214;
  --paper: #f1f1ef;
  --card: #fbfbfa;
  --line: #dcdcd9;
  --muted: #6c6c70;
  --accent: #3448e0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.wide { max-width: 920px; }

header.site {
  border-bottom: 2px solid var(--ink);
  padding: 22px 0;
}

header.site .wrap {
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

nav.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav.site-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

main { padding: 64px 0 40px; }

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 28px;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 4px;
}

p { margin: 0 0 20px; }
p.lede {
  font-size: 21px;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--ink);
}

ul.plain { list-style: none; margin: 0 0 20px; padding: 0; }
ul.plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
ul.plain li:last-child { border-bottom: none; }
ul.plain li a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
ul.plain li a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: #e4e4ff;
  padding: 3px 9px;
  border-radius: 3px;
}

.case {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.case:first-of-type { border-top: none; padding-top: 0; }

.case .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.case .meta .years {
  font-size: 13px;
  color: var(--muted);
}

.case h3.role {
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 18px;
}

.case ul {
  margin: 0;
  padding-left: 20px;
}
.case ul li { margin-bottom: 10px; }
.case ul li a {
  color: var(--accent);
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.case ul li a:hover { border-bottom-color: var(--accent); }

.case p.channels {
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}
.case p.channels strong {
  color: var(--ink);
  font-weight: 600;
}
.case p.channels a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.case p.channels a:hover { border-bottom-color: var(--accent); }

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

.press-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.press-item:last-child { border-bottom: none; }
.press-item .date { color: var(--muted); font-size: 13px; white-space: nowrap; }

footer.site {
  border-top: 2px solid var(--ink);
  padding: 32px 0 60px;
  margin-top: 40px;
}
footer.site .wrap {
  max-width: 920px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
footer.site .social a {
  font-family: 'Space Grotesk', sans-serif;
  margin-right: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
footer.site .social a:hover { color: var(--accent); }
footer.site .copy { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  main { padding: 40px 0 24px; }
  header.site .wrap { flex-direction: column; align-items: flex-start; }
}
