:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --paper-warm: #efe9dc;
  --paper-deep: #e2d9c7;
  --ink: #172824;
  --ink-soft: #58645d;
  --green: #1f6259;
  --green-deep: #13463f;
  --gold: #b88743;
  --line: rgba(23, 40, 36, .14);
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--body);
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.site-header,
body > header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(23, 40, 36, .1);
  background: rgba(248, 246, 241, .88);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  flex: none;
  font: 600 1.25rem/1 var(--display);
  letter-spacing: .1em;
  text-decoration: none;
}

.brand small {
  margin-left: 8px;
  color: var(--ink-soft);
  font: 650 .59rem/1 var(--body);
  letter-spacing: .13em;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a { color: var(--ink-soft); font-size: .86rem; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--green-deep); }

.nav-cta {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
}

.menu-toggle { display: none; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .15em;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
h1 em, h2 em { color: var(--green); font-style: normal; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(48px, 8vw, 130px);
  min-height: calc(100svh - 64px);
  padding-block: clamp(70px, 10vw, 142px);
}

.hero h1 { max-width: 700px; margin: 0; font-size: clamp(3.4rem, 7.2vw, 6.6rem); }
.lead { max-width: 530px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(1rem, 1.45vw, 1.18rem); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  padding: 12px 19px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(31, 98, 89, .18);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: var(--green-deep); }
.text-link, .arrow-link { min-height: 44px; font-weight: 700; text-underline-offset: 5px; }

.postcard-frame {
  margin: 0;
  padding: 12px;
  background: #fffdf8;
  box-shadow: 23px 25px 0 rgba(184, 135, 67, .2), 0 32px 80px rgba(23, 40, 36, .14);
  transform: rotate(1.5deg);
}

.postcard-frame img { width: 100%; height: auto; }

.statement { padding-block: clamp(100px, 14vw, 190px); text-align: center; }
.statement h2 { max-width: 900px; margin: 0 auto; font-size: clamp(2.7rem, 6vw, 5.6rem); }
.statement > p:last-child { max-width: 550px; margin: 34px auto 0; color: var(--ink-soft); }

.showcase {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(320px, .8fr);
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 12vw, 190px);
  padding-block: clamp(90px, 12vw, 165px);
  border-top: 1px solid var(--line);
}

.section-heading h2,
.handwriting h2,
.collections h2,
.privacy h2,
.closing h2 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 5.15rem); }
.section-heading > p:last-child { max-width: 440px; margin: 28px 0 0; color: var(--ink-soft); }

