:root {
  --bg: #f6efe4;
  --paper: #fffaf2;
  --paper-2: #fdf4e9;
  --ink: #171412;
  --ink-soft: #403934;
  --muted: #756a62;
  --line: rgba(23, 20, 18, .14);
  --line-strong: rgba(23, 20, 18, .24);
  --accent: #9a4d35;
  --accent-dark: #5f2d23;
  --rose: #d8a7a0;
  --gold: #b48746;
  --shadow: 0 24px 80px rgba(36, 26, 20, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 167, 160, .28), transparent 34rem),
    radial-gradient(circle at 100% 20%, rgba(180, 135, 70, .18), transparent 30rem),
    linear-gradient(135deg, var(--bg), #fbf5ec 55%, #efe3d5);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(23,20,18,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,20,18,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

::selection {
  color: #fff;
  background: var(--accent-dark);
}

img, svg { max-width: 100%; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: .75rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: .7rem .9rem;
  border-radius: 999px;
  z-index: 50;
  transition: transform .2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 239, 228, .84);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(36, 26, 20, .06);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .92rem;
  color: var(--accent-dark);
  background: rgba(255,250,242,.68);
}

.brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: -.015em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 680;
  padding: .72rem .92rem;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255,250,242,.72);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,250,242,.7);
  border-radius: 999px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.hero-copy h1,
.page-hero h1 {
  margin: .9rem 0 1.1rem;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 10.4rem);
  line-height: .78;
  letter-spacing: -.088em;
  font-weight: 560;
}

.page-hero h1 {
  max-width: 930px;
  font-size: clamp(3.4rem, 10vw, 8.2rem);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 840;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.68;
}

.button-row {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .88rem 1.08rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 780;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(36, 26, 20, .14);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-light {
  background: rgba(255,250,242,.72);
  color: var(--ink);
  border-color: var(--line);
}

.featured-poem,
.panel {
  background: rgba(255,250,242,.72);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.featured-poem {
  padding: clamp(1.4rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}

.featured-poem::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  pointer-events: none;
}

.card-label {
  color: var(--gold);
  font-size: .74rem;
  font-weight: 840;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.featured-poem h2,
.poem-card h2,
.article-poem h2,
.feature-card h3,
.note-card h2 {
  margin: 0 0 .9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 560;
  letter-spacing: -.045em;
}

.featured-poem h2 { font-size: clamp(2rem, 4vw, 3.2rem); }

.verse {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  white-space: pre-line;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.86;
}

.text-link,
.feature-card a,
.poem-card a {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--accent-dark);
  font-weight: 820;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.section {
  padding: clamp(3.8rem, 8vw, 6.5rem) 0;
}

.section-tight { padding-top: 1rem; }

.split-intro,
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-title {
  margin: .55rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 560;
}

.body-large {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.74;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.poem-card,
.note-card {
  background: rgba(255,250,242,.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 2.6vw, 1.7rem);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.feature-card:hover,
.poem-card:hover,
.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(36, 26, 20, .1);
  background: rgba(255,250,242,.9);
}

.feature-number {
  color: var(--gold);
  font-weight: 860;
  font-size: .84rem;
}

.feature-card h3 { font-size: 2rem; }
.feature-card p,
.note-card p,
.poem-card p:not(.verse) {
  color: var(--muted);
  margin: 0;
  line-height: 1.72;
}

.band {
  background: rgba(255,250,242,.46);
  border-block: 1px solid var(--line);
}

.quote-block {
  border-left: 2px solid var(--accent);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.quote-block p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -.05em;
}

.page-hero {
  padding: clamp(4.8rem, 9vw, 8rem) 0 clamp(2rem, 5vw, 4rem);
}

.page-hero .lead { max-width: 760px; }

.collection-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 1.2rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.filter-button {
  border: 1px solid var(--line);
  background: rgba(255,250,242,.68);
  color: var(--muted);
  min-height: 40px;
  padding: .55rem .78rem;
  border-radius: 999px;
  font-weight: 760;
  cursor: pointer;
}

.filter-button.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.poem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.poem-card {
  min-height: 100%;
}

.poem-card h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }

.poem-meta {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 0 0 .8rem;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 840;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, .28fr) minmax(0, .72fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255,250,242,.6);
}

.toc strong {
  display: block;
  margin-bottom: .8rem;
  font-size: .8rem;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: .45rem 0;
  font-size: .94rem;
}

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

.article-poem {
  padding: clamp(1.4rem, 4vw, 3rem);
  margin-bottom: 1rem;
  background: rgba(255,250,242,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.article-poem h2 { font-size: clamp(2rem, 4vw, 3.5rem); }

.article-poem .verse {
  font-size: clamp(1.18rem, 2.2vw, 1.48rem);
  line-height: 1.88;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.note-card h2 { font-size: 1.9rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .28fr);
  gap: clamp(2rem, 7vw, 5rem);
  align-items: start;
}

.prose {
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.82;
}

.prose p { margin: 0 0 1.1rem; }

.profile-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,250,242,.72);
  box-shadow: var(--shadow);
}

.profile-card .monogram {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 15%, rgba(216,167,160,.7), transparent 40%),
    linear-gradient(135deg, #231915, #6e3b2b);
  color: #fff7eb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 7rem);
  letter-spacing: -.08em;
}

.profile-card dl {
  margin: 1rem 0 0;
  display: grid;
  gap: .75rem;
}

.profile-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}

.profile-card dt {
  color: var(--muted);
  font-size: .86rem;
}

.profile-card dd {
  margin: 0;
  font-weight: 780;
  text-align: right;
}

.site-footer {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  background: rgba(255,250,242,.36);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-grid strong {
  display: block;
  color: var(--ink);
  margin-bottom: .25rem;
}

.footer-grid p { margin: 0; }

.footer-grid nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-grid a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
}

.footer-grid a:hover { color: var(--ink); }

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

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

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

  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .7rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,250,242,.96);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .main-nav a { border-radius: 12px; }

  .hero-grid,
  .split-intro,
  .band-grid,
  .article-layout,
  .about-grid { grid-template-columns: 1fr; }

  .hero-copy h1,
  .page-hero h1 { letter-spacing: -.07em; }

  .feature-grid,
  .poem-list,
  .note-grid { grid-template-columns: 1fr; }

  .toc { position: static; }
}

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

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