:root {
  --bg: #f9fafb;
  --fg: #111827;
  --muted: #6b7280;
  --accent: #db2777;
  --surface: #f1f2f5;
  --border: #e1e3e8;
  --radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Avenir Next", Avenir, "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.65;
}

.main {
  padding: 48px 0 80px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

h2 {
  font-size: 1.999rem;
  margin: 72px 0 24px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

img {
  max-width: 100%;
}

dl dd {
  margin-left: 0;
  color: var(--muted);
}

dl dt {
  font-weight: 600;
  margin-top: 24px;
}

.outer {
  max-width: 940px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 80px;
}

.badge {
  display: inline-block;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--muted);
}

blockquote {
  margin: 48px 0;
  padding-left: 32px;
  border-left: 3px solid var(--border);
  color: var(--muted);
}

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

.foot {
  padding: 64px 0 80px;
  color: var(--muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

.subtle {
  color: var(--muted);
}

.cta {
  display: inline-block;
  padding: 16px 32px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}

.shot figcaption {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 16px;
}

.list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

h3 {
  font-size: 1.414rem;
  margin: 48px 0 16px;
}

.standfirst {
  font-size: 1.414rem;
  color: var(--muted);
}

.banner {
  position: sticky;
  top: 64px;
  align-self: start;
}

h1 {
  font-size: 2.827rem;
  margin: 24px 0 32px;
}

h1, h2, h3 {
  font-family: "Avenir Next", Avenir, "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.25;
  font-weight: 600;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
  background: var(--surface);
  padding: 0 0.25em;
}

a {
  color: var(--accent);
  text-decoration-thickness: auto;
  text-underline-offset: 0.2em;
}

.home-link {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0;
}

a:hover {
  text-decoration: none;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.info {
  color: var(--muted);
  font-size: 0.875rem;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.shot {
  margin: 48px 0;
}

.sidebar {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.nav a:hover {
  color: var(--fg);
}

.nav a[aria-current="page"] {
  color: var(--fg);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .outer { padding: 0 32px; display: block; }
  .banner { position: static; display: block; }
  .nav a { margin: 0 24px 0 0; }
  h1 { font-size: 1.999rem; }
}
