:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #20211e;
  --muted: #676960;
  --line: #d6d6cc;
  --accent: #c34224;
  --gutter: clamp(22px, 4.5vw, 80px);
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #dfdeba; }
.page-width { width: min(100% - var(--gutter) * 2, 1440px); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 15px; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: .06em; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-english { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; letter-spacing: .12em; }
nav { display: flex; align-items: center; gap: 40px; font-size: 14px; }
nav span { margin-left: 12px; }
.hero { padding-top: 66px; }
.eyebrow { font-size: 12px; letter-spacing: .08em; line-height: 1.5; }
.route-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); }
.hero-content { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-top: 28px; }
h1 { font-family: var(--serif); font-size: clamp(48px, 6.5vw, 100px); font-weight: 400; line-height: 1.26; letter-spacing: -.055em; }
.hero-aside { width: 282px; flex-shrink: 0; padding-bottom: 7px; }
.hero-aside > p, .closing-aside > p { font-size: 15px; line-height: 1.9; color: var(--muted); }
.app-store { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 15px; background: #464645; color: #fff; font-size: 18px; font-weight: 500; line-height: 1.2; font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; white-space: nowrap; }
.app-store:hover { background: #30302f; text-decoration: none; }
.app-store img { width: 21px; height: 24px; }
.app-store span { margin: 0; }
.hero-aside .app-store, .closing-aside .app-store { margin-top: 26px; }
.app-store-small { min-height: 40px; padding: 9px 14px; border-radius: 13px; font-size: 16px; gap: 6px; }
.app-store-small img { width: 17px; height: 20px; }
.section-index { display: flex; justify-content: space-between; gap: 20px; margin-top: 66px; padding-bottom: 18px; font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.section-index a { font-size: 12px; letter-spacing: 0; }
.section-index a span { margin-left: 12px; }
.journey-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.journey-gallery img { width: 100%; background: #202123; }
.journey-gallery figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; font-size: 11px; line-height: 1.6; }
.journey-gallery figcaption span:last-child { color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding-block: 124px; }
.section-label { display: flex; align-items: baseline; padding-top: 10px; }
.section-label h2 { font-size: 13px; font-weight: 400; }
.section-label .route-dot { flex-shrink: 0; }
.statement { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.5; letter-spacing: -.03em; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 760px; margin-top: 36px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.travel-modes { margin-top: 28px; font-size: 12px; }
.travel-modes span { color: #989b8f; padding-inline: 13px; }
.keepsakes { background: #e9eae2; padding-block: 76px 86px; }
.keepsakes-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 45px; }
.keepsakes-heading .eyebrow { font-size: 10px; color: var(--muted); }
.keepsakes-heading h2 { font-family: var(--serif); font-size: clamp(27px, 3vw, 43px); font-weight: 400; }
.keepsake-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1000px; margin-inline: auto; }
.keepsake-gallery img { width: 100%; aspect-ratio: 2297 / 4991; object-fit: contain; background: #151616; }
.keepsake-gallery figcaption { padding-top: 25px; }
.keepsake-gallery .eyebrow { font-size: 10px; color: var(--muted); }
.keepsake-gallery h3 { margin-top: 14px; font-family: var(--serif); font-size: 29px; font-weight: 400; }
.keepsake-gallery p { max-width: 360px; margin-top: 13px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.closing { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: 100px 94px; }
.closing .eyebrow { margin-bottom: 26px; }
.closing h2 { font-family: var(--serif); font-size: clamp(50px, 5.7vw, 86px); font-weight: 400; line-height: 1.3; letter-spacing: -.035em; }
.closing-aside { width: 282px; margin-bottom: 7px; }
.site-footer { padding-block: 25px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer-links, .footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 24px; }
.footer-links { font-size: 12px; }
.footer-meta { margin-top: 10px; font-size: 11px; }
.site-footer a { display: inline-block; padding-block: 10px; }
.site-footer a span { margin-left: 8px; }
.legal-home { font-size: 14px; padding-block: 12px; }
.legal-page { max-width: 960px; padding-block: 64px 80px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 54px); }
.legal-nav { flex-wrap: wrap; gap: 8px 24px; margin-block: 30px 42px; font-size: 13px; }
.legal-nav a { padding-block: 8px; }
.legal-document { border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-document:last-child { border-bottom: 1px solid var(--line); }
.legal-document summary { cursor: pointer; padding: 24px 0; }
.legal-document summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.legal-document summary h2 { display: inline; font-size: 18px; font-weight: 500; line-height: 1.6; }
.legal-copy { padding-bottom: 36px; font-size: 15px; line-height: 1.95; overflow-wrap: anywhere; }
.legal-copy p { margin-bottom: 18px; }
.legal-copy h3 { font-size: 18px; margin-block: 28px 16px; }
.legal-copy a { text-decoration: underline; }
.legal-dates { font-size: 12px; color: var(--muted); }
.legal-copy strong { font-weight: 600; }

@media (min-width: 1500px) {
  .hero { padding-top: 80px; }
  .section-index { margin-top: 80px; }
}

@media (max-width: 900px) {
  .hero-content { align-items: flex-start; }
  .hero-aside { width: 240px; padding-top: 8px; }
  .hero-aside > p { font-size: 13px; }
  .journey-gallery { gap: 12px; }
  .journey-gallery figcaption { flex-direction: column; gap: 4px; }
  .about { grid-template-columns: 1fr; gap: 30px; padding-block: 78px; }
  .about-details { gap: 30px; }
  .keepsakes-heading { flex-direction: column; gap: 16px; }
  .keepsake-gallery { gap: 28px; }
  .keepsake-gallery h3 { font-size: 24px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 20px; }
  .site-header { min-height: 88px; }
  .brand { font-size: 20px; gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  nav { font-size: 13px; }
  .about-link { display: none; }
  .hero { padding-top: 40px; }
  .hero-content { flex-direction: column; gap: 25px; margin-top: 24px; }
  h1 { font-size: clamp(39px, 10vw, 60px); }
  .hero-aside { width: 100%; padding: 0; }
  .hero-aside > p { font-size: 14px; }
  .hero-aside .app-store, .closing-aside .app-store { margin-top: 23px; }
  .section-index { margin-top: 42px; }
  .section-index > span { display: none; }
  .section-index a { margin-left: auto; }
  .journey-gallery { grid-template-columns: 1fr; gap: 34px; }
  .journey-gallery figcaption { flex-direction: row; padding-top: 12px; font-size: 11px; }
  .about { padding-block: 65px; }
  .statement { font-size: clamp(25px, 6.7vw, 36px); line-height: 1.6; }
  .about-details { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .travel-modes span { padding-inline: 9px; }
  .keepsakes { padding-block: 48px; }
  .keepsakes-heading { margin-bottom: 30px; }
  .keepsakes-heading h2 { font-size: clamp(24px, 6.7vw, 34px); }
  .keepsake-gallery { grid-template-columns: 1fr; gap: 46px; }
  .keepsake-gallery figcaption { padding-top: 20px; }
  .keepsake-gallery h3 { font-size: 26px; }
  .closing { flex-direction: column; align-items: flex-start; gap: 32px; padding-block: 64px; }
  .closing h2 { font-size: 56px; }
  .closing-aside { width: 100%; margin: 0; }
  .site-footer { padding-block: 20px; }
  .footer-links, .footer-meta { gap: 2px 18px; }
  .legal-page { padding-block: 38px 50px; }
  .legal-nav { gap: 4px 18px; margin-bottom: 28px; }
  .legal-document summary h2 { font-size: 16px; }
  .legal-copy { font-size: 14px; }
}

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