:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --ink: #182539;
  --night: #182435;
  --red: #913132;
  --dark-red: #702325;
  --soft: #555951;
  --line: #d3c9b7;
  --gold: #e1c58e;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-underline-offset: 0.24em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #a75b28; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }

.shell {
  width: min(1232px, calc(100% - clamp(40px, 10vw, 160px)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 8px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  flex: 0 0 auto;
  color: var(--ink);
  font: 700 25px/1 var(--serif);
  letter-spacing: -0.045em;
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark span { color: var(--red); }
nav { display: flex; align-items: center; gap: clamp(12px, 2.55vw, 39px); }
nav a {
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover { text-decoration: underline; }
.project-link { color: var(--red); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(28px, 4.3vw, 68px);
  padding-top: clamp(42px, 5.8vw, 88px);
  padding-bottom: clamp(48px, 6.1vw, 92px);
}
.eyebrow {
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--red); margin-bottom: 20px; }
h1, h2, h3 { font-family: var(--serif); }
h1 {
  font-size: clamp(54px, 6.85vw, 105px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.069em;
}
h1 em { color: var(--red); }
.hero-deck {
  max-width: 460px;
  margin-top: 26px;
  color: #39434e;
  font-size: clamp(16px, 1.42vw, 20px);
  line-height: 1.6;
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 27px;
  padding: 13px 18px;
  color: #fffdf7;
  background: var(--red);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.button:hover { background: var(--dark-red); }
.button span { font-size: 18px; line-height: 1; }
.hero-photo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid #516054;
  background: #303e36;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  filter: saturate(0.74) contrast(1.05);
  z-index: -2;
}
.hero-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 24, 28, 0.92) 100%);
}
.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 16px;
  flex-wrap: wrap;
  padding: 16px 19px;
  color: #fffdf5;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.hero-photo figcaption a { color: #f6eddb; font-size: 11px; }

.letter { background: var(--night); color: #faf5ea; border-top: 4px solid #ac8252; }
.letter-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(25px, 5.9vw, 98px);
  padding-block: clamp(42px, 5.2vw, 76px);
}
.letter .eyebrow { color: var(--gold); margin-bottom: 13px; }
.letter h2, .agenda h2 {
  font-size: clamp(39px, 4.65vw, 71px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.05em;
}
.letter-text {
  max-width: 680px;
  color: #f0e9db;
  font-size: clamp(16px, 1.42vw, 20px);
  line-height: 1.57;
}
.letter-text > p + p { margin-top: 14px; }
.signature { color: var(--gold); font: italic 23px/1.4 var(--serif); }
.letter-links {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid #5c626b;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.contact-link { font-size: 14px; color: var(--gold); font-weight: 700; }
.references, .precedents { display: flex; flex-wrap: wrap; gap: 7px 15px; }
.references a { font-size: 12px; color: #e8e0d2; }

.agenda { padding-block: clamp(46px, 6.2vw, 92px); }
.agenda-heading { margin-bottom: 26px; }
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.project {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: baseline;
  gap: clamp(10px, 1.9vw, 28px);
  padding: clamp(20px, 2.65vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured {
  grid-column: 1 / -1;
  background: #eee6d6;
  border-top: 2px solid var(--red);
}
.project-number {
  color: var(--red);
  font: 700 clamp(20px, 2.5vw, 36px)/1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.05em;
}
.project h3 {
  font-size: clamp(25px, 3.2vw, 39px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 9px;
}
.project p {
  color: #3e4750;
  font-size: 16px;
  line-height: 1.6;
  max-width: 790px;
}
.precedents { margin-top: 14px; }
.precedents a { color: var(--dark-red); font-size: 13px; font-weight: 650; }
.project.blank {
  grid-column: 1 / -1;
  min-height: 0;
  padding-block: 14px;
}
.blank .project-number { color: var(--soft); font-size: 19px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 23px 30px;
  color: var(--soft);
  font-size: 13px;
}

@media (max-width: 1000px) {
  h1 { font-size: clamp(47px, 7.2vw, 76px); }
  .hero { gap: 28px; }
  .hero-photo { min-height: 332px; }
}

@media (max-width: 690px) {
  .masthead-inner { min-height: 61px; }
  .wordmark { font-size: 22px; }
  nav a { font-size: 12px; }
  .hero, .letter-inner { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .hero { padding-top: 35px; padding-bottom: 38px; }
  .hero .eyebrow { margin-bottom: 15px; }
  h1 { font-size: clamp(47px, 11vw, 72px); }
  .hero-deck { margin-top: 18px; }
  .button { margin-top: 20px; }
  .hero-photo { min-height: unset; aspect-ratio: 4 / 3; }
  .hero-photo figcaption { padding: 10px 12px; font-size: 11px; }
  .letter-inner { padding-block: 38px; }
  .letter h2 br { display: none; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .project { grid-template-columns: 32px minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  nav { gap: 8px; }
  h1 { font-size: clamp(42px, 12.25vw, 48px); }
}
