:root {
  --paper: #f5f4ef;
  --ink: #18251f;
  --muted: #58645d;
  --accent: #245a40;
  --line: #d8ddd4;
  --white: #fff;
  --soft: #e9ede3;
  --scheme: light;
  --selection: #c4d7bb;
  --selection-ink: #18251f;
  --button-ink: #fff;
  --button-hover: #18251f;
  --panel: #e1e8da;
  --panel-border: #cad4c4;
  --panel-grid: #ced8c744;
  --chip-line: #c7d0c1;
  --contact-bg: #18251f;
  --contact-ink: #f5f4ef;
  --contact-muted: #bec7c1;
  --contact-line: #415148;
  --contact-accent: #bfd7ae;
  --error-bg: #fceee9;
  --error-ink: #8a3025;
  --card-shadow: none;
  color-scheme: var(--scheme);
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] {
  --paper: #101713;
  --ink: #e6ede7;
  --muted: #a7b4a9;
  --accent: #8acb9f;
  --line: #304037;
  --white: #18221c;
  --soft: #142019;
  --scheme: dark;
  --selection: #365e44;
  --selection-ink: #e6ede7;
  --button-ink: #102017;
  --button-hover: #aedfbc;
  --panel: #1a2b20;
  --panel-border: #344c3c;
  --panel-grid: #8acb9f14;
  --chip-line: #344c3c;
  --contact-bg: #0b130e;
  --contact-ink: #e6ede7;
  --contact-muted: #a7b4a9;
  --contact-line: #304037;
  --contact-accent: #8acb9f;
  --error-bg: #34221f;
  --error-ink: #f2b4a5;
  --card-shadow: 0 8px 24px #0000001a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #101713;
    --ink: #e6ede7;
    --muted: #a7b4a9;
    --accent: #8acb9f;
    --line: #304037;
    --white: #18221c;
    --soft: #142019;
    --scheme: dark;
    --selection: #365e44;
    --selection-ink: #e6ede7;
    --button-ink: #102017;
    --button-hover: #aedfbc;
    --panel: #1a2b20;
    --panel-border: #344c3c;
    --panel-grid: #8acb9f14;
    --chip-line: #344c3c;
    --contact-bg: #0b130e;
    --contact-ink: #e6ede7;
    --contact-muted: #a7b4a9;
    --contact-line: #304037;
    --contact-accent: #8acb9f;
    --error-bg: #34221f;
    --error-ink: #f2b4a5;
    --card-shadow: 0 8px 24px #0000001a;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--selection);
  color: var(--selection-ink);
}
.shell {
  width: min(1160px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 24px;
  top: 12px;
  padding: 12px 20px;
  z-index: 100;
  background: var(--accent);
  color: var(--button-ink);
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.brand {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -3px;
}
.brand span {
  color: var(--accent);
}
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  padding-block: 12px;
}
.nav-links a:hover,
.text-link:hover {
  color: var(--accent);
}
.nav-links .nav-contact {
  border: 1px solid var(--ink);
  padding: 12px 18px;
  border-radius: 4px;
  margin-left: 12px;
}
.nav-contact span {
  margin-left: 16px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.theme-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.theme-control:hover {
  background: var(--soft);
  border-color: var(--accent);
  color: var(--accent);
}
.theme-control svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  display: none;
}
.theme-control[aria-pressed="false"] .theme-moon,
.theme-control[aria-pressed="true"] .theme-sun {
  display: block;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 76px;
  padding-block: 76px 64px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
h1,
h2,
h3 {
  margin-top: 0;
}
.hero h1 {
  font-size: clamp(64px, 7.1vw, 104px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 650;
  margin-bottom: 30px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-description {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 490px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  padding: 15px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid var(--accent);
  transition:
    background 0.15s,
    transform 0.15s;
}
.primary {
  background: var(--accent);
  color: var(--button-ink);
}
.primary:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
  min-height: 44px;
}
.hero-note {
  margin-top: 32px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}
.portrait-panel {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--panel-border);
  background-color: var(--panel);
  background-image:
    linear-gradient(var(--panel-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--panel-grid) 1px, transparent 1px);
  background-size: 28px 28px;
  border-radius: 8px;
}
.portrait-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
}
.portrait-label span:last-child {
  font-size: 26px;
  line-height: 0.6;
}
.portrait {
  width: 200px;
  height: 200px;
  object-fit: contain;
  image-rendering: pixelated;
  margin-block: 22px;
}
.portrait-caption {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.portrait-cross {
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
}
.discipline-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--line);
  padding-block: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.section {
  padding-block: 92px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 38px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 0;
}
.accent {
  color: var(--accent);
}
.filter-controls {
  display: none;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}
.js .filter-controls {
  display: flex;
}
.filter-controls label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.filter-controls input,
.filter-controls select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.filter-controls input {
  width: 280px;
}
.filter-controls p {
  margin: 0 0 12px auto;
  color: var(--muted);
  font-size: 12px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  position: relative;
  box-shadow: var(--card-shadow);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.project-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.project-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  align-items: center;
}
.project-number {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.card-arrow {
  color: var(--accent);
  font-size: 25px;
}
.project-card h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 12px;
}
.project-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
}
.project-description {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 28px;
  flex: 1;
}
.project-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.language-tag {
  color: var(--accent);
}
.language-tag span {
  font-size: 8px;
}
.project-open {
  margin-left: auto;
}
.empty-state {
  padding: 40px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}
