:root {
  --ink: #211d1a;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --rose: #a9645a;
  --rose-deep: #8a4d44;
  --line: #e3dccd;
  --want: #4c6b52;
  --want-bg: #e9efe6;
  --skip: #97402f;
  --skip-bg: #f4e5df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, blockquote {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 243, 236, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; }
.wordmark { font-family: 'Fraunces', serif; font-size: 20px; text-decoration: none; letter-spacing: 0.01em; }
.site-header nav a { margin-left: 28px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--rose-deep); }

.hero { padding: 96px 0 80px; text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px;
  color: var(--rose-deep); font-weight: 600; margin: 0 0 20px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.1; margin-bottom: 28px; font-style: italic; }
.hero-lede { max-width: 620px; margin: 0 auto 36px; font-size: 18px; color: #4a4038; }
.cta {
  display: inline-block; text-decoration: none; background: var(--rose);
  color: #fff; padding: 14px 28px; border-radius: 2px; font-weight: 600;
  font-size: 14px; letter-spacing: 0.02em; transition: background 0.15s;
}
.cta:hover { background: var(--rose-deep); }

.about { background: var(--paper); padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-copy h2 { font-size: 30px; margin-bottom: 20px; font-style: italic; }
.about-copy p { color: #4a4038; margin: 0 0 16px; }
.about-quote { border-left: 2px solid var(--rose); padding-left: 24px; }
.about-quote blockquote { font-size: 24px; font-style: italic; margin: 0 0 10px; }
.attribution { font-size: 13px; color: #8a7f6f; margin: 0; }

.build { padding: 80px 0 100px; }
.build h2 { font-size: 30px; margin: 8px 0 18px; font-style: italic; }
.build-lede { max-width: 680px; color: #4a4038; margin-bottom: 40px; }

.category { margin-bottom: 36px; }
.category h4 {
  font-family: 'Inter', sans-serif; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--rose-deep); font-weight: 600;
  margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.item {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: none; }
.item-label { flex: 1; font-size: 15px; }
.item-label small { display: block; color: #8a7f6f; font-size: 13px; margin-top: 2px; }
.item-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pill {
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: #7a7062; transition: all 0.12s;
}
.pill:hover { border-color: #c9bfa9; }
.pill.want.active { background: var(--want-bg); color: var(--want); border-color: var(--want); }
.pill.skip.active { background: var(--skip-bg); color: var(--skip); border-color: var(--skip); }

.notes-panel {
  margin-top: 56px; padding: 32px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 6px;
}
.notes-panel h3 { font-size: 20px; margin-bottom: 6px; font-style: italic; }
.notes-panel .hint { color: #8a7f6f; font-size: 14px; margin: 0 0 18px; }
#note-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
#note-input {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 4px; resize: vertical; background: var(--cream);
}
#note-form button {
  align-self: flex-end; background: var(--ink); color: #fff; border: none;
  padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 13px;
  cursor: pointer;
}
#note-list { list-style: none; margin: 0; padding: 0; }
#note-list li {
  padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
#note-list .note-date { color: #a89d8b; font-size: 12px; white-space: nowrap; }
#note-list .note-del { border: none; background: none; color: #c9bfa9; cursor: pointer; font-size: 13px; }
#note-list .note-del:hover { color: var(--skip); }

.site-footer { padding: 32px 0 48px; text-align: center; color: #a89d8b; font-size: 13px; }

@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .item { flex-direction: column; align-items: flex-start; }
}
