@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #f5f2ea;
  --ink: #20241f;
  --muted: #74776f;
  --line: #d5d0c5;
  --green: #244d3d;
  --red: #a74939;
  --white: #fffef9;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Work Sans", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
body, button { font-size: 16px; }
a { color: inherit; }
img { display: block; width: 100%; }
button { font-family: inherit; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 64px)); height: 92px; display: flex; align-items: center;
  justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.4);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--green); background: var(--paper); font-family: "Noto Serif SC", serif; font-size: 20px; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a { position: relative; padding: 35px 0 33px; color: rgba(255,255,255,.76); font-size: 14px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; right: 0; bottom: 25px; left: 0; height: 2px; background: white; transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover, .nav a.active { color: white; }
.nav a.active::after { transform: scaleX(1); }
.menu-button { display: none; width: 42px; height: 42px; padding: 11px 8px; border: 0; background: transparent; }
.menu-button span { display: block; height: 1px; margin: 7px 0; background: white; }

.hero { position: relative; min-height: 760px; height: 92vh; max-height: 920px; display: flex; align-items: flex-end; overflow: hidden; color: white; }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; }
.hero-image { object-fit: cover; object-position: center 56%; }
.hero-shade { background: linear-gradient(90deg, rgba(8,24,18,.66) 0%, rgba(8,24,18,.26) 48%, rgba(8,24,18,.05) 72%), linear-gradient(0deg, rgba(8,20,15,.48), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding-bottom: 118px; }
.hero-kicker, .eyebrow { margin: 0 0 18px; color: var(--red); font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.hero-kicker { color: rgba(255,255,255,.8); }
.hero h1 { margin: 0; font-family: "Noto Serif SC", serif; font-size: clamp(72px, 9vw, 132px); font-weight: 600; line-height: 1; letter-spacing: 0; }
.hero-line { margin: 24px 0 35px; font-family: "Noto Serif SC", serif; font-size: 21px; }
.scroll-link { display: inline-flex; align-items: center; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.7); font-size: 14px; text-decoration: none; }
.scroll-link svg { width: 34px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s ease; }
.scroll-link:hover svg { transform: translateX(5px); }
.hero-date { position: absolute; z-index: 1; right: max(32px, calc((100vw - 1240px) / 2)); bottom: 55px; display: flex; align-items: baseline; gap: 10px; }
.hero-date span { font-size: 10px; letter-spacing: .15em; }
.hero-date strong { font-family: Georgia, serif; font-size: 24px; font-weight: 400; }

.intro-band { width: min(1040px, calc(100% - 64px)); min-height: 290px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.intro-band p { max-width: 760px; margin: 0; font-family: "Noto Serif SC", serif; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.9; }
.seal { flex: 0 0 auto; width: 66px; height: 66px; display: grid; place-items: center; color: var(--red); border: 1px solid var(--red); font-family: "Noto Serif SC", serif; line-height: 1.15; transform: rotate(-4deg); }

.section { padding: 110px max(32px, calc((100vw - 1240px) / 2)); }
.journal { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 55px; }
.section-heading h2, .about h2 { margin: 0; font-family: "Noto Serif SC", serif; font-size: clamp(38px, 5vw, 62px); font-weight: 600; line-height: 1.25; }
.section-heading > p { max-width: 360px; margin: 0 0 7px; color: var(--muted); line-height: 1.8; }

.story-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 34px; }
.story { min-width: 0; }
.story-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd8ce; }
.story-featured .story-image { aspect-ratio: 4 / 4.3; }
.story-image img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.story-image:hover img { transform: scale(1.035); }
.story-number { position: absolute; right: 0; bottom: 0; min-width: 48px; padding: 14px; color: white; background: rgba(27,37,31,.8); font-family: Georgia, serif; text-align: center; }
.story-copy { padding-top: 24px; }
.story-meta { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.story-meta span { margin-right: 12px; color: var(--red); font-weight: 600; }
.story h3 { margin: 0 0 12px; font-family: "Noto Serif SC", serif; font-size: 24px; font-weight: 600; }
.story h3 a { text-decoration: none; }
.story-copy > p:last-of-type { min-height: 52px; margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.read-button { padding: 0 0 5px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); font-size: 13px; cursor: pointer; }
.read-button span { margin-left: 7px; }

.moments { color: white; background: #1f332b; }
.light-heading .eyebrow { color: #d78570; }
.light-heading > p { color: rgba(255,255,255,.62); }
.moment-grid { display: grid; grid-template-columns: 1fr 1.35fr; grid-template-rows: 260px 260px; gap: 22px; }
.moment { position: relative; margin: 0; overflow: hidden; background: #34463f; }
.moment-tall { grid-row: 1 / 3; }
.moment img { height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .7s ease, filter .4s ease; }
.moment:hover img { transform: scale(1.025); filter: saturate(1); }
.moment figcaption { position: absolute; right: 18px; bottom: 16px; left: 18px; display: flex; justify-content: space-between; font-family: "Noto Serif SC", serif; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.moment time { font-family: "Work Sans", sans-serif; font-size: 12px; }

.about { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 100px; }
.about-copy > p:not(.eyebrow) { max-width: 560px; margin: 34px 0; color: var(--muted); line-height: 1.9; }
.about-facts { margin: 0; border-top: 1px solid var(--line); }
.about-facts div { display: grid; grid-template-columns: 90px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--muted); font-size: 13px; }
.about-facts dd { margin: 0; font-size: 14px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; background: #2e8d56; border-radius: 50%; }
.contact-block { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; align-items: center; gap: 28px; }
.qr-frame { padding: 12px; background: white; box-shadow: 18px 18px 0 #dcd7cb; }
.contact-block strong { font-family: "Noto Serif SC", serif; font-size: 20px; }
.contact-block p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

footer { min-height: 160px; padding: 42px max(32px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; color: rgba(255,255,255,.67); background: #18251f; font-size: 12px; }
footer > div { display: flex; align-items: center; gap: 22px; }
footer strong { color: white; font-family: "Noto Serif SC", serif; font-size: 21px; }
footer p { margin: 0; }
footer a { text-decoration: none; }
footer a:hover { color: white; }

.story-dialog { width: min(620px, calc(100% - 32px)); padding: 55px; color: var(--ink); background: var(--white); border: 0; border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.story-dialog::backdrop { background: rgba(13,24,19,.72); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 16px; right: 17px; width: 36px; height: 36px; color: var(--muted); background: transparent; border: 0; font-size: 27px; cursor: pointer; }
.dialog-meta { margin: 0 0 15px; color: var(--red); font-size: 12px; }
.dialog-title { margin: 0 0 28px; font-family: "Noto Serif SC", serif; font-size: 34px; font-weight: 600; }
.dialog-body p { margin: 0 0 15px; color: #555a54; line-height: 2; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-featured { grid-column: 1 / 3; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
  .story-featured .story-image { aspect-ratio: 4 / 3; }
  .story-featured .story-copy { padding-top: 14px; align-self: center; }
  .about { gap: 50px; }
  .contact-block { grid-template-columns: 180px; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 36px); height: 72px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-button { display: block; }
  .nav { position: absolute; top: 72px; right: -18px; left: -18px; display: none; padding: 8px 18px 18px; background: rgba(24,37,31,.96); }
  .nav.open { display: grid; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav a::after { display: none; }
  .hero { min-height: 640px; height: 86vh; }
  .hero-content { width: calc(100% - 36px); padding-bottom: 88px; }
  .hero h1 { font-size: 64px; }
  .hero-line { max-width: 280px; font-size: 18px; line-height: 1.7; }
  .hero-date { display: none; }
  .intro-band { width: calc(100% - 36px); min-height: 330px; gap: 20px; }
  .intro-band p { font-size: 19px; }
  .seal { width: 52px; height: 52px; }
  .section { padding: 80px 18px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-heading h2, .about h2 { font-size: 38px; }
  .section-heading > p { margin-top: 18px; }
  .story-grid { display: block; }
  .story, .story-featured { display: block; margin-bottom: 55px; }
  .story:last-child { margin-bottom: 0; }
  .story-featured .story-image, .story-image { aspect-ratio: 4 / 3; }
  .story-copy, .story-featured .story-copy { padding-top: 20px; }
  .moment-grid { grid-template-columns: 1fr; grid-template-rows: 400px 250px 250px; }
  .moment-tall { grid-row: auto; }
  .about { grid-template-columns: 1fr; gap: 55px; }
  .contact-block { grid-template-columns: 150px 1fr; gap: 18px; }
  .qr-frame { box-shadow: 10px 10px 0 #dcd7cb; }
  footer { min-height: 200px; display: block; padding: 40px 18px; }
  footer > div { display: block; }
  footer span { display: block; margin-top: 10px; }
  footer p { margin-top: 35px; }
  .story-dialog { padding: 48px 26px 30px; }
  .dialog-title { font-size: 28px; }
}

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