@font-face {
  font-family: "Smiley Sans";
  src: url("assets/fonts/smiley-sans-display.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #f2ede2;
  --paper-light: #faf7ef;
  --ink: #171b18;
  --ink-soft: #343c35;
  --moss: #58664a;
  --grain: #b46f2f;
  --grain-light: #d8c18d;
  --line: #c9c1b2;
  --white: #fffdf8;
  --max: 1380px;
  --gutter: clamp(20px, 4vw, 64px);
  --display: "Smiley Sans", "Microsoft YaHei", sans-serif;
  --body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.3em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper-light); background: var(--moss); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--moss); border: 2px solid var(--paper); }
:focus-visible { outline: 3px solid var(--grain); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 var(--gutter);
  color: var(--ink);
  background: rgba(242, 237, 226, 0.96);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand-mark circle { fill: var(--grain); stroke: none; }
.brand-mark circle:nth-child(2) { fill: var(--grain-light); }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: square; }
.brand-name { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.site-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: none; }
.site-nav a:not(.nav-action)::after { content: ""; position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 220ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-action { padding: 0 18px; color: var(--white); background: var(--ink); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; color: inherit; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: transform 220ms ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(360px, 42%) 1fr; background: var(--ink); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 8vw, 132px) var(--gutter); color: var(--paper-light); }
.sample-dots { display: flex; gap: 9px; margin-bottom: 44px; }
.sample-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--grain); }
.sample-dots i:nth-child(2) { background: var(--grain-light); }
.sample-dots i:nth-child(3) { background: var(--moss); }
.sample-dots i:nth-child(4) { background: var(--line); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
h1 { max-width: 9.2em; margin-bottom: 30px; font-size: clamp(50px, 5.35vw, 92px); line-height: 0.98; letter-spacing: -0.035em; }
.hero-copy > p { max-width: 36rem; color: #d7d0c5; font-size: clamp(17px, 1.3vw, 21px); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 24px 0 54px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-weight: 700; text-decoration: none; cursor: pointer; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--grain-light); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: var(--paper-light); font-weight: 700; }
.project-boundary { max-width: 48ch !important; margin: 0; padding-top: 22px; color: #aaa398 !important; border-top: 1px solid #4b524c; font-size: 13px !important; line-height: 1.6; }
.hero-media { min-width: 0; margin: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }

.project-facts { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 10vw, 160px) var(--gutter); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr); gap: clamp(48px, 10vw, 160px); align-items: end; padding-bottom: 58px; }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 76px); line-height: 1.04; letter-spacing: -0.03em; }
.section-intro p, .material-copy > p, .process-heading p, .research-title-wrap p, .contact-copy > p { max-width: 66ch; margin-bottom: 0; color: var(--ink-soft); }
.fact-line { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.fact-line div { min-height: 142px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-right: 1px solid var(--line); }
.fact-line div:last-child { border-right: 0; }
.fact-line dt { color: var(--moss); font-size: 13px; }
.fact-line dd { margin: 24px 0 0; font-family: var(--display); font-size: clamp(24px, 2vw, 34px); line-height: 1.15; }

.material-ledger { display: grid; grid-template-columns: 0.88fr 1.12fr; min-height: 820px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.material-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 140px) var(--gutter); background: var(--paper-light); }
.material-copy h2 { max-width: 8em; }
.line-list { margin: 60px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.line-list li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-list span { color: var(--moss); }
.line-list strong { font-weight: 600; }
.material-media { min-width: 0; margin: 0; overflow: hidden; }
.material-media img { width: 100%; height: 100%; object-fit: cover; }

.process-story { padding: clamp(90px, 10vw, 160px) 0; color: var(--paper-light); background: var(--ink); }
.process-heading { max-width: var(--max); display: grid; grid-template-columns: 1fr 0.64fr; gap: clamp(48px, 8vw, 130px); margin: 0 auto; padding: 0 var(--gutter) 72px; align-items: end; }
.process-heading h2 { max-width: 9em; margin-bottom: 0; }
.process-heading p { color: #c4beb4; }
.process-rail { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1px; background: #515751; border-top: 1px solid #515751; border-bottom: 1px solid #515751; }
.process-rail article { min-width: 0; background: var(--ink); }
.process-rail figure { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; }
.process-rail img { width: 100%; height: 100%; object-fit: cover; }
.process-note { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 34px; padding: 34px var(--gutter) 10px; }
.process-note h3 { font-size: clamp(25px, 2.2vw, 38px); line-height: 1.1; }
.process-note p { color: #bbb5ab; font-size: 14px; }

.research-section { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 11vw, 180px) var(--gutter); }
.research-title-wrap { display: grid; grid-template-columns: 1fr 0.7fr; gap: clamp(48px, 9vw, 150px); align-items: end; margin-bottom: 66px; }
.research-title-wrap h2 { max-width: 8.7em; margin-bottom: 0; }
.research-images { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: clamp(18px, 2.6vw, 42px); align-items: start; }
.research-images figure { margin: 0; overflow: hidden; }
.research-primary { aspect-ratio: 4 / 3; }
.research-secondary { aspect-ratio: 4 / 3; margin-top: 22% !important; }
.research-images img { width: 100%; height: 100%; object-fit: cover; }
.research-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 58px; border-top: 1px solid var(--ink); }
.research-principles p { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 0 0; border-right: 1px solid var(--line); }
.research-principles p:last-child { padding-left: 24px; border-right: 0; }
.research-principles p:nth-child(2) { padding-left: 24px; }
.research-principles strong { font-family: var(--display); font-size: 24px; }
.research-principles span { color: var(--ink-soft); font-size: 14px; }

.development { display: grid; grid-template-columns: 1.08fr 0.92fr; background: var(--paper-light); border-top: 1px solid var(--line); }
.development-media { min-width: 0; margin: 0; overflow: hidden; }
.development-media img { width: 100%; height: 100%; object-fit: cover; }
.development-copy { padding: clamp(70px, 8vw, 130px) var(--gutter); }
.development-copy h2 { max-width: 7.5em; }
.timeline { margin-top: 58px; border-top: 1px solid var(--ink); }
.timeline > div { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--grain); font-variant-numeric: tabular-nums; font-weight: 700; }
.timeline p { display: flex; flex-direction: column; margin: 0; }
.timeline strong { font-size: 17px; }
.timeline span { color: var(--ink-soft); font-size: 13px; }

.closing-image { position: relative; min-height: 520px; margin: 0; overflow: hidden; background: var(--ink); }
.closing-image img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; opacity: 0.76; }
.closing-image p { position: absolute; left: var(--gutter); bottom: clamp(34px, 5vw, 76px); max-width: 15em; margin: 0; color: var(--paper-light); font-family: var(--display); font-size: clamp(34px, 4.5vw, 72px); line-height: 1.02; letter-spacing: -0.025em; text-shadow: 0 8px 24px rgba(0,0,0,.45); }

