:root {
  --paper: #f8f6ef;
  --ink: #2c2b27;
  --wine: #945a4c;
  --muted: #706b61;
  --line: #d2cabd;
  --brown: #86725a;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; background: #e8e4dc; }
body { max-width: 640px; margin: 0 auto; background: #fff; color: var(--ink); font: 15px/1.9 var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.65; letter-spacing: 2px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
.wrap { width: calc(100% - 64px); margin-inline: auto; }
.section { padding-block: 48px; }
.eyebrow, .section-number { font: 10px/1.7 var(--sans); letter-spacing: 2px; color: var(--muted); }
.eyebrow { margin-bottom: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 46px; }
.small-note { font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.tiny-flower { font-size: 23px; color: var(--brown); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--brown); background: var(--brown); color: #fff; font-size: 14px; transition: background .2s; }
.button:hover { background: #6b5843; }
.text-link { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 10px 0; font-size: 14px; color: var(--ink); }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 16px; padding: 12px; background: var(--paper); }
.skip-link:focus { top: 16px; }
.demo-banner { padding: 5px 12px; background: #ede8dd; color: #655d51; text-align: center; font-size: 10px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-block: 24px 32px; color: var(--muted); font-size: 12px; }
.site-footer p:nth-child(2) { font-size: 9px; letter-spacing: 1px; }
.site-footer > span { color: var(--wine); font-size: 20px; }
figcaption { color: var(--muted); font-size: 11px; letter-spacing: 1px; margin-top: 12px; }
.letter-copy { margin-top: 24px; color: #5f5b53; font-family: var(--serif); font-size: 16px; line-height: 2.25; }
.letter-copy p + p { margin-top: 9px; }
.image-missing { background: #e9e2d5; color: var(--wine); font: 14px var(--sans); }
.noscript { position: fixed; inset: 20% 8% auto; padding: 30px; background: var(--paper); border: 1px solid var(--line); }
@media(max-width: 600px) {
  .wrap { width: calc(100% - 44px); }
  .site-header { height: 60px; }
  .site-header nav { gap: 17px; font-size: 11px; }
  .brand { font-size: 14px; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 32px; }
  .section-number { font-size: 9px; letter-spacing: 1px; }
  .small-note { font-size: 10px; }
  .letter-copy { font-size: 15px; line-height: 2.15; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p:nth-child(2) { font-size: 8px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

main img { filter: saturate(.72) contrast(.96); }
.demo-banner { background: transparent; font-size: 9px; color: #807b71; padding-bottom: 20px; }

[data-copy] { white-space: pre-line; }
.story-english { font-weight: normal; }
 .editor-entry { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 20; padding: .55rem .9rem; border: 1px solid #cdb9aa; border-radius: 999px; background: #fffdf8eF; color: #70564a; text-decoration: none; box-shadow: 0 .25rem 1rem #49352a1f; font-size: .85rem; }
