:root {
  --ink: #071019;
  --ink-soft: #0e1b27;
  --panel: #122331;
  --panel-soft: #172b3a;
  --paper: #f5f0e6;
  --paper-muted: #c9c2b6;
  --amber: #d89b52;
  --amber-bright: #f0bd79;
  --line: rgba(245, 240, 230, 0.15);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 8%, rgba(216,155,82,.11), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,.018) 25%, transparent 25%) 0 0 / 34px 34px;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: var(--amber-bright);
  color: var(--ink);
  padding: .7rem 1rem;
  border-radius: .25rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 16, 25, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  letter-spacing: .015em;
}

.brand span { color: var(--amber-bright); }

.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--paper);
  padding: .55rem .75rem;
  font: inherit;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--paper-muted);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--amber-bright); }

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7,16,25,.98) 0%, rgba(7,16,25,.86) 38%, rgba(7,16,25,.18) 72%, rgba(7,16,25,.28) 100%),
    url("reading-corner-hero.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content { max-width: 660px; padding-block: 6rem; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { margin: 0; font-size: clamp(3.3rem, 8vw, 6.7rem); letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.025em; }
h3 { margin: 0; font-size: 1.55rem; }

.hero .lede {
  max-width: 600px;
  color: #e5dfd3;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  margin: 1.6rem 0 2rem;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.15rem;
  border: 1px solid var(--amber);
  border-radius: .22rem;
  background: var(--amber);
  color: #101016;
  text-decoration: none;
  font-weight: 800;
}

.button:hover { background: var(--amber-bright); border-color: var(--amber-bright); }
.button.secondary { color: var(--paper); background: rgba(7,16,25,.55); border-color: rgba(245,240,230,.35); }
.button.secondary:hover { border-color: var(--paper); }

.section { padding-block: clamp(4.6rem, 8vw, 7.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-intro { max-width: 720px; color: var(--paper-muted); margin: 1rem 0 2.3rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.text-link { color: var(--amber-bright); font-weight: 800; text-underline-offset: .25rem; white-space: nowrap; }

.mood-grid,
.card-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.mood-card {
  grid-column: span 3;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.55rem;
  background: linear-gradient(145deg, var(--panel), #0c1923);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}

.mood-card:hover { transform: translateY(-4px); border-color: rgba(216,155,82,.62); }
.mood-card .number { color: var(--amber); font-family: var(--serif); font-size: 2rem; }
.mood-card p { margin: .7rem 0 0; color: var(--paper-muted); font-size: .95rem; }

.review-card {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  min-height: 330px;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

.review-card.featured { grid-column: span 8; background: linear-gradient(135deg, #183044, #0e1d28); }
.review-card-cover { display: block; color: inherit; }
.review-card-cover img { display: block; width: 100%; height: auto; background: transparent; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(0,0,0,.28); transition: transform .2s ease, border-color .2s ease; }
.review-card-cover:hover img { transform: translateY(-3px); border-color: rgba(216,155,82,.62); }
.review-card-copy { display: flex; flex-direction: column; min-width: 0; min-height: 100%; }
.meta { color: var(--amber-bright); font-size: .79rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.review-card h3 { margin-top: .5rem; }
.review-card .author { color: var(--paper-muted); margin: .25rem 0 1rem; }
.review-card .summary { color: #ded8cd; }
.review-card .card-link { margin-top: auto; padding-top: 1rem; color: var(--amber-bright); font-weight: 800; text-underline-offset: .25rem; }

.quote-band {
  padding: 3.8rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

.quote-band p {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  line-height: 1.15;
}

.page-hero { padding: clamp(5rem, 11vw, 9rem) 0 4rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); max-width: 900px; }
.page-hero p { max-width: 720px; margin: 1.3rem 0 0; color: var(--paper-muted); font-size: 1.14rem; }

.review-list { display: grid; gap: 1.2rem; }
.review-tools { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .85rem; align-items: end; padding: 1.25rem; margin-bottom: 1.5rem; background: var(--panel-soft); border: 1px solid var(--line); }
.filter-field { display: grid; gap: .42rem; }
.filter-field label { color: var(--paper-muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filter-field input, .filter-field select { width: 100%; min-height: 48px; border: 1px solid rgba(245,240,230,.28); border-radius: .2rem; background: var(--ink-soft); color: var(--paper); padding: .7rem .8rem; font: inherit; }
.filter-field input:focus, .filter-field select:focus { outline: 2px solid var(--amber-bright); outline-offset: 2px; }
.filter-summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: 0 0 1rem; color: var(--paper-muted); }
.clear-button { min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--amber); background: transparent; color: var(--amber-bright); font: 800 .9rem var(--sans); cursor: pointer; }
.clear-button:hover { background: rgba(216,155,82,.12); }
.empty-state { padding: 2rem; border: 1px dashed rgba(245,240,230,.3); color: var(--paper-muted); text-align: center; }
.review-entry[hidden], .empty-state[hidden] { display: none; }
.review-entry { display: grid; grid-template-columns: 110px 135px minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: 2rem; background: var(--panel); border: 1px solid var(--line); }
.review-cover-wrap, .book-cover-wrap { min-width: 0; }
.book-cover-link { display: block; color: inherit; }
.review-cover, .book-cover { display: block; width: 100%; height: auto; background: transparent; border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,.3); transition: transform .2s ease, border-color .2s ease; }
.book-cover-link:hover .review-cover, .book-cover-link:hover .book-cover { transform: translateY(-3px); border-color: rgba(216,155,82,.62); }
.cover-credit { display: block; margin-top: .55rem; color: var(--paper-muted); font-size: .68rem; line-height: 1.35; }
.cover-credit a { color: var(--paper-muted); text-underline-offset: .18rem; }
.cover-credit a:hover { color: var(--amber-bright); }
.score { font-family: var(--serif); font-size: 3.1rem; color: var(--amber-bright); line-height: 1; }
.score small { display: block; font: 700 .78rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--paper-muted); margin-top: .65rem; }
.review-entry h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.review-entry .author { color: var(--paper-muted); margin: .2rem 0 1rem; }
.review-entry p:last-of-type { margin-bottom: 0; }

.category { grid-column: span 6; padding: 2rem; background: var(--panel); border: 1px solid var(--line); }
.category h2 { font-size: 2.35rem; }
.category > p { color: var(--paper-muted); }
.book-list { list-style: none; padding: 0; margin: 1.4rem 0 0; border-top: 1px solid var(--line); }
.book-list li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.35rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.book-list strong { display: block; color: var(--paper); }
.book-list .book-synopsis {
  color: var(--paper-muted);
  font-size: .98rem;
  line-height: 1.7;
  margin: .65rem 0 0;
}

.amazon-link { display: inline-block; margin-top: .75rem; color: var(--amber-bright); font-weight: 800; font-size: .88rem; }
.ad-note { padding: 1rem 1.2rem; margin-bottom: 2rem; border-left: 3px solid var(--amber); background: rgba(216,155,82,.08); color: var(--paper-muted); }
.list-jump { max-width: 650px; margin: 1.25rem 0 1.5rem; }
.list-jump label { display: block; margin-bottom: .45rem; color: var(--paper-muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.list-jump-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
.list-jump select { min-height: 48px; width: 100%; padding: .7rem 2.4rem .7rem .8rem; border: 1px solid rgba(245,240,230,.28); border-radius: .2rem; background: var(--ink-soft); color: var(--paper); font: inherit; }
.list-jump select:focus { outline: 2px solid var(--amber-bright); outline-offset: 2px; }
.list-jump-row > a { display: inline-flex; align-items: center; min-height: 48px; padding: .65rem 1rem; border: 1px solid var(--amber); color: var(--amber-bright); font-weight: 800; text-decoration: none; white-space: nowrap; }
.list-jump-row > a:hover { background: rgba(216,155,82,.12); }
.list-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.list-pagination > a { display: flex; min-height: 120px; padding: 1.25rem; flex-direction: column; justify-content: center; background: var(--panel); border: 1px solid var(--line); color: var(--paper); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.list-pagination > a:hover { border-color: rgba(216,155,82,.62); transform: translateY(-2px); }
.list-pagination .next { align-items: flex-end; text-align: right; }
.list-pagination .direction { color: var(--amber-bright); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.list-pagination .list-name { margin-top: .4rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }

.list-hub-card { grid-column: span 6; min-height: 290px; display: flex; flex-direction: column; padding: 2rem; background: linear-gradient(145deg, var(--panel), #0c1923); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.list-hub-card:hover { transform: translateY(-4px); border-color: rgba(216,155,82,.62); }
.list-hub-card h2 { font-size: clamp(2rem, 4vw, 3rem); }
.list-hub-card p { color: var(--paper-muted); }
.list-hub-card .list-count { margin-top: auto; padding-top: 1rem; color: var(--amber-bright); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.list-back { display: inline-block; margin-bottom: 1.5rem; color: var(--amber-bright); font-weight: 800; text-underline-offset: .25rem; }
.single-list { max-width: 900px; }
.single-list .category { width: 100%; }
.list-section + .list-section { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.list-section-head { max-width: 760px; margin-bottom: 1.7rem; }
.list-section-head h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.list-section-head p { color: var(--paper-muted); }
.list-status { padding: 1rem 1.2rem; margin-bottom: 1.5rem; background: var(--panel-soft); border: 1px solid var(--line); color: var(--paper-muted); }
.instagram-source { margin: 1.8rem 0 0; text-align: center; }
.instagram-source a { color: var(--amber-bright); font-weight: 800; }

.talk-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.talk-card { grid-column: span 6; min-height: 320px; display: flex; flex-direction: column; padding: 2rem; background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.talk-card.featured { grid-column: span 12; min-height: 360px; background: linear-gradient(135deg, #183044, #0e1d28); }
.talk-card:hover { transform: translateY(-4px); border-color: rgba(216,155,82,.62); }
.talk-card h2 { max-width: 820px; font-size: clamp(2.15rem, 5vw, 4rem); }
.talk-card p { max-width: 760px; color: var(--paper-muted); }
.talk-card .read-more { margin-top: auto; padding-top: 1.25rem; color: var(--amber-bright); font-weight: 800; }
.article-shell { max-width: 830px; }
.article-meta { color: var(--amber-bright); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-figure { margin: 1.5rem 0 2.7rem; }
.article-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-body { font-family: var(--serif); font-size: clamp(1.12rem, 2vw, 1.25rem); line-height: 1.8; }
.article-body h2 { margin: 3rem 0 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.article-body p, .article-body li { color: #e2dbcf; }
.article-body li + li { margin-top: .7rem; }
.article-body .pull-quote { margin: 2.5rem 0; padding: 1.7rem 2rem; border-left: 4px solid var(--amber); background: var(--panel); color: var(--paper); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; }
.discussion-box { margin-top: 3rem; padding: 2rem; background: var(--paper); color: var(--ink); }
.discussion-box h2 { margin-top: 0; color: var(--ink); }
.discussion-box p { color: #27313a; }
.discussion-box a { color: #744411; font-weight: 800; }
.article-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; font-family: var(--sans); }
.article-pagination a { display: flex; flex-direction: column; justify-content: center; min-height: 125px; padding: 1.25rem; background: var(--panel); border: 1px solid var(--line); color: var(--paper); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.article-pagination a:hover { border-color: rgba(216,155,82,.62); transform: translateY(-2px); }
.article-pagination .next { text-align: right; align-items: flex-end; }
.article-pagination .direction { color: var(--amber-bright); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-pagination .article-name { margin-top: .35rem; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }

.prose { max-width: 800px; }
.prose h2 { font-size: 2.15rem; margin: 2.7rem 0 .8rem; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose p, .prose li { color: #ddd6ca; }
.prose a { color: var(--amber-bright); }

.about-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 3rem; align-items: start; }
.about-note { background: var(--paper); color: var(--ink); padding: 2rem; box-shadow: var(--shadow); }
.about-note h2 { font-size: 2rem; }
.about-note a { color: #744411; font-weight: 800; }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); color: var(--paper-muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--paper-muted); }
.associate { max-width: 750px; font-size: .84rem; margin-top: 1.2rem; }

@media (max-width: 900px) {
  .mood-card { grid-column: span 6; }
  .review-card, .review-card.featured { grid-column: span 6; }
  .review-entry { grid-template-columns: 100px 120px minmax(0, 1fr); gap: 1.2rem; }
  .category { grid-column: span 12; }
  .list-hub-card { grid-column: span 12; }
  .talk-card, .talk-card.featured { grid-column: span 12; }
  .review-tools { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .header-inner, .wrap { width: min(100% - 1.5rem, 1180px); }
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.3rem;
    background: #08121b;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    flex-direction: column;
  }
  .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: .35rem 0; }
  .hero { min-height: 660px; background-position: 62% center; }
  .hero-content { padding-block: 5rem; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 1rem; }
  .mood-card, .review-card, .review-card.featured { grid-column: span 12; }
  .review-card { grid-template-columns: 78px minmax(0, 1fr); min-height: 0; }
  .review-entry { grid-template-columns: 82px minmax(0, 1fr); gap: 1.1rem; padding: 1.35rem; }
  .review-copy { grid-column: 1 / -1; }
  .book-list li { grid-template-columns: 82px minmax(0, 1fr); gap: .9rem; }
  .review-tools { grid-template-columns: 1fr; }
  .article-pagination { grid-template-columns: 1fr; }
  .article-pagination .next { text-align: left; align-items: flex-start; }
  .list-jump-row { grid-template-columns: 1fr; }
  .list-jump-row > a { justify-content: center; }
  .list-pagination { grid-template-columns: 1fr; }
  .list-pagination .next { align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
}

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