:root {
  --paper: #eee6d8;
  --paper-light: #f7f2e9;
  --ink: #241f1a;
  --muted: #756d62;
  --rust: #8c4d35;
  --cobalt: #294d6a;
  --sun: #d6a629;
  --line: rgba(36, 31, 26, .28);
  --page-pad: clamp(24px, 7vw, 112px);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  overflow-x: clip;
}
main, section, header, footer { max-width: 100%; }
img { max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }

.paper-noise {
  position: fixed;
  inset: 0;
  opacity: .15;
  pointer-events: none;
  z-index: 20;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.ambient-art {
  position: absolute;
  z-index: -1;
  opacity: .24;
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: transform;
}
.ambient-art--top { width: min(52vw, 670px); right: -8vw; top: 16vh; }
.ambient-art--bottom { width: min(65vw, 880px); left: -16vw; top: 195vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(238, 230, 216, .84);
  backdrop-filter: blur(16px);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 14px/1 var(--sans);
  letter-spacing: .19em;
  text-decoration: none;
}
.wordmark i { width: 22px; height: 1px; background: var(--ink); }
.site-nav { display: flex; gap: clamp(20px, 3vw, 48px); }
.site-nav a {
  font-size: 13px;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--ink); }
.menu-button { display: none; }

main { position: relative; }
.intro {
  min-height: calc(100svh - 78px);
  padding: 12vh clamp(24px, 7vw, 112px) 8vh;
  display: grid;
  grid-template-columns: 1fr minmax(190px, 28vw) auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
}
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.intro .eyebrow { grid-column: 1 / -1; align-self: start; }
.intro h1 {
  margin: 0;
  font: 400 clamp(100px, 19vw, 286px)/.73 var(--serif);
  letter-spacing: -.07em;
  align-self: center;
  grid-column: 1 / 3;
  grid-row: 2;
  position: relative;
  z-index: 2;
}
.intro h1 span, .intro h1 em { display: block; }
.intro h1 em { color: var(--rust); font-weight: 400; margin-left: .45em; }
.intro-note {
  align-self: end;
  max-width: 320px;
  margin: 0 6vw 2vh 0;
  font: italic 400 clamp(24px, 2.4vw, 38px)/1.05 var(--serif);
  grid-column: 1;
}
.hero-portrait {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  justify-self: end;
  width: min(28vw, 380px);
  height: min(53vw, 580px);
  margin: 5vh 0 0;
  overflow: hidden;
  border-radius: 48% 48% 8px 8px;
  box-shadow: 0 24px 70px rgba(36, 31, 26, .18);
  transform: rotate(1.5deg);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; filter: saturate(.78) sepia(.08); }
.round-link {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 22px;
  align-self: end;
  transition: background .25s, color .25s;
}
.round-link:hover { background: var(--ink); color: var(--paper-light); }

.reader {
  min-height: 100svh;
  padding: clamp(80px, 10vw, 150px) clamp(24px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(300px, 1.22fr);
  gap: clamp(48px, 10vw, 180px);
  align-items: start;
  background: rgba(247, 242, 233, .62);
  border-block: 1px solid var(--line);
}
.reader-meta { position: sticky; top: 130px; }
.reader-meta h2 {
  margin: 18px 0 44px;
  max-width: 450px;
  font: 500 clamp(42px, 5.2vw, 78px)/.9 var(--serif);
  letter-spacing: -.035em;
}
.reader-index {
  display: flex;
  gap: 10px;
  font: 500 13px/1 var(--sans);
  letter-spacing: .12em;
}
.reader-controls { display: flex; gap: 8px; margin-top: 30px; }
.reader-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}
.reader-controls button:hover, .reader-controls button:focus-visible { background: var(--ink); color: var(--paper-light); }
.poem-sheet { max-width: 660px; }
.poem-text {
  margin: 0;
  white-space: pre-wrap;
  font: 400 clamp(23px, 2vw, 31px)/1.58 var(--serif);
  letter-spacing: .005em;
}

.author-section {
  padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.1fr);
  gap: clamp(55px, 10vw, 160px);
  align-items: center;
}
.author-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 52% 52% 4px 4px;
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; filter: saturate(.82) contrast(.96); }
.author-copy h2, .visual-heading h2 {
  margin: 18px 0 34px;
  font: 400 clamp(50px, 7vw, 108px)/.84 var(--serif);
  letter-spacing: -.05em;
}
.author-copy h2 em, .visual-heading h2 em { color: var(--rust); font-weight: 400; }
.author-copy > p:last-child, .visual-heading > p:last-child {
  max-width: 470px;
  font: 400 clamp(20px, 2vw, 28px)/1.35 var(--serif);
}

.influences {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: start;
  padding: clamp(5rem, 10vw, 10rem) var(--page-pad);
  border-top: 1px solid var(--line);
}

.influences h2 {
  margin: 1rem 0 2.5rem;
  font: 400 clamp(2.9rem, 5.8vw, 6.2rem)/.9 var(--serif);
  letter-spacing: -.045em;
}

.influences h2 em { color: var(--rust); font-weight: 400; }

