:root {
  --paper: #f8f9f7;
  --ink: #202826;
  --muted: #606863;
  --line: #dce1dc;
  --accent: #b92762;
  --accent-soft: #f7e7ee;
  --surface: #edf0ec;
  --focus: #a91e56;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #151b19; --ink: #f2f5ef; --muted: #a9b5ac; --line: #364239;
    --accent: #f08bb4; --accent-soft: #3e2832; --surface: #202923; --focus: #f6a5c6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #151b19; --ink: #f2f5ef; --muted: #a9b5ac; --line: #364239;
  --accent: #f08bb4; --accent-soft: #3e2832; --surface: #202923; --focus: #f6a5c6;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: inherit; text-underline-offset: 0.25em; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
svg, img { display: block; }
img { max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
::selection { background: var(--accent-soft); color: var(--ink); }
.shell { width: min(100% - 6rem, 1200px); margin-inline: auto; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 2; padding: 0.75rem 1rem; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.045em; text-decoration: none; }
.main-nav { display: flex; gap: 2rem; font-size: 0.9375rem; }
.main-nav a { text-decoration: none; padding-block: 0.5rem; }
.main-nav a:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; column-gap: 2rem; padding-block: 4.5rem 0; }
.eyebrow { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(3.5rem, 7.2vw, 6.5rem); line-height: 1.02; font-weight: 550; letter-spacing: -0.065em; margin: 0 0 1.5rem; }
h1 span { color: var(--accent); }
.hero-description { max-width: 29rem; color: var(--muted); font-size: 1.125rem; margin: 0 0 1.75rem; line-height: 1.7; }
.text-button { display: inline-block; border-bottom: 1px solid var(--ink); padding-bottom: 0.25rem; font-size: 0.9375rem; font-weight: 550; text-decoration: none; }
.text-button:hover { color: var(--accent); border-color: var(--accent); }
.hero-art { position: relative; min-width: 0; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.art-orbit { stroke: var(--line); stroke-width: 1; }
.art-flow-back { stroke: var(--surface); stroke-width: 48; stroke-linecap: round; }
.art-flow { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.art-cross { stroke: var(--accent); stroke-width: 12; stroke-linecap: round; }
.art-end { fill: var(--ink); }
.art-pink-dot { fill: var(--accent); }
.art-caption { display: block; margin-top: 0.5rem; text-align: center; color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.04em; }
.slogan-strip { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 2.5rem; margin-top: 3rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; }
.slogan-strip [lang="zh-CN"] { letter-spacing: 0.1em; }
.gallery { padding-block: 4rem 4.5rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading .eyebrow { margin-bottom: 0.5rem; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.045em; font-weight: 550; line-height: 1.18; margin: 0; }
.section-heading > p { margin: 0; max-width: 23rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.65; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.work-card { min-width: 0; }
.work-link { display: block; text-decoration: none; border-radius: 1.25rem; }
.work-cover { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.25rem; aspect-ratio: 8 / 5; border: 1px solid rgba(32,40,38,0.08); }
.cover-calm { background: #dfe8df; color: #304c3e; }
.cover-play { background: #e0edf0; color: #284652; }
.cover-leaves { background: #d7e4ea; color: #3d3228; }
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.work-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-label { position: absolute; z-index: 1; top: 1.5rem; left: 1.5rem; font-size: 0.8125rem; font-weight: 550; letter-spacing: 0.02em; }
.cover-caption { position: absolute; z-index: 1; bottom: 1.5rem; left: 1.5rem; font-size: 0.8125rem; letter-spacing: 0.05em; }
.work-details { padding: 1.5rem 0.25rem 0; }
.work-title-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; }
h3 { margin: 0; font-weight: 600; font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.035em; }
.category { color: var(--muted); font-size: 0.8125rem; }
.work-details p { margin: 0.75rem 0 1.125rem; max-width: 31rem; color: var(--muted); font-size: 1rem; }
.work-action { display: inline-block; font-weight: 550; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 0.35em; text-decoration-color: var(--line); }
.work-link:hover .work-action { color: var(--accent); text-decoration-color: currentColor; }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-block: 3.5rem; border-top: 1px solid var(--line); }
.about > .eyebrow { max-width: 12rem; margin-top: 0.5rem; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.about h2 { font-size: clamp(1.625rem, 2.5vw, 2rem); line-height: 1.3; }
.about-copy > p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 1.5rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.footer-brand { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.04em; text-decoration: none; }
.footer-note p { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--muted); }
.contact-link { display: grid; gap: 0.25rem; font-size: 0.9375rem; padding-block: 0.25rem; text-decoration: none; }
.contact-link > :first-child { text-decoration: underline; text-underline-offset: 0.25em; }
.contact-email { color: var(--muted); font-size: 0.875rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.5rem; }
.copyright { margin: 0; font-size: 0.8125rem; color: var(--muted); }
.preferences, .language-switch { display: flex; align-items: center; gap: 0.25rem; }
.preferences { gap: 0.875rem; }
.preferences button { min-height: 44px; padding: 0.5rem 0.625rem; border: 0; border-radius: 0.5rem; background: transparent; color: var(--muted); font-size: 0.8125rem; }
.language-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; }
.preferences button:hover { color: var(--ink); background: var(--surface); }
.preference-divider { height: 1rem; width: 1px; background: var(--line); }
.theme-toggle { display: inline-flex; align-items: center; gap: 0.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .work-cover img { transition: transform 300ms ease; }
  .work-link:hover .work-cover img { transform: scale(1.035); }
}
@media (min-width: 1600px) { .shell { max-width: 1280px; } }
@media (max-width: 1024px) {
  .shell { width: calc(100% - 4rem); }
  .hero { column-gap: 1rem; padding-top: 3.5rem; }
  .about { grid-template-columns: 1fr 3fr; }
  .about-copy { gap: 1.5rem; }
  .work-grid { gap: 1.5rem; }
}
@media (max-width: 767px) {
  .shell { width: calc(100% - 2.5rem); }
  .site-header { min-height: 80px; }
  .brand { font-size: 1.375rem; }
  .main-nav { gap: 1.25rem; font-size: 0.875rem; }
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-copy { max-width: 33rem; }
  h1 { font-size: clamp(3.5rem, 12vw, 5rem); }
  .hero-description { font-size: 1rem; max-width: 26rem; }
  .hero-art { display: none; }
  .slogan-strip { margin-top: 2rem; padding-block: 1.75rem; gap: 0.5rem; flex-direction: column; }
  .gallery { padding-block: 2.5rem 3rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
  .work-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .work-details { padding-top: 1.25rem; }
  .cover-label { top: 1.25rem; left: 1.25rem; }
  .cover-caption { bottom: 1.25rem; left: 1.25rem; }
  .about { grid-template-columns: 1fr; gap: 1rem; padding-block: 2.5rem; }
  .about > .eyebrow { max-width: none; margin: 0; }
  .about-copy { grid-template-columns: 1fr; gap: 1rem; }
  .about-copy > p { max-width: 33rem; }
  .site-footer { padding-top: 2rem; }
  .footer-bottom { align-items: flex-start; flex-direction: column-reverse; gap: 1.5rem; margin-top: 2rem; }
  .footer-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
