:root {
  color-scheme: light;
  --paper: #f5f2ea;
  --ink: #1d2622;
  --muted: #565b52;
  --rule: #cec8b9;
  --accent: #913827;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.125rem/1.6 var(--serif); min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(76rem, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); z-index: 2; }
.skip:focus { transform: none; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.35rem; border-bottom: 1px solid var(--ink); }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: bold; }
.mark { display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); width: 2.25rem; height: 2.25rem; flex-shrink: 0; font-size: 1.25rem; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font: 500 .875rem/1.4 var(--sans); }
nav a { display: inline-block; padding-block: .65rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--accent); text-decoration: underline; text-underline-offset: .45em; }
main { flex: 1; }
.intro { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.25rem); }
.eyebrow { color: var(--accent); font: 700 .875rem/1.45 var(--sans); text-transform: uppercase; letter-spacing: .15em; margin: 0 0 1rem; }
h1, h2 { font-weight: 400; line-height: 1.03; margin: 0; letter-spacing: -.055em; }
.intro h1 { font-size: clamp(2.8rem, 7.3vw, 7rem); }
.deck { font-size: clamp(1.15rem, 2.4vw, 1.65rem); margin: .65rem 0 0; color: var(--muted); }
.feature { background: #e9e5d9; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1.75rem, 5vw, 5rem); padding: clamp(1.75rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feature h1, .feature h2 { font-size: clamp(2.65rem, 5.2vw, 5.3rem); overflow-wrap: anywhere; }
.subtitle { font-size: clamp(1.1rem, 2vw, 1.5rem); font-style: italic; margin: 1rem 0 1.75rem; color: #414940; }
.button { display: inline-block; background: var(--ink); color: #fffaf0; padding: .85rem 1.2rem; font: 600 .875rem/1.45 var(--sans); text-decoration: none; }
.button:hover { background: var(--accent); }
.cover { width: min(100%, 22rem); aspect-ratio: 4 / 5; justify-self: center; position: relative; isolation: isolate; overflow: hidden; background: #222e28; color: #f3ead4; box-shadow: .45rem .6rem 0 #38372c24; padding: 8%; display: flex; flex-direction: column; justify-content: space-between; }
.cover-border { position: absolute; inset: 4%; border: 1px solid #d5bd843f; }
.cover-orbit { position: absolute; z-index: -1; width: 117%; aspect-ratio: 1; border-radius: 50%; left: 18%; bottom: -34%; border: 1px solid #bd865d95; background: repeating-radial-gradient(circle, transparent 0 12px, #c18b6447 13px 14px); }
.cover-imprint, .cover-end { font: 650 .75rem/1.45 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: #e7cb96; }
.cover-type { display: grid; gap: .65rem; }
.cover-type strong { font-size: clamp(1.65rem, 3vw, 3.3rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.cover-type span { font-size: 1rem; font-style: italic; line-height: 1.25; }
.departments { display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0 3.75rem; border-block: 1px solid var(--rule); }
.departments a { padding: .85rem .75rem; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.departments a + a { border-left: 1px solid var(--rule); }
.departments a:hover, .footer a:hover { color: var(--accent); }
.thesis { margin-block: 2.5rem 4rem; }
.availability, .empty, .byline { color: var(--muted); }
.section-page { padding-block: 3rem 5rem; max-width: 46rem; }
.section-page h1 { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 1.5rem; }
.section-label { font-size: 2.75rem; margin-top: 3rem; }
.about-copy { font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.entries { list-style: none; padding: 0; }
.entries li { border-top: 1px solid var(--rule); padding: 1.5rem 0; }
.entries h2 { font-size: 2rem; }
.text-link { color: var(--accent); text-underline-offset: .2em; }
.footer { border-top: 1px solid var(--ink); padding-block: 1.15rem 1.75rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .45rem 1rem; font: .875rem/1.5 var(--sans); }
.footer a { font-weight: 700; text-decoration: none; }
.footer span { color: var(--muted); }

@media (max-width: 47rem) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { align-items: flex-start; flex-direction: column; gap: .55rem; padding-block: 1rem .5rem; }
  nav { gap: .1rem 1rem; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .cover { padding: min(8%, 2rem); }
  .cover-type strong { font-size: clamp(1.65rem, 7vw, 3rem); }
}

@media (max-width: 28rem) {
  .departments { grid-template-columns: 1fr; }
  .departments a + a { border-left: 0; border-top: 1px solid var(--rule); }
}
