/* The journal inherits the Chinese site's paper, ink, lilac and lime. */
.journal-page { --reading-width: 34em; }
.journal-page h1, .journal-page h2, .journal-page h3 { letter-spacing: -0.025em; }
.journal-page :target { scroll-margin-top: 112px; }
.journal-header nav { margin-left: auto; margin-right: 0; }
.journal-hero { max-width: 1440px; margin: auto; padding: 64px 6% 72px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 7%; align-items: center; }
.journal-intro h1 { font-size: clamp(50px, 5.5vw, 80px); line-height: 1.2; }
.journal-intro h1 > span:first-of-type { position: relative; isolation: isolate; white-space: nowrap; }
.journal-intro h1 > span:first-of-type::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 8%; height: 25%; background: var(--lilac); }
.title-period { color: var(--ink); }
.journal-intro .journal-lead { font-size: 24px; margin: 32px 0 14px; font-weight: 540; }
.journal-intro > p:not(.journal-lead) { font-size: 18px; line-height: 1.9; }
.journal-intro > .button { margin-top: 30px; min-height: 48px; }
.journal-colophon { display: flex; flex-wrap: wrap; gap: 12px 28px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 48px; font-size: 12px; }
.cover-story { display: block; background: var(--lilac); padding: 28px 28px 0; border-radius: 24px; }
.cover-photo { position: relative; }
.cover-photo > img { width: 100%; height: 440px; object-fit: contain; background: #d7c8b6; border-radius: 160px 160px 0 0; }
.cover-sticker { position: absolute; right: -12px; top: 38px; background: var(--lime); border-radius: 50%; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; font-size: 17px; line-height: 1.4; transform: rotate(9deg); }
.cover-caption { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 22px 0 26px; }
.cover-caption h2 { font-size: 24px; }
.cover-arrow { font-size: 32px; transition: transform .2s ease-out; }
.cover-story:hover .cover-arrow { transform: translate(3px, -3px); }
.journal-ribbon { display: flex; align-items: center; gap: 38px; overflow: hidden; white-space: nowrap; background: var(--ink); color: var(--paper); padding: 18px 4%; font-size: 22px; }
.journal-ribbon i { font-style: normal; color: var(--lilac); }
.journal-entries { max-width: 1440px; padding: 90px 6%; margin: auto; }
.entries-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.entries-heading h2 { font-size: clamp(30px, 3vw, 44px); }
.entries-heading > p { font-size: 15px; }
.journal-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.journal-filters button { display: flex; align-items: center; gap: 14px; min-height: 44px; border: 1px solid var(--line); border-radius: 50px; background: var(--paper); padding: 9px 20px; font-size: 15px; }
.journal-filters button span { font-size: 12px; font-variant-numeric: tabular-nums; }
.journal-filters button:hover { background: var(--lime); border-color: var(--ink); }
.journal-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.diary-entry { display: grid; grid-template-columns: .85fr 1fr; gap: 8%; padding: 64px 0; align-items: center; border-bottom: 1px solid var(--line); }
.diary-entry:nth-child(even) .entry-figure { order: 2; }
.entry-figure { margin: 0; padding: 26px 26px 0; background: var(--entry-color); border-radius: 16px; }
.entry-figure img { width: 100%; height: 450px; object-fit: contain; }
.entry-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 0; font-size: 12px; }
.entry-figure figcaption > span:last-child { font-variant-numeric: tabular-nums; }
.entry-copy h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.4; text-wrap: balance; font-weight: 540; }
.entry-meta { display: flex; gap: 20px; margin: 18px 0 24px; font-size: 12px; }
.entry-meta > span:first-child { background: var(--entry-color); padding: 2px 10px; border-radius: 50px; }
.entry-copy .entry-formula { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; font-size: 15px; font-weight: 540; }
.entry-copy > p:not(.entry-meta):not(.entry-formula) { max-width: var(--reading-width); font-size: 17px; line-height: 1.95; margin-top: 16px; }
.wardrobe-note { margin-top: 26px; }
.wardrobe-note summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; min-height: 48px; border-block: 1px solid var(--line); padding: 12px 0; font-size: 15px; list-style: none; }
.wardrobe-note summary::-webkit-details-marker { display: none; }
.wardrobe-note summary > span { font-size: 24px; transition: transform .2s ease-out; }
.wardrobe-note[open] summary > span { transform: rotate(45deg); }
.wardrobe-note > p { padding: 16px 0 0; font-size: 15px; line-height: 1.9; }
.entry-next { display: inline-flex; gap: 20px; align-items: center; margin-top: 24px; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 6px; }
.entry-next:hover { text-decoration-thickness: 2px; }
.journal-about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10%; background: var(--lime); padding: 80px max(6%, calc((100vw - 1268px) / 2)); }
.journal-about h2 { font-size: clamp(30px, 3.5vw, 48px); line-height: 1.4; }
.journal-about > div:first-child p { max-width: var(--reading-width); margin-top: 28px; font-size: 17px; line-height: 1.9; }
.about-note { border-top: 1px solid var(--ink); padding-top: 24px; }
.about-note > span { font-size: 14px; }
.about-note > p { font-size: 27px; line-height: 1.55; margin: 24px 0; }
.about-note > small { display: block; max-width: 24em; font-size: 12px; line-height: 1.8; }
.journal-footer { padding: 40px 6%; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.journal-footer > p { font-size: 13px; }
.journal-footer > p > span { display: inline-block; font-size: 11px; margin-top: 5px; }
.journal-footer > a { margin-left: auto; font-size: 13px; padding: 12px 0; }
.journal-footer .site-filing { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width: 960px) {
  html .journal-page .journal-header { position: sticky; height: 80px; flex-wrap: nowrap; padding: 0 5%; gap: 24px; }
  html .journal-page .journal-header nav { position: static; display: flex; flex-direction: row; gap: 20px; width: auto; padding: 0; order: initial; border: 0; }
  .journal-hero { padding: 50px 5% 60px; gap: 5%; }
  .journal-intro h1 { font-size: clamp(44px, 6.5vw, 62px); }
  .cover-story { padding: 20px 20px 0; }
  .cover-photo > img { height: 380px; }
  .cover-sticker { width: 88px; height: 88px; font-size: 14px; }
  .cover-caption h2 { font-size: 20px; }
  .journal-colophon { margin-top: 30px; }
  .diary-entry { gap: 5%; }
  .entry-figure { padding: 18px 18px 0; }
  .entry-figure img { height: 390px; }
}
@media(max-width: 700px) {
  html .journal-page .journal-header { height: 72px; gap: 16px; }
  html .journal-page .journal-header nav { margin-left: auto; gap: 14px; font-size: 13px; }
  .journal-hero { display: block; padding: 40px 6% 44px; }
  .journal-intro h1 { font-size: clamp(45px, 11vw, 68px); }
  .journal-intro .journal-lead { font-size: 21px; margin-top: 24px; }
  .journal-intro > p:not(.journal-lead) { font-size: 16px; }
  .journal-colophon { margin: 28px 0; }
  .cover-story { padding: 22px 22px 0; border-radius: 16px; }
  .cover-photo > img { height: 400px; }
  .cover-caption h2 { font-size: 22px; }
  .cover-sticker { right: -10px; width: 90px; height: 90px; }
  .journal-ribbon { font-size: 18px; gap: 24px; padding: 16px 6%; }
  .journal-entries { padding: 50px 6% 20px; }
  .entries-heading { gap: 14px; }
  .entries-heading h2 { font-size: 29px; }
  .journal-filters { gap: 8px; padding-bottom: 24px; margin-top: 24px; }
  .journal-filters button { padding: 8px 14px; gap: 10px; font-size: 14px; }
  .diary-entry { display: block; padding: 36px 0 44px; }
  .entry-figure { padding: 22px 22px 0; margin-bottom: 28px; }
  .entry-figure img { height: 400px; }
  .entry-copy h3 { font-size: 28px; }
  .entry-meta { margin: 16px 0 20px; }
  .entry-copy > p:not(.entry-meta):not(.entry-formula) { font-size: 16px; }
  .journal-about { display: block; padding: 44px 6%; }
  .journal-about h2 { font-size: 31px; }
  .journal-about > div:first-child p { font-size: 16px; margin-top: 24px; }
  .about-note { margin-top: 38px; }
  .about-note > p { font-size: 26px; }
  .journal-page .journal-footer { padding: 28px 6%; gap: 18px; flex-wrap: wrap; }
  .journal-footer > p { font-size: 11px; }
  .journal-footer > a { font-size: 12px; }
}
@media(prefers-reduced-motion: reduce) { .cover-arrow, .wardrobe-note summary > span { transition: none; } }