.about-section {
  background: var(--soft);
  padding-block: 82px;
  border-block: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 88px;
}
.about-description {
  margin-top: 0;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.about-secondary {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-block: 24px;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  gap: 9px;
}
.skills-list li {
  border: 1px solid var(--chip-line);
  border-radius: 4px;
  font-size: 11px;
  padding: 8px 11px;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-top: 1px solid var(--line);
  padding-block: 28px;
  gap: 44px;
}
.timeline-date {
  color: var(--muted);
  font-size: 12px;
  margin: 5px 0 0;
}
.timeline h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.timeline h3 span {
  font-size: 15px;
  margin-left: 8px;
  color: var(--muted);
}
.timeline-subject {
  margin-block: 0 7px;
  font-size: 15px;
  line-height: 1.6;
}
.timeline-role {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  text-transform: capitalize;
}
.more-content {
  border-block: 1px solid var(--line);
}
.more-content summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding-block: 23px;
  font-size: 14px;
  font-weight: 600;
}
.more-content summary::-webkit-details-marker {
  display: none;
}
.more-content summary span {
  font-size: 20px;
}
.achievements-section {
  background: var(--white);
  padding-block: 76px;
  border-block: 1px solid var(--line);
}
.achievement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}
.achievement {
  display: flex;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 23px;
}
.achievement-year {
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
}
.achievement h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}
.achievement p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.publication {
  display: grid;
  grid-template-columns: 40px 1fr 160px;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-block: 26px;
  align-items: center;
}
.publication--first-authored {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
  border-top-color: transparent;
  border-radius: 6px;
  padding-inline: 16px;
  margin-block: 12px;
}
.publication-number {
  font-size: 11px;
  color: var(--muted);
  align-self: start;
  padding-top: 5px;
}
.publication h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.publication p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 700px;
}
.publication .publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 12px 0;
  font-size: 12px;
  line-height: 1.6;
}
.publication .publication-authors {
  margin: 10px 0;
  font-size: 12px;
}
.publication-authors strong {
  color: var(--ink);
  font-weight: 600;
}
.publication-type {
  text-transform: capitalize;
}
.publication-source {
  color: var(--accent);
  font-weight: 700;
}
.publication-link {
  font-size: 12px;
  font-weight: 650;
  text-align: right;
  padding-block: 14px;
}
.publication-link:hover {
  color: var(--accent);
}
.contact-section {
  padding-block: 76px;
  background: var(--contact-bg);
  color: var(--contact-ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 92px;
  align-items: center;
}
.contact-section .eyebrow {
  color: var(--contact-muted);
}
.contact-section h2 {
  font-size: clamp(40px, 4.5vw, 64px);
}
.contact-section p:not(.eyebrow) {
  color: var(--contact-muted);
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.7;
}
.contact-links {
  display: grid;
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  padding-block: 21px;
  border-bottom: 1px solid var(--contact-line);
  font-size: 15px;
}
.contact-links a:hover {
  color: var(--contact-accent);
}
.contact-links .contact-email {
  font-size: 29px;
  font-weight: 500;
  padding-top: 0;
}
.contact-section :focus-visible {
  outline-color: var(--contact-accent);
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  min-height: 90px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.footer-inner nav {
  display: flex;
  gap: 25px;
}
.footer-inner nav a {
  padding-block: 16px;
}
.legal-page {
  max-width: 850px;
  padding-block: 52px 90px;
}
.legal-page > .eyebrow {
  margin-top: 38px;
}
.legal-page h1,
.document-page h1,
.error-page h1 {
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.05em;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 30px;
}
.legal-details {
  margin-block: 36px 52px;
}
.legal-details > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-top: 1px solid var(--line);
  padding-block: 16px;
  gap: 24px;
}
.legal-details dt {
  font-size: 12px;
  color: var(--muted);
}
.legal-details dd {
  margin: 0;
  font-size: 15px;
  white-space: pre-line;
}
.legal-copy {
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.legal-copy h2 {
  font-size: 25px;
  margin-bottom: 25px;
  letter-spacing: -0.025em;
}
.legal-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.document-page,
.error-page {
  max-width: 800px;
  min-height: calc(100vh - 180px);
  padding-block: 52px 90px;
}
.document-page > .eyebrow {
  margin-top: 38px;
}
.document-description,
.error-page > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.download-form {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-top: 36px;
  display: grid;
  gap: 16px;
}
.download-form label {
  font-weight: 600;
  font-size: 15px;
}
.download-form input[type="password"] {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 48px;
  background: var(--paper);
  color: var(--ink);
}
.download-form #token-help {
  color: var(--muted);
  margin: -5px 0 0;
  font-size: 13px;
  line-height: 1.6;
}
.download-form .button {
  justify-self: start;
  margin-top: 6px;
}
.form-error {
  background: var(--error-bg);
  color: var(--error-ink);
  padding: 14px;
  border-radius: 4px;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}
.error-page {
  padding-top: 110px;
}
.error-page .button {
  margin-top: 20px;
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 64px);
  }
  .hero {
    gap: 40px;
    padding-block: 56px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .portrait-panel {
    min-height: 390px;
    padding: 22px;
  }
  .about-grid {
    gap: 44px;
  }
  .nav-links {
    gap: 22px;
  }
  .timeline-item {
    grid-template-columns: 160px 1fr;
    gap: 28px;
  }
  .contact-grid {
    gap: 44px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    font-size: 30px;
  }
  .header-actions {
    margin-left: auto;
    min-height: 72px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    font-size: 12px;
  }
  .nav-links .nav-contact {
    padding: 10px;
    margin-left: 0;
    grid-column: 1 / -1;
    justify-self: start;
    white-space: nowrap;
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .nav-contact span {
    margin-left: 4px;
  }
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-height: 44px;
    border: 0;
    background: none;
    padding: 12px 0 12px 18px;
    color: var(--ink);
    font-size: 13px;
  }
  .js .nav-links {
    display: none;
  }
  .js .nav-links.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 48px 36px;
  }
  .hero h1 {
    font-size: clamp(55px, 11vw, 82px);
    margin-bottom: 24px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .portrait-panel {
    min-height: 320px;
  }
  .portrait {
    width: 165px;
    height: 165px;
    margin-block: 10px;
  }
  .portrait-caption {
    font-size: 21px;
  }
  .discipline-strip {
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-block: 20px;
    font-size: 10px;
  }
  .discipline-strip span {
    flex-basis: calc(50% - 12px);
  }
  .section {
    padding-block: 58px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }
  .section-heading .eyebrow {
    margin-bottom: 14px;
  }
  .filter-controls {
    flex-wrap: wrap;
    gap: 14px;
  }
  .filter-controls .search-label {
    width: 100%;
  }
  .filter-controls input {
    width: 100%;
  }
  .filter-controls p {
    margin-left: auto;
  }
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .project-card {
    padding: 24px;
    min-height: 220px;
  }
  .project-card h3 {
    font-size: 21px;
  }
  .about-section {
    padding-block: 52px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about-description {
    font-size: 20px;
  }
  .about-secondary {
    margin-top: 18px;
    font-size: 14px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px;
  }
  .timeline h3 {
    font-size: 19px;
  }
  .timeline-subject {
    font-size: 14px;
  }
  .achievements-section {
    padding-block: 52px;
  }
  .achievement-grid {
    grid-template-columns: 1fr;
  }
  .publication {
    grid-template-columns: 24px 1fr;
    gap: 12px;
  }
  .publication-link {
    grid-column: 2;
    text-align: left;
    padding-block: 2px 4px;
  }
  .publication h3 {
    font-size: 17px;
  }
  .contact-section {
    padding-block: 54px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .contact-links .contact-email {
    font-size: 27px;
  }
  .footer-inner {
    min-height: 110px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 16px;
  }
  .footer-inner > p {
    margin-block: 8px;
  }
  .footer-inner .footer-note {
    display: none;
  }
  .footer-inner nav {
    width: 100%;
    gap: 24px;
  }
  .footer-inner nav a {
    padding-block: 8px;
  }
  .legal-page,
  .document-page {
    padding-block: 30px 58px;
  }
  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .download-form {
    padding: 22px;
  }
  .download-form .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.collection-page,
.detail-page {
  padding-block: 56px 88px;
}
.collection-intro {
  max-width: 840px;
  margin-block: 52px 48px;
}
.collection-intro h1,
.detail-page h1 {
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  margin: 18px 0 24px;
}
.page-lead {
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 820px;
}
.collection-count {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 24px;
}
.collection-end {
  margin-top: 44px;
}
.breadcrumbs {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 44px;
}
.research-detail,
.project-detail {
  max-width: 960px;
  padding: 32px;
}
.research-detail--first-authored {
  border: 1px solid var(--accent);
  border-radius: 6px;
}
.detail-authors {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 26px;
}
.detail-authors strong {
  color: var(--ink);
}
.topic-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 24px;
}
.topic-list li {
  padding: 6px 10px;
  background: var(--soft);
  border-radius: 4px;
  font-size: 11px;
  color: var(--accent);
}
.detail-body {
  max-width: 760px;
}
.detail-body section {
  margin-top: 48px;
}
.detail-body h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.detail-body p,
.feature-list {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.detail-body .button {
  margin-top: 18px;
}
.feature-list {
  padding-left: 20px;
}
.feature-list li {
  padding-left: 8px;
  margin-bottom: 12px;
}
.record-details div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
  font-size: 13px;
  line-height: 1.8;
}
.record-details dt {
  color: var(--muted);
}
.record-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.publication h3 a:hover,
.breadcrumbs a:hover,
.record-details a:hover {
  color: var(--accent);
}
@media (max-width: 650px) {
  .collection-page,
  .detail-page {
    padding-block: 36px 56px;
  }
  .collection-intro {
    margin-block: 36px;
  }
  .page-lead {
    font-size: 16px;
  }
  .research-detail,
  .project-detail {
    padding: 20px;
  }
  .record-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.publication-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}
