.words-page { --word-paper: #e8ddcc; }
.words-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px var(--pad); border-bottom: 1px solid var(--line); }
.words-nav .brand { mix-blend-mode: normal; }
.words-nav nav { display: flex; align-items: center; gap: 27px; font-size: 12px; }
.words-nav nav > a[aria-current] { color: var(--red); }
.words-main { max-width: 1568px; padding: 0 var(--pad); margin: auto; }
.words-intro { padding: 80px 0 58px; display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
.words-intro .eyebrow { color: var(--red); font-size: 11px; letter-spacing: .18em; }
.words-intro h1 { font-size: clamp(56px, 8vw, 124px); line-height: .98; letter-spacing: -.075em; margin: 28px 0 0; }
.words-intro h1 em { color: var(--red); font-style: normal; }
.words-intro-aside { max-width: 360px; color: #aaa69e; line-height: 1.9; font-size: 14px; }
.words-intro-aside a { display: inline-block; color: var(--fg); border-bottom: 1px solid #666057; padding: 8px 0; margin-top: 16px; }
.quote-controls { border-top: 1px solid #41403a; border-bottom: 1px solid #41403a; padding: 22px 0; display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: space-between; align-items: end; margin-bottom: 30px; }
.words-page [hidden] { display: none !important; }
.quote-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.quote-filters button, .quote-actions button, #clear-search { background: transparent; color: var(--fg); border: 1px solid #3c3b35; min-height: 44px; padding: 10px 15px; font: inherit; font-size: 12px; cursor: pointer; }
.quote-filters button[aria-pressed="true"] { background: var(--fg); color: #171613; border-color: var(--fg); }
.quote-search { display: grid; gap: 8px; font-size: 10px; color: #a9a49a; }
.quote-search input { width: min(100%, 280px); min-height: 44px; background: #151512; color: var(--fg); border: 1px solid #444137; padding: 11px 14px; font: inherit; font-size: 16px; border-radius: 0; }
#quote-count { color: #b9b2a6; font-size: 11px; white-space: nowrap; padding-bottom: 12px; }
.quote-card { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 32px; padding: 44px 0; border-bottom: 1px solid #33312d; scroll-margin-top: 24px; }
.quote-meta { font-size: 10px; letter-spacing: .1em; color: #979187; }
.quote-meta span { display: block; }
.quote-meta .quote-category { color: var(--red); font-size: 12px; margin: 18px 0; font-weight: 650; }
.quote-new { display: inline-flex !important; color: #fff; background: var(--red); padding: 6px 9px; }
.quote-featured { background: var(--word-paper); color: #171512; padding: clamp(25px, 4vw, 58px); margin: 0 0 10px; border: 0; }
.quote-featured .quote-meta { color: #736554; }
.quote-body { min-width: 0; }
.quote-body h2 { font-size: 14px; font-weight: 550; margin: 0 0 25px; letter-spacing: .04em; }
.quote-text { font-size: clamp(18px, 1.5vw, 23px); line-height: 1.95; font-weight: 500; letter-spacing: 0; margin: 0; white-space: pre-line; overflow-wrap: break-word; }
.quote-illustrated { grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 28px clamp(24px, 3.5vw, 54px); }
.quote-illustrated .quote-meta { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.quote-illustrated .quote-category { margin: 0; }
.quote-illustrated .quote-body { align-self: center; }
.quote-illustrated:has(.quote-reader[open]) .quote-body { align-self: start; }
.quote-artwork { margin: 0; position: sticky; top: 24px; align-self: start; }
.quote-artwork img { display: block; width: 100%; height: auto; }
.quote-artwork a { display: block; cursor: zoom-in; }
.quote-artwork figcaption { margin-top: 13px; font-size: 10px; color: #736554; line-height: 1.6; }
.quote-pull { font-size: clamp(28px, 3.5vw, 52px); font-weight: 750; line-height: 1.3; letter-spacing: -.05em; text-wrap: balance; white-space: pre-line; margin: 0 0 24px; }
.quote-reader > summary { list-style: none; cursor: pointer; }
.quote-reader > summary::-webkit-details-marker { display: none; }
.quote-reader > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 8px; }
.quote-toggle { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 12px; border-bottom: 1px solid currentColor; }
.quote-toggle-icon { font-size: 24px; font-weight: 400; line-height: 1; }
.quote-hide, .quote-reader[open] > summary .quote-show { display: none; }
.quote-reader[open] > summary .quote-hide { display: inline; }
.quote-reader[open] > summary .quote-toggle-icon { transform: rotate(45deg); }
.quote-full { margin-top: 30px; padding-top: 28px; border-top: 1px solid #514b41; }
.quote-featured .quote-full { border-color: #b2a58f; }
.quote-attribution { margin: 25px 0 0; font-size: 12px; color: #a49e93; }
.quote-featured .quote-attribution { color: #6d604f; }
.quote-actions { margin-top: 22px; display: flex; align-items: center; gap: 20px; }
.quote-actions a { font-size: 11px; padding: 12px 0; text-decoration: underline; text-underline-offset: 5px; }
.quote-featured .quote-actions button { color: #272019; border-color: #a69a87; }
.quote-actions button:hover { border-color: var(--red); }
.quote-original { border-top: 1px solid #b2a58f; margin-top: 25px; padding-top: 18px; }
.quote-original summary { font-size: 12px; cursor: pointer; padding: 5px 0; }
.quote-original blockquote { white-space: pre-line; font-size: 16px; line-height: 1.9; margin: 18px 0 0; }
.quote-empty { padding: 60px 0; text-align: center; color: #b9b2a6; }
.copy-status { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--fg); color: #171512; font-size: 12px; padding: 13px 20px; max-width: calc(100vw - 40px); width: max-content; box-shadow: 0 4px 25px #0004; z-index: 20; }
.copy-status:empty { display: none; }
.words-footer { display: flex; flex-wrap: wrap; gap: 22px; justify-content: space-between; align-items: center; padding: 42px var(--pad); border-top: 1px solid var(--line); margin-top: 60px; }
.words-footer nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 12px; }
.words-footer p { font-size: 12px; color: #aaa49a; }
@media (max-width: 760px) {
  .words-nav { padding: 18px var(--pad); gap: 15px; }
  .words-nav nav { gap: 15px; }
  .words-nav .words-home { display: none; }
  .words-intro { grid-template-columns: 1fr; padding: 44px 0 35px; gap: 26px; }
  .words-intro h1 { font-size: clamp(60px, 14vw, 96px); }
  .words-intro-aside { max-width: 460px; }
  .quote-controls { align-items: start; }
  .quote-search { flex: 1; }
  .quote-search input { width: 100%; }
  #quote-count { align-self: end; }
  .quote-card { grid-template-columns: 1fr; gap: 22px; padding: 30px 0; }
  .quote-featured { padding: 26px 20px; }
  .quote-meta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .quote-meta .quote-category { margin: 0; }
  .quote-text { font-size: 18px; }
  .quote-artwork { position: static; max-width: 200px; }
  .quote-body h2 { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .words-page { scroll-behavior: auto; } }
