:root {
  --bg-dark: #11110f;
  --bg-light: #f4efe4;
  --paper: #fbf8ef;
  --text-main: #1d1b17;
  --text-soft: #746c5d;
  --line: #d1c6b3;
  --accent: #7c1717;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
}

.site-header {
  padding:
    42px
    clamp(22px, 5vw, 60px)
    72px;

  border-bottom:
    1px solid
    rgba(255,255,255,.08);
}

.topline {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  color: #c8bda9;
  text-transform: uppercase;
}

h1 {
  margin:
    36px 0 18px;

  font-size:
    clamp(52px, 10vw, 108px);

  line-height: .88;
  letter-spacing: -.05em;
  max-width: 900px;
}

.tagline {
  margin: 0;

  max-width: 720px;

  font-size:
    clamp(18px, 2vw, 24px);

  line-height: 1.45;

  color: #ddd2c0;
}

main {
  background: var(--bg-light);

  color: var(--text-main);

  padding:
    36px
    clamp(18px, 5vw, 60px)
    84px;
}

.archive-shell {
  max-width: 1500px;
  margin: 0 auto;
}

.section-head {
  border-bottom:
    1px solid var(--line);

  margin-bottom: 30px;

  padding-bottom: 16px;
}

.section-kicker {
  margin: 0 0 8px;

  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: var(--accent);
}

.section-head h2 {
  margin: 0;

  font-size:
    clamp(34px, 4vw, 56px);

  line-height: .95;
  letter-spacing: -.04em;
}

.case-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 390px));

  gap: 28px;

  justify-content: start;
}

.case-card {
  background: var(--paper);

  border:
    1px solid rgba(116,108,93,.28);

  overflow: hidden;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;

  box-shadow:
    0 14px 36px rgba(0,0,0,.05);
}

.case-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(124,23,23,.35);

  box-shadow:
    0 22px 48px rgba(0,0,0,.10);
}

.card-image-wrap {
  width: 100%;
}

.case-photo {
  width: 100%;

  aspect-ratio: 4 / 3;

  background:
    linear-gradient(
      145deg,
      #4d4942,
      #b8ad99
    );

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: white;
}

.case-photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center 25%;
}

.photo-missing {
  background:
    linear-gradient(
      145deg,
      #5a544c,
      #d0c5b2
    );
}

.case-content {
  background: var(--paper);

  padding: 22px;
}

.status {
  display: inline-block;

  margin-bottom: 16px;

  padding:
    6px 9px;

  background: var(--accent);

  color: white;

  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.case-content h3 {
  margin:
    0 0 14px;

  font-size:
    clamp(30px, 4vw, 38px);

  line-height: .96;
  letter-spacing: -.04em;

  color: var(--text-main);
}

.meta {
  margin:
    0 0 6px;

  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;

  color: var(--text-soft);
}

.date {
  margin:
    0 0 18px;

  font-family: Arial, sans-serif;
  font-size: 13px;

  color: var(--text-soft);
}

.summary {
  margin:
    0 0 22px;

  font-size: 16px;
  line-height: 1.5;

  color: #2c2720;
}

.archive-button {
  border:
    1px solid var(--accent);

  background: transparent;

  color: var(--accent);

  padding:
    10px 13px;

  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.archive-button:hover {
  background: var(--accent);
  color: white;

  transform: translateY(-1px);
}

.loading {
  font-size: 16px;
  color: var(--text-main);
}

footer {
  padding:
    28px
    clamp(22px, 5vw, 60px);

  color: #c4b8a4;

  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 760px) {

  .site-header {
    padding-bottom: 56px;
  }

  main {
    padding-top: 28px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-content {
    padding: 20px;
  }

  .case-photo {
    min-height: 230px;
  }
}