/* Lanweave — a quiet reading room. Layout and motion inspired by the supplied references. */
:root {
  --paper: #f4efe6;
  --white: #fbf8f1;
  --ink: #352a23;
  --muted: #746e61;
  --line: #d9d2c4;
  --blue: #52634d;
  --gold: #a68b52;
  --soft: #e9e8dc;
  --sage: #8f9a87;
  --serif: "Cormorant Garamond", "Hanazono Mincho", serif;
  --sans: "Cormorant Garamond", "Hanazono Mincho", serif;
  --ui: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  background: var(--paper);
  color: var(--ink);
}
::selection {
  background: #d9dfca;
  color: #2d4029;
}
button,
input,
textarea,
select {
  color: var(--ink);
}
button,
a {
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
button:disabled {
  cursor: not-allowed;
}
h1,
h2,
h3,
h4 {
  font-weight: 400;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #887142;
  outline-offset: 5px;
}
a.text-link:hover {
  color: var(--blue);
}
.shell {
  margin: 0;
}
.sidebar {
  display: none;
}
.site-header {
  height: 100px;
  max-width: 1800px;
  margin: auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 4px;
}
.wordmark-symbol {
  height: 51px;
  width: 37px;
  border: 1px solid var(--gold);
  border-radius: 23px 23px 0 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 24px;
  letter-spacing: 0;
  position: relative;
}
.wordmark-symbol:after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #a68b5270;
  border-radius: 20px 20px 0 0;
}
.wordmark small {
  font: 8px/2.5 var(--ui);
  letter-spacing: 1.6px;
  display: block;
  margin-top: 3px;
}
.desktop-nav {
  display: flex;
  gap: 46px;
  align-items: center;
  margin-left: auto;
  margin-right: 5vw;
}
.desktop-nav a {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  padding: 12px 0;
}
.desktop-nav small {
  font: 8px var(--ui);
  letter-spacing: 1px;
  color: var(--muted);
}
.desktop-nav a:after {
  content: "";
  height: 1px;
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 100%;
  background: var(--gold);
  transition: right 0.3s;
}
.desktop-nav a:hover:after,
.desktop-nav a.active:after {
  right: 0;
}
.header-ai {
  background: transparent !important;
  border-color: #b8b4a4 !important;
  font-size: 13px !important;
  padding: 10px 18px !important;
}
.topbar {
  border: 0;
  background: none;
  max-width: 1600px;
  margin: auto;
  height: 51px;
  padding: 0 5%;
  font-size: 12px;
  color: var(--muted);
}
.topbar .ai-top {
  display: none;
}
.top-note {
  font: italic 18px var(--serif);
  color: var(--muted);
}
body[data-page="home"] .topbar {
  display: none;
}
main {
  max-width: 1400px;
  padding: 25px 5% 80px;
  min-height: 75vh;
}
body[data-page="home"] main {
  padding: 0;
  max-width: 1800px;
}
.eyebrow,
.small-cap {
  font: 9px/1.6 var(--ui);
  letter-spacing: 2px;
  color: #897746;
}
.primary,
button.primary {
  border-radius: 0;
  background: var(--blue);
  padding: 14px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
  border: 1px solid var(--blue);
}
.primary:hover {
  background: #3e5139;
  border-color: #3e5139;
}
.outline-button {
  border-radius: 0;
  border: 1px solid #b8b4a4;
  background: transparent;
  padding: 10px 17px;
  min-height: 42px;
}
.outline-button:hover {
  background: #e8e6d9;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 5px;
}
.text-link span {
  font-size: 20px;
}
.icon-button {
  border-radius: 0;
}
.footer {
  background: #e7e6d9;
  border-color: #cdd0bf;
  padding: 30px 5%;
  align-items: center;
  gap: 20px;
  color: #66715d;
  font-size: 12px;
}
.footer-brand {
  font-size: 25px;
  color: var(--ink);
  letter-spacing: 2px;
}
.footer-brand em {
  font-size: 30px;
  letter-spacing: 0;
  margin-left: 10px;
}
.footer > span:last-child {
  font: 8px var(--ui);
  letter-spacing: 1.5px;
}
/* An annotated, living page — rulers, drawn strokes and small discoveries. */
.home-hero {
  margin: 20px 24px 0;
  border: 1px solid var(--line);
  position: relative;
}
.hero-edition {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 10px 28px;
  font-size: 11px;
  letter-spacing: 1px;
}
.hero-edition > span:last-child {
  font: 9px var(--ui);
  letter-spacing: 1.5px;
}
.hero-composition {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  padding: 55px 3.3% 50px;
  gap: 1.5%;
}
.hero-copy {
  padding-left: 15px;
}
.hero-copy .eyebrow {
  margin: 0 0 28px;
  color: #7a805d;
}
.hero-copy h1 {
  font:
    400 clamp(62px, 6.65vw, 108px) / 0.96 "Cormorant Garamond",
    serif;
  letter-spacing: -3.5px;
  max-width: 650px;
}
.hero-copy h1 em {
  color: #6e805f;
  font-weight: 400;
}
.hero-chinese {
  font-size: 23px;
  letter-spacing: 1px;
  margin: 28px 0 12px;
}
.hero-description {
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}
.hero-cta {
  margin-top: 24px;
  margin-right: 18px;
  min-width: 168px;
}
.hero-copy > .text-link {
  font-size: 12px;
  gap: 16px;
}
.reading-blueprint {
  align-self: center;
  position: relative;
  aspect-ratio: 1.16;
  min-width: 0;
  color: #52624d;
  background: radial-gradient(ellipse at 50% 60%, #dde0cb75, transparent 64%);
  --mx: 0px;
  --my: 0px;
}
.book-drawing {
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.7s ease;
  filter: drop-shadow(0 20px 13px #74755e0d);
}
.book-pages {
  stroke-dasharray: 1800;
  stroke-dashoffset: 0;
  animation: draw-page 2.8s ease both;
}
.book-plant {
  transform-origin: 320px 278px;
  animation: grow-in 1.8s 0.4s ease both;
}
.drawing-birds {
  animation: drift 9s 2.5s ease-in-out infinite;
}
.drawing-guides {
  animation: reveal-ink 2.2s ease both;
}
.ruler {
  position: absolute;
  opacity: 0.5;
}
.ruler-top {
  height: 8px;
  top: 15px;
  left: 15px;
  right: 15px;
  background: repeating-linear-gradient(
    to right,
    #b1b49f 0 1px,
    transparent 1px 9px
  );
}
.ruler-side {
  width: 8px;
  top: 15px;
  bottom: 15px;
  left: 15px;
  background: repeating-linear-gradient(
    to bottom,
    #b1b49f 0 1px,
    transparent 1px 9px
  );
}
.cross {
  position: absolute;
  font: 16px var(--ui);
  color: #a8af97;
  line-height: 1;
}
.cross-tl {
  left: 1px;
  top: 1px;
}
.cross-tr {
  right: 1px;
  top: 1px;
}
.cross-bl {
  left: 1px;
  bottom: 1px;
}
.cross-br {
  right: 1px;
  bottom: 1px;
}
.blueprint-label {
  position: absolute;
  top: 40px;
  left: 39px;
  font: 8px var(--ui);
  letter-spacing: 1.5px;
  color: #889078;
}
.blueprint-bottom {
  position: absolute;
  bottom: 29px;
  left: 37px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #7b826c;
}
.blueprint-bottom > span:last-child {
  font: 8px var(--ui);
  letter-spacing: 1px;
}
.annotation {
  position: absolute;
  background: #f9f7efed;
  box-shadow: 0 5px 18px #4d5c4410;
  border: 1px solid #bfc6ab;
  padding: 11px 16px 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  min-width: 151px;
  animation: annotation-in 1s 1.1s ease both;
  transition:
    transform 0.5s,
    border-color 0.5s,
    background 0.5s;
}
.annotation small {
  font: 8px/1.5 var(--ui);
  letter-spacing: 1px;
  color: #83876e;
}
.annotation-dot {
  position: absolute;
  height: 6px;
  width: 6px;
  background: #a2884f;
  left: -3px;
  top: 30px;
}
.annotation-one {
  top: 28%;
  left: 1%;
}
.annotation-two {
  top: 52%;
  right: 0;
  animation-delay: 1.4s;
}
.annotation-one:after,
.annotation-two:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 33px;
  width: 34px;
  height: 1px;
  background: #a5b28e;
}
.annotation-two:after {
  left: auto;
  right: 100%;
  width: 31px;
}
.floating-word {
  position: absolute;
  color: #74795d;
  font: italic 21px "Cormorant Garamond";
  opacity: 0.7;
  pointer-events: none;
}
.word-one {
  left: 38%;
  top: 17%;
  transform: rotate(-8deg);
}
.word-one i {
  font-size: 13px;
}
.word-two {
  left: 55%;
  bottom: 22%;
  transform: rotate(12deg);
  font-size: 17px;
}
.reading-blueprint[data-mode="meaning"] .annotation-two {
  background: #e6eadb;
  border-color: #869775;
  transform: translateY(-8px);
}
.reading-blueprint[data-mode="expression"] .floating-word {
  opacity: 1;
  color: #8b662c;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.reading-blueprint[data-mode="structure"] .book-text {
  stroke: #7d8f61;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 20px;
  padding: 0 28px;
  min-height: 64px;
}
.hero-bottom p {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
}
.live-dot {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: #8d9c6e;
  border-radius: 50%;
  margin-right: 9px;
}
.blueprint-controls {
  display: flex;
  gap: 0;
  align-self: stretch;
}
.blueprint-controls button {
  border-left: 1px solid var(--line);
  padding: 12px 23px;
  font-size: 12px;
}
.blueprint-controls small {
  font: 9px var(--ui);
  margin-right: 9px;
  color: #9b956f;
}
.blueprint-controls button[aria-pressed="true"] {
  background: #e8eadd;
  color: #4e6544;
}
.blueprint-controls button:hover {
  background: #e8eadd;
}
.home-intro {
  padding: 110px 8% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11%;
}
.home-intro h2,
.exam-feature h2 {
  font-size: 42px;
  line-height: 1.55;
  margin-top: 19px;
  font-weight: 400;
}
.home-intro > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 14px;
}
.reading-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  margin: 26px 0 0;
  background: #faf7ef;
}
.reading-facts > div {
  border-right: 1px solid var(--line);
  padding: 15px 18px;
}
.reading-facts > div:last-child {
  border: 0;
}
.reading-facts dt {
  font-size: 10px;
  color: #7c8966;
  letter-spacing: 1px;
}
.reading-facts dd {
  margin: 6px 0 0;
  font: 30px/1.2 var(--serif);
  white-space: nowrap;
}
.reading-facts dd small {
  font-size: 11px;
}
.reading-facts dd[lang="en"] {
  font-size: 24px;
  font-style: italic;
}
.home-stories {
  padding: 20px 8% 100px;
}
.section-heading {
  margin: 0 0 28px;
  align-items: end;
}
.section-heading h2 {
  font: 400 29px/1.6 var(--serif);
}
.section-heading .eyebrow {
  font: 9px var(--ui);
  margin-bottom: 11px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.learning-band {
  background: var(--sage);
  color: #faf7ec;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  padding: 85px 8%;
  gap: 10%;
  position: relative;
}
.learning-band .eyebrow {
  color: #f1ebd4;
}
.band-heading h2 {
  font: 400 75px/0.98 var(--serif);
  letter-spacing: -2px;
  margin: 28px 0;
}
.band-heading > p:last-of-type {
  font-size: 20px;
  letter-spacing: 2px;
}
.band-heading > svg {
  color: #e9e8cb;
  width: 95px;
  margin: 30px 0 -5px 30px;
  transform: rotate(-12deg);
}
.learning-steps a {
  display: flex;
  align-items: baseline;
  gap: 23px;
  border-top: 1px solid #e8ead649;
  padding: 20px 0;
}
.learning-steps a:last-child {
  border-bottom: 1px solid #e8ead649;
}
.learning-steps h3 {
  font: 21px/1.6 var(--serif);
  display: flex;
  gap: 20px;
  align-items: baseline;
}
.learning-steps h3 em {
  font-size: 22px;
  color: #f2edd9;
}
.learning-steps p {
  font-size: 12px;
  color: #faf7e9;
  margin-top: 5px;
}
.step-number {
  font: 14px var(--serif);
  color: #e6e4cc;
}
.step-arrow {
  margin-left: auto;
  transition: transform 0.3s;
}
.learning-steps a:hover .step-arrow {
  transform: translate(4px, -4px);
}
.learning-steps a:hover {
  color: #fff;
}
.exam-feature {
  padding: 100px 10%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 13%;
  align-items: center;
}
.exam-art {
  background: #e6e6d9;
  padding: 28px 30px;
  aspect-ratio: 0.92;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #7a8668;
  text-align: center;
  position: relative;
  border: 1px solid #d7d9c7;
}
.exam-art:after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid #b8bea479;
  pointer-events: none;
}
.exam-art-overline,
.exam-art-footer {
  font: 8px var(--ui);
  letter-spacing: 2px;
}
.exam-art > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.exam-big {
  font: 150px/1 var(--serif);
  letter-spacing: -20px;
}
.exam-art svg {
  width: 100px;
  height: 130px;
  margin-top: -30px;
}
.exam-art p {
  font: italic 20px/1.4 var(--serif);
  padding: 15px 0;
}
.exam-feature h2 {
  font-size: 34px;
  line-height: 1.65;
}
.exam-feature > div > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 2.2;
  color: var(--muted);
  margin: 22px 0 25px;
}
.exam-feature .outline-button {
  min-width: 220px;
  display: inline-flex;
  justify-content: space-between;
  gap: 22px;
}
.closing-note {
  text-align: center;
  border-top: 1px solid var(--line);
  margin: 10px 24px 0;
  padding: 65px 0 75px;
  position: relative;
  overflow: hidden;
}
.closing-note h2 {
  font: 400 80px/0.97 var(--serif);
  letter-spacing: -2px;
  margin: 25px 0 32px;
}
.closing-note h2 em {
  color: #6d7b60;
}
.closing-index {
  position: absolute;
  right: 5%;
  bottom: 65px;
  writing-mode: vertical-rl;
  color: #9a9c80;
  letter-spacing: 12px;
  font-size: 19px;
}
.continue-strip {
  border-radius: 0;
  margin: 30px 8% 0;
  padding: 17px 25px;
  background: #e7e8db;
  border-color: #d1d6c0;
  font-size: 13px;
}
.continue-strip > span {
  color: #657259;
}
.continue-strip > span:last-child {
  color: #41543a;
}
/* A collection, set like the contents of a magazine. */
.page-heading {
  margin: 35px 0 50px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 35px;
}
.page-heading h1 {
  font: 400 49px/1.5 var(--serif);
  margin-top: 15px;
}
.page-heading p:not(.eyebrow) {
  font-size: 16px;
}
.search {
  border: 0;
  border-bottom: 1px solid #b8b29e;
  border-radius: 0;
  background: none;
  padding: 7px 3px;
  width: 290px;
}
.search input {
  font-size: 13px;
  font-family: var(--serif);
}
.search:focus-within {
  outline: 2px solid #8f8056;
  outline-offset: 5px;
}
.month-tabs {
  gap: 6px;
  padding-bottom: 15px;
}
.month-tabs button {
  color: var(--muted);
  border-radius: 0;
  padding: 8px 14px;
  font-size: 13px;
}
.month-tabs button.active {
  background: #dce1cf;
  color: #485c3e;
  font-weight: 400;
}
.month-tabs small {
  color: #898b72;
}
.month-tabs button:hover {
  background: #e6e7d8;
}
.catalog-caption {
  font-size: 12px;
  margin: 23px 0;
}
.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 25px;
}
.course-card {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  min-height: 0;
  gap: 0;
  transition: transform 0.3s;
}
.course-card:hover {
  box-shadow: none;
  border-color: #949d7f;
  transform: translateY(-4px);
}
.course-card-content {
  padding: 20px 0 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-cover {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #e4e3d5;
}
.course-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.course-card:hover .course-cover img {
  transform: scale(1.035);
}
.course-cover > span {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #f7f2e8dd;
  padding: 5px 10px;
  font: 8px var(--ui);
  letter-spacing: 1px;
}
.card-meta {
  font-size: 10px;
  margin-bottom: 12px;
  color: var(--muted);
}
.card-meta span:first-child {
  font: 10px var(--ui);
  letter-spacing: 1.2px;
  color: #8b7850;
}
.course-card h3 {
  font: 400 20px/1.7 var(--serif);
  margin: 0 0 9px;
}
.card-en {
  font: italic 22px/1.2 var(--serif);
  color: #73775f;
  margin: 0 0 22px;
}
.card-bottom {
  border-color: var(--line);
  font-size: 10px;
  padding-top: 12px;
}
.typographic-cover {
  height: 135px;
  background: #e6e8db;
  color: #879474;
  padding: 13px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.typographic-cover > span {
  font: 7px var(--ui);
  letter-spacing: 1.5px;
}
.typographic-cover > em {
  font: 48px/0.9 var(--serif);
  align-self: center;
  letter-spacing: -1px;
}
.typographic-cover i {
  font-style: normal;
  font-size: 30px;
  margin: 0 12px;
  color: #adb497;
}
.course-card:nth-child(3n + 2) .typographic-cover {
  background: #eae3d4;
  color: #9a8866;
}
.course-card:nth-child(3n) .typographic-cover {
  background: #e1e3dd;
  color: #7f8a83;
}
.typographic-cover:after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid currentColor;
  opacity: 0.14;
}
.resource-grid {
  gap: 0 50px;
}
.resource-card {
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  padding: 25px 0 32px;
}
.resource-card h2 {
  font-size: 27px;
  font-weight: 400;
}
.resource-card:hover {
  color: var(--blue);
}
/* The reading room: editorial headings, generous measure, image captions and margins. */
.lesson-heading {
  padding: 18px 0 20px;
}
.back-link {
  font-size: 12px;
}
.lesson-kicker {
  margin: 35px 0 24px;
  justify-content: space-between;
  font-size: 11px;
}
.lesson-kicker span:first-child {
  font: 9px var(--ui);
  color: #8a784b;
  letter-spacing: 1.6px;
}
.lesson-title-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 9%;
  align-items: center;
}
.lesson-heading h1 {
  font: 400 clamp(40px, 4.45vw, 67px) / 1.08 var(--serif);
  letter-spacing: -1.5px;
  max-width: 780px;
}
.lesson-cn {
  font: 400 25px/1.7 var(--serif);
  margin-bottom: 24px;
}
.lesson-meta {
  gap: 14px;
  font-size: 11px;
  color: #716f5d;
}
.lesson-meta a {
  border-color: #b9b398;
  display: inline-block;
}
.lesson-tabs {
  gap: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.45fr;
  margin: 34px 0 26px;
  overflow: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lesson-tabs a {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 14px;
  padding: 16px 12px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.lesson-tabs small {
  font: 10px var(--serif);
  color: #939776;
  margin: 0;
}
.lesson-tabs a.active {
  background: #e5e8d8;
  border-color: #8c9c6d;
  color: #475b3c;
  font-weight: 400;
}
.lesson-tabs a:hover {
  background: #e9ebdf;
}
.audio-player {
  border-radius: 0;
  background: #e7e8db;
  border: 1px solid #d4d9c5;
  box-shadow: none;
  padding: 17px 23px;
  position: sticky;
  top: 10px;
  margin-bottom: 35px;
  gap: 20px;
}
.play-button {
  width: 44px;
  height: 44px;
  background: #5a6a4c;
  font-family: var(--ui);
  font-size: 14px;
}
.audio-top {
  font-size: 13px;
}
.audio-top span {
  font: 11px var(--ui);
  color: #6c755e;
}
.audio-options select {
  background: #f4f3e9;
  border-color: #c4cbb4;
  border-radius: 0;
  font-size: 14px;
  font-family: var(--serif);
}
.audio-options button {
  font-family: var(--ui);
}
.article-figure {
  margin: 37px 0 42px;
  max-width: 100%;
}
.lead-figure {
  margin: 0 0 50px;
}
.image-zoom {
  position: relative;
  display: block;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  background: #ebe8dd;
  overflow: hidden;
}
.image-zoom img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 590px;
  object-fit: contain;
}
.lead-figure .image-zoom {
  max-height: 500px;
  background: #e5e4d8;
}
.lead-figure img {
  height: 440px;
  object-fit: contain;
}
.image-zoom > span {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #fbf8eff0;
  color: #61734e;
  font: 18px var(--ui);
}
.article-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 11px;
  color: #777662;
  margin-top: 11px;
  line-height: 1.7;
}
.article-figure figcaption > span:last-child {
  flex-shrink: 0;
  font-size: 10px;
}
.article-figure figcaption a {
  border-bottom: 1px solid var(--line);
}
.reading-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 60px;
  padding-top: 10px;
}
.reading-margin {
  align-self: start;
  position: sticky;
  top: 130px;
  color: #878b73;
}
.reading-margin > p {
  font-size: 24px;
  line-height: 1.7;
  margin: 18px 0 27px;
}
.reading-margin nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.reading-margin nav a {
  font: 11px/2 var(--serif);
  padding: 6px 0;
  color: #737c62;
  display: flex;
  gap: 22px;
}
.reading-margin nav a:hover {
  color: #263b22;
}
.reading-margin nav span {
  font-size: 11px;
}
.margin-note {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
  font-size: 11px;
  line-height: 2;
}
.article-sheet {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
  max-width: 850px;
  min-width: 0;
}
.article-toolbar {
  border-color: var(--line);
  padding: 0 0 25px;
  gap: 20px;
}
.article-toolbar h2 {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 400;
}
.article-toolbar .eyebrow {
  font: 8px var(--ui);
  letter-spacing: 1.6px;
  display: block;
  margin-bottom: 9px;
}
.article-toolbar .outline-button {
  padding: 8px 15px;
  font-size: 12px;
}
.paragraph {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0 21px;
  scroll-margin-top: 135px;
}
.paragraph-id {
  font: 9px/2 var(--ui);
  color: #909476;
  padding-top: 11px;
}
.english {
  font:
    400 27px/1.62 "Cormorant Garamond",
    "Hanazono Mincho",
    serif;
  color: #3c382c;
  overflow-wrap: break-word;
}
.english strong {
  font-weight: 600;
}
.translation {
  font:
    400 16px/2.15 "Hanazono Mincho",
    serif;
  color: #777763;
  margin-top: 18px;
  overflow-wrap: break-word;
}
.article-more {
  margin-top: 45px;
  border-color: var(--line);
}
.article-more > details > summary {
  font-size: 22px;
  font-weight: 400;
}
.article-more summary span {
  font-family: var(--serif);
}
.article-more > a {
  padding: 20px 0;
  border-color: var(--line);
}
.accent-switch {
  border-radius: 0;
  border-color: #c2c8b0;
  padding: 3px;
}
.accent-switch button {
  border-radius: 0;
  font-size: 12px;
}
.accent-switch .active {
  background: #5b6c50;
}
.lesson-neighbors {
  border-top: 1px solid var(--line);
  padding: 32px 0 0;
  margin-top: 65px;
  gap: 12%;
}
.lesson-neighbors a span {
  font-size: 16px;
  line-height: 1.8;
}
.lesson-neighbors small {
  font-size: 11px;
  color: #7f8b69;
}
.prose {
  font: 19px/1.95 var(--serif);
}
.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--serif);
  font-weight: 400;
}
.prose strong {
  font-weight: 600;
}
.prose a {
  color: #647646;
  text-decoration-color: #b3bd9f;
}
.prose blockquote {
  background: #e9ebde;
  border-color: #9daa85;
  font-family: var(--serif);
  color: #5b694a;
}
.prose th {
  background: #e9ebdd;
  color: #657351;
}
.prose td,
.prose th {
  border-color: var(--line);
}
.prose table {
  font-size: 15px;
}
.table-scroll {
  border-radius: 0;
}
.prose details {
  border-radius: 0;
}
.prose code,
.prose pre {
  background: #e9e9dc;
}
.prose summary {
  font-size: 15px;
}
.anchor-highlight {
  background: #ece4bf !important;
  box-shadow: 0 0 0 7px #ece4bf;
}
.review-intro,
.practice-header,
.exam-intro {
  margin: 44px 0 34px;
}
.review-intro h2,
.practice-header h2,
.exam-intro h2 {
  font-size: 30px;
  font-weight: 400;
}
.review-intro p,
.practice-header p,
.exam-intro > p:last-child {
  font-size: 14px;
}
.review-sequence span {
  border-color: #cdd3b8;
  background: transparent;
}
.review-section {
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
}
.review-title {
  padding: 25px 0;
  background: transparent;
  border: 0;
}
.review-title > span {
  font-family: var(--serif);
  color: var(--gold);
}
.review-title h3 {
  font-weight: 400;
}
.review-content {
  padding: 0 0 25px 48px;
}
.review-framework {
  gap: 30px;
}
.timeline-node > span {
  border-radius: 0;
  background: #e3e8d4;
  color: #698055;
}
.timeline-node:not(:last-child):before {
  background: #c3cdb0;
}
.timeline-node h4 {
  color: #566b45;
  font-weight: 400;
  font-size: 19px;
}
.timeline-node p {
  color: #767760;
  font-size: 16px;
}
.vocab-grid {
  gap: 20px;
}
.vocab-card {
  border-radius: 0;
  background: #eeebde;
  border: 1px solid var(--line);
  padding: 22px;
}
.vocab-card h4 {
  font: 28px/1.2 var(--serif);
  color: #5e744d;
}
.vocab-card p {
  color: #72735c;
  font-size: 15px;
}
.review-3 {
  background: #e7e9da;
  padding: 0 25px;
}
.review-3 .review-content {
  font-size: 17px;
}
.practice-cta {
  border-radius: 0;
  background: #859477;
  padding: 28px 35px;
  font-size: 15px;
}
.practice-cta > span {
  color: #faf7ea;
}
.question-total {
  font-family: var(--serif);
  color: #83956e;
}
.question-card {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 30px 0;
  margin: 25px 0;
  background: transparent;
}
.question-heading > span {
  font-family: var(--serif);
  color: #ab935e;
  font-size: 30px;
}
.question-heading h4 {
  font-size: 14px;
}
.question-prompt {
  font-size: 19px;
}
.question-card textarea {
  border-radius: 0;
  background: #faf7ef;
  border-color: #cfcdb9;
  font-family: var(--serif);
  font-size: 17px;
  min-height: 125px;
}
.question-card textarea:read-only {
  background: #ececdf;
  color: #646e52;
}
.answer-panel {
  background: #e6eadb;
  border-color: #a6b78e;
  border-radius: 0;
  padding: 25px 30px;
}
.answer-panel h5 {
  color: #526a45;
}
.answer-panel .prose {
  color: #546646;
  font-size: 17px;
}
.practice-summary {
  border-radius: 0;
  background: #e7e9d8;
  color: #657653;
  font-size: 14px;
}
.submit-bar {
  border-radius: 0;
  background: #f7f4eaf5;
  border-color: #cacfb7;
  box-shadow: 0 4px 20px #3c4c2510;
  padding: 18px 24px;
}
.exam-tabs a {
  border-radius: 0;
  background: transparent;
  font-size: 14px;
}
.exam-tabs .active {
  background: #7b8d69;
  border-color: #7b8d69;
}
.exam-content {
  border-radius: 0;
  background: #f9f6ed;
  border: 1px solid #d9d5c3;
  padding: 30px 40px;
}
.method-strip {
  background: #e6e9d7;
  border-radius: 0;
  color: #687957;
  font-size: 12px;
}
.linked-exam-heading,
.exam-vocab-title {
  border-color: #c9d0b5;
}
.review-2 .review-content > ul > li {
  border-color: #bbaa79;
  font-size: 16px;
}
.question-group {
  font-size: 25px;
  font-weight: 400;
}
/* The companion, documents, login and feedback belong to the same room. */
#ai-launcher {
  border: 1px solid #b1ba99;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  right: 22px;
  bottom: 25px;
  background: #f7f4e9;
  box-shadow: 0 5px 22px #4b563914;
  padding: 5px;
  font-size: 10px;
  color: #667651;
}
#ai-launcher span {
  font-size: 21px;
  line-height: 1.1;
}
.ai-panel {
  background: #f8f5eb;
  border-color: #c7ceb5;
  box-shadow: -12px 0 50px #35482a20;
}
.ai-heading h2 {
  font-weight: 400;
}
.ai-intro h3 {
  font-weight: 400;
  font-size: 24px;
}
.ai-intro p {
  font-size: 15px;
}
.ai-model {
  font-size: 11px;
}
.quick-prompts button {
  border-radius: 0;
  font-size: 12px;
  border-color: #cbd2b9;
}
#ai-question {
  background: #fffcf5;
  border-radius: 0;
  border-color: #c7ceb7;
  font: 16px/1.7 var(--serif);
}
.ai-footnote {
  font-size: 11px;
}
.chat-user {
  background: #e5e9d7;
  border-radius: 0;
  font-size: 16px;
}
.chat-answer {
  font-size: 17px;
}
.chat-answer h2,
.chat-answer h3 {
  font: 400 21px var(--serif);
}
#ai-quote {
  background: #eaece0;
  border-radius: 0;
  border-color: #a6b58b;
}
#ai-quote blockquote {
  font: 16px/1.6 var(--serif);
}
#selection-ask {
  background: #556c43;
  border-radius: 0;
  font-size: 13px;
}
.ai-open .shell {
  margin-right: 0;
}
.ai-open .site-header {
  padding-right: 5%;
}
dialog {
  background: #f7f3e9;
  border-radius: 0;
  border-color: #cbd0b9;
  color: var(--ink);
}
dialog::backdrop {
  background: #28372280;
  backdrop-filter: blur(3px);
}
.document-bar {
  background: #f4f0e4;
  border-color: #cbd0b9;
}
.document-bar strong {
  font-size: 16px;
  font-weight: 400;
}
#document-content {
  padding: 30px 44px;
}
.login-card {
  background: #f9f6ed;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 40px;
  box-shadow: none;
}
.login-card h1 {
  font-weight: 400;
}
.login-card input {
  background: var(--paper);
  border-radius: 0;
}
.login-card label {
  font-size: 14px;
}
#toast {
  border-radius: 0;
  background: #526749;
  color: #fffdf3;
  font-size: 14px;
}
.loading,
.empty {
  color: #6a7558;
  font-size: 16px;
}
.empty h1 {
  font-weight: 400;
}
.empty p {
  margin: 15px 0 22px;
}
#image-dialog {
  max-width: 1200px;
  width: 94vw;
  height: auto;
  max-height: 95vh;
  padding: 50px 28px 22px;
  background: #f5f0e5;
}
#image-close {
  position: absolute;
  right: 10px;
  top: 8px;
}
#image-full {
  display: block;
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: auto;
}
#image-caption {
  text-align: center;
  margin: 15px 0 0;
  font-size: 14px;
}
@keyframes draw-page {
  from {
    stroke-dashoffset: 1800;
    opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
@keyframes grow-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes reveal-ink {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.24;
  }
}
@keyframes annotation-in {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(4px, -5px);
  }
}
.reveal {
  opacity: 1;
}
.reveal.revealed {
  animation: section-in 0.8s ease both;
}
@keyframes section-in {
  from {
    opacity: 0.35;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .hero-composition {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .hero-copy {
    padding-left: 40px;
  }
  .home-intro,
  .home-stories,
  .learning-band {
    padding-left: 10%;
    padding-right: 10%;
  }
  .hero-chinese {
    font-size: 27px;
  }
  .hero-description {
    font-size: 15px;
  }
  .course-cover {
    height: 260px;
  }
  .reading-layout {
    gap: 80px;
  }
}
@media (min-width: 1400px) {
  .ai-open .shell {
    margin-right: 400px;
  }
  .ai-open .hero-composition {
    grid-template-columns: 1fr;
  }
  .ai-open .reading-blueprint {
    display: none;
  }
  .ai-open .desktop-nav {
    gap: 18px;
    margin-right: 0;
  }
  .ai-open .desktop-nav small {
    display: none;
  }
  .ai-open .reading-layout {
    grid-template-columns: 1fr;
  }
  .ai-open .reading-margin {
    display: none;
  }
  .ai-open .lesson-title-grid {
    grid-template-columns: 1fr;
  }
  .ai-open .lesson-cn {
    margin-top: 20px;
  }
}
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 25px;
    margin: 0;
  }
  .desktop-nav small {
    display: none;
  }
  .site-header {
    padding: 0 4%;
  }
  .hero-composition {
    padding: 45px 3%;
  }
  .hero-copy h1 {
    font-size: 76px;
  }
  .hero-chinese {
    font-size: 19px;
  }
  .hero-copy > .text-link {
    display: flex;
    width: max-content;
    margin-top: 14px;
  }
  .annotation {
    min-width: 129px;
    font-size: 10px;
    padding: 9px 11px;
  }
  .annotation small {
    font-size: 7px;
  }
  .blueprint-label {
    font-size: 6px;
    left: 30px;
  }
  .blueprint-bottom {
    font-size: 8px;
    left: 29px;
  }
  .word-one {
    font-size: 18px;
  }
  .hero-bottom {
    padding: 0 17px;
  }
  .blueprint-controls button {
    padding: 15px;
  }
  .home-intro {
    padding: 80px 7% 65px;
    gap: 8%;
  }
  .home-intro h2 {
    font-size: 34px;
  }
  .home-stories {
    padding: 15px 7% 75px;
  }
  .featured-grid {
    gap: 20px;
  }
  .course-cover {
    height: 190px;
  }
  .learning-band {
    padding: 65px 7%;
    gap: 8%;
  }
  .band-heading h2 {
    font-size: 67px;
  }
  .learning-steps h3 {
    gap: 10px;
    flex-wrap: wrap;
  }
  .learning-steps h3 em {
    font-size: 20px;
  }
  .exam-feature {
    padding: 75px 8%;
    gap: 9%;
  }
  .exam-feature h2 {
    font-size: 29px;
  }
  .exam-big {
    font-size: 120px;
  }
  .exam-art svg {
    width: 75px;
  }
  .reading-layout {
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 30px;
  }
  .lesson-title-grid {
    gap: 6%;
  }
  .lesson-cn {
    font-size: 21px;
  }
  .lesson-tabs small {
    display: inline;
  }
  .course-grid {
    gap: 30px 22px;
  }
  .article-sheet {
    padding: 0;
  }
  .english {
    font-size: 25px;
  }
  .reading-facts > div {
    padding: 14px 10px;
  }
  .reading-facts dd[lang="en"] {
    font-size: 21px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 78px;
    padding: 0 20px;
  }
  .wordmark {
    font-size: 23px;
    gap: 9px;
  }
  .wordmark-symbol {
    height: 44px;
    width: 30px;
    font-size: 19px;
  }
  .wordmark small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .desktop-nav {
    display: none;
  }
  .header-ai {
    font-size: 11px !important;
    padding: 8px 11px !important;
    min-height: 38px;
  }
  .topbar {
    height: 46px;
    padding: 0 20px;
    background: #eeeadd;
    border-bottom: 1px solid var(--line);
  }
  body[data-page="home"] .topbar {
    display: flex;
  }
  .topbar .top-note {
    display: block;
    font-size: 14px;
  }
  .topbar .ai-top {
    display: none;
  }
  .topbar > div {
    gap: 9px;
  }
  .topbar #breadcrumb {
    font-size: 11px;
  }
  .mobile-only {
    display: inline-block;
  }
  .icon-button {
    padding: 6px;
    font-size: 22px;
  }
  .sidebar {
    display: flex;
    width: 260px;
    background: #f7f3e7;
    box-shadow: 12px 0 45px #34452530;
  }
  .sidebar .brand-mark {
    background: #6d7d59;
    border-radius: 0;
  }
  .sidebar .nav-item {
    border-radius: 0;
    gap: 12px;
  }
  .sidebar .nav-item.active,
  .sidebar .nav-item:hover {
    background: #e3e7d6;
  }
  .sidebar .brand {
    margin-bottom: 45px;
  }
  .sidebar .nav-label {
    font-size: 12px;
  }
  .shell {
    margin: 0;
  }
  .home-hero {
    margin: 12px 12px 0;
  }
  .hero-edition {
    font-size: 9px;
    padding: 10px 15px;
    letter-spacing: 0.5px;
  }
  .hero-edition > span:last-child {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .hero-composition {
    grid-template-columns: 1fr;
    padding: 32px 24px 15px;
    gap: 18px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
  }
  .hero-copy h1 {
    font-size: clamp(62px, 12vw, 86px);
    line-height: 0.97;
    letter-spacing: -2px;
  }
  .hero-chinese {
    font-size: 18px;
    margin: 22px 0 12px;
    letter-spacing: 0;
  }
  .hero-description {
    font-size: 12px;
    line-height: 1.9;
  }
  .hero-cta {
    margin-top: 20px;
    min-width: 157px;
    padding: 12px 18px;
    font-size: 12px;
    margin-right: 12px;
  }
  .hero-copy > .text-link {
    display: inline-flex;
    font-size: 10px;
    margin-top: 14px;
    gap: 9px;
  }
  .reading-blueprint {
    width: 100%;
    aspect-ratio: 1.3;
    margin-top: 4px;
  }
  .blueprint-label {
    font-size: 6px;
    top: 29px;
    left: 28px;
    letter-spacing: 0.8px;
  }
  .annotation {
    font-size: 10px;
    min-width: 122px;
    padding: 8px 10px 8px 13px;
  }
  .annotation-one {
    top: 26%;
    left: 0;
  }
  .annotation-two {
    top: 54%;
    right: -7px;
  }
  .annotation-one:after {
    width: 20px;
  }
  .annotation-two:after {
    width: 15px;
  }
  .annotation small {
    font-size: 6px;
  }
  .annotation-dot {
    top: 24px;
  }
  .annotation-one:after,
  .annotation-two:after {
    top: 27px;
  }
  .word-one {
    font-size: 17px;
  }
  .word-two {
    font-size: 14px;
  }
  .blueprint-bottom {
    bottom: 22px;
    font-size: 8px;
    left: 26px;
    right: 18px;
  }
  .blueprint-bottom > span:last-child {
    font-size: 6px;
  }
  .hero-bottom {
    display: block;
    padding: 0;
    min-height: 0;
  }
  .hero-bottom > p {
    font-size: 9px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
  }
  .blueprint-controls {
    justify-content: space-between;
  }
  .blueprint-controls button {
    flex: 1;
    padding: 13px 6px;
    font-size: 10px;
  }
  .blueprint-controls button:first-child {
    border: 0;
  }
  .blueprint-controls small {
    font-size: 8px;
    margin-right: 5px;
  }
  .home-intro {
    padding: 62px 25px 45px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-intro h2 {
    font-size: 30px;
    line-height: 1.6;
    margin-top: 14px;
  }
  .home-intro > div > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 2.1;
  }
  .reading-facts {
    margin-top: 24px;
  }
  .reading-facts > div {
    padding: 15px;
  }
  .reading-facts dd {
    font-size: 28px;
  }
  .reading-facts dd[lang="en"] {
    font-size: 24px;
  }
  .home-stories {
    padding: 12px 25px 55px;
  }
  .section-heading {
    flex-direction: row;
    gap: 12px;
    align-items: end;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 24px;
    line-height: 1.6;
  }
  .section-heading .text-link {
    font-size: 11px;
    white-space: nowrap;
    gap: 10px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
    line-height: 1.6;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .course-cover {
    height: auto;
    aspect-ratio: 1.55;
  }
  .course-card h3 {
    font-size: 21px;
  }
  .card-en {
    font-size: 23px;
    margin-bottom: 18px;
  }
  .card-meta {
    font-size: 10px;
  }
  .card-bottom {
    font-size: 11px;
  }
  .learning-band {
    grid-template-columns: 1fr;
    padding: 50px 25px;
    gap: 25px;
  }
  .band-heading {
    position: relative;
  }
  .band-heading h2 {
    font-size: 66px;
    margin: 22px 0;
  }
  .band-heading > p:last-of-type {
    font-size: 18px;
  }
  .band-heading > svg {
    position: absolute;
    right: 12px;
    top: 65px;
    width: 75px;
    margin: 0;
  }
  .learning-steps a {
    padding: 18px 0;
    gap: 17px;
  }
  .learning-steps h3 {
    font-size: 20px;
    gap: 16px;
  }
  .learning-steps h3 em {
    font-size: 23px;
  }
  .learning-steps p {
    font-size: 12px;
  }
  .exam-feature {
    padding: 55px 25px;
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .exam-art {
    max-height: 310px;
    aspect-ratio: 1.1;
    width: 100%;
    padding: 25px;
  }
  .exam-art p {
    font-size: 20px;
  }
  .exam-big {
    font-size: 125px;
  }
  .exam-art svg {
    width: 85px;
    height: 110px;
  }
  .exam-feature h2 {
    font-size: 29px;
    margin-top: 15px;
  }
  .exam-feature > div > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 2.2;
  }
  .closing-note {
    margin: 0 12px;
    padding: 45px 15px 55px;
  }
  .closing-note h2 {
    font-size: 57px;
  }
  .closing-index {
    right: 6%;
    bottom: 50px;
    font-size: 14px;
    letter-spacing: 8px;
  }
  .closing-note .primary {
    font-size: 12px;
  }
  .footer {
    padding: 25px 20px;
    flex-wrap: wrap;
    gap: 10px 25px;
  }
  .footer-brand {
    font-size: 21px;
  }
  .footer-brand em {
    font-size: 27px;
  }
  .footer > span {
    font-size: 10px;
  }
  .footer > span:last-child {
    width: 100%;
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .continue-strip {
    margin: 23px 25px 0;
    padding: 16px;
    font-size: 11px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .continue-strip strong {
    max-width: 100%;
    flex: 1;
  }
  .continue-strip > span:first-child {
    width: 100%;
  }
  main {
    padding: 20px 20px 55px;
  }
  .page-heading {
    margin: 15px 0 32px;
    padding-bottom: 28px;
  }
  .page-heading h1 {
    font-size: 37px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 14px;
  }
  .page-heading + .section-heading {
    flex-direction: column;
  }
  .search {
    width: 100%;
    margin-top: 4px;
  }
  .section-heading:has(.search) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
  .month-tabs {
    gap: 4px;
  }
  .month-tabs button {
    padding: 8px 10px;
    font-size: 12px;
  }
  .course-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .course-grid .course-card h3 {
    font-size: 17px;
  }
  .course-grid .card-en {
    font-size: 20px;
  }
  .course-grid .card-bottom {
    font-size: 9px;
    gap: 3px;
  }
  .course-grid .course-cover {
    height: 135px;
    aspect-ratio: auto;
  }
  .typographic-cover {
    height: 115px;
    padding: 13px;
  }
  .typographic-cover > em {
    font-size: 40px;
  }
  .typographic-cover > span {
    font-size: 6px;
    letter-spacing: 0.9px;
  }
  .course-card-content {
    padding: 15px 0;
  }
  .card-meta span:first-child {
    font-size: 9px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .resource-card {
    padding: 25px 0;
  }
  .resource-card h2 {
    font-size: 25px;
  }
  .lesson-heading {
    padding-top: 10px;
  }
  .lesson-kicker {
    margin: 26px 0 22px;
    font-size: 10px;
    gap: 12px;
  }
  .lesson-kicker span:first-child {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .lesson-title-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lesson-heading h1 {
    font-size: 45px;
    line-height: 1.08;
    letter-spacing: -0.8px;
  }
  .lesson-cn {
    font-size: 21px;
    line-height: 1.8;
    margin: 0 0 17px;
  }
  .lesson-meta {
    font-size: 10px;
    gap: 10px 16px;
  }
  .lesson-tabs {
    display: flex;
    gap: 0;
    margin: 25px 0 22px;
    white-space: nowrap;
  }
  .lesson-tabs a {
    padding: 13px 15px;
    font-size: 13px;
    gap: 7px;
    flex-shrink: 0;
    flex-grow: 1;
  }
  .lesson-tabs small {
    font-size: 9px;
    display: inline;
  }
  .audio-player {
    padding: 14px 15px;
    gap: 12px;
    top: 6px;
    margin-bottom: 25px;
  }
  .audio-track {
    width: calc(100% - 60px);
  }
  .audio-options {
    width: 100%;
    margin-top: -3px;
    gap: 18px;
  }
  .audio-options select {
    font-size: 13px;
  }
  .audio-top {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .audio-top span {
    font-size: 9px;
  }
  .play-button {
    width: 39px;
    height: 39px;
  }
  .lead-figure {
    margin-bottom: 32px;
  }
  .lead-figure img {
    height: auto;
    max-height: 370px;
  }
  .article-figure {
    margin: 25px 0 32px;
  }
  .article-figure figcaption {
    font-size: 10px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .article-figure figcaption > span:last-child {
    font-size: 9px;
  }
  .image-zoom img {
    max-height: 430px;
  }
  .reading-layout {
    display: block;
    padding-top: 0;
  }
  .reading-margin {
    display: none;
  }
  .article-sheet {
    padding: 0;
  }
  .article-toolbar {
    gap: 12px;
    padding-bottom: 22px;
    align-items: center;
  }
  .article-toolbar h2 {
    font-size: 19px;
  }
  .article-toolbar .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .article-toolbar .outline-button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .paragraph {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0 18px;
  }
  .paragraph-id {
    font-size: 8px;
    padding-top: 9px;
  }
  .english {
    font-size: 25px;
    line-height: 1.58;
  }
  .translation {
    font-size: 15px;
    line-height: 2.05;
    margin-top: 16px;
  }
  .article-more > details > summary {
    font-size: 20px;
    line-height: 1.7;
  }
  .article-more summary span {
    font-size: 11px;
  }
  .article-more > a {
    font-size: 13px;
  }
  .lesson-neighbors {
    margin-top: 45px;
    padding-top: 25px;
    gap: 25px;
  }
  .lesson-neighbors a span {
    font-size: 13px;
  }
  .lesson-neighbors small {
    font-size: 10px;
  }
  .review-intro,
  .practice-header,
  .exam-intro {
    margin: 30px 0;
  }
  .review-intro h2,
  .practice-header h2,
  .exam-intro h2 {
    font-size: 25px;
  }
  .review-intro p,
  .practice-header p,
  .exam-intro > p:last-child {
    font-size: 13px;
  }
  .review-title {
    padding: 22px 0;
    gap: 15px;
  }
  .review-title h3 {
    font-size: 21px;
  }
  .review-content {
    padding: 0 0 20px;
  }
  .review-framework {
    gap: 25px;
  }
  .prose {
    font-size: 17px;
    line-height: 1.9;
  }
  .prose h1 {
    font-size: 28px;
  }
  .prose h2 {
    font-size: 24px;
  }
  .prose h3 {
    font-size: 21px;
  }
  .prose table {
    font-size: 14px;
  }
  .review-3 {
    padding: 0 18px;
  }
  .vocab-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .vocab-card {
    padding: 20px;
  }
  .vocab-card h4 {
    font-size: 28px;
  }
  .vocab-card p {
    font-size: 15px;
  }
  .timeline-node p {
    font-size: 15px;
  }
  .timeline-node h4 {
    font-size: 17px;
  }
  .practice-cta {
    padding: 25px;
    gap: 12px;
    font-size: 14px;
  }
  .question-card {
    padding: 25px 0;
  }
  .question-prompt {
    font-size: 18px;
  }
  .question-card textarea {
    font-size: 16px;
  }
  .answer-panel {
    padding: 20px 18px;
  }
  .answer-panel .prose {
    font-size: 16px;
  }
  .exam-content {
    padding: 23px 18px;
  }
  .exam-tabs a {
    font-size: 12px;
    padding: 10px 12px;
  }
  .method-strip {
    padding: 13px;
    font-size: 11px;
  }
  .question-total {
    font-size: 37px;
  }
  .submit-bar {
    padding: 14px;
    font-size: 13px;
    bottom: 10px;
  }
  .submit-bar .primary {
    font-size: 12px;
    padding: 10px 14px;
  }
  .ai-panel {
    width: min(400px, 100vw);
    padding: 22px;
  }
  .ai-intro p {
    font-size: 14px;
  }
  .ai-intro h3 {
    font-size: 22px;
  }
  .ai-open .shell {
    margin: 0;
  }
  #ai-launcher {
    right: 12px;
    bottom: 15px;
    width: 52px;
    height: 52px;
    font-size: 9px;
  }
  #ai-launcher span {
    font-size: 19px;
  }
  .ai-footnote {
    font-size: 10px;
  }
  #document-content {
    padding: 22px;
  }
  .document-bar {
    padding: 14px 20px;
  }
  #image-dialog {
    padding: 45px 15px 18px;
  }
  .login-card {
    margin: 30px auto;
    padding: 28px;
  }
  .login-card h1 {
    font-size: 27px;
  }
}
@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: 59px;
  }
  .hero-chinese {
    font-size: 16px;
  }
  .hero-composition {
    padding: 30px 18px 14px;
  }
  .hero-cta {
    margin-right: 7px;
    min-width: 142px;
  }
  .hero-copy > .text-link {
    font-size: 9px;
  }
  .course-grid {
    grid-template-columns: 1fr;
  }
  .course-grid .course-card h3 {
    font-size: 21px;
  }
  .course-grid .card-en {
    font-size: 23px;
  }
  .course-grid .card-bottom {
    font-size: 11px;
  }
  .course-grid .course-cover {
    height: 190px;
  }
  .lesson-heading h1 {
    font-size: 40px;
  }
  .english {
    font-size: 24px;
  }
  .closing-note h2 {
    font-size: 50px;
  }
  .hero-edition > span:last-child {
    font-size: 6px;
  }
  .reading-facts > div {
    padding: 14px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .book-drawing {
    transform: none !important;
  }
}
@media (max-width: 760px) {
  body:not([data-page="home"]) .topbar .top-note {
    display: none;
  }
  .topbar #breadcrumb {
    white-space: nowrap;
  }
  .lesson-tabs {
    scrollbar-width: none;
  }
  .lesson-tabs::-webkit-scrollbar {
    display: none;
  }
  .lesson-tabs a {
    padding: 13px 11px;
  }
  .lesson-tabs small {
    display: none;
  }
}
@media (max-width: 760px) {
  .hero-copy h1 br:last-of-type {
    display: initial;
  }
}
@media (min-width: 761px) and (max-width: 950px) {
  .hero-copy h1 {
    font-size: 60px;
    letter-spacing: -2px;
  }
  .hero-chinese {
    font-size: 17px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-composition {
    gap: 2%;
    padding-left: 3%;
    padding-right: 3%;
  }
  .hero-bottom p {
    font-size: 9px;
  }
  .blueprint-controls button {
    padding: 14px 10px;
    font-size: 11px;
  }
  .course-cover {
    height: 165px;
  }
  .home-intro {
    gap: 6%;
  }
  .reading-facts dd[lang="en"] {
    font-size: 18px;
  }
}
