
:root {
  --ivory: #f4f0e6;
  --ivory-deep: #e9e1d2;
  --paper: #fbf8f0;
  --navy: #0a2843;
  --navy-soft: #42515e;
  --burgundy: #801c25;
  --burgundy-dark: #65131b;
  --gold: #ae8a4c;
  --line: rgba(10, 40, 67, 0.2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-radial-gradient(circle at 30% 20%, rgba(64, 48, 26, 0.022) 0 0.7px, transparent 0.7px 4px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.45), transparent 40%);
  content: "";
  pointer-events: none;
}

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

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(128, 28, 37, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--burgundy);
  color: white;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.94);
  backdrop-filter: blur(16px);
}

.wordmark,
.footer-wordmark {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.site-nav a,
.site-nav button {
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav button:hover {
  color: var(--burgundy);
}

.site-nav > span {
  color: var(--burgundy);
  font-size: 0.75rem;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 84px);
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  grid-template-rows: 1fr auto;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 9vw, 130px) clamp(28px, 5vw, 80px) clamp(64px, 7vw, 100px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.3vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero-role {
  max-width: 680px;
  margin: 30px 0 28px;
  color: var(--navy-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  line-height: 1.3;
}

.primary-button,
.load-more {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 0 28px;
  border: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: white;
  font-family: var(--serif);
  font-size: 1.12rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-button:hover,
.load-more:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
}

.primary-button svg,
.load-more svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.hero-index {
  display: grid;
  width: min(590px, 100%);
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  margin-top: 42px;
}

.hero-index strong {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.hero-index span {
  height: 1px;
  background: var(--burgundy);
  opacity: 0.65;
}

.hero-index p {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.hero-art {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244, 240, 230, 0.9), rgba(244, 240, 230, 0) 16%),
    linear-gradient(150deg, #f7f2e7 10%, #dfd5c2 100%);
}

.photo-frame {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: 13%;
  bottom: 12%;
  left: 12%;
  padding: 18px;
  border: 1px solid rgba(31, 82, 77, 0.52);
  background: rgba(237, 239, 229, 0.28);
  box-shadow: 0 28px 70px rgba(49, 39, 26, 0.15);
  transform: rotate(1.7deg);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  filter: grayscale(0.88) sepia(0.22) contrast(0.98) brightness(0.9);
  object-fit: cover;
  object-position: center 26%;
  opacity: 0.94;
}

.technical-sheet {
  position: absolute;
  z-index: 1;
  top: 12%;
  right: -5%;
  width: 46%;
  height: 48%;
  border: 1px solid rgba(134, 99, 40, 0.36);
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(108, 78, 37, 0.08) 39px 40px),
    rgba(225, 211, 183, 0.66);
  transform: rotate(2.5deg);
}

.technical-sheet .circle {
  position: absolute;
  top: 28%;
  left: 22%;
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(74, 67, 52, 0.24);
  border-radius: 50%;
}

.technical-sheet .axis {
  position: absolute;
  display: block;
  background: rgba(74, 67, 52, 0.2);
}

.technical-sheet .horizontal {
  top: 52%;
  left: 12%;
  width: 74%;
  height: 1px;
}

.technical-sheet .vertical {
  top: 16%;
  left: 48%;
  width: 1px;
  height: 70%;
}

.manuscript-card {
  position: absolute;
  z-index: 4;
  bottom: 7%;
  left: 3%;
  width: 39%;
  height: 43%;
  padding: 15% 10%;
  background: rgba(216, 194, 156, 0.83);
  box-shadow: 0 22px 45px rgba(48, 37, 23, 0.14);
  transform: rotate(-2deg);
}

.manuscript-card span {
  display: block;
  height: 1px;
  margin: 13px 0;
  background: rgba(82, 63, 38, 0.26);
  transform: skew(-24deg);
}

.paper-card {
  position: absolute;
  z-index: 5;
  right: -3%;
  bottom: -7%;
  width: 50%;
  height: 40%;
  border: 1px solid rgba(92, 75, 49, 0.18);
  background: #e8e2d5;
  box-shadow: 0 20px 40px rgba(49, 39, 26, 0.16);
  transform: rotate(1.2deg);
}

.paper-card::after {
  position: absolute;
  top: 17px;
  right: 20px;
  width: 38px;
  height: 44px;
  border: 3px solid #9d7a3d;
  border-left: 0;
  content: "";
}

.hero-stats {
  position: relative;
  z-index: 6;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(28px, 4vw, 72px);
  border-top: 1px solid var(--gold);
  background: rgba(244, 240, 230, 0.92);
}

.hero-stats > div {
  position: relative;
  padding: 28px clamp(20px, 4vw, 80px) 32px;
}

.hero-stats > div + div::before {
  position: absolute;
  top: 30%;
  bottom: 20%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.hero-stats b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.98rem;
}

.hero-stats span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stats p {
  margin: 4px 0 0;
  color: var(--navy-soft);
  font-family: var(--serif);
}

.hero-stats p strong,
.hero-stats p em {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.section {
  padding: clamp(90px, 10vw, 150px) clamp(28px, 7vw, 120px);
}

.section-heading {
  max-width: 860px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.2vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 740px;
  margin: 26px 0 0;
  color: var(--navy-soft);
  font-size: 1.08rem;
}

.profile-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.profile-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(60px, 8vw, 140px);
  margin-top: 70px;
}

.profile-copy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 50px;
  color: var(--navy-soft);
}

.profile-copy .lead {
  grid-column: 1 / -1;
  margin: 0 0 15px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.3vw, 2.35rem);
  line-height: 1.35;
}

.profile-copy p:not(.lead) {
  margin: 0;
}

.recognition-card {
  position: relative;
  min-height: 390px;
  padding: 44px;
  overflow: hidden;
  border-top: 4px solid var(--burgundy);
  background: var(--navy);
  color: white;
}

.card-kicker {
  margin: 0 0 50px;
  color: #d7bd8e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.recognition-card h3 {
  max-width: 360px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 400;
  line-height: 1.05;
}

.recognition-card > p:not(.card-kicker) {
  position: relative;
  z-index: 2;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.72);
}

