
    :root {
      --ink: #163c36;
      --ink-deep: #0e2925;
      --ink-soft: #2b554c;
      --paper: #f4f0e7;
      --paper-bright: #fbf9f3;
      --paper-deep: #e7e1d3;
      --line: rgba(22, 60, 54, .16);
      --line-strong: rgba(22, 60, 54, .3);
      --muted: #6b7770;
      --copper: #bb744d;
      --copper-light: #d6a27e;
      --white: #fffdf8;
      --shadow: 0 18px 50px rgba(15, 43, 37, .11);
      --shadow-deep: 0 28px 80px rgba(8, 35, 30, .2);
      --radius-lg: 28px;
      --radius-md: 16px;
      --radius-sm: 10px;
      --content-width: 1240px;
      --ease: cubic-bezier(.22, 1, .36, 1);
      --display-font: Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", serif;
      --body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      min-width: 320px;
      margin: 0;
      color: var(--ink);
      background:
        linear-gradient(rgba(22, 60, 54, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 60, 54, .025) 1px, transparent 1px),
        radial-gradient(circle at 82% 5%, rgba(187, 116, 77, .11), transparent 28rem),
        var(--paper);
      background-size: 42px 42px, 42px 42px, auto, auto;
      font-family: var(--body-font);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::before {
      position: fixed;
      z-index: -1;
      inset: 0;
      pointer-events: none;
      content: "";
      opacity: .34;
      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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
      mix-blend-mode: multiply;
    }

    a { color: inherit; }

    button, input { font: inherit; }

    button { cursor: pointer; }

    :focus-visible {
      outline: 3px solid var(--copper);
      outline-offset: 4px;
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .shell {
      width: min(calc(100% - 48px), var(--content-width));
      margin: 0 auto;
    }

    .site-header {
      position: sticky;
      z-index: 20;
      top: 0;
      padding: 18px 0;
      border-bottom: 1px solid transparent;
      background: rgba(244, 240, 231, .83);
      backdrop-filter: blur(18px);
    }

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

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--ink);
      text-decoration: none;
    }

    .brand-mark {
      display: grid;
      width: 38px;
      height: 38px;
      place-items: center;
      border: 1px solid var(--ink);
      border-radius: 50%;
      color: var(--paper-bright);
      background: var(--ink);
      font-family: var(--display-font);
      font-size: 21px;
      line-height: 1;
    }

    .brand-name {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: .14em;
    }

    .brand-name span {
      display: block;
      margin-top: 1px;
      color: var(--muted);
      font-size: 9px;
      font-weight: 600;
      letter-spacing: .24em;
    }

    .header-meta {
      display: flex;
      align-items: center;
      gap: 22px;
      color: var(--muted);
      font-size: 12px;
      letter-spacing: .08em;
    }

    .header-count {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .header-count::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--copper);
      content: "";
    }

    .header-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--ink);
      font-weight: 700;
      text-decoration: none;
    }

    .header-link svg { width: 14px; height: 14px; }

    .header-feedback { border: 0; padding: 0; color: var(--ink); background: transparent; }
    .header-feedback:hover { color: var(--copper); }

    .hero {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
      gap: clamp(48px, 8vw, 130px);
      align-items: center;
      min-height: min(760px, calc(100dvh - 80px));
      padding: 82px 0 76px;
    }

    .hero::after {
      position: absolute;
      top: 24%;
      right: -16%;
      width: 430px;
      height: 430px;
      border: 1px solid rgba(22, 60, 54, .12);
      border-radius: 50%;
      box-shadow: 0 0 0 34px rgba(22, 60, 54, .025), 0 0 0 68px rgba(22, 60, 54, .025);
      content: "";
      pointer-events: none;
    }

    .hero-copy,
    .featured-panel { position: relative; z-index: 1; }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 24px;
      color: var(--copper);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .2em;
    }

    .eyebrow::before {
      width: 32px;
      height: 1px;
      background: currentColor;
      content: "";
    }

    h1, h2, h3, p, blockquote { margin-top: 0; }

    h1 {
      max-width: 680px;
      margin-bottom: 26px;
      color: var(--ink-deep);
      font-family: var(--display-font);
      font-size: clamp(48px, 7.2vw, 94px);
      font-weight: 400;
      letter-spacing: -.07em;
      line-height: .98;
    }

    .hero-intro {
      max-width: 480px;
      margin-bottom: 34px;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.9;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .button {
      display: inline-flex;
      min-height: 48px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 11px 18px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .04em;
      text-decoration: none;
      transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
    }

    .button:hover { transform: translateY(-2px); }

    .button-primary {
      color: var(--paper-bright);
      background: var(--ink);
      box-shadow: 0 10px 20px rgba(14, 41, 37, .15);
    }

    .button-primary:hover { background: var(--ink-deep); box-shadow: 0 14px 28px rgba(14, 41, 37, .2); }

    .button-quiet {
      border-color: var(--line-strong);
      color: var(--ink);
      background: rgba(251, 249, 243, .42);
    }

    .button-quiet:hover { border-color: var(--ink); background: var(--paper-bright); }

    .button svg { width: 16px; height: 16px; }

    .hero-index {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-top: 60px;
      color: var(--muted);
      font-size: 11px;
      letter-spacing: .12em;
    }

    .hero-index .index-line { width: 72px; height: 1px; background: var(--line-strong); }

    .featured-panel {
      padding: clamp(28px, 4vw, 48px);
      border: 1px solid rgba(251, 249, 243, .14);
      border-radius: var(--radius-lg);
      color: var(--paper-bright);
      background:
        linear-gradient(145deg, rgba(255,255,255,.04), transparent 52%),
        var(--ink);
      box-shadow: var(--shadow-deep);
      overflow: hidden;
    }

    .featured-panel::before {
      position: absolute;
      top: -130px;
      right: -80px;
      width: 250px;
      height: 250px;
      border: 1px solid rgba(214, 162, 126, .32);
      border-radius: 50%;
      box-shadow: 0 0 0 24px rgba(214, 162, 126, .06), 0 0 0 48px rgba(214, 162, 126, .05);
      content: "";
    }

    .featured-kicker {
      display: flex;
      position: relative;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 22px;
      border-bottom: 1px solid rgba(251, 249, 243, .18);
      color: var(--copper-light);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .18em;
    }

    .featured-kicker .featured-number { color: rgba(251, 249, 243, .5); font-weight: 500; letter-spacing: .08em; }

    .featured-quote-wrap {
      position: relative;
      min-height: 304px;
      padding: 42px 0 28px;
    }

    .featured-quote-wrap.is-changing { animation: featured-change .45s var(--ease); }

    @keyframes featured-change {
      from { opacity: .25; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .quote-mark {
      color: var(--copper-light);
      font-family: var(--display-font);
      font-size: 54px;
      line-height: .6;
    }

    .featured-quote {
      max-width: 520px;
      margin: 20px 0 28px;
      color: var(--paper-bright);
      font-family: var(--display-font);
      font-size: clamp(28px, 3vw, 43px);
      font-weight: 400;
      letter-spacing: -.045em;
      line-height: 1.38;
    }

    .featured-author { color: rgba(251, 249, 243, .64); font-size: 13px; }

    .featured-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-top: 22px;
      border-top: 1px solid rgba(251, 249, 243, .18);
      color: rgba(251, 249, 243, .54);
      font-size: 12px;
    }

    .featured-footer .quote-category { color: var(--copper-light); }

    .chapter-strip {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      margin-bottom: 126px;
      border-top: 1px solid var(--line-strong);
      border-bottom: 1px solid var(--line-strong);
    }

    .chapter-button {
      display: flex;
      min-height: 124px;
      flex-direction: column;
      justify-content: space-between;
      padding: 18px 18px 16px;
      border: 0;
      border-right: 1px solid var(--line);
      color: var(--ink);
      text-align: left;
      background: transparent;
      transition: color .25s var(--ease), background-color .25s var(--ease), padding .25s var(--ease);
    }

    .chapter-button:last-child { border-right: 0; }

    .chapter-button:hover,
    .chapter-button.is-active { padding-left: 23px; color: var(--paper-bright); background: var(--ink); }

    .chapter-button .chapter-number { color: var(--copper); font-family: var(--display-font); font-size: 20px; }

    .chapter-button:hover .chapter-number,
    .chapter-button.is-active .chapter-number { color: var(--copper-light); }

    .chapter-button .chapter-label { font-size: 13px; font-weight: 700; }
    .chapter-button .chapter-count { color: var(--muted); font-size: 11px; }
    .chapter-button:hover .chapter-count,
    .chapter-button.is-active .chapter-count { color: rgba(251, 249, 243, .65); }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 36px;
    }

    .section-heading h2 {
      max-width: 670px;
      margin-bottom: 0;
      color: var(--ink-deep);
      font-family: var(--display-font);
      font-size: clamp(34px, 4.8vw, 62px);
      font-weight: 400;
      letter-spacing: -.06em;
      line-height: 1.08;
    }

    @media (min-width: 1025px) {
      .section-heading h2 { max-width: none; white-space: nowrap; }
    }

    .section-meta {
      flex: 0 0 auto;
      color: var(--muted);
      font-size: 12px;
      letter-spacing: .08em;
      text-align: right;
    }

    .section-meta strong { display: block; color: var(--ink); font-family: var(--display-font); font-size: 32px; font-weight: 400; letter-spacing: -.04em; }

    .toolbar {
      display: grid;
      grid-template-columns: minmax(230px, 1fr) auto;
      gap: 18px;
      align-items: end;
      margin-bottom: 20px;
      padding: 20px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .search-field { position: relative; }

    .search-label {
      display: block;
      margin-bottom: 7px;
      color: var(--muted);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .search-input-wrap { position: relative; }

    .search-input-wrap svg {
      position: absolute;
      top: 50%;
      left: 15px;
      width: 18px;
      height: 18px;
      color: var(--muted);
      transform: translateY(-50%);
      pointer-events: none;
    }

    .search-input {
      width: 100%;
      min-height: 48px;
      padding: 11px 42px 11px 45px;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius-sm);
      color: var(--ink);
      background: rgba(251, 249, 243, .58);
      outline: none;
      transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
    }

    .search-input::placeholder { color: #8c958e; }
    .search-input:hover { background: var(--paper-bright); }
    .search-input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22, 60, 54, .08); }

    .search-clear {
      position: absolute;
      top: 50%;
      right: 8px;
      display: grid;
      width: 32px;
      height: 32px;
      place-items: center;
      border: 0;
      border-radius: 50%;
      color: var(--muted);
      background: transparent;
      transform: translateY(-50%);
    }

    .search-clear:hover { color: var(--ink); background: var(--paper-deep); }
    .search-clear svg { width: 16px; height: 16px; }

    .toolbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

    .filter-button,
    .favorites-toggle,
    .clear-filters {
      min-height: 44px;
      padding: 9px 13px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      background: transparent;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s var(--ease);
    }

    .filter-button:hover,
    .filter-button.is-active,
    .favorites-toggle:hover,
    .favorites-toggle.is-active {
      border-color: var(--ink);
      color: var(--paper-bright);
      background: var(--ink);
    }

    .favorites-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .favorites-toggle svg { width: 15px; height: 15px; }

    .clear-filters {
      border-color: transparent;
      color: var(--copper);
      background: transparent;
    }

    .clear-filters:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-1px); }

    .quote-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      padding-bottom: 124px;
    }

    .quote-card {
      position: relative;
      display: flex;
      min-height: 300px;
      flex-direction: column;
      justify-content: space-between;
      padding: 25px 26px 22px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: rgba(251, 249, 243, .63);
      box-shadow: 0 5px 0 rgba(22, 60, 54, .02);
      transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
      animation: card-enter .55s var(--ease) both;
    }

    .quote-card:nth-child(2n) { animation-delay: .04s; }
    .quote-card:nth-child(3n) { animation-delay: .08s; }

    @keyframes card-enter {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .quote-card:hover,
    .quote-card:focus-within {
      border-color: rgba(22, 60, 54, .42);
      background: var(--paper-bright);
      box-shadow: var(--shadow);
      transform: translateY(-4px);
    }

    .quote-card.is-featured { border-color: rgba(187, 116, 77, .45); }

    .quote-card-top,
    .quote-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

    .quote-number { color: var(--copper); font-family: var(--display-font); font-size: 20px; line-height: 1; }

    .quote-tag {
      padding: 5px 9px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      font-size: 10px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .quote-card .quote-mark { margin-top: 21px; color: var(--copper); font-size: 40px; }

    .quote-text {
      max-width: 600px;
      margin: -4px 0 32px;
      color: var(--ink-deep);
      font-family: var(--display-font);
      font-size: clamp(21px, 2.4vw, 29px);
      letter-spacing: -.045em;
      line-height: 1.48;
    }

    .quote-card-bottom { padding-top: 15px; border-top: 1px solid var(--line); }

    .quote-author { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
    .author-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }

    .favorite-button {
      display: inline-flex;
      min-width: 44px;
      min-height: 44px;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 8px 10px;
      border: 1px solid var(--line);
      border-radius: 999px;
      color: var(--muted);
      background: transparent;
      font-size: 11px;
      font-weight: 700;
      transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s var(--ease);
    }

    .favorite-button svg { width: 16px; height: 16px; }

    .favorite-button:hover,
    .favorite-button.is-saved {
      border-color: var(--copper);
      color: var(--copper);
      background: rgba(187, 116, 77, .08);
    }

    .favorite-button:hover { transform: translateY(-1px); }

    .empty-state {
      padding: 68px 24px 116px;
      border-top: 1px solid var(--line-strong);
      text-align: center;
    }

    .empty-state[hidden], .quote-grid[hidden], .search-clear[hidden], .clear-filters[hidden] { display: none; }
    .empty-state h3 { margin-bottom: 7px; font-family: var(--display-font); font-size: 30px; font-weight: 400; }
    .empty-state p { margin-bottom: 20px; color: var(--muted); }

    .site-footer {
      padding: 72px 0 42px;
      color: var(--paper-bright);
      background: var(--ink);
    }

    .footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
    .footer-quote { max-width: none; margin: 0; font-family: var(--display-font); font-size: clamp(27px, 4vw, 48px); letter-spacing: -.05em; line-height: 1.15; white-space: nowrap; }
    .footer-note { max-width: 260px; margin: 0; color: rgba(251, 249, 243, .58); font-size: 12px; line-height: 1.8; text-align: right; }
    .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 15px; border-top: 1px solid rgba(251, 249, 243, .18); color: rgba(251, 249, 243, .44); font-size: 11px; letter-spacing: .08em; }

    @media (max-width: 1024px) {
      .hero { gap: 48px; padding-top: 64px; }
      .chapter-strip { margin-bottom: 94px; }
      .chapter-button { padding-inline: 13px; }
      .chapter-button:hover, .chapter-button.is-active { padding-left: 17px; }
    }

    @media (max-width: 720px) {
      .shell { width: min(calc(100% - 32px), var(--content-width)); }
      .site-header { padding: 12px 0; }
      .brand-mark { width: 34px; height: 34px; font-size: 19px; }
      .brand-name { font-size: 12px; }
      .header-meta { gap: 12px; font-size: 10px; }
      .header-link { font-size: 0; }
      .header-link svg { width: 19px; height: 19px; }
      .hero { display: block; min-height: auto; padding: 68px 0 58px; }
      .hero::after { top: 9%; right: -42%; width: 280px; height: 280px; }
      h1 { max-width: 480px; font-size: clamp(48px, 15vw, 72px); }
      .hero-intro { max-width: 440px; font-size: 16px; }
      .hero-index { margin-top: 38px; }
      .featured-panel { margin-top: 58px; }
      .featured-quote-wrap { min-height: auto; padding-block: 36px 30px; }
      .featured-quote { font-size: clamp(28px, 8vw, 38px); }
      .chapter-strip { display: flex; gap: 0; margin-inline: -16px; margin-bottom: 78px; overflow-x: auto; border-right: 0; border-left: 0; scrollbar-width: none; }
      .chapter-strip::-webkit-scrollbar { display: none; }
      .chapter-button { min-width: 138px; flex: 0 0 138px; }
      .section-heading { display: block; margin-bottom: 28px; }
      .section-meta { margin-top: 16px; text-align: left; }
      .section-meta strong { display: inline; margin-right: 7px; font-size: 25px; }
      .toolbar { display: block; padding-block: 16px; }
      .toolbar-actions { margin-top: 13px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
      .toolbar-actions::-webkit-scrollbar { display: none; }
      .filter-button, .favorites-toggle, .clear-filters { flex: 0 0 auto; }
      .quote-grid { grid-template-columns: 1fr; gap: 14px; padding-bottom: 76px; }
      .quote-card { min-height: 280px; padding: 22px 20px 18px; }
      .quote-text { font-size: 25px; }
      .footer-inner { display: block; }
      .footer-note { margin-top: 24px; text-align: left; }
      .footer-bottom { display: block; margin-top: 52px; }
      .footer-bottom span + span { display: block; margin-top: 7px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    }

    /* Responsive reading canvas: preserve the editorial rhythm at every width. */
    main { overflow-x: clip; }

    button, a { touch-action: manipulation; }

    @media (min-width: 1440px) {
      .shell { width: min(calc(100% - 96px), 1320px); }
      .hero { gap: clamp(82px, 8vw, 148px); padding-block: 96px 108px; }
      .quote-grid { gap: 22px; }
      .quote-card { min-height: 330px; padding: 29px 30px 24px; }
    }

    @media (min-width: 981px) and (max-width: 1199px) {
      .shell { width: min(calc(100% - 64px), var(--content-width)); }
      .hero { gap: 38px; padding-block: 62px 68px; }
      h1 { font-size: clamp(52px, 7vw, 76px); }
      .featured-panel { padding: 32px; }
      .featured-quote { font-size: clamp(27px, 3vw, 37px); }
      .toolbar { grid-template-columns: 1fr; align-items: stretch; }
      .toolbar-actions { margin-top: 4px; }
      .quote-text { font-size: clamp(20px, 2.1vw, 26px); }
    }

    @media (min-width: 768px) and (max-width: 980px) {
      .shell { width: min(calc(100% - 48px), 860px); }
      .hero { display: block; min-height: auto; padding-block: 58px 62px; }
      .hero::after { top: 8%; right: -22%; width: 360px; height: 360px; }
      h1 { max-width: 650px; font-size: clamp(52px, 8vw, 78px); }
      .hero-intro { max-width: 620px; }
      .featured-panel { max-width: 760px; margin-top: 52px; }
      .featured-quote-wrap { min-height: 266px; }
      .chapter-strip { display: flex; gap: 0; margin-inline: -24px; overflow-x: auto; border-right: 0; border-left: 0; scrollbar-width: none; }
      .chapter-strip::-webkit-scrollbar { display: none; }
      .chapter-button { min-width: 166px; flex: 0 0 166px; }
      .toolbar { grid-template-columns: 1fr; align-items: stretch; }
      .toolbar-actions { margin-top: 4px; }
      .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
      .quote-card { min-height: 290px; padding: 22px 21px 19px; }
      .quote-text { font-size: clamp(19px, 2.8vw, 26px); }
      .footer-inner { align-items: center; }
    }

    @media (max-width: 767px) {
      body { overflow-x: clip; }
      .shell { width: calc(100% - 32px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
      .site-header { padding-right: env(safe-area-inset-right); padding-left: env(safe-area-inset-left); }
      .site-footer { padding-right: env(safe-area-inset-right); padding-bottom: calc(42px + env(safe-area-inset-bottom)); padding-left: env(safe-area-inset-left); }
      .hero { padding-top: 64px; }
      .featured-panel { margin-right: max(0px, env(safe-area-inset-right)); margin-left: max(0px, env(safe-area-inset-left)); }
      .featured-quote, .quote-text { overflow-wrap: anywhere; }
      .chapter-strip { margin-right: calc(-16px - env(safe-area-inset-right)); margin-left: calc(-16px - env(safe-area-inset-left)); padding-right: env(safe-area-inset-right); padding-left: env(safe-area-inset-left); scroll-padding-inline: 16px; scroll-snap-type: x proximity; }
      .chapter-button { scroll-snap-align: start; }
      .toolbar-actions { scroll-padding-inline: 2px; scroll-snap-type: x proximity; }
      .toolbar-actions > * { scroll-snap-align: start; }
      .quote-card { min-height: 0; }
      .quote-card-bottom { align-items: flex-end; }
      .quote-author { min-width: 0; overflow-wrap: anywhere; }
      .footer-quote { overflow-wrap: anywhere; white-space: normal; }
    }

    /* Quiet interactions: keep the atmosphere editorial, make the play feel intentional. */
    .featured-footer { align-items: flex-start; }
    .featured-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
    .featured-action {
      min-height: 32px;
      padding: 5px 9px;
      border: 1px solid rgba(251, 249, 243, .2);
      border-radius: 999px;
      color: rgba(251, 249, 243, .72);
      background: rgba(251, 249, 243, .04);
      font-size: 10px;
      font-weight: 700;
      transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s var(--ease);
    }
    .featured-action:hover,
    .featured-action:focus-visible { border-color: var(--copper-light); color: var(--paper-bright); background: rgba(214, 162, 126, .14); transform: translateY(-1px); }
    .featured-segment { display: block; opacity: 0; transform: translateY(8px); animation: segment-in .5s var(--ease) forwards; animation-delay: calc(var(--segment-index) * 90ms); }
    .ritual-status { margin-top: 14px; color: rgba(251, 249, 243, .48); font-size: 10px; letter-spacing: .08em; text-align: right; }

    .mood-section { margin-bottom: 116px; }
    .mood-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
    .mood-heading .eyebrow { margin-bottom: 15px; }
    .mood-heading h2 { max-width: min(760px, 100%); margin: 0; color: var(--ink-deep); font-family: var(--display-font); font-size: clamp(32px, 4.2vw, 54px); font-weight: 400; letter-spacing: -.06em; line-height: 1.08; }
    .mood-note { max-width: 250px; margin: 0 0 4px; color: var(--muted); font-size: 12px; line-height: 1.8; text-align: right; }

    @media (min-width: 1280px) {
      .mood-heading h2 { max-width: none; white-space: nowrap; }
    }
    .mood-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .mood-button { min-height: 122px; padding: 17px 18px 15px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); text-align: left; background: rgba(251, 249, 243, .42); transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
    .mood-button:hover { border-color: var(--copper); background: var(--paper-bright); transform: translateY(-3px); box-shadow: var(--shadow); }
    .mood-button.is-active { border-color: var(--ink); color: var(--paper-bright); background: var(--ink); box-shadow: 0 12px 26px rgba(14, 41, 37, .14); }
    .mood-button-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
    .mood-label { font-family: var(--display-font); font-size: 29px; line-height: 1; }
    .mood-eyebrow { color: var(--copper); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
    .mood-button.is-active .mood-eyebrow { color: var(--copper-light); }
    .mood-copy { max-width: 200px; margin: 19px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
    .mood-button.is-active .mood-copy { color: rgba(251, 249, 243, .65); }
    .mood-clear { display: flex; align-items: end; justify-content: space-between; color: var(--muted); font-size: 13px; line-height: 1.4; }
    .mood-clear span { color: var(--copper); font-size: 10px; }
    .mood-clear:hover { color: var(--ink); }

    .comparison-drawer,
    .quiet-reading,
    .feedback-dialog { position: fixed; z-index: 50; inset: 0; align-items: center; justify-content: center; padding: 24px; background: rgba(14, 41, 37, .45); backdrop-filter: blur(14px); }
    .comparison-drawer:not([hidden]),
    .quiet-reading:not([hidden]),
    .feedback-dialog:not([hidden]) { display: flex; animation: modal-in .3s var(--ease); }
    @keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
    .comparison-shell { width: min(1180px, 100%); max-height: min(780px, calc(100dvh - 48px)); overflow: auto; padding: clamp(24px, 4vw, 44px); border: 1px solid rgba(251, 249, 243, .18); border-radius: var(--radius-lg); color: var(--paper-bright); background: var(--ink); box-shadow: var(--shadow-deep); }
    .comparison-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
    .comparison-header .eyebrow { margin-bottom: 12px; color: var(--copper-light); }
    .comparison-title { margin: 0; font-family: var(--display-font); font-size: clamp(30px, 4vw, 52px); font-weight: 400; letter-spacing: -.06em; line-height: 1.05; }
    .comparison-subtitle { max-width: 460px; margin: 12px 0 0; color: rgba(251, 249, 243, .58); font-size: 12px; line-height: 1.7; }
    .modal-close { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(251, 249, 243, .22); border-radius: 50%; color: var(--paper-bright); background: transparent; font-size: 20px; transition: background-color .2s ease, transform .2s var(--ease); }
    .modal-close:hover { background: rgba(251, 249, 243, .1); transform: rotate(6deg); }
    .comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
    .comparison-card { min-height: 300px; padding: 24px; border: 1px solid rgba(251, 249, 243, .16); border-radius: var(--radius-md); background: rgba(251, 249, 243, .06); }
    .comparison-card.is-secondary { background: rgba(214, 162, 126, .08); }
    .comparison-card-kicker { display: flex; justify-content: space-between; gap: 12px; color: var(--copper-light); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
    .comparison-card-number { color: rgba(251, 249, 243, .42); }
    .comparison-card-quote { margin: 34px 0 30px; font-family: var(--display-font); font-size: clamp(23px, 2.8vw, 36px); letter-spacing: -.045em; line-height: 1.32; }
    .comparison-card-segment { display: block; max-width: 100%; overflow-wrap: normal; word-break: normal; }
    .comparison-card-author { color: rgba(251, 249, 243, .52); font-size: 12px; }
    .comparison-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(251, 249, 243, .14); }
    .comparison-actions button { min-height: 40px; padding: 8px 12px; border: 1px solid rgba(251, 249, 243, .2); border-radius: 999px; color: rgba(251, 249, 243, .78); background: transparent; font-size: 11px; font-weight: 700; }
    .comparison-actions button:hover { border-color: var(--copper-light); color: var(--paper-bright); background: rgba(214, 162, 126, .1); }
    .comparison-empty { padding: 58px 20px; border: 1px dashed rgba(251, 249, 243, .22); border-radius: var(--radius-md); color: rgba(251, 249, 243, .62); text-align: center; }
    .comparison-empty strong { display: block; margin-bottom: 8px; color: var(--paper-bright); font-family: var(--display-font); font-size: 27px; font-weight: 400; }
    .comparison-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; }
    .comparison-footer button { min-height: 42px; padding: 9px 14px; border: 1px solid rgba(251, 249, 243, .22); border-radius: 999px; color: var(--paper-bright); background: transparent; font-size: 11px; font-weight: 700; }
    .comparison-footer button:hover { border-color: var(--copper-light); background: rgba(214, 162, 126, .1); }
    .comparison-footer button:disabled { cursor: not-allowed; opacity: .35; }

    .quiet-reading-card { width: min(1040px, 100%); max-height: calc(100dvh - 48px); overflow: auto; padding: clamp(30px, 6vw, 68px); border: 1px solid rgba(251, 249, 243, .18); border-radius: var(--radius-lg); color: var(--paper-bright); background: var(--ink); box-shadow: var(--shadow-deep); }
    .quiet-reading-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .quiet-reading-label { color: var(--copper-light); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
    .quiet-reading-title { max-width: 920px; margin: 55px 0 36px; font-family: var(--display-font); font-size: clamp(34px, 5.2vw, 62px); font-weight: 400; letter-spacing: -.06em; line-height: 1.22; }
    .quiet-reading-segment { display: block; max-width: 100%; overflow-wrap: normal; word-break: normal; opacity: 0; transform: translateY(10px); animation: segment-in .55s var(--ease) forwards; animation-delay: calc(var(--segment-index) * 120ms + 160ms); }
    @keyframes segment-in { to { opacity: 1; transform: translateY(0); } }
    .quiet-reading-foot { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(251, 249, 243, .18); }
    .quiet-reading-meta { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: rgba(251, 249, 243, .56); font-size: 12px; }
    .quiet-reading-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
    .quiet-reading-actions button { min-height: 40px; padding: 8px 13px; border: 1px solid rgba(251, 249, 243, .22); border-radius: 999px; color: rgba(251, 249, 243, .8); background: transparent; font-size: 11px; font-weight: 700; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
    .quiet-reading-actions button:hover { border-color: var(--copper-light); color: var(--paper-bright); background: rgba(214, 162, 126, .1); }
    .quote-card-actions { display: flex; align-items: center; gap: 6px; }
    .quiet-card-button { min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; }
    .quiet-card-button:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-deep); }

    .feedback-backdrop { position: absolute; inset: 0; }
    .feedback-card { position: relative; display: grid; grid-template-columns: minmax(285px, .82fr) minmax(520px, 1.18fr); width: min(1100px, 100%); min-height: min(640px, calc(100dvh - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; border: 1px solid rgba(251, 249, 243, .18); border-radius: var(--radius-lg); color: var(--paper-bright); background: var(--ink); box-shadow: var(--shadow-deep); }
    .feedback-intro { display: flex; flex-direction: column; padding: clamp(30px, 5vw, 58px) clamp(26px, 4vw, 52px); background: linear-gradient(155deg, rgba(214, 162, 126, .16), transparent 48%), var(--ink-deep); }
    .feedback-intro-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
    .feedback-kicker { margin: 0 0 13px; color: var(--copper-light); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
    .feedback-intro-top .feedback-kicker { margin-bottom: 0; }
    .feedback-time { padding: 7px 10px; border: 1px solid rgba(251, 249, 243, .25); border-radius: 999px; color: rgba(251, 249, 243, .68); font-size: 10px; white-space: nowrap; }
    .feedback-title { max-width: 390px; margin: clamp(42px, 6vw, 76px) 0 24px; color: var(--paper-bright); font-family: var(--display-font); font-size: clamp(40px, 4vw, 62px); font-weight: 400; letter-spacing: -.07em; line-height: 1.08; }
    .feedback-intro-copy { max-width: 360px; margin: 0; color: rgba(251, 249, 243, .62); font-size: 13px; line-height: 1.8; }
    .feedback-points { display: grid; gap: 18px; margin: auto 0 0; padding: 0; list-style: none; }
    .feedback-points li { display: flex; align-items: center; gap: 14px; }
    .feedback-points li > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(251, 249, 243, .28); border-radius: 10px; color: var(--copper-light); font-size: 18px; }
    .feedback-points strong,
    .feedback-points small { display: block; }
    .feedback-points strong { color: var(--paper-bright); font-size: 12px; }
    .feedback-points small { margin-top: 4px; color: rgba(251, 249, 243, .46); font-size: 10px; }
    .feedback-form-panel { min-width: 0; overflow: auto; padding: clamp(26px, 4vw, 50px); color: var(--ink); background: var(--paper-bright); }
    .feedback-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
    .feedback-form-title { margin: 0; color: var(--ink-deep); font-family: var(--display-font); font-size: clamp(30px, 3.5vw, 48px); font-weight: 400; letter-spacing: -.06em; line-height: 1.08; }
    .feedback-form-panel .feedback-kicker { color: var(--copper); }
    .feedback-form-panel .modal-close { border-color: var(--line-strong); color: var(--ink); }
    .feedback-form-panel .modal-close:hover { border-color: var(--ink); background: var(--paper-deep); }
    .feedback-description { max-width: 540px; margin: 12px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.7; }
    .feedback-form { display: grid; gap: 12px; }
    .feedback-fields { display: grid; gap: 10px; }
    .feedback-fields-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feedback-email { grid-column: 1 / -1; }
    .feedback-field { display: grid; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 700; }
    .feedback-field em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 400; }
    .feedback-field em.is-required { color: var(--copper); }
    .feedback-field input,
    .feedback-field select,
    .feedback-field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); background: rgba(255, 255, 255, .34); font-size: 13px; font-weight: 400; outline: 0; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
    .feedback-field input,
    .feedback-field select { min-height: 42px; padding: 9px 11px; }
    .feedback-field textarea { min-height: 104px; padding: 10px 11px; resize: vertical; }
    .feedback-field input::placeholder,
    .feedback-field textarea::placeholder { color: rgba(14, 41, 37, .4); }
    .feedback-field select option { color: var(--ink); background: var(--paper-bright); }
    .feedback-field input:focus,
    .feedback-field select:focus,
    .feedback-field textarea:focus { border-color: var(--copper); background: var(--paper-bright); box-shadow: 0 0 0 3px rgba(187, 116, 77, .14); }
    .feedback-botcheck { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
    .feedback-submit-area { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
    .feedback-captcha-stack { min-width: 0; }
    .feedback-form .h-captcha { min-height: 78px; }
    .feedback-note { margin: 2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
    .feedback-send-stack { display: flex; min-width: 190px; align-items: flex-end; flex-direction: column; gap: 7px; }
    .feedback-status { width: 100%; min-height: 18px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: right; }
    .feedback-status[data-state="success"] { color: #39805f; }
    .feedback-status[data-state="error"] { color: #b44f3f; }
    .feedback-status[data-state="loading"] { color: var(--copper); }
    .feedback-submit { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; color: var(--paper-bright); background: var(--ink); font-size: 11px; font-weight: 800; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease); }
    .feedback-submit:hover { border-color: var(--ink-deep); background: var(--ink-deep); transform: translateY(-2px); }
    .feedback-submit:disabled { cursor: wait; opacity: .6; transform: none; }
    .feedback-submit svg { width: 15px; height: 15px; }
    body.is-modal-open { overflow: hidden; }

    @media (max-width: 900px) {
      .mood-heading { align-items: flex-start; flex-direction: column; }
      .mood-note { max-width: 420px; text-align: left; }
      .mood-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .feedback-card { grid-template-columns: 1fr; min-height: 0; max-height: calc(100dvh - 24px); overflow: auto; }
      .feedback-intro { padding: 28px 30px 26px; }
      .feedback-title { margin: 32px 0 18px; }
      .feedback-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
      .feedback-points li { align-items: flex-start; flex-direction: column; gap: 8px; }
      .feedback-form-panel { overflow: visible; padding: 26px 30px 30px; }
    }

    @media (max-width: 720px) {
      .featured-footer { display: block; }
      .featured-actions { justify-content: flex-start; margin-top: 15px; }
      .ritual-status { text-align: left; }
      .mood-section { margin-bottom: 80px; }
      .mood-rail { display: flex; gap: 8px; overflow-x: auto; margin-inline: -16px; padding: 2px 16px 10px; scrollbar-width: none; }
      .mood-rail::-webkit-scrollbar { display: none; }
      .mood-button { min-width: 178px; flex: 0 0 178px; }
      .comparison-drawer, .quiet-reading, .feedback-dialog { padding: 10px; }
      .comparison-shell, .quiet-reading-card { max-height: calc(100dvh - 20px); padding: 22px 18px; border-radius: 22px; }
      .feedback-card { display: block; max-height: calc(100dvh - 16px); border-radius: 20px; }
      .feedback-intro { padding: 16px 18px 13px; }
      .feedback-time { padding: 6px 8px; font-size: 9px; }
      .feedback-title { margin: 20px 0 10px; font-size: clamp(32px, 8.5vw, 38px); line-height: 1.03; }
      .feedback-intro-copy { font-size: 11px; line-height: 1.45; }
      .feedback-points { gap: 6px; margin-top: 14px; }
      .feedback-points li { gap: 4px; }
      .feedback-points li > span { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
      .feedback-points strong { font-size: 9px; }
      .feedback-points small { margin-top: 1px; font-size: 8px; }
      .feedback-form-panel { padding: 15px 18px 16px; }
      .comparison-grid { grid-template-columns: 1fr; margin-top: 24px; }
      .comparison-card { min-height: 0; padding: 20px; }
      .comparison-card-quote { margin-block: 24px; }
      .quote-card-actions { gap: 3px; }
      .quiet-reading-title { margin-block: 40px 30px; font-size: clamp(30px, 8vw, 42px); }
      .quiet-reading-foot { align-items: stretch; flex-direction: column; }
      .quiet-reading-actions { justify-content: flex-start; }
      .feedback-header { gap: 12px; }
      .feedback-kicker { margin-bottom: 8px; font-size: 9px; }
      .feedback-form-title { font-size: clamp(26px, 7.5vw, 31px); }
      .feedback-description { margin: 7px 0 10px; font-size: 11px; line-height: 1.45; }
      .feedback-form { gap: 8px; }
      .feedback-fields { gap: 7px; }
      .feedback-fields-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .feedback-email { grid-column: 1 / -1; }
      .feedback-field { gap: 4px; font-size: 10px; }
      .feedback-field input,
      .feedback-field select { min-height: 36px; padding: 7px 9px; font-size: 12px; }
      .feedback-field textarea { min-height: 72px; padding: 8px 9px; font-size: 12px; }
      .feedback-form .h-captcha { min-height: 60px; }
      .feedback-note { margin-top: -4px; font-size: 8px; }
      .feedback-submit-area { grid-template-columns: 1fr; gap: 6px; padding-top: 8px; }
      .feedback-send-stack { width: 100%; min-width: 0; align-items: stretch; gap: 4px; }
      .feedback-status { min-height: 16px; }
      .feedback-status { text-align: left; }
      .feedback-submit { width: 100%; min-height: 40px; justify-content: center; padding: 8px 13px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .comparison-drawer:not([hidden]), .quiet-reading:not([hidden]), .feedback-dialog:not([hidden]), .quiet-reading-segment { animation: none; }
      .featured-quote-wrap.is-changing, .featured-segment { animation: none; }
      .featured-segment { opacity: 1; transform: none; }
      .quiet-reading-segment { opacity: 1; transform: none; }
    }

    /* Cross-device reading canvas: the reading order wins over the viewport. */
    :root {
      --canvas-gutter: clamp(16px, 4vw, 48px);
      --canvas-copy-max: 820px;
      --canvas-card-max: 860px;
      --canvas-section-space: clamp(72px, 9vw, 126px);
    }

    .shell {
      width: min(calc(100% - (var(--canvas-gutter) * 2)), var(--content-width));
    }

    .hero {
      display: block;
      min-height: auto;
      padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px);
    }

    .hero-copy {
      max-width: var(--canvas-copy-max);
    }

    h1 {
      max-width: 12ch;
      font-size: clamp(54px, 6.2vw, 86px);
      text-wrap: balance;
    }

    .hero-intro {
      max-width: 620px;
    }

    .featured-panel {
      width: min(100%, var(--canvas-card-max));
      margin-top: clamp(44px, 4vw, 64px);
    }

    .hero::after {
      top: 18%;
      right: clamp(-190px, -10vw, -90px);
      width: clamp(280px, 34vw, 460px);
      height: clamp(280px, 34vw, 460px);
      opacity: .72;
    }

    @media (min-width: 1680px) {
      :root {
        --canvas-gutter: 48px;
      }

      .shell {
        width: min(calc(100% - 96px), 1680px);
      }

      .hero {
        display: grid;
        grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
        gap: clamp(72px, 6vw, 124px);
        align-items: center;
        min-height: min(760px, calc(100dvh - 80px));
        padding-block: clamp(78px, 7vw, 108px) clamp(72px, 8vw, 112px);
      }

      .hero-copy,
      .featured-panel {
        max-width: none;
      }

      .hero-intro {
        max-width: 520px;
      }

      .featured-panel {
        width: auto;
        margin-top: 0;
      }

      h1 {
        max-width: 11ch;
        font-size: clamp(70px, 5.2vw, 94px);
      }
    }

    @media (min-width: 768px) and (max-width: 1279px) {
      .toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
      }

      .toolbar-actions {
        margin-top: 4px;
      }
    }

    @media (max-width: 767px) {
      .chapter-strip {
        margin-inline: calc(var(--canvas-gutter) * -1);
        padding-inline: var(--canvas-gutter);
        scroll-padding-inline: var(--canvas-gutter);
      }

      .chapter-button {
        min-width: 148px;
        flex-basis: 148px;
      }

      .quote-card-bottom,
      .quiet-reading-foot {
        align-items: flex-start;
        flex-direction: column;
      }

      .quote-card-actions,
      .quiet-reading-actions {
        width: 100%;
        justify-content: flex-start;
      }

      .favorite-button {
        min-height: 44px;
      }
    }

    /* Desktop laptops need a compact stacked hero before the wide editorial split. */
    @media (min-width: 768px) and (max-width: 1679px) {
      .hero {
        padding-block: clamp(36px, 4.3vw, 68px) clamp(42px, 4.8vw, 68px);
      }

      h1 {
        max-width: 13ch;
        font-size: clamp(54px, 5.25vw, 78px);
      }

      .hero-index {
        margin-top: clamp(26px, 3.2vw, 48px);
      }

      .featured-panel {
        margin-top: clamp(28px, 3.6vw, 52px);
        padding: clamp(26px, 3vw, 36px);
      }

      .featured-quote-wrap {
        min-height: 214px;
        padding-block: 34px 24px;
      }

      .featured-quote {
        max-width: 620px;
        font-size: clamp(28px, 2.7vw, 38px);
      }
    }

    @media (min-width: 901px) {
      .mood-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
      }
    }

    @media (min-width: 768px) and (max-width: 1679px) and (max-height: 820px) {
      .hero {
        padding-block: 24px 34px;
      }

      h1 {
        font-size: clamp(50px, 5vw, 72px);
        margin-bottom: 18px;
      }

      .hero-intro {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.7;
      }

      .hero-index {
        margin-top: 20px;
      }

      .featured-panel {
        margin-top: 24px;
        padding: 24px;
      }

      .featured-quote-wrap {
        min-height: 190px;
        padding-block: 26px 18px;
      }
    }

    /* Put the feature card beside the reading premise on laptop-sized desktops. */
    @media (min-width: 960px) and (max-width: 1679px) {
      .hero {
        display: grid;
        grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr);
        gap: clamp(24px, 3.6vw, 54px);
        align-items: center;
        min-height: min(680px, calc(100dvh - 80px));
        padding-block: clamp(32px, 4vw, 64px);
      }

      .hero-copy,
      .featured-panel {
        max-width: none;
      }

      h1 {
        max-width: 12ch;
        font-size: clamp(50px, 5.3vw, 78px);
      }

      .hero-intro {
        max-width: 520px;
      }

      .hero-index {
        margin-top: clamp(24px, 3vw, 42px);
      }

      .featured-panel {
        width: auto;
        margin-top: 0;
        padding: clamp(24px, 3vw, 36px);
      }

      .featured-quote-wrap {
        min-height: 220px;
        padding-block: clamp(28px, 3vw, 38px) 22px;
      }

      .featured-quote {
        max-width: none;
        font-size: clamp(25px, 3vw, 38px);
      }
    }

    /* Quick path: keep long-form reading easy to leave and return to. */
    #home,
    #moods,
    #quotes,
    #footer { scroll-margin-top: 100px; }

    .quick-nav {
      position: fixed;
      z-index: 25;
      right: max(24px, env(safe-area-inset-right));
      bottom: max(24px, env(safe-area-inset-bottom));
      display: flex;
      align-items: flex-end;
      flex-direction: column;
      gap: 8px;
    }

    .quick-nav-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .quick-nav-toggle,
    .quick-nav-top {
      display: inline-flex;
      min-height: 46px;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 15px;
      border: 1px solid var(--ink);
      border-radius: 999px;
      box-shadow: 0 12px 30px rgba(15, 43, 37, .16);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .04em;
      transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
    }

    .quick-nav-toggle {
      color: var(--paper-bright);
      background: var(--ink);
    }

    .quick-nav-top {
      border-color: var(--line-strong);
      color: var(--ink);
      background: rgba(251, 249, 243, .94);
    }

    .quick-nav-top[hidden] { display: none; }

    .quick-nav-toggle:hover,
    .quick-nav-toggle:focus-visible,
    .quick-nav.is-open .quick-nav-toggle {
      border-color: var(--ink-deep);
      background: var(--ink-deep);
      box-shadow: 0 16px 36px rgba(15, 43, 37, .22);
      transform: translateY(-2px);
    }

    .quick-nav-top:hover,
    .quick-nav-top:focus-visible {
      border-color: var(--copper);
      color: var(--copper);
      transform: translateY(-2px);
    }

    .quick-nav-toggle svg,
    .quick-nav-top svg { width: 17px; height: 17px; flex: 0 0 auto; }

    .quick-nav-menu {
      width: min(218px, calc(100vw - 32px));
      padding: 14px;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow);
      background: rgba(251, 249, 243, .96);
      backdrop-filter: blur(18px);
    }

    .quick-nav-menu:not([hidden]) { display: grid; animation: quick-nav-in .22s var(--ease); }

    .quick-nav-label {
      margin: 2px 8px 8px;
      color: var(--muted);
      font-size: 9px;
      font-weight: 700;
      letter-spacing: .12em;
    }

    .quick-nav-link {
      display: grid;
      grid-template-columns: 28px 1fr auto;
      min-height: 42px;
      align-items: center;
      gap: 7px;
      padding: 7px 8px;
      border: 0;
      border-radius: var(--radius-sm);
      color: var(--ink);
      background: transparent;
      font-size: 12px;
      text-align: left;
      text-decoration: none;
      transition: color .2s ease, background-color .2s ease, padding .2s var(--ease);
    }

    .quick-nav-link:hover,
    .quick-nav-link:focus-visible {
      padding-left: 12px;
      color: var(--paper-bright);
      background: var(--ink);
    }

    .quick-nav-link svg { width: 15px; height: 15px; opacity: .62; }
    .quick-nav-link:hover svg,
    .quick-nav-link:focus-visible svg { opacity: 1; }
    .quick-nav-index { color: var(--copper); font-family: var(--display-font); font-size: 13px; }
    .quick-nav-link:hover .quick-nav-index,
    .quick-nav-link:focus-visible .quick-nav-index { color: var(--copper-light); }

    @keyframes quick-nav-in {
      from { opacity: 0; transform: translateY(8px) scale(.97); transform-origin: bottom right; }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .quick-draw-result {
      position: fixed;
      z-index: 40;
      right: max(24px, env(safe-area-inset-right));
      bottom: calc(max(24px, env(safe-area-inset-bottom)) + 62px);
      width: min(430px, calc(100vw - 32px));
      pointer-events: none;
    }

    .quick-draw-result:not([hidden]) { display: block; animation: quick-draw-in .28s var(--ease); }

    @keyframes quick-draw-in {
      from { opacity: 0; transform: translateY(12px) scale(.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .quick-draw-card {
      padding: 20px;
      border: 1px solid rgba(251, 249, 243, .2);
      border-radius: var(--radius-md);
      color: var(--paper-bright);
      background: rgba(14, 41, 37, .97);
      box-shadow: var(--shadow-deep);
      pointer-events: auto;
      backdrop-filter: blur(16px);
    }

    .quick-draw-head,
    .quick-draw-head > div,
    .quick-draw-meta,
    .quick-draw-actions { display: flex; align-items: center; }
    .quick-draw-head { justify-content: space-between; gap: 14px; }
    .quick-draw-head > div { gap: 10px; min-width: 0; }
    .quick-draw-label { color: var(--copper-light); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
    .quick-draw-number { color: rgba(251, 249, 243, .42); font-size: 9px; letter-spacing: .08em; }
    .quick-draw-close { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(251, 249, 243, .22); border-radius: 50%; color: var(--paper-bright); background: transparent; font-size: 18px; line-height: 1; }
    .quick-draw-close:hover { border-color: var(--copper-light); color: var(--copper-light); }
    .quick-draw-title { margin: 24px 0 20px; color: var(--paper-bright); font-family: var(--display-font); font-size: clamp(25px, 3vw, 37px); font-weight: 400; letter-spacing: -.055em; line-height: 1.2; }
    .quick-draw-segment { display: block; opacity: 0; transform: translateY(7px); animation: segment-in .45s var(--ease) forwards; animation-delay: calc(var(--segment-index) * 90ms + 80ms); }
    .quick-draw-meta { justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(251, 249, 243, .16); color: rgba(251, 249, 243, .52); font-size: 10px; }
    .quick-draw-actions { flex-wrap: wrap; gap: 7px; margin-top: 17px; }
    .quick-draw-actions button { min-height: 35px; padding: 7px 11px; border: 1px solid rgba(251, 249, 243, .22); border-radius: 999px; color: rgba(251, 249, 243, .82); background: transparent; font-size: 10px; font-weight: 700; }
    .quick-draw-actions button:first-child { border-color: var(--copper-light); color: var(--ink-deep); background: var(--copper-light); }
    .quick-draw-actions button:hover { border-color: var(--paper-bright); color: var(--paper-bright); background: rgba(251, 249, 243, .1); }
    .quick-draw-actions button:first-child:hover { color: var(--ink-deep); background: var(--paper-bright); }

    @media (max-width: 720px) {
      .quick-nav {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
      }

      .quick-nav-toggle,
      .quick-nav-top {
        width: 46px;
        min-height: 46px;
        padding: 10px;
      }

      .quick-nav-toggle span,
      .quick-nav-top span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

      .quick-draw-result { right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 62px); left: 16px; width: auto; }
      .quick-draw-card { padding: 18px; border-radius: 20px; }
      .quick-draw-title { margin-block: 20px 17px; font-size: clamp(25px, 7.5vw, 34px); }
    }

    @media (prefers-reduced-motion: reduce) {
      .quick-draw-result:not([hidden]), .quick-draw-segment { animation: none; }
      .quick-draw-segment { opacity: 1; transform: none; }
    }
