:root {
  color-scheme: light;
  --paper: #f7f3e8;
  --ink: #292f23;
  --muted: #545a45;
  --line: #d9d6c4;
  --olive: #405335;
  --olive-hover: #31442a;
  --heading-font: "Songti SC", "Noto Serif SC", "STSong", SimSun, serif;
  font-family: "PingFang SC", "Microsoft Yahei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, video:focus-visible { outline: 3px solid #926037; outline-offset: 4px; }
.wrap { width: min(100% - 5rem, 1160px); margin-inline: auto; }
.site-header, .site-footer { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.site-header { border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-size: 1.0625rem; font-weight: 650; white-space: nowrap; }
.brand img { border-radius: 11px; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3.6vw, 2.75rem); }
nav a, .site-footer > a:last-child { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--muted); white-space: nowrap; }
nav a:hover, .site-footer > a:last-child:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: .81fr 1.19fr; gap: clamp(2rem, 5vw, 5.25rem); align-items: center; padding-block: clamp(3.25rem, 6.7vw, 6.5rem); }
h1 { font-size: clamp(3rem, 5.4vw, 5.25rem); font-weight: 750; letter-spacing: -.055em; line-height: 1.13; }
.hero-copy p, .trailer-copy p { color: var(--muted); font-size: 1.0625rem; line-height: 1.8; text-wrap: pretty; }
.hero-copy p { max-width: 22em; margin-top: 1.55rem; }
.primary { margin-top: 1.95rem; display: inline-flex; align-items: center; gap: 11px; min-height: 50px; padding: 0 22px; border-radius: 44px; background: var(--olive); color: #fffdf6; font-weight: 650; box-shadow: 0 4px 0 #cbd2b9; transition: background .15s, translate .15s; }
.primary:hover { background: var(--olive-hover); }
.primary:active { translate: 0 2px; }
.play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.hero-figure { background: #fffdf6; padding: 12px 12px 0; border: 1px solid #ddd9c8; border-radius: 4px; box-shadow: 0 10px 27px #392f1618; rotate: 1deg; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.41; object-fit: cover; object-position: center 60%; border-radius: 2px; }
.hero-figure figcaption { display: flex; gap: .75rem; justify-content: space-between; align-items: center; min-height: 48px; padding-inline: 5px; font-size: .875rem; color: var(--muted); }

.journal { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5.25rem); scroll-margin-top: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 3.1vw, 2.25rem); margin-top: 1.9rem; }
.journal article img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; border: 1px solid #dcd5bd; border-radius: 5px; }
.journal article:first-child img { object-position: 50% 76%; }
.journal article:last-child img { object-position: 50% 43%; }
.journal h3 { margin-top: 1rem; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; }
.journal article p { margin-top: .4rem; font-size: 1rem; line-height: 1.7; color: var(--muted); }

.trailer { background: #e7e9d9; border-block: 1px solid #d6dbcb; padding-block: clamp(3rem, 7vw, 6.25rem); }
.trailer-inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; column-gap: clamp(2rem, 6vw, 6rem); }
.trailer-copy p { margin-top: 1rem; }
video { display: block; background: #252c22; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; }
.video-description { grid-column: 2; margin-top: .65rem; color: var(--muted); font-size: .875rem; }
.site-footer { min-height: 94px; }

@media (max-width: 880px) {
  .wrap { width: min(100% - 3rem, 740px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; }
  h1 { font-size: clamp(2.3rem, 5.7vw, 4.2rem); }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { min-height: 66px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.1rem; padding-block: 2.6rem 3rem; }
  h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero-copy p { margin-top: 1.05rem; }
  .primary { margin-top: 1.3rem; }
  .hero-figure { margin-inline: 4px; }
  .journal-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .journal-grid img { max-height: 255px; }
  .trailer-inner { grid-template-columns: minmax(0, 1fr); row-gap: 1.2rem; }
  .video-description { grid-column: 1; margin-top: -.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary { transition: none; }
}
