:root {
  color-scheme: light;
  --ink: #172025;
  --muted: #647174;
  --paper: #f7f3eb;
  --surface: #fffaf1;
  --line: rgba(23, 32, 37, 0.14);
  --sage: #6f8f86;
  --clay: #b1644d;
  --blue: #315f91;
  --gold: #c99b3b;
  --shadow: 0 24px 70px rgba(23, 32, 37, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 37, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(23, 32, 37, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 243, 235, 0.84);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 0 5vw;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  color: var(--surface);
  display: inline-flex;
  font-size: 0.78rem;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 23px;
}

.hero,
.section,
.page-hero,
.contact-hero,
.publication-list {
  margin-inline: auto;
  max-width: var(--max);
  width: min(calc(100% - 40px), var(--max));
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  min-height: calc(100vh - 76px);
  padding: clamp(2rem, 7vw, 7rem) 0;
}

.eyebrow {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 1.45rem;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.lede {
  color: #3b484b;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  max-width: 720px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
}

.button.ghost {
  background: rgba(255, 250, 241, 0.55);
  color: var(--ink);
}

.button.dark {
  border-color: var(--surface);
}

.portrait-panel {
  justify-self: end;
  max-width: 430px;
  position: relative;
  width: 100%;
}

.portrait-panel picture {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: block;
  overflow: hidden;
}

.portrait-panel img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  width: 100%;
}

.signal-card {
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid var(--line);
  bottom: 22px;
  box-shadow: 0 18px 38px rgba(23, 32, 37, 0.16);
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr 1fr;
  left: -42px;
  padding: 1rem;
  position: absolute;
  width: min(260px, 70%);
}

.signal-card span {
  border-left: 3px solid var(--sage);
  color: #263235;
  font-size: 0.85rem;
  font-weight: 800;
  padding-left: 0.55rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-section,
.split-feature,
.contact-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.prose {
  color: #3c494d;
  font-size: 1.08rem;
}

.focus-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 1rem;
}

.focus-grid article,
.contact-card {
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid var(--line);
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.focus-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-kicker {
  color: var(--clay);
  display: block;
  font-size: 0.75rem;
  font-weight: 850;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.split-feature {
  align-items: center;
}

.feature-copy p:not(.eyebrow) {
  color: #3b484b;
  font-size: 1.08rem;
}

.metric-stack {
  display: grid;
  gap: 1rem;
}

.metric-stack div {
  align-items: baseline;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 110px 1fr;
  padding: 1.25rem;
}

.metric-stack strong {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.metric-stack span {
  color: #3b484b;
  font-weight: 700;
}

.cta-band {
  align-items: center;
  background: var(--ink);
  color: var(--surface);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 5rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  margin-bottom: 0;
  max-width: 800px;
}

.page-hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(2rem, 5vw, 4rem);
}

.page-hero h1 {
  font-size: clamp(3.3rem, 9vw, 8rem);
}

.publication-list {
  padding: 1.5rem 0 5rem;
}

.publication {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  padding: 1.4rem 0;
}

.publication span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.publication p {
  margin-bottom: 0;
}

.publication a,
.contact-card a {
  color: var(--blue);
  font-weight: 850;
  text-underline-offset: 0.22em;
}

.contact-hero {
  align-items: end;
  min-height: auto;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.contact-hero h1 {
  font-size: clamp(3.3rem, 9vw, 8rem);
  max-width: 880px;
}

.contact-card {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.contact-card .card-kicker {
  margin: 1rem 0 0;
}

.contact-card .card-kicker:first-child {
  margin-top: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--max);
  padding: 1.5rem 0;
  width: min(calc(100% - 40px), var(--max));
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(247, 243, 235, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    left: 0;
    padding: 0.75rem 20px 1.25rem;
    position: absolute;
    right: 0;
    top: 68px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero,
  .intro-section,
  .split-feature,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .portrait-panel {
    justify-self: start;
    max-width: 520px;
  }

  .signal-card {
    left: 16px;
  }

  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .publication {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .publication a {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .hero,
  .section,
  .page-hero,
  .contact-hero,
  .publication-list,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 4.8rem);
  }

  .contact-hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.8rem);
  }

  .brand span:last-child {
    max-width: 160px;
  }

  .focus-grid,
  .metric-stack div,
  .publication {
    grid-template-columns: 1fr;
  }

  .publication a {
    grid-column: auto;
  }

  .hero-actions,
  .contact-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}