.seal {
  position: absolute;
  right: -40px;
  bottom: -58px;
  display: grid;
  width: 210px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid rgba(215, 189, 142, 0.42);
  border-radius: 50%;
  color: #d7bd8e;
  font-family: var(--serif);
  text-align: center;
}

.seal::before,
.seal::after {
  position: absolute;
  border: 1px solid rgba(215, 189, 142, 0.25);
  border-radius: 50%;
  content: "";
}

.seal::before { inset: 13px; }
.seal::after { inset: 25px; }
.seal span { font-size: 2.5rem; }
.seal small { display: block; letter-spacing: 0.2em; }

.career-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.career-strip > div {
  padding: 30px 0;
}

.career-strip > div + div {
  padding-left: 45px;
  border-left: 1px solid var(--line);
}

.career-strip span,
.career-strip strong {
  display: block;
}

.career-strip span {
  margin-bottom: 5px;
  color: var(--burgundy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.career-strip strong {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  font-weight: 400;
}

.research-section {
  background: var(--navy);
  color: white;
}

.research-section .eyebrow {
  color: #d5b575;
}

.split-heading {
  display: grid;
  max-width: none;
  align-items: end;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
}

.split-heading > p {
  max-width: 600px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 75px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.research-card {
  min-height: 310px;
  padding: 34px 28px 40px;
}

.research-card + .research-card {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.research-card > span {
  color: #d5b575;
  font-family: var(--serif);
}

.research-card h3 {
  margin: 70px 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.research-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.93rem;
  line-height: 1.65;
}

.archive-section {
  background: var(--ivory);
}

.archive-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.archive-number {
  color: rgba(128, 28, 37, 0.1);
  font-family: var(--serif);
  font-size: clamp(7rem, 14vw, 14rem);
  letter-spacing: -0.07em;
  line-height: 0.7;
}

.archive-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
  gap: 24px;
  margin-top: 70px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(251, 248, 240, 0.74);
}

.archive-controls label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.search-field > div {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--navy);
}

.search-field svg {
  width: 20px;
  flex: none;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.5;
}

.search-field input,
.year-field select {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid var(--navy);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  outline: none;
}

.search-field input {
  padding: 0 14px;
  border-bottom: 0;
}

.year-field select {
  cursor: pointer;
}

.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 12px;
  color: var(--navy-soft);
  font-size: 0.86rem;
}

.results-line button,
.empty-state button {
  border: 0;
  border-bottom: 1px solid var(--burgundy);
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
}

.publication-list {
  border-top: 1px solid var(--navy);
}

.publication-row {
  display: grid;
  min-height: 116px;
  align-items: center;
  grid-template-columns: 68px 90px minmax(0, 1fr) 130px;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding 0.2s ease;
}

.publication-row:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.publication-index {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.92rem;
}

.publication-row time {
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.publication-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.45vw, 1.48rem);
  font-weight: 400;
  line-height: 1.35;
}