.writer-list { display: grid; border-top: 1px solid var(--line); }
.writer-list span {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  font: 500 .72rem/1.2 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.influences blockquote {
  margin: 0;
  padding: clamp(2rem, 5vw, 5rem);
  background: rgba(255, 252, 245, .48);
  border-left: 1px solid var(--rust);
}

.influences blockquote p {
  margin: 0;
  font: 400 clamp(2rem, 3.4vw, 4rem)/1.08 var(--serif);
  letter-spacing: -.025em;
}

.influences blockquote footer {
  margin-top: 2rem;
  font: 600 .7rem/1.2 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.collections { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 112px); }
.section-heading {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 40px;
  margin-bottom: 78px;
}
.section-heading h2, .catalog h2 {
  margin: 0;
  font: 400 clamp(48px, 7vw, 104px)/.88 var(--serif);
  letter-spacing: -.04em;
}
.collection-list { border-top: 1px solid var(--line); }
.collection-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .3s, color .3s;
}
.collection-card:hover { padding-left: 16px; color: var(--rust); }
.collection-card span { font-size: 12px; letter-spacing: .12em; }
.collection-card h3 { margin: 0; font: 400 clamp(36px, 4vw, 62px)/1 var(--serif); }
.collection-card b { font-size: 13px; font-weight: 500; }

.visual-diary {
  padding: clamp(90px, 10vw, 150px) 0 clamp(100px, 12vw, 190px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.visual-heading {
  padding: 0 clamp(24px, 7vw, 112px);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  column-gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}
.visual-heading .eyebrow { grid-row: 1 / 3; }
.visual-heading h2 { margin-top: 0; }
.visual-heading > p:last-child { margin: 0; }
.art-strip {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 38px);
  overflow-x: auto;
  max-width: 100vw;
  overscroll-behavior-inline: contain;
  padding: 10px clamp(24px, 7vw, 112px) 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) transparent;
}
.art-strip figure { flex: 0 0 clamp(230px, 30vw, 430px); margin: 0; scroll-snap-align: center; }
.art-strip figure:nth-child(3n+2) { flex-basis: clamp(200px, 24vw, 340px); }
.art-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
  transition: filter .35s, transform .35s;
}
.art-strip figure:nth-child(even) img { aspect-ratio: 3 / 4; }
.art-strip figure:hover img { filter: saturate(1); transform: translateY(-5px); }
.art-strip figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; letter-spacing: .14em; }

.catalog { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 112px); background: var(--paper-light); }
.catalog-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 70px; }
.catalog h2 { margin-top: 12px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper-light); }
.poem-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.poem-list li { border-bottom: 1px solid var(--line); }
.poem-list button {
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}
.poem-list button:hover .list-title, .poem-list button:focus-visible .list-title { color: var(--rust); transform: translateX(8px); }
.list-number, .list-collection { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.list-title { font: 400 clamp(24px, 2.5vw, 38px)/1.05 var(--serif); transition: transform .25s, color .25s; }

footer {
  padding: 32px clamp(24px, 7vw, 112px);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .intro > *, .reader > *, .author-section > *, .influences > *, .visual-heading > *, .catalog-head > * { min-width: 0; }
  .site-header { min-height: 64px; }
  .menu-button { display: flex; align-items: center; gap: 10px; padding: 10px 0; border: 0; background: transparent; font-size: 12px; }
  .menu-button b, .menu-button b::after { display: block; width: 22px; height: 1px; background: currentColor; content: ""; }
  .menu-button b::after { transform: translateY(5px); }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    padding: 22px 24px 26px;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%);
    transition: transform .25s;
    z-index: -1;
  }
  .site-nav.open { transform: translateY(0); }
  .intro { min-height: calc(100svh - 64px); grid-template-columns: 1fr auto; padding-top: 8vh; }
  .intro h1 { font-size: clamp(88px, 33vw, 150px); grid-column: 1 / -1; }
  .intro h1 em { margin-left: .14em; }
  .intro-note { font-size: 24px; margin-right: 16px; }
  .hero-portrait { grid-column: 2; grid-row: 3; width: 32vw; height: 43vw; margin: -18vw 0 0; }
  .ambient-art--top { width: 90vw; right: -32vw; top: 24vh; }
  .ambient-art--bottom { width: 120vw; left: -54vw; top: 220vh; }
  .reader { grid-template-columns: 1fr; gap: 45px; min-height: 0; }
  .reader-meta { position: static; }
  .reader-meta h2 { margin-bottom: 24px; }
  .poem-text { font-size: clamp(21px, 5.8vw, 27px); line-height: 1.52; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 48px; }
  .author-section { grid-template-columns: 1fr; }
  .author-photo { width: min(82vw, 480px); }
  .influences { grid-template-columns: 1fr; gap: 2.5rem; }
  .visual-heading { grid-template-columns: 1fr; }
  .visual-heading .eyebrow { grid-row: auto; }
  .visual-heading h2 { margin-top: 18px; }
  .collection-card { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .catalog-head { align-items: start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .poem-list button { grid-template-columns: 36px 1fr; }
  .list-collection { grid-column: 2; }
  footer { gap: 12px; flex-wrap: wrap; }
}

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