:root {
  --ink: #1d1b1a;
  --paper: #f1ebdf;
  --paper-light: #f8f4eb;
  --paper-deep: #ded2bd;
  --wine: #762e2c;
  --wine-dark: #4a1919;
  --muted: #716a61;
  --line: rgba(29, 27, 26, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 235, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand img {
  display: block;
  width: 205px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  padding-block: 30px 27px;
  color: #38322e;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--wine);
  transition: width 180ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--wine);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.open span {
  opacity: 0;
}

.nav-toggle.open::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open::after {
  transform: translateY(-6px) rotate(-45deg);
}

.content-note {
  border-bottom: 1px solid rgba(248, 244, 235, 0.22);
  color: #efe5d7;
  background: var(--wine-dark);
}

.content-note .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  padding-block: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
}

.content-note a {
  flex: 0 0 auto;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 8vw 100px max(20px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

.display-title {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8.5vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.display-title em {
  color: var(--wine);
  font-weight: 400;
}

.hero-intro {
  max-width: 690px;
  margin: 38px 0 0;
  color: #4d4640;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.button:hover,
.button.primary {
  border-color: var(--wine);
  color: #fff8ee;
  background: var(--wine);
}

.button.primary:hover {
  border-color: var(--wine-dark);
  background: var(--wine-dark);
}

.hero-art {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--ink);
}

.hero-art::before,
.hero-art::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(241, 235, 223, 0.25);
  border-radius: 50%;
}

.hero-art::before {
  width: 480px;
  height: 480px;
  top: 85px;
  left: -235px;
}

.hero-art::after {
  width: 285px;
  height: 285px;
  right: -130px;
  bottom: 72px;
}

.vertical-word {
  position: absolute;
  top: 68px;
  right: 34px;
  color: rgba(241, 235, 223, 0.12);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 8vw, 8.8rem);
  line-height: 0.8;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.archive-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(65%, 330px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.archive-mark i {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 1px;
  transform-origin: left;
  background: rgba(241, 235, 223, 0.56);
}

.archive-mark i:nth-child(1) { transform: rotate(-30deg); }
.archive-mark i:nth-child(2) { transform: rotate(-14deg); }
.archive-mark i:nth-child(3) { transform: rotate(2deg); background: var(--wine); }
.archive-mark i:nth-child(4) { transform: rotate(18deg); }
.archive-mark i:nth-child(5) { transform: rotate(34deg); }

.art-caption {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(241, 235, 223, 0.3);
  color: rgba(241, 235, 223, 0.72);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding-block: 110px;
}

.section.compact {
  padding-block: 78px;
}

.section.dark {
  color: var(--paper-light);
  background: var(--ink);
}

.section.wine {
  color: var(--paper-light);
  background: var(--wine-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 64px;
}

.section-kicker {
  margin: 6px 0 0;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dark .section-kicker,
.wine .section-kicker {
  color: #d7a7a1;
}

.section-title,
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.4vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.dark .section-lead,
.wine .section-lead {
  color: #c9c0b5;
}

.three-grid,
.story-grid,
.theme-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 310px;
  padding: 34px;
  background: var(--paper-light);
}

.dark .card {
  background: #252321;
}

.card-number {
  display: block;
  margin-bottom: 50px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
}

.card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.12;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.dark .card p {
  color: #bdb5ab;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.text-link::after {
  content: "\2192";
  font-size: 1.15rem;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

.quote-block {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 70px;
  align-items: start;
}

.quote-mark {
  color: #a65a55;
  font-family: var(--serif);
  font-size: clamp(9rem, 18vw, 15rem);
  line-height: 0.65;
}

.quote-text {
  max-width: 870px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 1.1;
}

.quote-source {
  display: block;
  margin-top: 30px;
  color: #c9c0b5;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split-copy h2,
.split-copy h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.split-copy p {
  color: var(--muted);
}

.archive-panel {
  position: relative;
  min-height: 490px;
  padding: 44px;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--wine-dark);
}

.archive-panel::after {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -100px;
  bottom: -100px;
  content: "";
  border: 1px solid rgba(248, 244, 235, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(248, 244, 235, 0.03), 0 0 0 108px rgba(248, 244, 235, 0.03);
}

.archive-panel .label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-panel strong {
  position: absolute;
  right: 40px;
  bottom: 34px;
  left: 40px;
  z-index: 1;
  max-width: 420px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.page-hero {
  padding-block: 92px 76px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: end;
}

.page-title {
  max-width: 900px;
}

.page-intro {
  max-width: 680px;
  margin: 0 0 8px auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.22rem;
}

.breadcrumb {
  margin-bottom: 40px;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.breadcrumb span {
  margin-inline: 8px;
  color: var(--muted);
}

.story-card {
  position: relative;
  min-height: 390px;
  padding: 36px;
  background: var(--paper-light);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card h2,
.story-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.story-card::after {
  position: absolute;
  right: 34px;
  bottom: 27px;
  left: 34px;
  height: 1px;
  content: "";
  background: var(--line);
}

a.story-card {
  display: block;
  color: inherit;
  transition: background 180ms ease, transform 180ms ease;
}

a.story-card:hover {
  z-index: 1;
  background: #eee4d5;
  transform: translateY(-4px);
}

.record-hero {
  padding-block: 82px;
  color: var(--paper-light);
  background: var(--ink);
}

.record-hero-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 70px;
  align-items: end;
}

.record-id {
  color: #c49b92;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.record-title {
  margin: 15px 0 20px;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.record-deck {
  max-width: 720px;
  margin: 0;
  color: #c6bdb2;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.record-meta {
  display: grid;
  gap: 1px;
  background: rgba(248, 244, 235, 0.15);
}

.record-meta div {
  padding: 18px 20px;
  background: #242220;
}

.record-meta small {
  display: block;
  margin-bottom: 4px;
  color: #9d9389;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.record-body {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 75px;
  align-items: start;
}

.record-sidebar {
  position: sticky;
  top: 120px;
}

.record-sidebar h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.record-sidebar p,
.record-sidebar li {
  color: var(--muted);
  font-size: 0.88rem;
}

.record-sidebar ul {
  padding-left: 18px;
}

.record-content {
  max-width: 790px;
}

.record-content h2 {
  margin: 58px 0 20px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.record-content h2:first-child {
  margin-top: 0;
}

.record-content p {
  color: #4f4842;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.8;
}

.editorial-note {
  margin-top: 54px;
  padding: 28px;
  border-left: 3px solid var(--wine);
  background: var(--paper);
}

.editorial-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.record-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.record-nav a {
  padding: 30px;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.record-nav a:last-child {
  border-left: 1px solid var(--line);
  text-align: right;
}

.record-nav small {
  display: block;
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}

.filter-button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
  border-color: var(--wine);
  color: var(--paper-light);
  background: var(--wine);
}

.theme-card {
  min-height: 360px;
  padding: 36px;
  background: var(--paper-light);
}

.theme-card .symbol {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 52px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
}

.theme-card h2,
.theme-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.05;
}

.theme-card p {
  color: var(--muted);
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 50px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2.6rem;
}

.timeline-item h3 {
  margin: 4px 0 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.timeline-item p {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
}

.place-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.place-item {
  display: flex;
  min-height: 95px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.place-item:nth-child(odd) {
  margin-right: 35px;
}

.place-item span:last-child {
  color: var(--wine);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-card {
  min-height: 300px;
  padding: 34px;
  background: var(--paper-light);
}

.resource-card small {
  display: block;
  margin-bottom: 58px;
  color: var(--wine);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-card h2,
.resource-card h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.resource-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.principles {
  counter-reset: principle;
}

.principle {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.principle::before {
  counter-increment: principle;
  content: "0" counter(principle);
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
}

.principle h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.principle p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.reading-layout,
.essay-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.45fr) minmax(0, 1.55fr);
  gap: 80px;
  align-items: start;
}

.reading-index,
.essay-aside {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 14px;
  padding: 28px;
  border-top: 3px solid var(--wine);
  background: var(--paper);
}

.reading-index .section-kicker {
  margin-bottom: 12px;
}

.reading-index a,
.reading-index span,
.essay-aside a {
  color: var(--muted);
  font-size: 0.84rem;
}

.reading-index a:hover,
.essay-aside a:hover {
  color: var(--wine);
}

.longform,
.essay-copy {
  max-width: 820px;
}

.prose-section {
  padding-block: 0 74px;
  scroll-margin-top: 120px;
}

.prose-section + .prose-section {
  padding-top: 74px;
  border-top: 1px solid var(--line);
}

.prose-section h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.prose-section p,
.essay-copy p {
  color: #4f4842;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.82;
}

.source-panel {
  margin-top: 32px;
  padding: 26px;
  border-left: 3px solid var(--wine);
  background: var(--paper);
}

.source-panel strong {
  color: var(--wine);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-panel a,
.footnotes a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.essay-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.essay-copy .dropcap::first-letter {
  float: left;
  padding: 8px 10px 0 0;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 5.4rem;
  line-height: 0.72;
}

.essay-copy blockquote {
  margin: 50px 0;
  padding: 34px;
  border-left: 3px solid var(--wine);
  color: var(--wine-dark);
  background: var(--paper);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.55;
}

.footnotes {
  display: grid;
  gap: 20px;
  max-width: 900px;
  color: #c9c0b5;
}

.footnotes li {
  padding-left: 10px;
}

.place-map {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(248, 244, 235, 0.18);
  background: radial-gradient(circle at 34% 34%, rgba(118, 46, 44, 0.3), transparent 34%), #252321;
}

.place-map::before {
  position: absolute;
  inset: 12% 8% 16%;
  content: "";
  border: 1px solid rgba(248, 244, 235, 0.17);
  border-radius: 45% 54% 38% 62% / 48% 35% 65% 52%;
  transform: rotate(-4deg);
}

.map-marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid #d7a7a1;
  border-radius: 999px;
  color: var(--paper-light);
  background: var(--wine-dark);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.map-marker:hover,
.map-marker.active {
  color: var(--wine-dark);
  background: #efd8d1;
}

.map-reset {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 11px 14px;
  border: 1px solid rgba(248, 244, 235, 0.35);
  color: var(--paper-light);
  background: transparent;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.testimony-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.testimony-index article {
  min-height: 230px;
  padding: 28px;
  background: var(--paper-light);
  transition: opacity 180ms ease, background 180ms ease;
}

.testimony-index article[hidden] {
  display: none;
}

.testimony-index article span {
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
}

.testimony-index h3 {
  margin: 34px 0 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.1;
}

.testimony-index p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.testimony-index a {
  display: inline-block;
  margin-top: 18px;
  color: var(--wine);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.source-document {
  background: var(--paper);
}

.document-frame {
  height: min(82vh, 920px);
  border: 1px solid var(--line);
  background: #fff;
}

.document-frame object {
  width: 100%;
  height: 100%;
}

.document-action {
  margin: 24px 0 0;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
}

.form-aside {
  padding: 34px;
  color: var(--paper-light);
  background: var(--ink);
}

.form-aside h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1;
}

.form-aside p,
.form-aside li {
  color: #c6bdb2;
  font-size: 0.9rem;
}

.form-aside ul {
  padding-left: 18px;
}

.story-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9e9488;
  border-radius: 0;
  outline: none;
  padding: 13px 2px;
  color: var(--ink);
  background: transparent;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--wine);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.check-field {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.84rem;
}

.check-field input {
  margin-top: 5px;
  accent-color: var(--wine);
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-left: 3px solid var(--wine);
  color: var(--wine-dark);
  background: #eaded0;
  font-size: 0.88rem;
}

.form-status.show {
  display: block;
}

.site-footer {
  padding-block: 76px 28px;
  color: var(--paper-light);
  background: #171514;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.45fr 0.45fr;
  gap: 60px;
  padding-bottom: 65px;
}

.footer-brand {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
}

.footer-about {
  max-width: 480px;
  color: #aaa198;
}

.footer-heading {
  margin: 6px 0 20px;
  color: #d4cbc0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: #aaa198;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--paper-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(248, 244, 235, 0.13);
  color: #827b74;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .nav-list {
    gap: 15px;
  }

  .nav-link {
    font-size: 0.64rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 360px;
  }

  .three-grid,
  .story-grid,
  .theme-grid,
  .resource-grid,
  .testimony-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 175px;
    height: 58px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    border-bottom: 1px solid var(--line);
    background: var(--paper-light);
  }

  .site-nav.open {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 0;
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
    padding-block: 12px 24px;
  }

  .nav-link {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
  }

  .nav-link::after {
    display: none;
  }

  .hero-grid,
  .page-hero-grid,
  .record-hero-grid,
  .record-body,
  .section-heading,
  .split,
  .quote-block,
  .form-shell,
  .reading-layout,
  .essay-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 620px;
    padding: 90px 30px;
  }

  .hero-art {
    min-height: 400px;
  }

  .section-heading,
  .page-hero-grid {
    gap: 26px;
  }

  .page-intro {
    margin-left: 0;
  }

  .record-sidebar {
    position: static;
  }

  .reading-index,
  .essay-aside {
    position: static;
  }

  .quote-block {
    gap: 15px;
  }

  .quote-mark {
    height: 85px;
    font-size: 9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .content-note .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 10px;
  }

  .display-title {
    font-size: clamp(3.35rem, 19vw, 5.2rem);
  }

  .hero-copy {
    min-height: auto;
    padding: 76px 20px 70px;
  }

  .hero-intro {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section,
  .section.compact {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .three-grid,
  .story-grid,
  .theme-grid,
  .resource-grid,
  .place-list,
  .story-form,
  .timeline-item,
  .testimony-index {
    grid-template-columns: 1fr;
  }

  .record-nav {
    grid-template-columns: 1fr;
  }

  .record-nav a:last-child {
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .place-item:nth-child(odd) {
    margin-right: 0;
  }

  .form-shell {
    gap: 35px;
  }

  .field.full,
  .check-field,
  .form-status {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .place-map {
    min-height: 620px;
  }

  .map-marker {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: calc(100% - 28px);
    margin: 12px 14px 0;
    text-align: left;
  }

  .place-map::before {
    display: none;
  }
}

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