:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #5d625f;
  --paper: #f8f5ef;
  --white: #ffffff;
  --wine: #7e2431;
  --moss: #526b58;
  --brass: #b88a43;
  --line: rgba(23, 23, 23, 0.14);
  --shadow: 0 22px 70px rgba(25, 22, 19, 0.16);
  --max: 1160px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(248, 245, 239, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(21, 18, 16, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 70px) 56px;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.78), rgba(11, 10, 9, 0.36) 46%, rgba(11, 10, 9, 0.18)),
    url("assets/hero-piano.png") center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.96;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
}

h3 {
  font-size: 25px;
  line-height: 1.16;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #1f1608;
}

.button.secondary {
  color: var(--white);
}

.hero-note {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 5vw, 70px);
  bottom: 46px;
  width: min(340px, calc(100% - 40px));
  padding-left: 22px;
  border-left: 2px solid var(--brass);
  color: rgba(255, 255, 255, 0.88);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  margin-bottom: 8px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

section:not(.hero) {
  padding: clamp(70px, 10vw, 126px) clamp(20px, 5vw, 70px);
}

.two-column,
.lineage-layout,
.contact-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
}

.prose p,
.section-heading p,
.lineage-layout p,
.contact-section p,
.feature-card p,
.timeline p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.story-portrait {
  max-width: 250px;
  margin: 34px 0 0;
}

.story-portrait img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-portrait figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.quote-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.family-section {
  background: #ede9df;
}

.memoriam-section {
  background: var(--ink);
  color: var(--white);
}

.memoriam-panel {
  width: min(100%, 920px);
  margin: 0 auto;
}

.memoriam-panel h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.memoriam-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.55;
}

.memoriam-panel a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brass);
  font-weight: 700;
}

.family-panel {
  width: min(100%, 920px);
  margin: 0 auto;
}

.family-panel h2 {
  margin-bottom: 28px;
}

.quote-band blockquote {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.14;
}

.quote-band cite {
  color: var(--brass);
  font-style: normal;
}

.teaching-section,
.archive-section {
  background: var(--white);
}

.section-heading {
  width: min(100%, var(--max));
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.feature-grid,
.archive-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.card-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--wine);
  font-weight: 800;
}

.lineage-section {
  background: #ede9df;
}

.lineage-list {
  display: grid;
  gap: 14px;
}

.lineage-list a,
.archive-grid a {
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.lineage-list a {
  display: block;
  padding: 24px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
}

.lineage-list a:hover,
.archive-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
}

.lineage-list span {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.lineage-list small {
  color: var(--muted);
  font-size: 15px;
}

.timeline-section {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 42px 0 0;
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: milestone;
}

.timeline li {
  position: relative;
  padding-right: 28px;
  counter-increment: milestone;
}

.timeline li::before {
  content: counter(milestone, decimal-leading-zero);
  position: absolute;
  top: -60px;
  left: 0;
  color: var(--wine);
  font-weight: 800;
}

.timeline span {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.archive-grid a {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.contact-section {
  align-items: center;
  background: var(--moss);
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 70px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.story-page {
  background: #fbfaf7;
}

.story-page .site-header {
  color: var(--ink);
}

.story-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-top: 170px;
  padding-bottom: clamp(70px, 9vw, 110px);
}

.story-hero h1 {
  max-width: 980px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 88px);
}

.story-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.62;
}

.story-intro {
  background: var(--wine);
  color: var(--white);
  text-align: center;
}

.story-intro blockquote {
  width: min(920px, 100%);
  margin: 0 auto 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
}

.story-intro cite {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.essay-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(34px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.essay-section aside {
  position: sticky;
  top: 108px;
  align-self: start;
}

.essay-section aside span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--wine);
  font-weight: 800;
}

.essay-section h2 {
  font-size: clamp(30px, 4vw, 50px);
}

.essay-copy {
  display: grid;
  gap: 22px;
}

.essay-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.82;
}

.story-highlight {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.story-highlight span,
.story-highlight strong {
  display: block;
}

.story-highlight span {
  margin-bottom: 12px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-highlight strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
}

.story-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.72;
}

.story-highlight a {
  color: var(--white);
  font-weight: 700;
}

.story-family {
  margin-top: 0;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 52px;
  }

  .two-column,
  .lineage-layout,
  .contact-section,
  .section-heading,
  .feature-grid,
  .archive-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 30px;
  }

  .timeline {
    gap: 28px;
    padding-top: 0;
    border-top: 0;
  }

  .timeline li {
    padding: 0 0 0 48px;
  }

  .timeline li::before {
    top: 1px;
  }

  .essay-section,
  .story-highlight {
    grid-template-columns: 1fr;
  }

  .essay-section aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 124px 18px 36px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(11, 10, 9, 0.72), rgba(11, 10, 9, 0.34) 42%, rgba(11, 10, 9, 0.78)),
      url("assets/hero-piano.png") center / cover;
  }

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

  section:not(.hero) {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-footer {
    display: grid;
  }
}
