:root {
  color-scheme: dark;
  --ink: #141311;
  --panel: #1c1916;
  --paper: #f3ebe0;
  --muted: #c8bfb3;
  --brass: #d4ae7b;
  --line: #665039;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
img { display: block; width: 100%; }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.3vw, 3.5rem); color: var(--brass); }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .6rem 1rem; background: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; }
.brand { color: var(--brass); font: 1rem var(--serif); letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .35rem clamp(1rem, 3vw, 2.4rem); }
nav a { display: inline-block; padding-block: .5rem; text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--brass); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(31rem, 56vw, 43rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #221d18;
}
.hero-copy { z-index: 1; width: 56%; padding: 4rem 1rem 4rem max(1.5rem, calc((100vw - 72rem) / 2)); text-align: center; }
.hero h1 { color: var(--brass); font-size: clamp(3.4rem, 7.6vw, 7.75rem); line-height: .91; text-transform: uppercase; }
.title-prefix { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: .85rem; font-size: .23em; letter-spacing: .34em; }
.title-prefix::before, .title-prefix::after { content: ""; inline-size: 2.5em; border-top: 1px solid var(--line); }
.rank { margin-top: 1.15rem; font: 1.05rem/1.6 var(--serif); letter-spacing: .15em; text-transform: uppercase; }
.affiliation { margin-top: 1rem; color: var(--muted); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-photo { position: absolute; inset: 0 0 0 40%; }
.hero-photo img { height: 100%; object-fit: cover; object-position: center 32%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #221d18, transparent 48%), linear-gradient(0deg, #14131166, transparent 44%); }

.editorial { display: grid; grid-template-columns: .85fr 1.35fr; gap: 1.5rem 4rem; padding-block: clamp(3rem, 7vw, 6rem); }
.prose { color: var(--muted); max-width: 65ch; }
.prose p + p { margin-top: 1rem; }
.department-link a { color: var(--brass); text-underline-offset: .22em; }
.department-link a:hover { color: var(--paper); }
.garage { background: var(--panel); border-block: 1px solid var(--line); }
.garage-photo { border-bottom: 1px solid var(--line); background: #181715; }
.garage-photo img { width: min(100%, 75rem); margin-inline: auto; max-height: 38rem; object-fit: contain; }
.garage-copy { padding-block: clamp(2rem, 5vw, 4rem); text-align: center; }
.garage-copy .prose { margin: 1.2rem auto 0; text-align: left; }
.link-section { padding-block: 3rem; }
.link-inner { display: grid; grid-template-columns: .75fr 1.4fr; align-items: center; gap: 1.5rem; }
.links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.links a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; height: 100%; padding: .8rem 1rem; border: 1px solid var(--line); text-decoration: none; }
.links a:hover { color: var(--ink); background: var(--brass); }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

.footer-credits { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.footer-credits small { font-size: inherit; }

@media (max-width: 52rem) {
  .hero-copy { width: 61%; }
  .editorial, .link-inner { grid-template-columns: 1fr; }
}
@media (max-width: 38rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { padding-block: .7rem; }
  .hero { min-height: 0; }
  .hero-copy { width: 100%; padding: 2.3rem 1rem 1.8rem; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .hero-photo { position: relative; inset: auto; aspect-ratio: 5 / 4; }
  .hero-photo::after { background: linear-gradient(#221d1870, transparent 38%); }
  .links { grid-template-columns: 1fr; }
}
