:root {
  --canvas: #faf7f2;
  --canvas-2: #f3ece0;
  --ink: #141414;
  --ink-2: #3a3631;
  --muted: #6b655c;
  --rule: #e6ddcf;
  --accent: #0e7c7b;
  --accent-ink: #084d4c;
  --max: 1160px;
  --narrow: 720px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 24px -12px rgba(20,20,20,.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--ink-2); }
a  { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--accent) 55%, transparent); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--canvas); padding: .5rem .75rem; border-radius: var(--radius); z-index: 10; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: var(--narrow); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--canvas) 92%, white);
  position: sticky; top: 0; z-index: 5;
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 26px; height: 26px; color: var(--accent); }
.brand-text { font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }
.site-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); margin-top: 6rem; background: color-mix(in oklab, var(--canvas) 85%, white); }
.footer-inner { padding: 3rem 1.25rem 2rem; display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 2rem; align-items: start; }
.footer-brand .tagline { color: var(--muted); margin-top: .6rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.footer-nav a { text-decoration: none; color: var(--ink-2); }
.footer-nav a:hover { color: var(--accent); }
.disclosure { color: var(--muted); font-size: .92rem; }
.copyright { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--rule); padding-top: 1.25rem; margin-top: 1rem; }
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Home hero */
.hero { padding: 6rem 0 5rem; border-bottom: 1px solid var(--rule); }
.hero-eyebrow { display: inline-block; color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
.hero h1 { max-width: 18ch; }
.hero p.lede { max-width: 58ch; color: var(--ink-2); font-size: 1.18rem; margin-top: 1.25rem; }
.hero .cta { margin-top: 2rem; display: inline-flex; gap: .6rem; align-items: center; padding: .8rem 1.25rem; background: var(--ink); color: var(--canvas); text-decoration: none; border-radius: var(--radius); font-weight: 500; }
.hero .cta:hover { background: var(--accent); color: white; }
.hero .cta-secondary { margin-left: .75rem; color: var(--ink); }

/* Section */
.section { padding: 5rem 0; border-bottom: 1px solid var(--rule); }
.section:last-of-type { border-bottom: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .link { color: var(--accent-ink); text-decoration: none; font-weight: 500; }

/* Methodology cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: color-mix(in oklab, var(--canvas) 40%, white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin-top: 0; color: var(--accent-ink); font-weight: 600; }
.card p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* Report cards (home + index) */
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .report-grid { grid-template-columns: 1fr; } }
.report-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--canvas) 50%, white);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.report-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 40%, var(--rule)); }
.report-card .cover { aspect-ratio: 16/9; }
.report-card .rc-body { padding: 1.25rem 1.25rem 1.5rem; }
.report-card .rc-kicker { color: var(--accent); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.report-card h3 { margin: .4rem 0 .4rem; font-size: 1.2rem; color: var(--ink); }
.report-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.report-card time { color: var(--muted); font-size: .85rem; display: block; margin-top: .75rem; }

/* Covers (abstract gradient blocks, one per sample report) */
.cover { background: var(--canvas-2); position: relative; overflow: hidden; }
.cover::before, .cover::after { content: ""; position: absolute; inset: 0; }
.cover-a::before { background: radial-gradient(120% 90% at 10% 10%, #0e7c7b 0%, transparent 55%), radial-gradient(90% 90% at 100% 100%, #d4c3a5 0%, transparent 50%); }
.cover-a::after { background: linear-gradient(115deg, transparent 40%, rgba(20,20,20,.08) 41%, rgba(20,20,20,.08) 42%, transparent 43%); }
.cover-b::before { background: linear-gradient(135deg, #133a3a 0%, #0e7c7b 55%, #c9b892 100%); }
.cover-b::after { background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.06) 28px 29px); }
.cover-c::before { background: radial-gradient(60% 80% at 50% 40%, #f3ece0 0%, #e6ddcf 45%, #0e7c7b 100%); }
.cover-c::after { background: conic-gradient(from 210deg at 70% 60%, rgba(20,20,20,.12), transparent 30%, transparent 70%, rgba(20,20,20,.08)); mix-blend-mode: multiply; }
.cover-d::before { background: linear-gradient(180deg, #0e7c7b 0%, #14504f 100%); }
.cover-d::after { background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.14) 0 2px, transparent 3px) 0 0/38px 38px, radial-gradient(circle at 70% 70%, rgba(255,255,255,.09) 0 2px, transparent 3px) 0 0/54px 54px; }

/* Report page */
.report-header { padding-top: 4rem; }
.crumbs { padding-top: 2rem; color: var(--muted); font-size: .9rem; }
.crumbs a { color: var(--muted); }
.report-kicker { color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin-bottom: .75rem; }
.report-meta { color: var(--muted); margin-top: 1rem; }
.report-meta .dot { margin: 0 .4rem; }
.report-summary { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; margin-top: 1.5rem; border-left: 3px solid var(--accent); padding-left: 1rem; }
.report .cover { border-radius: var(--radius); aspect-ratio: 21/9; margin: 2.5rem 0 3rem; }
.report-body h2 { margin-top: 2.5em; }
.report-body h3 { margin-top: 2em; color: var(--accent-ink); }
.report-body p, .report-body li { color: var(--ink-2); }
.report-body ul { padding-left: 1.25rem; }
.report-body blockquote { border-left: 3px solid var(--rule); padding-left: 1.25rem; margin: 2rem 0; color: var(--muted); font-style: italic; }

/* About */
.about-lede { font-family: "Fraunces", serif; font-size: 1.6rem; line-height: 1.35; max-width: 36ch; color: var(--ink); margin: 2rem 0 3rem; }

/* Page layout */
.page-head { padding: 5rem 0 2.5rem; border-bottom: 1px solid var(--rule); }
.page-head h1 { margin: 0; }
.page-head p { color: var(--muted); max-width: 56ch; margin-top: 1rem; }

/* 404 */
.nf { padding: 8rem 0; text-align: center; }
.nf h1 { font-size: clamp(3rem, 2rem + 4vw, 5rem); }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
