:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-deep: #e8e1d4;
  --ink: #1f2321;
  --muted: #6f726d;
  --line: #cbc5ba;
  --red: #c9483e;
  --red-dark: #9f312b;
  --teal: #176b68;
  --blue: #315a79;
  --mustard: #d2a328;
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(31, 35, 33, 0.14);
  --content: min(1180px, calc(100vw - 48px));
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 107, 104, 0.32);
  outline-offset: 3px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
}

.skip-link:focus {
  top: 16px;
}

.content-width {
  width: var(--content);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 241, 234, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--content);
  min-height: 72px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.brand-mark {
  width: 50px;
  height: 40px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding-block: 27px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.reading-list-button {
  justify-self: end;
  min-width: 102px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.reading-list-button:hover {
  background: var(--ink);
  color: var(--white);
}

.reading-list-button strong {
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-size: 10px;
}

.today-band {
  min-height: min(660px, calc(100vh - 72px));
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.today-grid {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  align-items: center;
  gap: 80px;
  padding-block: 48px 56px;
}

.today-copy {
  max-width: 650px;
}

.today-copy h1 {
  max-width: 12em;
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.12;
}

.today-lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #454944;
  font-size: 17px;
  line-height: 1.9;
}

.today-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.today-meta span {
  display: inline-flex;
  align-items: center;
}

.today-meta span:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin-inline: 11px;
  background: var(--muted);
  border-radius: 50%;
}

.today-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  min-width: 132px;
  height: 44px;
  border-radius: 2px;
  padding-inline: 22px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
}

.primary-button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.secondary-button {
  border: 1px solid var(--ink);
  background: transparent;
}

.secondary-button:hover,
.secondary-button.saved {
  background: var(--ink);
  color: var(--white);
}

.today-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.today-visual::before,
.today-visual::after {
  content: "";
  position: absolute;
}

.today-visual::before {
  width: 420px;
  height: 420px;
  background: var(--teal);
  transform: rotate(7deg);
}

.today-visual::after {
  width: 310px;
  height: 420px;
  border: 1px solid rgba(255, 253, 248, 0.42);
  transform: translate(46px, 18px) rotate(-4deg);
}

.featured-cover {
  position: relative;
  z-index: 2;
  width: 245px;
  margin: 0;
  transform: rotate(-3deg);
  box-shadow: var(--shadow);
}

.featured-cover img {
  width: 245px;
  aspect-ratio: 0.66;
  object-fit: cover;
  background: white;
}