.publication-row > a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.publication-row > a svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.load-more {
  margin: 45px auto 0;
  cursor: pointer;
}

.archive-section > .load-more {
  display: flex;
}

.empty-state {
  padding: 80px 25px;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.site-footer {
  display: grid;
  min-height: 230px;
  align-items: center;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  padding: 45px clamp(28px, 7vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: #071d30;
  color: white;
}

.site-footer > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.powered-by {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.powered-by span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.powered-by img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero h1 {
    font-size: clamp(4rem, 8vw, 6.8rem);
  }

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

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

  .research-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .research-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
}

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

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    background: var(--navy);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 18px 28px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 22px 40px rgba(36, 31, 22, 0.12);
  }

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

  .site-nav a,
  .site-nav button {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .site-nav > span {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero-copy {
    padding-top: 80px;
  }

  .hero-art {
    min-height: 620px;
  }

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

  .hero-stats > div {
    padding: 20px 0;
  }

  .hero-stats > div + div::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .split-heading {
    align-items: start;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .profile-copy {
    grid-template-columns: 1fr;
  }

  .profile-copy .lead {
    grid-column: auto;
  }

  .career-strip {
    grid-template-columns: 1fr;
  }

  .career-strip > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .archive-heading {
    display: block;
  }

  .archive-number {
    margin-top: 55px;
    font-size: 8rem;
  }

  .archive-controls {
    grid-template-columns: 1fr;
  }

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

  .publication-row > a {
    grid-column: 3;
    justify-content: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .powered-by {
    align-items: flex-start;
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .wordmark {
    font-size: 1.45rem;
  }

  .hero-copy {
    padding: 64px 22px 58px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .hero-index {
    grid-template-columns: auto 1fr;
  }

  .hero-index p {
    grid-column: 1 / -1;
  }

  .hero-art {
    min-height: 500px;
  }

  .photo-frame {
    top: 7%;
    right: 9%;
    bottom: 10%;
    left: 9%;
  }

  .hero-stats {
    margin: 0 22px;
  }

  .section {
    padding: 80px 22px;
  }

  .section-heading h2 {
    font-size: 2.85rem;
  }

  .recognition-card {
    padding: 34px 28px;
  }

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

  .research-card + .research-card,
  .research-card:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .research-card {
    min-height: auto;
  }

  .research-card h3 {
    margin-top: 42px;
  }

  .archive-controls {
    padding: 22px;
  }

  .publication-row {
    grid-template-columns: 42px 1fr;
    gap: 12px 16px;
  }

  .publication-row time {
    grid-column: 2;
    grid-row: 1;
  }

  .publication-row h3,
  .publication-row > a {
    grid-column: 2;
  }

  .publication-index {
    grid-row: 1 / 4;
    align-self: start;
    padding-top: 2px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .powered-by {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