.contact { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(50px, 8vw, 140px); padding: clamp(90px, 10vw, 160px) var(--gutter); color: var(--ink); background: var(--grain-light); }
.contact-copy h2 { max-width: 7em; }
.project-location { margin: 52px 0 0; font-weight: 700; }
.inquiry-form { border-top: 1px solid var(--ink); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.inquiry-form label { display: grid; gap: 8px; padding-top: 20px; font-size: 13px; font-weight: 700; }
.inquiry-form input, .inquiry-form textarea { width: 100%; padding: 12px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #7e745f; border-radius: 0; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-bottom-color: var(--ink); }
.inquiry-form textarea { resize: vertical; }
.form-action { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.button-dark { color: var(--paper-light); background: var(--ink); }
.form-status { max-width: 40ch; margin: 0; color: #4f493d; font-size: 13px; }
.form-status:empty { display: none; }

.site-footer { min-height: 150px; display: grid; grid-template-columns: 1.4fr repeat(3, auto); gap: 24px; align-items: center; padding: 36px var(--gutter); color: #c7c0b5; background: var(--ink); border-top: 1px solid #454b45; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--paper-light); font-family: var(--display); font-size: 16px; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.site-footer p { margin: 0; }

@media (max-width: 1050px) {
  .site-nav { gap: 16px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .section-intro, .process-heading, .research-title-wrap { grid-template-columns: 1fr; }
  .process-heading p, .research-title-wrap p { max-width: 52rem; }
  .material-ledger { grid-template-columns: 1fr 1fr; }
  .process-note { grid-template-columns: 1fr; }
  .development { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr 1.2fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .site-header { min-height: 68px; }
  .brand-name { max-width: 10em; line-height: 1.15; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 68px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter) 40px; color: var(--paper-light); background: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform 260ms cubic-bezier(.2,.8,.2,1), visibility 260ms; }
  .site-nav.open { transform: translateX(0); visibility: visible; }
  .site-nav a { min-height: 62px; justify-content: space-between; border-bottom: 1px solid #485048; font-family: var(--display); font-size: 24px; }
  .site-nav a::after { display: none; }
  .nav-action { margin-top: 20px; justify-content: center !important; color: var(--ink); background: var(--grain-light); border: 0 !important; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: calc(88svh - 68px); padding-top: 76px; padding-bottom: 62px; }
  h1 { font-size: clamp(48px, 14vw, 70px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 44px; }
  .hero-media { height: 68svh; }
  .project-facts { padding-top: 84px; padding-bottom: 84px; }
  .section-intro { gap: 20px; padding-bottom: 42px; }
  h2 { font-size: clamp(40px, 12vw, 58px); }
  .fact-line { grid-template-columns: 1fr; }
  .fact-line div { min-height: auto; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-line div:last-child { border-bottom: 0; }
  .fact-line dd { margin-top: 10px; }
  .material-ledger { grid-template-columns: 1fr; }
  .material-copy { padding-top: 84px; padding-bottom: 74px; }
  .material-media { min-height: 62svh; }
  .process-story { padding-top: 84px; padding-bottom: 84px; }
  .process-heading { gap: 18px; padding-bottom: 50px; }
  .process-rail { grid-template-columns: 1fr; }
  .process-note { padding-bottom: 28px; }
  .research-section { padding-top: 90px; padding-bottom: 100px; }
  .research-title-wrap { gap: 18px; margin-bottom: 44px; }
  .research-images { grid-template-columns: 1fr; }
  .research-secondary { margin-top: 0 !important; margin-left: 14%; }
  .research-principles { grid-template-columns: 1fr; }
  .research-principles p, .research-principles p:nth-child(2), .research-principles p:last-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .development { grid-template-columns: 1fr; }
  .development-media { max-height: 70svh; }
  .development-copy { padding-top: 80px; padding-bottom: 90px; }
  .timeline > div { grid-template-columns: 84px 1fr; gap: 18px; }
  .closing-image, .closing-image img { min-height: 70svh; }
  .contact { grid-template-columns: 1fr; gap: 50px; padding-top: 86px; padding-bottom: 90px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .form-action { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; align-items: start; }
}

@media (max-width: 420px) {
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }
  .hero-copy { padding-left: 20px; padding-right: 20px; }
  .sample-dots { margin-bottom: 32px; }
  .line-list li { grid-template-columns: 70px 1fr; gap: 16px; }
  .research-secondary { margin-left: 8%; }
  .timeline > div { grid-template-columns: 72px 1fr; }
}

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