:root {
  --paper: #fbfaf7;
  --paper-deep: #f1ede4;
  --ink: #171313;
  --muted: #6e6860;
  --line: #ded7ce;
  --accent: #7b1420;
  --accent-dark: #3c0e14;
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text: 18px;
  --text-small: 16px;
  --label: 12px;
  --list-title: 30px;
  --page-title: 42px;
  --display: 96px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--text);
  line-height: 1.55;
}

body::before {
  content: "RSVC";
  position: fixed;
  right: -0.14em;
  bottom: -0.22em;
  z-index: -1;
  color: rgba(23, 19, 19, 0.035);
  font-family: var(--serif);
  font-size: min(40vw, 520px);
  line-height: 0.75;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.site {
  --page-top: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 84px;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--page-top) 24px;
  min-height: 100vh;
}

.sidebar {
  align-self: start;
  position: sticky;
  top: var(--page-top);
  padding-right: 30px;
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -18px;
  width: 1px;
  height: min(360px, 52vh);
  background: var(--line);
}

.brand {
  display: inline-block;
  width: 112px;
  height: 112px;
  margin-bottom: 36px;
  color: var(--ink);
  text-decoration: none;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  height: 100%;
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 rgba(123, 20, 32, 0.11);
}

.brand-grid span {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}

.brand-grid span:nth-child(1),
.brand-grid span:nth-child(4) {
  background: linear-gradient(135deg, var(--ink), #2a1517);
  color: var(--paper);
}

.brand-grid span:nth-child(2),
.brand-grid span:nth-child(3) {
  background: var(--paper);
  color: var(--ink);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.sidebar-text {
  max-width: 240px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--text-small);
  line-height: 1.5;
}

.sidebar-more {
  display: inline-block;
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.content {
  padding-top: 2px;
}

.intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text);
  line-height: 1.5;
}

.home-feature {
  min-height: calc(100vh - 144px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 36px;
  position: relative;
}

.feature-title {
  max-width: 900px;
  margin: 0 0 10px;
  font-size: var(--display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(60, 14, 20, 0.08);
}

.feature-title a {
  text-decoration: none;
}

.feature-sentence {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 36px;
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.actions a {
  display: inline-block;
  color: var(--accent-dark);
  text-decoration: none;
  position: relative;
}

.recipient-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipient {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 14px 0 18px;
  position: relative;
}

.recipient::before {
  content: "";
  position: absolute;
  left: -18px;
  top: calc(14px + (var(--list-title) * 1.2 / 2));
  width: 7px;
  height: 7px;
  background: rgba(123, 20, 32, 0.28);
  transform: translateY(-50%) rotate(45deg);
}

.recipient h2 {
  margin: 0;
  font-size: var(--list-title);
  font-weight: 400;
  line-height: 1.2;
}

.recipient h2 a {
  text-decoration: none;
  transition: color 160ms ease;
}

.recipient h2 a:hover {
  color: var(--accent-dark);
}

.meta {
  margin: 0;
  color: var(--accent);
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: uppercase;
}

.meta a {
  color: inherit;
}

.year {
  color: var(--muted);
  font-size: var(--text);
  font-variant-numeric: tabular-nums;
}

.list-heading {
  margin-bottom: 34px;
}

.page-title {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: var(--page-title);
  font-weight: 400;
  line-height: 1.14;
  position: relative;
}

.text {
  max-width: 700px;
}

.text p {
  margin: 0 0 24px;
}

.text .meta {
  margin: 0 0 24px;
}

.portrait-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 72px;
  align-items: start;
}

.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(100%);
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(123, 20, 32, 0.16), transparent 58%),
    linear-gradient(180deg, #ded8cf, #c8bfb5);
}

.back {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}

.portrait-figure {
  margin: 0;
}

.portrait-figure .portrait {
  display: block;
  height: auto;
}

.photo-credit {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.photo-credit a {
  color: inherit;
}

.entry-content p {
  margin: 0 0 24px;
}

.sources {
  margin: 36px 0 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: var(--label);
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.sources li {
  margin: 0 0 8px;
  padding-left: 16px;
  position: relative;
  overflow-wrap: anywhere;
}

.sources li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: rgba(123, 20, 32, 0.38);
  transform: rotate(45deg);
}

.sources a {
  color: var(--ink);
}

.sources a:hover {
  color: var(--accent-dark);
}

@media (max-width: 760px) {
  :root {
    --list-title: 26px;
    --page-title: 36px;
    --display: 72px;
  }

  .site {
    display: block;
    padding: 26px 18px 48px;
  }

  body::before {
    font-size: 64vw;
  }

  .sidebar {
    position: static;
    margin-bottom: 46px;
    padding-right: 0;
  }

  .sidebar::after {
    display: none;
  }

  .home-feature {
    min-height: 42vh;
    justify-content: center;
  }

  .feature-sentence {
    font-size: 22px;
  }

  .brand {
    width: 96px;
    height: 96px;
    margin-bottom: 26px;
  }

  .brand-grid span {
    font-size: 31px;
  }

  .recipient {
    display: grid;
  }

  .year {
    display: inline-block;
    margin-top: 4px;
  }

  .portrait-layout {
    display: flex;
    flex-direction: column-reverse;
  }

  .portrait {
    max-width: 320px;
  }

  .portrait-figure {
    max-width: 320px;
  }
}
