:root {
  --paper: #faf8f4;
  --white: #fff;
  --ink: #1a1815;
  --muted: #57534c;
  --line: #dcd6cd;
  --accent: #264bb7;
  --tint: #eef2fa;
  --serif: 'Literata', Georgia, serif;
  --sans: 'Onest', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 112px, 1136px); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 3; padding: 10px; background: var(--white); }
.skip-link:focus { top: 12px; }

.topbar { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.navigation { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.navigation nav { display: flex; gap: 26px; align-items: center; }
.wordmark { font: 500 19px/1.2 var(--serif); text-decoration: none; }
.nav-secondary { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-secondary:hover, .text-link:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, .85fr); gap: clamp(34px, 5vw, 78px); padding-block: 64px 42px; align-items: center; }
.eyebrow { font-weight: 650; font-size: 13px; color: var(--accent); letter-spacing: .065em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(42px, 5.45vw, 78px); line-height: 1.04; margin-block: 23px 25px; max-width: 13ch; }
h1 em { color: var(--accent); font-weight: 400; }
h2 { font-size: clamp(30px, 4vw, 49px); line-height: 1.14; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 650; }
.hero-description { color: var(--muted); max-width: 460px; font-size: clamp(16px, 1.65vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 23px; align-items: center; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--white);
  font: 600 14px/1.25 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--accent); }
.button-small { min-height: 39px; padding: 9px 16px; }
.text-link { font-weight: 600; font-size: 14px; text-decoration: none; text-underline-offset: 4px; }
.text-link span { margin-left: 3px; color: var(--accent); }
.portrait img { width: 100%; aspect-ratio: 1 / 1.03; height: auto; object-fit: cover; object-position: center 28%; border-radius: 17px; background: #e7dfd5; }
.portrait figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

.credentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.credentials li { padding: 22px; background: var(--tint); border-radius: 13px; }
.credentials strong { display: block; font: 500 clamp(20px, 2.45vw, 33px)/1.2 var(--serif); letter-spacing: -.03em; }
.credentials span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.4; }

.section { padding-top: 82px; }
.section-heading { margin-bottom: 25px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service { padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.service p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.process { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: start; gap: 36px; background: var(--tint); padding: 36px; border-radius: 16px; }
.process p { margin-top: 8px; color: var(--muted); }

.evidence { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.speaker-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 42%; border-radius: 13px; }
.publication-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.publication-card {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  text-decoration: none;
}
.publication-card:hover .publication-title { text-decoration: underline; text-underline-offset: 3px; }
.publication-meta { color: var(--muted); font-size: 13px; }
.publication-title { font-weight: 650; line-height: 1.35; }
.publication-highlight { padding: 2px 8px; border-radius: 5px; background: var(--tint); color: var(--accent); font-size: 13px; font-weight: 600; }
.publication-archive { margin-top: 12px; }
.publication-archive summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.publication-archive summary::-webkit-details-marker { display: none; }
.publication-archive summary:hover { background: var(--tint); }
.publication-archive .publication-list { margin-top: 10px; }
.archive-icon { width: 7px; height: 7px; margin: 0 2px 3px 0; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.publication-archive[open] .archive-icon { transform: rotate(225deg); margin-bottom: -3px; }
.publication-archive[open] .archive-show, .publication-archive:not([open]) .archive-hide { display: none; }

.contact-section { padding-bottom: 52px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; padding: 39px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.contact p { color: var(--muted); max-width: 46ch; }
.contact .actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.contact .text-link { color: var(--accent); text-decoration: underline; }
.footer { display: flex; flex-wrap: wrap; gap: 10px 25px; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 64px, 1136px); }
  .hero { gap: 28px; padding-top: 47px; }
  .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credentials strong { font-size: 28px; }
  .service { padding: 20px; }
  .section { padding-top: 62px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact .actions { grid-column: auto; grid-row: auto; margin-top: 6px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .nav-secondary { display: none; }
  .hero, .service-grid, .process, .evidence { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 37px; padding-bottom: 23px; }
  h1 { font-size: clamp(36px, 9vw, 54px); margin-block: 15px 17px; }
  .hero .actions { margin-top: 21px; }
  .portrait img { aspect-ratio: 1.26; object-position: center 29%; }
  .credentials { gap: 8px; }
  .credentials li { padding: 14px; }
  .credentials strong { font-size: clamp(18px, 5.7vw, 26px); }
  .credentials span { font-size: 13px; }
  .section { padding-top: 46px; }
  .service-grid { gap: 9px; }
  .process, .contact { padding: 23px; }
  .process { gap: 15px; }
  .evidence { gap: 16px; }
  .contact-section { padding-bottom: 34px; }
}