.showcase-card { width: min(100%, 410px); margin: 0; justify-self: center; }
.showcase-card img { width: 100%; height: auto; border: 11px solid #fffdf8; box-shadow: 0 28px 65px rgba(23, 40, 36, .16); }
.showcase-card figcaption, .process-view figcaption, .weiwei-art figcaption { margin-top: 16px; color: var(--ink-soft); font-size: .85rem; }

.making { padding-block: clamp(90px, 12vw, 160px); background: var(--green-deep); color: #f9f4e9; }
.making .eyebrow { color: #e6c580; }
.making h2 em { color: #f7dfaa; }
.centered { max-width: 900px; margin-inline: auto; text-align: center; }

.creation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(64px, 8vw, 100px) 0 0;
  padding: 0;
  list-style: none;
}

.creation-flow li { border-top: 1px solid rgba(249, 244, 233, .45); padding-top: 17px; }
.creation-flow span { display: block; margin-bottom: 31px; color: #e6c580; font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.creation-flow h3 { margin-bottom: 11px; font-size: 1.15rem; }
.creation-flow p { margin: 0; color: rgba(249, 244, 233, .72); font-size: .94rem; }

.process-views { display: flex; align-items: flex-end; justify-content: center; gap: clamp(20px, 5vw, 70px); margin-top: clamp(60px, 9vw, 100px); }
.process-view { width: min(34vw, 330px); margin: 0; }
.process-view img { width: 100%; height: auto; border: 9px solid rgba(255, 255, 255, .94); box-shadow: 0 26px 60px rgba(0, 0, 0, .22); }
.process-view figcaption { color: rgba(249, 244, 233, .76); }
.process-view--left { transform: translateY(-32px) rotate(-1.4deg); }
.process-view--right { transform: rotate(1.4deg); }

.handwriting { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); align-items: center; gap: clamp(48px, 11vw, 170px); padding-block: clamp(95px, 13vw, 170px); }
.handwriting-copy p:last-child { max-width: 440px; margin: 28px 0 0; color: var(--ink-soft); }
.handwriting-art { width: min(100%, 350px); margin: 0; justify-self: center; }
.handwriting-art img { width: 100%; height: auto; border: 10px solid #fffdf8; box-shadow: 0 22px 52px rgba(23, 40, 36, .13); }

.collections { background: var(--paper-warm); }
.collections-layout { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); align-items: center; gap: clamp(48px, 11vw, 180px); padding-block: clamp(90px, 12vw, 160px); }
.collections-art { width: min(100%, 360px); margin: 0; justify-self: center; }
.collections-art img { width: 100%; height: auto; border: 10px solid #fffdf8; box-shadow: 0 24px 58px rgba(23, 40, 36, .14); }
.collections-copy > p:last-child { max-width: 470px; margin: 28px 0 0; color: var(--ink-soft); }

.privacy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .9fr); gap: clamp(50px, 10vw, 150px); padding-block: clamp(95px, 12vw, 155px); }
.privacy-facts { display: grid; gap: 18px; align-content: center; }
.privacy-facts article { padding: 25px 0; border-top: 1px solid var(--line); }
.privacy-facts article:last-of-type { border-bottom: 1px solid var(--line); }
.privacy-facts h3 { margin-bottom: 8px; font-size: 1.05rem; }
.privacy-facts p { margin: 0; color: var(--ink-soft); }
.privacy-facts .arrow-link { margin-top: 12px; color: var(--green-deep); }

.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); align-items: center; gap: clamp(48px, 9vw, 145px); padding-block: clamp(94px, 12vw, 150px); border-top: 1px solid var(--line); }
.app-icon { width: 76px; height: 76px; margin: 0 0 28px; border-radius: 18px; box-shadow: 0 10px 25px rgba(23, 40, 36, .15); }
.closing-copy > p:not(.eyebrow) { max-width: 480px; margin: 28px 0 0; color: var(--ink-soft); }
.weiwei-art { margin: 0; text-align: center; }
.weiwei-art img { width: min(100%, 310px); height: auto; margin-inline: auto; }
.weiwei-art figcaption { max-width: 300px; margin-inline: auto; }

footer { border-top: 1px solid var(--line); }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 28px; color: var(--ink-soft); font-size: .82rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 15px; }
.footer a { text-underline-offset: 4px; }

main.shell > article { width: min(760px, 100%); padding-block: clamp(72px, 10vw, 120px); }
article h1 { margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
article h2 { margin: 48px 0 14px; font-size: clamp(1.5rem, 3vw, 2.15rem); }
article p { color: var(--ink-soft); }
.meta { font-size: .86rem; }

@media (max-width: 900px) {
  .nav { min-height: 60px; }
  .menu-toggle { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; }
  .site-header .nav > nav { position: absolute; top: calc(100% + 8px); right: 18px; left: 18px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 253, 248, .98); box-shadow: 0 20px 45px rgba(23, 40, 36, .12); }
  .site-header .nav > nav.is-open { display: block; }
  .site-header .nav ul { display: grid; gap: 0; }
  .site-header .nav li, .site-header .nav a { display: block; }
  .site-header .nav a { min-height: 44px; padding: 11px 8px; }
  .site-header .nav-cta { margin: 5px 0; text-align: center; }
  body > header:not(.site-header) .nav { flex-wrap: wrap; padding-block: 8px; }
  body > header:not(.site-header) .nav ul { flex-wrap: wrap; gap: 8px 16px; }
  .hero, .showcase, .handwriting, .collections-layout, .privacy, .closing { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 76px; }
  .hero-art { width: min(100%, 400px); justify-self: center; }
  .showcase-card { order: -1; }
  .privacy-facts { max-width: 620px; }
  .collections-art, .handwriting-art { order: -1; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 32px, 560px); }
  .brand small { display: none; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .statement { text-align: left; }
  .statement h2 { margin: 0; }
  .statement > p:last-child { margin-left: 0; }
  .creation-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .process-view { width: min(43vw, 230px); }
  .process-view--left { transform: translateY(-18px) rotate(-1deg); }
  .footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .button, .text-link { justify-content: center; }
  .statement h2, .section-heading h2, .handwriting h2, .collections h2, .privacy h2, .closing h2 { font-size: clamp(2.4rem, 12vw, 3.35rem); }
  .creation-flow { grid-template-columns: 1fr; }
  .creation-flow span { margin-bottom: 15px; }
  .process-views { gap: 12px; }
  .process-view { width: calc(50% - 6px); }
}

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