@font-face {
  font-family: "Smiley Sans";
  src: url("/assets/fonts/SmileySans-Oblique.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #030303;
  --ink: #f8f8f3;
  --yellow: #ffe000;
  --muted: #a3a39e;
  --line: #ffffff24;
  --display: "Smiley Sans", "Microsoft YaHei", sans-serif;
  --body: "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.75; isolation: isolate; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--yellow); outline-offset: 6px; }
::selection { color: #030303; background: var(--yellow); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 12px; padding: 10px 18px; z-index: 20; transform: translateY(-180%); background: var(--yellow); color: #030303; }
.skip-link:focus { transform: none; }
.page-texture { position: fixed; inset: -28px; background: url("/assets/dot-grid.png") repeat; background-size: 640px 640px; opacity: .38; pointer-events: none; z-index: -1; }
.container { width: min(1220px, calc(100% - 112px)); margin-inline: auto; }
.icon { width: 21px; height: 21px; flex-shrink: 0; filter: invert(1); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; padding: 12px 4.2%; }
.site-header .brand { width: 182px; height: 64px; display: flex; align-items: center; overflow: hidden; flex-shrink: 0; }
.site-header .brand img { width: 182px; height: auto; filter: invert(1) hue-rotate(180deg); }
.desktop-nav { display: flex; align-items: center; gap: 58px; margin-left: auto; margin-right: auto; }
.desktop-nav a { font-size: 14px; color: #deded8; transition: color .2s; white-space: nowrap; }
.desktop-nav a:hover { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.public-site .language-switch { margin: 0; display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #ffffff38; border-radius: 5px; }
.public-site .language-switch button { padding: 5px 9px; border: 0; border-radius: 2px; color: #b8b8b2; font-size: 12px; line-height: 1.5; background: none; min-height: 36px; white-space: nowrap; }
.public-site .language-switch button[aria-pressed="true"] { background: #22221e; color: #fff; }
.public-site .language-switch button:hover { color: var(--yellow); }
.login-link { color: #111; background: var(--yellow); border: 1px solid var(--yellow); border-radius: 6px; font-size: 14px; font-weight: 600; padding: 10px 22px; white-space: nowrap; transition: background .2s, transform .2s; }
.login-link:hover { background: #ffeb54; transform: translateY(-2px); }
.menu-toggle { display: none; padding: 8px; }
.mobile-nav { padding: 14px 24px 22px; border-block: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 10px 0; }

.hero { position: relative; z-index: 2; text-align: center; padding: 74px 24px 0; scroll-margin-top: 100px; }
.hero-kicker { color: #dddcd6; font-size: 14px; margin-bottom: 30px; letter-spacing: .03em; }
.hero h1 { width: 80%; margin-inline: auto; transform: scaleX(1.23); font-family: var(--display); font-size: clamp(58px, 8.35vw, 108px); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; -webkit-text-stroke: 1.3px currentColor; }
.hero h1 > span { display: block; }
.hero h1 .highlight { color: var(--yellow); }
.hero-intro { margin: 14px auto 0; max-width: 850px; color: #deded8; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 42px; margin-top: 30px; }
.hero-actions a { white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 29px; padding: 13px 27px; background: var(--yellow); color: #080808; border: 1px solid var(--yellow); border-radius: 6px; font-size: 16px; font-weight: 600; min-height: 54px; transition: transform .2s, background .2s; }
.button .icon { filter: none; }
.button:hover { background: #ffeb54; transform: translateY(-3px); }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: 15px; border-bottom: 1px solid #ffffff4a; padding: 8px 0; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--yellow); border-color: var(--yellow); }
.hero-actions .text-link { color: #d6d6cf; }

.works { padding-top: 30px; }
.project { position: relative; display: grid; grid-template-columns: .86fr 1.5fr; align-items: end; gap: 5px; min-height: 530px; }
.project-copy { position: relative; z-index: 1; padding: 0 0 166px 15px; }
.project-index, .eyebrow { color: var(--yellow); font-size: 13px; letter-spacing: .07em; line-height: 1.5; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.filter { color: #93938e; padding: 3px 0; font-size: 12px; border-bottom: 1px solid transparent; }
.filter.active { color: var(--yellow); border-color: var(--yellow); }
.filter:hover { color: #fff; }
.project-index { margin-bottom: 15px; }
.project h2, .section-heading h2, .about-copy h2, .closing h2 { font-family: var(--display); font-size: 48px; line-height: 1.35; letter-spacing: -.015em; font-weight: 700; }
.project h2 { font-size: 54px; -webkit-text-stroke: .5px currentColor; }
html[lang="zh-CN"] .project h2 { display: inline-block; max-width: 85%; transform: scaleX(1.17); transform-origin: left center; }
.project-lead { font-size: 19px; color: #f0f0ea; margin-top: 8px; line-height: 1.6; }
.project-description { max-width: 400px; font-size: 16px; line-height: 1.8; color: #b3b3ad; margin-top: 22px; }
.project-status { display: block; color: #92928c; font-size: 12px; margin-top: 12px; }
.project-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 22px; padding: 5px 0 7px; font-size: 15px; border-bottom: 1px solid var(--yellow); }
.project-link:hover { color: var(--yellow); }
.project-visual { position: relative; top: 0; display: block; width: 100%; max-width: none; margin-left: 0; padding: 0; touch-action: pan-y; transform-style: preserve-3d; transform-origin: 50% 65%; cursor: pointer; }
.project-visual:active { cursor: grabbing; }
.project-visual img { width: 100%; height: auto; }
.project-visual:focus-visible { outline-offset: -8px; }
.motion-hint { color: #83837b; font-size: 12px; margin-top: 12px; }
.project-secondary { margin-top: 105px; border-top: 1px solid var(--line); padding-top: 80px; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 75px; }
.project-featured[hidden] + .project-secondary { margin-top: 0; padding-top: 35px; border-top: 0; }
.project-secondary .project-copy { order: 2; padding: 0; }
.project-secondary .project-visual { width: 100%; margin: 0; }
.project-secondary .project-visual { top: 0; }
.project-secondary h2 { font-size: 43px; }
.focus-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 100px; padding: 24px 0; border-block: 1px solid var(--line); color: #a4a49b; font-size: 13px; }
.focus-strip > span:first-child { color: #e4e4d9; }

.section { padding-block: 125px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.section-heading .eyebrow { margin-bottom: 18px; }
.section-aside { color: #a3a39a; font-size: 15px; line-height: 1.9; max-width: 360px; }
.method-layout { display: grid; grid-template-columns: .85fr 1.3fr; gap: 100px; align-items: start; }
.method-layout > div, .about-copy > div { min-width: 0; }
.method-layout .section-heading { display: block; }
.method-layout .section-aside { margin-top: 25px; }
.method-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; }
.method-tabs button { color: #95958e; border-bottom: 2px solid transparent; padding: 0 0 15px; font-size: 15px; white-space: nowrap; }
.method-tabs button[aria-selected="true"] { color: var(--yellow); border-bottom-color: var(--yellow); }
.method-panel { min-height: 310px; }
.method-panel > span { color: #939388; font-size: 12px; letter-spacing: .1em; }
.method-panel h3 { font-size: 24px; font-weight: 600; line-height: 1.65; margin-top: 17px; }
.method-panel > p { color: #afafa7; font-size: 15px; line-height: 2; margin-top: 19px; }
.stage-output { display: flex; align-items: baseline; gap: 22px; padding-top: 22px; margin-top: 27px; border-top: 1px solid var(--line); font-size: 13px; color: #929287; }
.stage-output strong { color: #e2e2d8; font-weight: 400; }
.notes-section { border-top: 1px solid var(--line); }
.notes-list { border-top: 1px solid var(--line); }
.note-row { display: flex; align-items: center; gap: 34px; width: 100%; text-align: left; padding: 31px 0; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s; }
.note-row:hover { padding-left: 10px; color: var(--yellow); }
.note-number { color: #85857a; font-size: 13px; align-self: start; padding-top: 6px; }
.note-category { color: var(--yellow); font-size: 12px; }
.note-row h3 { font-size: 23px; font-weight: 500; margin: 5px 0 7px; line-height: 1.6; }
.note-row p { color: #9d9d94; font-size: 14px; }
.note-row > .icon { margin-left: auto; width: 28px; height: 28px; }
.about-section { border-top: 1px solid var(--line); }
.about-copy { display: grid; grid-template-columns: .8fr 1.3fr; gap: 100px; }
.about-copy h2 { margin-top: 19px; }
.about-description p { color: #b0b0a6; font-size: 16px; line-height: 2.1; margin-bottom: 19px; max-width: 690px; }
.about-description .about-belief { color: var(--yellow); font-size: 23px; margin-top: 32px; line-height: 1.8; }
.closing { text-align: center; padding: 40px 0 115px; }
.closing h2 { font-size: 62px; color: var(--yellow); }
.closing .text-link { margin-top: 28px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 27px; border-top: 1px solid var(--line); color: #929287; font-size: 13px; }
.footer-brand { color: #e5e5d9; }
.footer > span { font-size: 11px; letter-spacing: .08em; }


html[lang="en"] .hero h1 { font-size: clamp(56px, 7.8vw, 108px); }
html[lang="en"] .hero h1 { width: 100%; transform: none; -webkit-text-stroke: .7px currentColor; }
html[lang="en"] .project h2 { font-size: 45px; }
html[lang="en"] .method-tabs { gap: 19px; }
html[lang="en"] .desktop-nav { gap: 42px; }

@media (min-width: 1600px) {
  .hero { padding-top: 76px; }
  .container { width: min(1350px, calc(100% - 160px)); }
  .project { min-height: 570px; }
}
@media (max-width: 1100px) {
  .site-header { gap: 24px; padding-inline: 28px; }
  .desktop-nav { gap: 25px; }
  .header-actions { gap: 14px; }
  .login-link { padding: 9px 17px; }
  .container { width: calc(100% - 72px); }
  .project { min-height: 450px; }
  .project h2 { font-size: 38px; }
  .project-lead { font-size: 17px; }
  .project-copy { padding-left: 0; padding-bottom: 12px; }
  .project-visual { width: 108%; margin-left: -4%; }
  .project-secondary { gap: 50px; }
  .project-secondary h2 { font-size: 38px; }
  .method-layout, .about-copy { gap: 60px; }
  .section-heading h2 { font-size: 42px; }
  .method-tabs { gap: 19px; }
}
@media (max-width: 800px) {
  .site-header { min-height: 84px; padding-inline: 22px; gap: 20px; }
  .site-header .brand, .site-header .brand img { width: 150px; }
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .hero { padding-top: 50px; }
  .hero h1 { width: 100%; transform: none; -webkit-text-stroke: .6px currentColor; }
  .hero-intro { font-size: 15px; max-width: 600px; }
  .container { width: calc(100% - 48px); }
  .works { padding-top: 55px; }
  .project { grid-template-columns: 1fr; gap: 0; }
  .project-visual { grid-row: 1; top: 0; width: 100%; margin: 0; }
  .project-copy { padding-bottom: 0; }
  .project h2 { font-size: 41px; }
  html[lang="zh-CN"] .project h2 { max-width: none; transform: none; }
  .project-description { max-width: 600px; }
  .project-secondary { margin-top: 65px; padding-top: 45px; gap: 20px; }
  .project-secondary .project-copy { order: initial; }
  .focus-strip { margin-top: 65px; }
  .section { padding-block: 85px; }
  .method-layout, .about-copy { grid-template-columns: 1fr; gap: 28px; }
  .method-layout .section-heading { margin: 0; }
  .method-layout .section-aside { max-width: 600px; margin-top: 20px; }
  .method-panel { min-height: 280px; }
  .section-heading { align-items: start; gap: 25px; }
  .section-aside { font-size: 14px; max-width: 230px; }
  .closing h2 { font-size: 49px; }
  html[lang="en"] .project h2 { font-size: 40px; }
}
@media (max-width: 520px) {
  .site-header { padding: 10px 17px; min-height: 77px; gap: 12px; }
  .site-header .brand, .site-header .brand img { width: clamp(100px, 30vw, 125px); }
  .site-header .brand { height: 48px; }
  .header-actions { gap: 7px; }
  .public-site .language-switch button { padding: 4px 7px; font-size: 11px; }
  .login-link { display: none; }
  .menu-toggle { padding: 8px; min-width: 40px; min-height: 44px; align-items: center; justify-content: center; }
  .hero { padding: 42px 18px 0; }
  .hero-kicker { font-size: 11px; margin-bottom: 23px; }
  .hero h1 { font-size: clamp(30px, 10.3vw, 54px); line-height: 1.2; letter-spacing: -.025em; }
  .hero-intro { margin-top: 24px; max-width: 340px; font-size: 14px; line-height: 1.95; }
  .hero-actions { gap: 25px; margin-top: 27px; }
  .button { padding: 12px 18px; min-height: 50px; font-size: 14px; gap: 18px; }
  .text-link { gap: 13px; font-size: 13px; }
  .icon { width: 19px; height: 19px; }
  .container { width: calc(100% - 40px); }
  .works { padding-top: 31px; }
  .project-visual { margin-bottom: 9px; }
  .project h2, .section-heading h2, .about-copy h2 { font-size: 36px; }
  .project-lead { font-size: 17px; margin-top: 10px; }
  .project-description { font-size: 14px; margin-top: 18px; line-height: 1.95; }
  .project-index { font-size: 12px; margin-bottom: 11px; }
  .filter-row { margin-bottom: 20px; gap: 24px; }
  .filter { font-size: 13px; }
  .project-link { margin-top: 19px; font-size: 14px; }
  .project-secondary { margin-top: 54px; padding-top: 32px; }
  .project-secondary h2 { font-size: 34px; }
  .motion-hint { font-size: 11px; }
  .focus-strip { justify-content: start; gap: 12px 22px; font-size: 12px; margin-top: 52px; padding-block: 22px; }
  .focus-strip > span:first-child { width: 100%; }
  .section { padding-block: 65px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading .eyebrow { margin-bottom: 14px; font-size: 12px; }
  .section-aside { margin-top: 17px; max-width: 100%; font-size: 14px; }
  .method-tabs { gap: 23px; margin-bottom: 25px; padding-top: 5px; }
  .method-tabs button { font-size: 14px; padding-bottom: 12px; }
  .method-panel { min-height: 330px; }
  .method-panel h3 { font-size: 21px; }
  .method-panel > p { font-size: 14px; }
  .stage-output { gap: 15px; font-size: 12px; }
  .stage-output > span { white-space: nowrap; }
  .note-row { gap: 16px; padding-block: 25px; }
  .note-row h3 { font-size: 18px; }
  .note-row p { font-size: 13px; }
  .note-row > .icon { width: 21px; height: 21px; }
  .about-description p { font-size: 14px; }
  .about-description .about-belief { font-size: 21px; }
  .closing { padding: 12px 0 70px; }
  .closing h2 { font-size: 39px; }
  .footer { gap: 13px; padding-block: 23px; }
  .footer p { display: none; }
  .footer > span { font-size: 9px; }
  html[lang="en"] .hero h1 { font-size: 47px; }
  html[lang="en"] .hero-actions { gap: 16px; }
  html[lang="en"] .hero-actions .button { padding-inline: 15px; gap: 10px; font-size: 13px; white-space: nowrap; }
  html[lang="en"] .project h2 { font-size: 35px; }
  html[lang="en"] .method-tabs { gap: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project-visual, .page-texture { transform: none !important; }
}
