:root {
  color-scheme: light;
  --paper: #f7eee5;
  --ink: #35241f;
  --muted: #684f49;
  --line: #d9c5ba;
  --blush: #f1dfdb;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; width: 100%; }
figure { margin: 0; }
.wrap { width: min(90%, 1260px); margin-inline: auto; }
.topline { background: var(--ink); color: var(--paper); text-align: center; padding: 7px; }
.topline, small, nav, .button, .filters, .credit, footer {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
header { border-bottom: 1px solid var(--line); }
.brand { font: 600 2rem/1 var(--serif); }
small { display: block; margin-top: 6px; font-family: var(--sans); }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
header a, footer a, .button { text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(24px, 6vw, 86px); padding-block: clamp(36px, 6vw, 90px); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: .98; }
h1 { font-size: clamp(4.3rem, 9vw, 9rem); letter-spacing: -.055em; }
h1 em { color: #855c57; }
h2 { font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.hero p, .closing p { max-width: 36ch; margin: 24px 0; color: var(--muted); }
.button { display: inline-flex; gap: 20px; align-items: center; padding: 12px 18px; background: var(--ink); color: var(--paper); }
.button:hover { background: #62423a; }
.hero-art { position: relative; background: var(--blush); }
.hero-art img { aspect-ratio: 5 / 5.3; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: 12px; border: 1px solid #f7eee580; pointer-events: none; }
.notes { border-top: 1px solid var(--line); padding-block: 60px 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 36px; }
.filters button { background: transparent; border: 1px solid var(--line); padding: 8px 12px; cursor: pointer; text-transform: inherit; letter-spacing: inherit; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.note { padding: clamp(22px, 3vw, 42px); border: 1px solid var(--line); background: #fbf4ee; display: flex; flex-direction: column; }
.note:nth-child(4n + 2) { background: var(--blush); }
.note:nth-child(7n + 1) { background: var(--ink); color: var(--paper); }
.note.featured { grid-column: 1 / -1; padding: clamp(26px, 5vw, 64px); }
.featured h3 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.featured blockquote { max-width: 66ch; }
.eyebrow { margin: 0 0 14px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e8bfb7; }
.feature-detail { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid #987b70; color: #efdbd2; font-size: .9rem; }
blockquote { margin: 18px 0 24px; }
.credit { margin: auto 0 0; }
.mood { background: var(--ink); color: var(--paper); padding-block: 65px; }
.mood h2 { margin-bottom: 28px; }
.mood figure { border: 1px solid #987b70; padding: 8px; }
.closing { padding-block: 76px 50px; }
.closing .signature { font: italic 500 2.6rem/1 var(--serif); }
footer { border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 590px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .hero-art img { aspect-ratio: 4 / 3; }
  .brand { font-size: 1.55rem; }
  nav { gap: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
