:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --card: #fbf9f3;
  --ink: #171c16;
  --muted: #585c50;
  --line: #d8d1bd;
  --forest: #242d22;
  --gold: #eac35b;
  --ochre: #725200;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
section[id], article[id] { scroll-margin-top: 100px; }

:focus-visible {
  outline: 3px solid #876400;
  outline-offset: 5px;
}

.hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }

.wrap {
  width: min(1260px, calc(100% - 112px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 2;
  min-height: 76px;
  border-bottom: 1px solid #e4ddcc;
  background: var(--paper);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 1.39rem;
  line-height: .91;
  letter-spacing: -.05em;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-sub {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 38px;
  flex: none;
}

.brand-mark::before, .brand-mark::after, .brand-mark span {
  position: absolute;
  display: block;
  content: "";
  background: #b58718;
}

.brand-mark::before {
  inset: 13px 8px 5px 7px;
  clip-path: polygon(0 0, 100% 0, 89% 100%, 12% 100%);
  border-radius: 2px;
}

.brand-mark::after { top: 8px; left: 5px; width: 25px; height: 4px; border-radius: 3px; }
.brand-mark span { top: 5px; left: 13px; width: 10px; height: 4px; border-radius: 3px 3px 0 0; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 47px);
}

.site-nav a {
  text-decoration: none;
  font-weight: 650;
  font-size: .9rem;
  white-space: nowrap;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--ochre);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 750;
  font-size: .94rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.button-small { min-height: 41px; padding-inline: 17px; font-size: .87rem; }
.button-dark { color: white; background: var(--forest); }
.button-dark:hover { background: #394733; }
.button-gold { color: #171815; background: var(--gold); }
.button-gold:hover { background: #f5d579; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-outline { color: #fffdf5; border-color: #d8d4c27d; background: #11150f3d; }
.button-outline:hover { background: #f5f1e822; border-color: #eee7d5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, 49vw, 705px);
  padding-block: 72px 112px;
  overflow: hidden;
  background: #171d17;
  color: #fffaf0;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #10160fe8 2%, #10160fa8 36%, #151b1420 69%, transparent 100%),
    linear-gradient(0deg, #0b110dcc, transparent 30%);
}

.eyebrow {
  color: var(--ochre);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow { display: flex; align-items: center; gap: 12px; color: #f5d67c; }
.hero-eyebrow span { width: 27px; height: 1px; background: #f5d67c; }

.hero h1, .page-intro h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.052em;
}

.hero h1 {
  margin: 19px 0 26px;
  font-size: clamp(4.3rem, 8.1vw, 7.55rem);
  line-height: .87;
  letter-spacing: -.073em;
}

.hero h1 em { display: block; color: #f0ce76; font-weight: 400; }

.hero-description {
  max-width: 430px;
  margin-bottom: 26px;
  color: #f1ead9;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.54;
}

.hero-credit {
  position: absolute;
  inset: auto 0 26px;
  color: #f5ead1;
  font-size: .82rem;
}

.hero-credit a { font-weight: 700; }

.section { padding-block: clamp(42px, 5.4vw, 82px); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

h2 { font-size: clamp(2rem, 4.1vw, 3.47rem); line-height: 1.01; }
h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.06; }

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #584300;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .23em;
}

.text-link:hover { color: #281e00; }
.arrow-glyph {
  position: relative;
  align-self: center;
  flex: none;
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.arrow-glyph::after {
  position: absolute;
  top: 3px;
  left: -2px;
  width: 13px;
  height: 1.5px;
  transform: rotate(-45deg);
  background-color: currentColor;
  content: "";
}

.award-grid, .stories-grid, .criteria-grid { display: grid; gap: 16px; }
.award-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.criteria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.award-card, .story-card, .criteria-card, .panel, .nomination-form {
  padding: clamp(20px, 2.35vw, 34px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
}

.award-card, .story-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.award-card h3 a, .story-card h3 a { text-decoration: none; }
.award-card h3 a:hover, .story-card h3 a:hover { text-decoration: underline; }
.award-card p, .story-card > p:not(.eyebrow) { color: var(--muted); font-size: .94rem; }
.award-card > .text-link, .story-card > .text-link { margin-top: auto; padding-top: 6px; }

.award-mark {
  position: relative;
  display: block;
  width: 45px;
  height: 45px;
  flex: none;
  border-radius: 11px;
  color: #684b00;
  background: #ede1be;
}

.award-mark i { position: absolute; display: block; }
.mark-furniture i:nth-child(1) { top: 11px; left: 14px; width: 17px; height: 12px; border: 2px solid; border-radius: 4px; }
.mark-furniture i:nth-child(2) { top: 20px; left: 10px; width: 25px; height: 11px; border: 2px solid; border-radius: 3px; background: #ede1be; }
.mark-furniture i:nth-child(3) { top: 29px; left: 13px; width: 19px; height: 5px; border-inline: 2px solid; }
.mark-building i:nth-child(1) { top: 11px; left: 15px; width: 15px; height: 23px; border: 2px solid; border-radius: 2px; }
.mark-building i:nth-child(2) { top: 17px; left: 20px; width: 5px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }
.mark-building i:nth-child(3) { top: 30px; left: 11px; width: 23px; height: 4px; border-bottom: 2px solid; }
.mark-salvage i:nth-child(1) { top: 11px; left: 10px; width: 24px; height: 8px; border: 2px solid; border-radius: 2px; }
.mark-salvage i:nth-child(2) { top: 19px; left: 13px; width: 23px; height: 8px; border: 2px solid; border-radius: 2px; }
.mark-salvage i:nth-child(3) { top: 27px; left: 9px; width: 22px; height: 7px; border: 2px solid; border-radius: 2px; }
.mark-cleanup i:nth-child(1) { top: 18px; left: 13px; width: 18px; height: 16px; border: 2px solid; border-radius: 2px 2px 5px 5px; }
.mark-cleanup i:nth-child(2) { top: 13px; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 1px; }
.mark-cleanup i:nth-child(3) { top: 10px; left: 18px; width: 8px; height: 5px; border: 2px solid; border-radius: 2px; }

.feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  overflow: hidden;
  padding-block: 0;
  border-radius: 7px;
  background: var(--forest);
  color: #fffaf0;
}

.feature-image, .cleanup-cover { position: relative; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.feature-image figcaption, .cleanup-cover figcaption {
  position: absolute;
  right: 12px;
  bottom: 9px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #171c16d9;
  color: #fffaf0;
  font-size: .67rem;
}

.feature-copy { align-self: center; padding: clamp(28px, 5vw, 72px); }
.feature-copy p { max-width: 33ch; margin: 16px 0 22px; color: #eee9dc; }
.feature-copy .text-link { color: #fae09a; }

.page-intro {
  padding-block: clamp(53px, 7vw, 116px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 90% 100%, #e9dbb8 0, transparent 63%), #eee8d8;
}

.page-intro h1 {
  max-width: 17ch;
  margin-top: 13px;
  font-size: clamp(3rem, 6.4vw, 6.1rem);
  line-height: .97;
  text-wrap: balance;
}

.lede { max-width: 57ch; margin-top: 18px; color: #3d4537; font-size: clamp(1rem, 1.8vw, 1.23rem); }

.criteria-card > * + *, .panel > * + * { margin-top: 15px; }
.criteria-card h2, .panel h2 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); }
.evidence { padding: 13px 16px; border-left: 2px solid #b58718; background: #eee6d2; }
.rubric { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.rubric div { border-top: 1px solid var(--line); padding-top: 13px; }
.rubric dt { margin-bottom: 5px; font-weight: 750; }
.rubric dd { margin: 0; color: var(--muted); }
.muted { color: var(--muted); }

.cleanup-cover { margin-top: 46px; border-radius: 7px; }
.cleanup-cover img { width: 100%; max-height: 540px; object-fit: cover; }
.cleanup-body, .nomination-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.prose { max-width: 73ch; }
.prose h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.prose p { margin-bottom: 14px; }
.prose ol, .prose ul { padding-inline-start: 1.35em; }
.prose li { margin-bottom: 8px; }
.cleanup-body .prose .status-note + h2 { margin-top: 28px; }
.article-body { margin-inline: max(56px, calc((100% - 1260px) / 2)) auto; }
.article-body > section + section { margin-top: 29px; }
.story-content > section { margin-bottom: clamp(28px, 4vw, 48px); }
.story-lead { margin-bottom: 24px; font-size: 1.1rem; }
.byline { margin-top: 17px; color: var(--muted); font-size: .89rem; }
.case-teaser { margin-top: 18px; }
.case-teaser p { max-width: 75ch; }
.breadcrumbs { padding-block: 12px; font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3em .6em; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-inline-end: .6em; color: var(--ochre); }
.breadcrumbs [aria-current="page"] { color: var(--muted); }
.step-list li { padding-block: 3px; }
.project-facts { margin-block: 16px; }
.project-facts > div { padding-block: 13px; border-top: 1px solid var(--line); }
.project-facts dt { font-weight: 750; }
.project-facts dd { margin: 5px 0 0; }

.directory h2 { margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.directory > p { margin-bottom: 12px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
.reference-table { width: 100%; min-width: 580px; border-collapse: collapse; background: var(--card); font-size: .92rem; }
.donation-table { min-width: 700px; }
.reference-table th, .reference-table td { padding: 13px 16px; text-align: start; vertical-align: top; }
.reference-table thead { background: #eee6d2; }
.reference-table tbody tr { border-top: 1px solid var(--line); }
.reference-table tbody th { width: 22%; }
.donation-table td:nth-child(2) { width: 22%; }
.donation-table td:nth-child(3) { width: 35%; }
.table-detail { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.source-list { margin: 0 0 5px; padding: 0; list-style: none; }
.source-list li { margin-bottom: 4px; }
.table-scroll small { color: var(--muted); }
.csv-link { margin-top: 12px; font-size: .9rem; font-weight: 700; }
.status-note { padding: 11px 14px; border-radius: 5px; background: #ece5d2; color: #3e4235; font-size: .91rem; }

.nomination-form label { display: block; margin: 17px 0 6px; font-size: .9rem; font-weight: 750; }
.nomination-form input, .nomination-form select, .nomination-form textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  min-height: 45px;
  border: 1px solid #bdb7a6;
  border-radius: 4px;
  background: #fffefa;
  color: var(--ink);
}

.nomination-form textarea { resize: vertical; }
.nomination-form .button { margin-top: 21px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nomination-panel ul { padding-inline-start: 20px; }
.nomination-panel li { margin-block: 8px; }
.nomination-result {
  margin-top: 16px;
  padding: 12px 15px;
  overflow-wrap: anywhere;
  border-left: 3px solid #4e6f46;
  background: #e6eadc;
}
.nomination-result .actions { margin-top: 13px; }
.nomination-result .button { margin-top: 0; white-space: normal; }
.nomination-result .button-copy { border-color: #909b88; background: #fffefa; }
.nomination-result .button-copy:hover { background: #f3f6ef; }
.nomination-result textarea { resize: vertical; }
.nomination-result p[role="status"]:not(:empty) { margin-top: 7px; }

.site-footer { padding-block: 38px; background: var(--forest); color: #f8f3e9; }
.site-footer .brand-mark::before, .site-footer .brand-mark::after, .site-footer .brand-mark span { background: var(--gold); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-inner p { margin-top: 12px; color: #eae4d4; font-size: .82rem; }
.footer-inner nav { display: grid; gap: 7px; font-size: .85rem; }
.footer-edition { white-space: nowrap; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .award-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-body { margin-inline: 32px auto; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; padding-block: 12px; gap: 10px; }
  .header-inner > .button { order: 2; }
  .site-nav { order: 3; width: 100%; justify-content: flex-start; gap: 22px; padding-top: 4px; padding-left: 2px; }
  .site-nav a { font-size: .82rem; }
  .hero { min-height: 565px; padding-block: 90px 83px; }
  .hero h1 { font-size: clamp(3.15rem, 10.9vw, 5.3rem); margin-block: 15px 22px; }
  .hero-image { object-position: 75% center; }
  .hero::before {
    background: linear-gradient(90deg, #10160fed, #10160f9c 57%, #17201857),
      linear-gradient(0deg, #0b110dce, transparent 32%);
  }
  .hero-credit { bottom: 24px; }
  .feature, .cleanup-body, .nomination-layout { grid-template-columns: 1fr; }
  .feature-image img { min-height: 0; aspect-ratio: 16 / 9; }
  .stories-grid, .criteria-grid, .rubric { grid-template-columns: 1fr; }
  .feature-copy { padding: 26px; }
  .page-intro h1 { max-width: 100%; text-wrap: initial; }
  .article-body { margin-inline: auto; }
  .footer-inner { flex-wrap: wrap; gap: 19px; }
}

@media (max-width: 460px) {
  .award-grid, .field-row { grid-template-columns: 1fr; }
  .actions .button { padding-inline: 13px; font-size: .82rem; min-height: 46px; }
}

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