
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #eef3f8;
  --text: #102033;
  --text-soft: #4e6277;
  --line: #d7e0ea;
  --accent: #123b67;
  --accent-soft: #eaf1f8;
  --max: 1040px;
  --reading: 72ch;
  --narrow: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7f9fc 0%, #f4f7fb 100%);
  line-height: 1.72;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute; left: -9999px; top: 1rem; background: var(--surface); padding: .75rem 1rem; border-radius: .8rem; border: 1px solid var(--line);
}
.skip-link:focus { left: 1rem; z-index: 100; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), var(--narrow)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(247,249,252,.88); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(215,224,234,.9);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark-image { width: 1.35rem; height: 1.35rem; object-fit: contain; }
.brand-title, h1, h2, h3 { font-family: Poppins, Inter, system-ui, sans-serif; letter-spacing: -0.03em; }
.brand-title { font-weight: 600; }
.brand-subtitle { color: var(--text-soft); font-size: .92rem; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .7rem 1rem; color: var(--text); }
.nav-list { display: flex; align-items: center; gap: .3rem; list-style: none; padding: 0; margin: 0; }
.nav-list a { display: inline-block; padding: .65rem .9rem; color: var(--text-soft); text-decoration: none; border-radius: 999px; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--surface); color: var(--text); }
.hero-publication { padding: 6.5rem 0 2rem; }
.hero-publication h1, .page-hero h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1.03; }
.publication-subhead, .page-hero .subhead { font-size: clamp(1.1rem, 2.4vw, 1.42rem); color: var(--text-soft); max-width: 40rem; }
.publication-byline, .essay-meta-line { color: var(--text-soft); font-size: .96rem; margin-top: 1rem; }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--text-soft); }
.page-hero { padding: 4.5rem 0 1.5rem; }
.essay-section, .page-section { padding: 1.35rem 0 2.35rem; }
.bordered-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prose { max-width: var(--reading); color: var(--text-soft); }
.prose-large { font-size: 1.06rem; }
.prose p, .prose li { max-width: var(--reading); }
.prose strong { color: var(--text); }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.12; margin: 0 0 1rem; color: var(--text); }
h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 .55rem; color: var(--text); }
.publication-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; padding: 1rem 0 1.2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.meta-label { display:block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--text-soft); margin-bottom: .25rem; }
.questions-list { padding-left: 1.2rem; color: var(--text-soft); }
.questions-list li { margin: .65rem 0; }
.work-list, .essay-listing { display: grid; gap: 1.2rem; margin-top: 1.25rem; }
.work-list article, .essay-listing article {
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.work-list article:first-child, .essay-listing article:first-child { border-top: 0; padding-top: .2rem; }
.list-tight { padding-left: 1.2rem; }
.list-tight li { margin: .45rem 0; }
.footer { padding: 2.5rem 0 4rem; border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { display:flex; justify-content:space-between; gap:1rem; color: var(--text-soft); font-size:.95rem; }
.footer-links { display:flex; flex-wrap:wrap; gap:.8rem; }
.essay-body p { margin: 1rem 0; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: absolute; right: 1rem; top: 68px; flex-direction: column; align-items: stretch; width: min(320px, calc(100vw - 2rem)); padding: .7rem;
    background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 20px; display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: .9rem 1rem; }
  .publication-meta, .footer-inner { grid-template-columns: 1fr; flex-direction: column; }
}
@media print {
  .site-header, .footer, .nav-toggle { display:none !important; }
  body { background:#fff; }
  a { color:#000; text-decoration:none; }
  .hero-publication, .page-hero, .essay-section, .page-section { padding:.7rem 0; }
}


/* Production refinements */
.page-section, .essay-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 0;
}
.page-section > .container, .essay-section > .container {
  padding: 0 1.25rem;
}
.page-section + .page-section,
.essay-section + .essay-section {
  border-top: 1px solid #e6e9ee;
}
.bordered-section {
  border-bottom: 0;
}
.prose p {
  line-height: 1.65;
  margin-bottom: 1rem;
}
.tags, .essay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .75rem 0 1rem;
}
.tags span, .essay-tags span {
  font-size: .8rem;
  color: #4a5568;
  background: #f3f4f6;
  padding: .25rem .55rem;
  border-radius: 4px;
}
.essay-card-meta, .essay-date {
  font-size: .9rem;
  color: #6b7280;
  margin-top: .5rem;
}
.essay-card {
  padding: 1.1rem 0 1.2rem;
  border-top: 1px solid var(--line);
}
.essay-card:first-child { border-top: 0; padding-top: .2rem; }
.essay-card p { margin: .5rem 0; }
.references {
  font-size: .92rem;
  color: #4a5568;
  padding-left: 1.2rem;
}
.references li { margin: .45rem 0; }
.share {
  font-size: .9rem;
  color: #6b7280;
  margin-top: 2rem;
}
.share a { color: inherit; }
.section-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0 1.5rem;
}
@media print {
  .share { display: none; }
}


/* Final visual polish */
:root {
  --card-bg: #fbfcfe;
  --card-border: rgba(18, 59, 103, 0.10);
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  --muted-2: #526172;
}

.essay-listing,
.work-list {
  gap: 1rem;
}

.essay-card,
.essay-listing article,
.work-list article {
  padding: 1.15rem 1.2rem 1.15rem;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--card-bg) 100%);
  box-shadow: var(--card-shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.essay-card:first-child,
.essay-listing article:first-child,
.work-list article:first-child {
  padding-top: 1.15rem;
}

.essay-card:hover,
.essay-card:focus-within,
.essay-listing article:hover,
.essay-listing article:focus-within,
.work-list article:hover,
.work-list article:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  border-color: rgba(18, 59, 103, 0.18);
}

.essay-card h2,
.essay-listing h3,
.work-list h3 {
  margin-bottom: .45rem;
}

.essay-card p,
.essay-listing article p,
.work-list article p {
  color: var(--muted-2);
  margin-bottom: 0;
}

.essay-card-meta,
.essay-date {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .75rem;
}

.essay-card-meta::before,
.essay-date::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(18, 59, 103, 0.32);
  display: inline-block;
}

.tags span,
.essay-tags span {
  background: rgba(18, 59, 103, 0.06);
  color: #24425f;
  border: 1px solid rgba(18, 59, 103, 0.08);
  border-radius: 999px;
  padding: .28rem .62rem;
}

@media (max-width: 720px) {
  .essay-card,
  .essay-listing article,
  .work-list article {
    padding: 1rem 1rem 1.05rem;
    border-radius: 14px;
  }
}
