:root {
  --paper: #f7f4ee;
  --paper-deep: #eee9df;
  --ink: #202524;
  --muted: #7a817b;
  --line: #d8d2c6;
  --blue: #83b9e6;
  --red: #dc5a4d;
  --yellow: #f4c443;
  --lilac: #b9a9df;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --note: "ZCOOL XiaoWei", "STKaiti", KaiTi, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.site-shell { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; height: 96px; border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--note); font-size: 31px; line-height: 1; letter-spacing: .08em; }
.main-nav { display: flex; gap: 34px; margin-left: 72px; font-size: 12px; }
.main-nav a { position: relative; padding: 9px 0; color: var(--muted); }
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
.main-nav a.is-active::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--blue); content: ""; transform: rotate(-2deg); }
.header-note { margin-left: auto; color: var(--muted); font-size: 11px; }
.menu-toggle { display: none; border: 0; background: none; font-size: 11px; }
.hero { display: grid; grid-template-columns: 37% 63%; min-height: 690px; padding: 86px 3% 110px; align-items: center; }
.hero-intro { padding-right: 40px; }
.eyebrow, .section-index, .hero-kicker, .memory-list-head, .memory-date, .photo-frame figcaption, .footer { font-size: 10px; letter-spacing: .12em; }
.eyebrow { display: flex; justify-content: space-between; width: 210px; margin-bottom: 90px; color: var(--muted); }
.hero-kicker { margin: 0 0 22px; color: var(--blue); font-weight: 700; }
h1, h2 { margin: 0; font-family: var(--note); font-weight: 400; letter-spacing: -.055em; }
h1 { font-size: clamp(58px, 6.7vw, 96px); line-height: 1.02; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 325px; margin: 31px 0 40px; color: #646c67; font-size: 14px; line-height: 2; }
.scroll-link, .back-link { display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; font-size: 11px; }
.scroll-link span, .back-link span { color: var(--red); font-size: 18px; }
.photo-wall { position: relative; min-height: 520px; }
.photo-frame { position: absolute; background: #fffdf9; border: 1px solid #e0dbd1; box-shadow: 0 13px 21px rgba(44, 41, 34, .08); }
.photo-frame-main { top: 9px; left: 4%; width: 68%; padding: 17px 17px 58px; transform: rotate(-2deg); }
.photo-empty { display: flex; min-height: 0; aspect-ratio: 4 / 3; flex-direction: column; align-items: center; justify-content: center; gap: 11px; overflow: hidden; border: 1px solid #e7e1d7; background: var(--paper-deep); color: #717a74; text-align: center; }
.photo-empty img, .photo-frame-small img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center; background: var(--paper-deep); }
.photo-empty img { min-height: 0; }
.photo-empty span { font-family: var(--note); font-size: 31px; }
.photo-empty small { max-width: 170px; font-size: 10px; line-height: 1.7; }
.photo-frame-main .photo-empty { min-height: 0; aspect-ratio: 4 / 3; }
.hero-carousel { position: relative; }
.hero-carousel-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; padding: 10px; transition: opacity .45s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-carousel-controls { position: absolute; right: 12px; bottom: 10px; left: 12px; z-index: 2; display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: 10px; }
.hero-carousel-button { width: 28px; height: 25px; border: 1px solid var(--line); background: rgba(247, 244, 238, .88); cursor: pointer; line-height: 1; }
.hero-carousel-button:hover, .hero-carousel-button:focus-visible { background: var(--ink); color: var(--paper); }
.photo-frame figcaption { position: absolute; right: 18px; bottom: 17px; left: 18px; display: flex; justify-content: space-between; color: var(--muted); }
.photo-frame figcaption strong { color: var(--ink); font-weight: 500; }
.magnet { position: absolute; z-index: 2; display: block; width: 36px; height: 36px; border: 3px solid rgba(32, 37, 36, .12); border-radius: 50%; box-shadow: 0 4px 4px rgba(32, 37, 36, .1); }
.magnet-red { top: -17px; left: 8%; background: var(--red); }
.magnet-yellow { top: -16px; right: 8%; background: var(--yellow); }
.magnet-blue { top: -16px; left: 12%; background: var(--blue); }
.magnet-lilac { top: -16px; right: 12%; background: var(--lilac); }
.letter-note { position: absolute; top: 210px; right: 1%; width: 39%; min-height: 305px; padding: 54px 30px 30px; background: #fffdf9; border: 1px solid #e1dcd2; box-shadow: 0 11px 16px rgba(44, 41, 34, .08); transform: rotate(3deg); }
.note-tape { position: absolute; top: -12px; left: 32%; width: 110px; height: 25px; background: rgba(126, 185, 230, .55); transform: rotate(-2deg); }
.note-label { margin: 0; font-size: 12px; letter-spacing: .09em; }
.note-text { margin: 35px 0 25px; font-family: var(--note); font-size: 29px; line-height: 1.65; }
.note-sign { margin: 0; color: var(--muted); font-family: var(--note); font-size: 17px; text-align: right; }
.wall-mark { position: absolute; color: var(--yellow); }.wall-mark-star { bottom: 4px; left: 4%; font-size: 30px; transform: rotate(12deg); }.wall-mark-line { right: 7%; bottom: 46px; width: 82px; border-top: 2px solid var(--blue); transform: rotate(-8deg); }
.section-intro { display: grid; grid-template-columns: 37% 63%; padding: 115px 3% 45px; border-top: 1px solid var(--line); }
.section-index { color: var(--red); }
.section-intro h2, .photo-section h2, .future-letter h2 { font-size: clamp(45px, 5vw, 72px); line-height: 1.12; }
.section-intro p, .photo-section-head p { margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.memory-list { padding: 0 3% 120px; }
.memory-list-head { display: grid; grid-template-columns: 22% 1fr 100px; padding: 15px 0; border-bottom: 1px solid var(--ink); color: var(--muted); }
.memory-row { display: grid; grid-template-columns: 22% 1fr 100px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.memory-date { color: var(--blue); padding-top: 5px; }
.memory-row h3 { margin: 0 0 8px; font-family: var(--note); font-size: 29px; font-weight: 400; }
.memory-summary, .memory-detail { max-width: 530px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.memory-detail { display: none; margin-top: 10px; color: var(--ink); font-family: var(--note); font-size: 18px; }
.memory-row.is-open .memory-detail { display: block; }
.memory-video { margin: 12px 0 0; font-size: 12px; }
.memory-video a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.memory-open { border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 5px 0; cursor: pointer; font-size: 11px; text-align: left; }
.memory-open:hover { color: var(--red); }
.photo-section { padding: 112px 3% 125px; border-top: 1px solid var(--line); }
.photo-section-head { display: grid; grid-template-columns: 63% 37%; align-items: end; margin: 26px 0 70px; }
.photo-section-head p { max-width: 240px; line-height: 1.9; }
.photo-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; padding: 0 7%; }
.photo-frame-small { position: relative; min-width: 0; width: 100%; padding: 13px 13px 45px; }
.photo-frame-small:nth-child(1) { transform: rotate(-3deg); }.photo-frame-small:nth-child(2) { margin-top: 42px; transform: rotate(2deg); }.photo-frame-small:nth-child(3) { transform: rotate(-1deg); }
.photo-frame-small .photo-empty { min-height: 220px; }.photo-frame-small .photo-empty span { font-size: 25px; }.photo-frame-small .photo-empty small { overflow-wrap: anywhere; }
.photo-frame-blue { background: #fbfdff; }.photo-frame-lilac { background: #fdfbff; }.photo-frame-yellow { background: #fffef9; }
.future-letter { display: grid; grid-template-columns: 37% 63%; padding: 115px 3% 125px; border-top: 1px solid var(--line); background: var(--paper-deep); }
.future-letter-body { max-width: 610px; padding: 0 8% 0 0; }.future-letter h2 { margin: 27px 0 28px; }.future-copy { max-width: 470px; color: #646c67; font-size: 14px; line-height: 2; }.back-link { margin-top: 38px; }
.footer { display: flex; justify-content: space-between; padding: 28px 3%; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 820px) {
  .site-shell { width: min(100% - 36px, 620px); }.topbar { height: 78px; }.main-nav { display: none; position: absolute; z-index: 5; top: 77px; right: 18px; left: 18px; flex-direction: column; gap: 0; margin: 0; padding: 10px 18px; background: var(--ink); color: var(--paper); }.main-nav.is-open { display: flex; }.main-nav a { color: var(--paper); border-bottom: 1px solid rgba(247, 244, 238, .15); padding: 16px 0; }.main-nav a.is-active::after { display: none; }.header-note { display: none; }.menu-toggle { display: block; margin-left: auto; }.hero, .section-intro, .future-letter { display: block; padding-right: 0; padding-left: 0; }.hero { padding-top: 70px; }.hero-intro { padding-right: 0; }.eyebrow { margin-bottom: 58px; }.hero-copy { max-width: 420px; }.photo-wall { min-height: 560px; margin-top: 58px; }.photo-frame-main { left: 0; width: 72%; }.photo-frame-main .photo-empty { min-height: 0; aspect-ratio: 4 / 3; }.letter-note { top: 240px; right: 0; width: 43%; min-height: 270px; padding: 45px 22px 22px; }.note-text { font-size: 23px; }.section-intro, .future-letter { padding-top: 78px; padding-bottom: 45px; }.section-intro > div:last-child, .future-letter-body { margin-top: 38px; padding-right: 0; }.memory-list { padding-right: 0; padding-left: 0; padding-bottom: 78px; }.memory-list-head { display: none; }.memory-row { grid-template-columns: 1fr auto; gap: 8px 20px; }.memory-date { grid-column: 1 / 3; }.memory-row > div { grid-column: 1; }.memory-open { grid-column: 2; grid-row: 2; }.photo-section { padding: 78px 0; }.photo-section-head { display: block; margin: 26px 0 45px; }.photo-section-head p { margin-top: 22px; }.photo-shelf { gap: 16px; padding: 0 2%; }.photo-frame-small { padding: 9px 9px 32px; }.photo-frame-small:nth-child(3) { transform: translateX(-18px) rotate(-1deg); }.photo-frame-small .photo-empty { min-height: 0; aspect-ratio: 1 / 1; }.photo-frame-small .photo-empty span { font-size: 18px; }.photo-frame-small .photo-empty small { font-size: 8px; }.magnet { width: 29px; height: 29px; border-width: 2px; }.footer { display: block; padding: 23px 0; line-height: 2.1; }.footer span { display: block; } }
@media (max-width: 470px) { h1 { font-size: 60px; }.hero { min-height: 0; }.photo-wall { min-height: 460px; }.photo-frame-main { width: 76%; padding: 10px 10px 42px; }.photo-frame-main .photo-empty { min-height: 0; aspect-ratio: 4 / 3; }.photo-frame figcaption { right: 11px; bottom: 12px; left: 11px; font-size: 8px; }.letter-note { top: 205px; width: 47%; min-height: 235px; padding: 37px 15px 16px; }.note-tape { width: 70px; height: 18px; }.note-text { margin: 24px 0 17px; font-size: 20px; }.note-sign { font-size: 14px; }.wall-mark-line { right: 2%; bottom: 18px; }.photo-shelf { gap: 10px; }.photo-frame-small:nth-child(2) { margin-top: 25px; } }
