:root {
  --paper: #f8f6f1;
  --ink: #24150f;
  --muted: #6b584e;
  --line: rgba(36, 21, 15, 0.42);
  --soft: #e8e1d6;
  --accent: #a4784d;
  --olive: #65705a;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M8 30c3.8-.4 6.2-1.8 7.1-4.4.5-1.5-.5-3-2.1-3.2-2.8-.4-4.6 2-5 7.6z' fill='%23a4784d' stroke='%2324150f' stroke-width='1.4'/%3E%3Cpath d='M13.5 22.8L28.5 4.6c.8-1 2.2-1.1 3.1-.2.9.9.8 2.3-.2 3.1L15.8 25.1z' fill='%23f8f6f1' stroke='%2324150f' stroke-width='1.8'/%3E%3Cpath d='M15.8 25.1l-2.3-2.3' stroke='%2324150f' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M25.9 7.7l2.3 2.2' stroke='%23a4784d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 8 30, auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  line-height: 1.35;
  overflow-x: hidden;
}

a {
  color: inherit;
  cursor: inherit;
  text-decoration: none;
}

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

.magic-word {
  display: inline;
  border-radius: 0.08em;
  transition: background-color 160ms ease, color 160ms ease;
}

.magic-word:hover {
  background: var(--ink);
  color: var(--paper);
}

.site-header {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(280px, 1fr);
  align-items: start;
  padding-top: 18px;
}

.brand {
  font-size: clamp(2.1rem, 5.2vw, 4.8rem);
  line-height: 0.9;
  font-weight: 700;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
  line-height: 1;
}

.main-nav a {
  padding-top: 4px;
}

.hero {
  width: min(100% - 36px, var(--max));
  margin: 108px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: end;
  min-height: 220px;
}

.hero-kicker,
.hero-meta,
.section-label,
.date-mark,
.portrait-card figcaption,
.footer,
.profile-copy,
.contact-mini,
.academic-intro,
.archive-text {
  font-size: clamp(0.82rem, 1.12vw, 1rem);
  line-height: 1.08;
}

.hero h1 {
  margin: 0;
  grid-column: 2 / 4;
  font-size: clamp(4rem, 11vw, 9.6rem);
  line-height: 0.86;
  font-weight: 700;
  text-align: right;
}

.hero-meta {
  justify-self: end;
  max-width: 330px;
}

.hero-meta p,
.profile-copy p,
.archive-text p,
.academic-intro p,
.footer p {
  margin: 0;
}

.section-line {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  border-top: 2px solid var(--line);
}

.profile-grid {
  margin-top: 40px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 0.55fr 0.78fr 0.78fr;
  gap: 20px;
  min-height: 395px;
}

.portrait-card {
  grid-column: 2;
  margin: 0;
  align-self: start;
}

.portrait-card img {
  width: 230px;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  background: var(--soft);
}

.portrait-card figcaption {
  margin-top: 8px;
  color: var(--muted);
}

.profile-copy {
  max-width: 335px;
}

.contact-mini {
  grid-column: 2;
  align-self: end;
  display: grid;
  gap: 4px;
}

.contact-mini span {
  color: var(--muted);
  margin-bottom: 10px;
}

.profile-button {
  width: fit-content;
  min-height: 46px;
  margin-top: 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 700;
}

.latest {
  margin-top: 72px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.date-mark {
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 0.95;
  font-weight: 700;
}

h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  line-height: 0.9;
  font-weight: 700;
}

.latest p {
  margin: 12px 0 0;
  max-width: 390px;
  font-size: clamp(0.9rem, 1.12vw, 1rem);
  line-height: 1.08;
}

.feature-image {
  margin-top: 72px;
  grid-column: 2 / 4;
  width: min(100%, 720px);
  justify-self: start;
  object-fit: cover;
}

