:root {
  color-scheme: light;
  --bg: #eef3f4;
  --paper: #fffdf8;
  --paper-2: #f6f0e7;
  --wash: #dfe9ee;
  --ink: #243138;
  --ink-soft: #354148;
  --muted: #66747b;
  --muted-2: #8a969c;
  --line: rgba(36, 49, 56, 0.14);
  --line-strong: rgba(36, 49, 56, 0.24);
  --accent: #416a78;
  --accent-deep: #2f5360;
  --accent-soft: #e4eef1;
  --warm: #9a6a45;
  --sage: #718069;
  --shadow-soft: 0 22px 68px rgba(38, 55, 62, 0.09);
  --shadow-lift: 0 30px 92px rgba(38, 55, 62, 0.15);
  --radius: 8px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 253, 248, 0.95), transparent 34rem),
    linear-gradient(135deg, #eef3f4 0%, #f7f3ec 54%, #e7eef1 100%);
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  transform: scaleX(0);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 62px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2 + 22px));
  background: rgba(238, 243, 244, 0.76);
  border-bottom: 1px solid rgba(36, 49, 56, 0.09);
  backdrop-filter: saturate(160%) blur(22px);
}

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.78);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
  scroll-margin-top: 82px;
}

.section-band {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  padding-right: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(246, 240, 231, 0.66)),
    var(--paper);
  border-top: 1px solid rgba(36, 49, 56, 0.08);
  border-bottom: 1px solid rgba(36, 49, 56, 0.08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 62px);
  padding-top: 76px;
  padding-bottom: 92px;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 400;
  line-height: 1.02;
}

.lead {
  margin: 24px 0 0;
  color: var(--accent-deep);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.18;
}

.hero-copy {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 400;
}

.institution {
  display: grid;
  gap: 4px;
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.institution a {
  color: var(--accent-deep);
  font-weight: 400;
  text-decoration: none;
}

.institution a:hover {
  text-decoration: underline;
}

.hero__image {
  position: relative;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: min(66vh, 600px);
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 253, 248, 0.74);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.portrait-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 32px);
  padding: 13px 15px;
  color: var(--paper);
  background: rgba(47, 83, 96, 0.74);
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.portrait-caption span {
  color: rgba(255, 253, 248, 0.74);
  font-size: 12px;
}

.portrait-caption strong {
  font-size: 14px;
  font-weight: 400;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 15px;
  font-weight: 400;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.link-row a,
.reference-list a,
.qualification-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--paper);
  background: var(--accent-deep);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.link-row a:nth-child(2) {
  background: var(--warm);
  border-color: var(--warm);
}

.link-row a:nth-child(3) {
  color: var(--accent-deep);
  background: rgba(255, 253, 248, 0.45);
  border-color: rgba(47, 83, 96, 0.24);
}

.link-row a:hover,
.reference-list a:hover,
.qualification-panel a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(47, 83, 96, 0.16);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}

.intro {
  display: grid;
  grid-template-columns: minmax(230px, 330px) minmax(0, 1fr);
  gap: 66px;
  padding-top: 82px;
}

.intro__body p {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.8vw, 32px);
  font-weight: 400;
  line-height: 1.26;
}

.intro__body p::first-line {
  color: var(--accent-deep);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 0;
}

.stats div,
.item-card,
.timeline-item,
.output-block,
.qualification-panel {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.stats div {
  min-height: 132px;
  padding: 22px;
}

dt {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

dd {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
}

.item-card {
  max-width: 860px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(47, 83, 96, 0.96), rgba(65, 106, 120, 0.88));
  color: var(--paper);
  border-color: rgba(255, 253, 248, 0.18);
}

.item-card h3,
.timeline-item h3,
.output-block h3,
.qualification-panel h3,
.recommender h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.16;
}

.item-card p,
.timeline-item p {
  margin: 0 0 20px;
  color: inherit;
}

.item-card__meta,
.timeline-item__date {
  margin-bottom: 14px;
  color: var(--warm);
  font-size: 15px;
  font-weight: 400;
}

.item-card__meta {
  color: rgba(255, 253, 248, 0.74);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(47, 83, 96, 0.08);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
}

.item-card .tag-list li {
  color: var(--paper);
  background: rgba(255, 253, 248, 0.14);
  border-color: rgba(255, 253, 248, 0.2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  position: relative;
  min-height: 292px;
  padding: 30px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
}

.timeline-item:nth-child(2)::before {
  background: var(--sage);
}

.timeline-item:nth-child(3)::before {
  background: var(--warm);
}

.timeline-item:nth-child(4)::before {
  background: var(--muted-2);
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.timeline-item__subtitle {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.output-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.output-block {
  padding: 30px;
}

.output-block:first-child {
  background: rgba(228, 238, 241, 0.76);
}

.note {
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.reference-list {
  display: grid;
  gap: 20px;
  padding-left: 20px;
  margin: 24px 0 0;
}

.reference-list li {
  padding-left: 6px;
  color: var(--ink-soft);
}

.reference-list a,
.qualification-panel a {
  margin-top: 12px;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.recommender-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.recommender article {
  max-width: 760px;
}

.recommender article p {
  color: var(--muted);
  font-size: 20px;
}

.qualification-panel {
  position: sticky;
  top: 84px;
  padding: 28px;
  color: var(--paper);
  background: linear-gradient(150deg, var(--accent-deep), #3b6572);
  border-color: rgba(255, 253, 248, 0.2);
}

.qualification-panel dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.qualification-panel dt {
  color: rgba(255, 253, 248, 0.72);
}

.qualification-panel dd {
  color: var(--paper);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.38;
}

.qualification-panel a {
  color: var(--accent-deep);
  background: var(--paper);
  border-color: var(--paper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 52px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  color: var(--paper);
  background: linear-gradient(135deg, #2b4149, #3a3029);
}

.site-footer div {
  display: grid;
  gap: 7px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
}

.site-footer a {
  color: var(--paper);
  text-decoration-color: rgba(255, 253, 248, 0.42);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 18px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 18px 18px;
    background: rgba(238, 243, 244, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(160%) blur(22px);
  }

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

  .site-nav a {
    min-height: 44px;
    padding: 0 14px;
    font-size: 16px;
  }

  .hero,
  .intro,
  .recommender-layout,
  .output-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 42px;
    min-height: 0;
    padding-top: 72px;
  }

  .hero::before {
    display: none;
  }

  .hero__image img {
    height: auto;
    min-height: 0;
    max-height: 620px;
  }

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

  .section,
  .section-band {
    padding: 82px 18px;
  }

  .qualification-panel {
    position: static;
  }

  .site-footer {
    flex-direction: column;
    padding: 44px 18px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 23px;
  }

  .hero-copy,
  .recommender article p {
    font-size: 18px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .intro__body p {
    font-size: 23px;
  }

  .link-row a {
    width: 100%;
  }

  .item-card,
  .timeline-item,
  .output-block,
  .qualification-panel {
    padding: 23px;
  }

  .portrait-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