.featured-cover figcaption {
  padding: 13px 15px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.issue-stamp {
  position: absolute;
  z-index: 3;
  right: 2px;
  top: 22px;
  width: 88px;
  height: 88px;
  padding: 11px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: space-between;
  background: var(--mustard);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.issue-stamp span {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.issue-stamp small {
  font-size: 7px;
  font-weight: 900;
  line-height: 1.15;
}

.library-section {
  padding-block: 84px 96px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.method-title h2,
.reading-list-shell h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 42px;
  line-height: 1.15;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.library-stats {
  display: grid;
  justify-items: end;
}

.library-stats strong {
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.library-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.library-toolbar {
  margin-top: 38px;
  padding-block: 18px;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(480px, 1fr);
  align-items: end;
  gap: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.search-field {
  height: 44px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-field > span[aria-hidden] {
  color: var(--muted);
  font-size: 25px;
  transform: rotate(-15deg);
}

.search-field input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-field input::placeholder {
  color: #8b8c87;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.filter-row label {
  display: grid;
  gap: 6px;
}

.filter-row label > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.filter-row select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding-inline: 10px 30px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.active-filters {
  min-height: 30px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.book-card {
  min-width: 0;
  min-height: 400px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 118px 1fr auto;
  background: rgba(255, 253, 248, 0.36);
  transition: background 160ms ease, transform 160ms ease;
}

.book-card:hover {
  position: relative;
  z-index: 2;
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(31, 35, 33, 0.1);
}

.book-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.book-level {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
}

.book-cover-mini {
  align-self: center;
  width: 64px;
  height: 88px;
  padding: 8px 7px;
  display: grid;
  align-content: space-between;
  background: var(--blue);
  border-left: 6px solid rgba(0, 0, 0, 0.2);
  color: white;
  box-shadow: 5px 7px 0 rgba(31, 35, 33, 0.13);
}

.book-cover-mini span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

.book-cover-mini strong {
  font-family: Georgia, serif;
  font-size: 11px;
  line-height: 1.1;
  word-break: break-all;
}

.book-card:nth-child(4n + 2) .book-cover-mini {
  background: var(--red);
}

.book-card:nth-child(4n + 3) .book-cover-mini {
  background: var(--teal);
}

.book-card:nth-child(4n + 4) .book-cover-mini {
  background: var(--mustard);
  color: var(--ink);
}

.book-card-body {
  min-width: 0;
}

.book-discipline {
  margin: 8px 0 7px;
  color: var(--red-dark);
  font-size: 10px;
  font-weight: 800;
}

.book-card h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 21px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.book-author {
  min-height: 34px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.book-skills {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.book-skills span {
  padding: 4px 6px;
  background: var(--paper-deep);
  color: #555953;
  font-size: 9px;
  line-height: 1;
}

.book-card-actions {
  height: 36px;
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 7px;
}

.book-open-button,
.save-icon-button {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.book-open-button:not(:disabled):hover,
.save-icon-button:hover,
.save-icon-button.saved {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.book-open-button:disabled {
  color: #a4a39e;
  cursor: default;
}

.save-icon-button {
  font-size: 18px;
}

.load-more-button {
  width: 100%;
  height: 48px;
  margin-top: 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.load-more-button:hover {
  background: var(--ink);
  color: var(--white);
}

.load-more-button[hidden] {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  padding: 56px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}

.paths-section {
  padding-block: 82px 90px;
  background: var(--ink);
  color: var(--white);
}

.path-heading p:not(.eyebrow) {
  max-width: 380px;
  color: #b9bcb7;
}

.paths-section .eyebrow {
  color: #e66b61;
}

.path-list {
  margin-top: 44px;
  border-top: 1px solid #4a4e4b;
}

.path-row {
  min-height: 134px;
  padding-block: 22px;
  border-bottom: 1px solid #4a4e4b;
  display: grid;
  grid-template-columns: 70px minmax(250px, 0.9fr) minmax(0, 1.5fr) 40px;
  align-items: center;
  gap: 26px;
  cursor: pointer;
}

.path-row:hover {
  color: #f4c64a;
}

.path-number {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #999e99;
}

.path-row h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 24px;
  line-height: 1.3;
}

.path-row p {
  margin: 6px 0 0;
  color: #aeb1ad;
  font-size: 12px;
  line-height: 1.6;
}

.path-books {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.path-books span {
  color: #d9dcd7;
  font-size: 13px;
}

.path-books span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #707570;
}

.path-arrow {
  justify-self: end;
  font-family: Georgia, serif;
  font-size: 28px;
}

.method-section {
  padding-block: 86px 104px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.6fr);
  gap: 80px;
}

.method-title h2 {
  max-width: 7em;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.method-steps li {
  min-height: 106px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px minmax(170px, 0.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.method-steps span {
  font-family: Georgia, serif;
  color: var(--red-dark);
  font-size: 13px;
}

.method-steps strong {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 19px;
}

.method-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  padding-block: 38px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  font-family: Georgia, serif;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-brand img {
  width: 38px;
  height: 30px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(20, 22, 21, 0.72);
  backdrop-filter: blur(7px);
}

.article-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  background: var(--paper);
}

.dialog-shell {
  min-height: 100%;
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 64px;
  padding-inline: max(24px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 800;
}

.dialog-brand img {
  width: 34px;
  height: 27px;
}

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

.dialog-actions > button:first-child {
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding-inline: 12px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.dialog-actions > button:first-child.saved {
  background: var(--ink);
  color: var(--white);
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.article-layout {
  width: min(1080px, calc(100vw - 48px));
  margin-inline: auto;
  padding-block: 58px 96px;
  display: grid;
  grid-template-columns: minmax(200px, 290px) minmax(0, 680px);
  gap: 74px;
  justify-content: center;
}

.article-aside {
  align-self: start;
  position: sticky;
  top: 104px;
}

.article-cover {
  width: 180px;
  box-shadow: var(--shadow);
}

.article-cover-placeholder {
  width: 180px;
  aspect-ratio: 0.66;
  padding: 24px 18px;
  display: grid;
  align-content: space-between;
  background: var(--teal);
  border-left: 12px solid rgba(0, 0, 0, 0.2);
  color: white;
  box-shadow: var(--shadow);
}

.article-cover-placeholder strong {
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 24px;
  line-height: 1.25;
}

.article-aside-meta {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.article-body {
  min-width: 0;
}

.article-kicker {
  margin: 0;
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 800;
}

.article-body > h1 {
  margin: 13px 0 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 48px;
  line-height: 1.14;
}

.article-deck {
  margin: 22px 0 38px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ink);
  color: #4e524d;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 19px;
  line-height: 1.8;
}

.article-section {
  scroll-margin-top: 84px;
  margin-top: 44px;
}

.article-section h2 {
  margin: 0 0 18px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 28px;
  line-height: 1.3;
}

.article-section p,
.article-section li {
  color: #353936;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 17px;
  line-height: 2;
}

.article-section p {
  margin: 0 0 19px;
}

.article-section ul,
.article-section ol {
  margin: 0 0 22px;
  padding-left: 1.4em;
}

.comments-section {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 3px solid var(--ink);
}

.comments-section h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 28px;
}

.comment-form {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  gap: 12px;
}

.comment-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 10px;
  background: var(--paper);
  color: var(--ink);
}

.comment-form textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}

.comment-form .website-field {
  position: absolute;
  left: -10000px;
}

.comment-form footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comment-form-status {
  color: var(--muted);
  font-size: 11px;
}

.comment-form button {
  min-width: 104px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.comment-list {
  margin-top: 26px;
  display: grid;
}

.comment-item {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.comment-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comment-item strong {
  font-size: 13px;
}

.comment-item time {
  color: var(--muted);
  font-size: 10px;
}

.comment-item p {
  margin: 9px 0 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
}

.comment-empty {
  padding-block: 30px;
  color: var(--muted);
  font-size: 12px;
}

.reading-list-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 40px));
  background: var(--paper);
  box-shadow: var(--shadow);
}

.reading-list-shell {
  padding: 30px;
}

.reading-list-shell > header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.reading-list-content {
  display: grid;
}

.reading-list-item {
  min-height: 78px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.reading-list-item > span {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 11px;
}

.reading-list-item h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: 17px;
}

.reading-list-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.reading-list-item button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}

.reading-list-empty {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 36px, 760px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .today-grid {
    grid-template-columns: 1fr 330px;
    gap: 38px;
  }

  .today-copy h1 {
    font-size: 48px;
  }

  .today-visual::before {
    width: 330px;
    height: 360px;
  }

  .featured-cover,
  .featured-cover img {
    width: 205px;
  }

  .library-toolbar {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .path-row {
    grid-template-columns: 50px minmax(220px, 1fr) minmax(0, 1.3fr) 28px;
    gap: 16px;
  }

  .article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 42px;
  }
}

@media (max-width: 760px) {
  :root {
    --content: calc(100vw - 28px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 35px;
  }

  .reading-list-button {
    min-width: 92px;
  }

  .today-band {
    min-height: auto;
  }

  .today-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 30px 34px;
  }

  .today-copy h1 {
    max-width: none;
    font-size: 36px;
    line-height: 1.16;
  }

  .today-lead {
    font-size: 15px;
    line-height: 1.8;
  }

  .today-visual {
    min-height: 232px;
  }

  .today-visual::before {
    width: min(82vw, 330px);
    height: 205px;
  }

  .today-visual::after {
    width: 160px;
    height: 205px;
  }

  .featured-cover,
  .featured-cover img {
    width: 118px;
  }

  .featured-cover figcaption {
    display: none;
  }

  .issue-stamp {
    right: 8px;
    top: 12px;
    width: 62px;
    height: 62px;
    padding: 8px;
  }

  .issue-stamp span {
    font-size: 21px;
  }

  .library-section,
  .paths-section {
    padding-block: 62px 68px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2,
  .method-title h2,
  .reading-list-shell h2 {
    font-size: 34px;
  }

  .library-stats strong {
    font-size: 38px;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card {
    min-height: 382px;
    padding: 14px;
  }

  .path-heading {
    display: grid;
  }

  .path-row {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
  }

  .path-books {
    grid-column: 2 / -1;
  }

  .path-arrow {
    grid-column: 3;
    grid-row: 1;
  }

  .method-section {
    padding-block: 62px 72px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .method-title h2 {
    max-width: none;
  }

  .method-steps li {
    grid-template-columns: 38px 1fr;
  }

  .method-steps p {
    grid-column: 2;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .article-layout {
    width: min(100% - 28px, 680px);
    padding-block: 34px 72px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .article-aside {
    position: static;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    align-items: end;
  }

  .article-cover,
  .article-cover-placeholder {
    width: 110px;
  }

  .article-cover-placeholder {
    padding: 15px 10px;
    border-left-width: 8px;
  }

  .article-cover-placeholder strong {
    font-size: 16px;
  }

  .article-aside-meta {
    margin-top: 0;
  }

  .article-body > h1 {
    font-size: 38px;
  }

  .article-deck {
    font-size: 17px;
  }

  .article-section p,
  .article-section li {
    font-size: 16px;
    line-height: 1.95;
  }
}

@media (max-width: 420px) {
  .today-copy h1 {
    font-size: 32px;
  }

  .today-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .primary-button,
  .secondary-button {
    min-width: 0;
    padding-inline: 10px;
  }

  .section-heading {
    gap: 14px;
  }

  .library-stats span {
    font-size: 10px;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    min-height: 360px;
  }

  .comment-form footer {
    align-items: stretch;
    flex-direction: column;
  }

  .comment-form button {
    width: 100%;
  }

  .reading-list-shell {
    padding: 22px 18px;
  }
}

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