.visual-archive {
  width: min(100% - 36px, var(--max));
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: 0.76fr 0.25fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.visual-archive img {
  width: 100%;
  object-fit: cover;
}

.visual-archive > img:first-child {
  aspect-ratio: 0.72 / 1;
}

.visual-archive .archive-small {
  align-self: center;
  aspect-ratio: 1.5 / 1;
}

.visual-archive .tall {
  margin-top: -80px;
  aspect-ratio: 1.52 / 1;
}

.story-link,
.links a {
  border: 2px solid var(--ink);
  border-radius: 999px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: clamp(1.4rem, 2.8vw, 3rem);
  line-height: 1;
  font-weight: 700;
}

.story-link {
  grid-column: 3;
  justify-self: end;
  margin-top: 36px;
}

.academic {
  margin-top: 74px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 0.8fr;
  gap: 20px;
}

.academic h2 {
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
}

.academic-intro {
  align-self: end;
  max-width: 430px;
  padding-bottom: 8px;
}

.timeline {
  grid-column: 1 / 4;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--line);
}

.timeline article {
  min-height: auto;
  padding: 16px 18px 20px;
  border-bottom: 2px solid var(--line);
}

.timeline article:nth-child(odd) {
  border-right: 2px solid var(--line);
}

.timeline span {
  display: block;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  line-height: 1;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline p,
.timeline ul {
  margin: 0;
  max-width: 460px;
  font-size: 0.82rem;
  line-height: 1.24;
}

.timeline ul {
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding-left: 12px;
}

.timeline li + li {
  margin-top: 4px;
}

.timeline li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  position: absolute;
  left: 0;
  top: 0.62em;
}

.timeline .current {
  background: var(--ink);
  color: var(--paper);
  padding-left: 18px;
}

.team {
  margin-top: 74px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 0.8fr;
  gap: 20px;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.7rem);
  line-height: 1;
  font-weight: 700;
}

.team-list li + li {
  margin-top: 14px;
}

.required-data {
  align-self: end;
  display: grid;
  gap: 14px;
}

.required-data p {
  margin: 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.05;
}

.required-data span {
  color: var(--muted);
}

.links {
  margin-top: 72px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.links a {
  min-height: 56px;
  padding: 0 18px;
  font-size: clamp(1rem, 1.8vw, 2rem);
}

.links a:nth-child(even) {
  background: var(--ink);
  color: var(--paper);
}

.footer {
  width: min(100% - 36px, var(--max));
  margin: 74px auto 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  border-top: 2px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .profile-grid,
  .latest,
  .academic,
  .team,
  .footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    gap: 24px;
  }

  .main-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero {
    margin-top: 72px;
    min-height: auto;
  }

  .hero h1,
  .hero-meta,
  .feature-image,
  .timeline,
  .story-link {
    grid-column: auto;
  }

  .hero h1 {
    text-align: left;
    font-size: clamp(3.6rem, 18vw, 7rem);
  }

  .hero-meta {
    justify-self: start;
  }

  .profile-grid,
  .latest,
  .academic,
  .team {
    min-height: auto;
    margin-top: 58px;
  }

  .portrait-card,
  .contact-mini {
    grid-column: auto;
  }

  .feature-image {
    margin-top: 32px;
    width: 100%;
  }

  .visual-archive {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .visual-archive .tall {
    margin-top: 0;
  }

  .story-link {
    justify-self: stretch;
    font-size: clamp(1.5rem, 8vw, 2.6rem);
  }

  .timeline {
    margin-top: 44px;
    grid-template-columns: 1fr;
  }

  .timeline article,
  .timeline article:nth-child(odd) {
    border-right: 0;
    padding-left: 0;
  }

  .timeline .current {
    padding-left: 14px;
  }

  .links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section-line,
  .visual-archive,
  .footer {
    width: min(100% - 24px, var(--max));
  }

  .main-nav {
    font-size: 0.82rem;
    gap: 8px;
  }

  .profile-copy,
  .latest p,
  .academic-intro,
  .archive-small {
    max-width: none;
  }

  .required-data p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
