:root {
  color-scheme: dark;
  --page: #0b0c0b;
  --header: #090a09;
  --lime: #c2f86b;
  --white: #f4f5f0;
  --muted: #a4a6a0;
  --line: #2a2c28;
  --gutter: clamp(26px, 5.55vw, 98px);
  --header-height: 74px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.has-dialog { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { margin: 0; color: inherit; font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
button { background: none; border: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: #12150c; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1400px); margin-inline: auto; }
.icon { display: block; width: 19px; height: 19px; flex: none; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: 12px; left: 12px; background: var(--lime); color: #111; padding: 10px 16px; }
.site-header { height: var(--header-height); position: sticky; top: 0; z-index: 5; background: var(--header); border-bottom: 1px solid #252622; }
.header-inner, .header-tools, .brand, .language, .header-contact, #site-nav, .brand-link { display: flex; align-items: center; }
.header-inner { height: 100%; justify-content: space-between; gap: 24px; }
.brand { gap: 11px; }
.brand img { width: 42px; height: auto; }
.brand-type { display: flex; flex-direction: column; gap: 4px; }
.brand-zh { font-size: 22px; font-weight: 700; letter-spacing: .10em; line-height: 1; }
.brand-en { font: 700 8.4px/1 Arial,sans-serif; letter-spacing: .145em; }
#site-nav { gap: clamp(20px, 2.65vw, 47px); height: 100%; }
#site-nav a { position: relative; color: #b4b6b0; font-size: 13px; font-weight: 500; transition: color .16s; }
#site-nav a:hover, #site-nav a.active { color: var(--white); }
#site-nav a.active::before { content: ""; position: absolute; left: -11px; top: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }
.header-tools { gap: 22px; }
.language { gap: 7px; font: 500 12px/1 var(--sans); }
.language .icon { width: 15px; height: 15px; margin-right: 1px; color: #b4b6af; }
.language a { color: #96988f; padding-block: 10px; }
.language a:hover { color: var(--lime); }
.lang-slash { color: #60625d; }
.header-contact { gap: 12px; padding: 9px 15px; border: 1px solid #42443e; border-radius: 5px; font-size: 13px; font-weight: 550; }
.header-contact:hover { border-color: var(--lime); }
.header-contact .icon { width: 14px; height: 14px; color: var(--lime); }
.menu-toggle, #site-nav .mobile-contact { display: none; }
.hero { position: relative; isolation: isolate; background: #020402; border-bottom: 1px solid #30322b; }
.hero-slide { position: relative; overflow: hidden; }
.hero-image, .hero-shade, .card-shade, .card-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 50% 50%; }
.hero-shade { background: linear-gradient(90deg,rgba(3,5,3,.64),rgba(3,5,3,.21) 36%,transparent 61%),linear-gradient(0deg,rgba(2,4,2,.85),transparent 22%); }
.slide-2 .hero-image, .slide-3 .hero-image { object-position: 83% 50%; width: 89%; left: 11%; }
.slide-2 .hero-shade, .slide-3 .hero-shade { background: linear-gradient(90deg,#030503 5%,rgba(3,5,3,.87) 31%,rgba(3,5,3,.06) 73%),linear-gradient(0deg,rgba(2,4,2,.85),transparent 18%); }
.hero-inner { position: relative; z-index: 1; min-height: clamp(528px,40.2vw,625px); display: flex; align-items: center; padding-block: 52px 98px; }
.hero-copy { max-width: 620px; }
.eyebrow { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; line-height: 1.4; }
.hero-label { display: flex; align-items: center; gap: 10px; letter-spacing: .2em; font-size: 11px; color: #d3e3b8; margin-bottom: 23px; }
.signal { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 9px #c2f86b65; border-radius: 50%; }
.hero-title { font-size: clamp(64px,5.55vw,88px); font-weight: 650; letter-spacing: -.057em; line-height: 1.115; }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-description { font-size: clamp(15px,1.1vw,17px); line-height: 1.85; color: #c0c3ba; margin-top: 20px; max-width: 505px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 44px; padding: 10px 19px; font-size: 13px; font-weight: 600; border: 1px solid transparent; border-radius: 5px; transition: background .2s, border-color .2s; }
.button .icon { width: 16px; height: 16px; }
.primary { background: var(--lime); color: #162005; }
.primary:hover { background: #d3ff8f; }
.secondary { color: #e6e8e1; border-color: #4b4e45; background: #0b0e0bbc; }
.secondary:hover { background: #20241c; border-color: #74776c; }
.hero-controls { position: absolute; right: 0; bottom: 15px; left: 0; z-index: 2; display: flex; justify-content: flex-end; pointer-events: none; }
.slide-controls { display: flex; gap: 3px; pointer-events: auto; }
.slide-picker { display: grid; place-items: center; width: clamp(46px, 3.9vw, 60px); height: 44px; padding: 0 2px; border-radius: 6px; }
.slide-track { display: block; width: 100%; height: 5px; overflow: hidden; border-radius: 999px; background: #ffffff55; box-shadow: 0 0 0 1px #0004; }
.slide-picker:hover .slide-track, .slide-picker:focus-visible .slide-track { background: #ffffff88; }
.slide-picker[aria-current="true"] .slide-track { background: #88a850; }
.slide-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--lime); transform: scaleX(0); transform-origin: left center; }
.round, .card-arrow { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #ffffff42; border-radius: 50%; }
.round { padding: 0; width: 30px; height: 30px; background: #090c0780; }
.round .icon { width: 14px; height: 14px; }
.round:hover { border-color: var(--lime); color: var(--lime); }
.section-block { padding: 58px 0 66px; }
.section-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
.section-label { display: flex; align-items: center; gap: 11px; color: var(--lime); }
.section-label::before { content: ""; width: 23px; height: 1px; background: currentColor; flex: none; }
.section-title { font-size: clamp(32px,2.75vw,46px); line-height: 1.18; letter-spacing: -.047em; font-weight: 620; margin-top: 11px; }
.section-aside { display: inline-flex; align-items: center; gap: 8px; max-width: 44%; color: #9c9f96; font-size: 14px; line-height: 1.6; margin-bottom: 3px; }
.section-aside .icon { width: 13px; height: 13px; }
.section-aside:hover { color: var(--lime); }
.practice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.practice-card { position: relative; border: 1px solid #30362b; border-radius: 11px; overflow: hidden; isolation: isolate; background: #0d110c; min-height: clamp(234px,17.8vw,300px); transition: border-color .25s; }
.animation-card { background: #0e0d13; border-color: #313039; }
.card-art { object-fit: cover; object-position: center 49%; transition: transform .55s ease; }
.card-shade { background: linear-gradient(90deg,#0c100df0 0%,#0b110ec2 30%,#0b110e30 65%,transparent 89%),linear-gradient(0deg,#0a100cb3,transparent 56%); }
.animation-card .card-shade { background: linear-gradient(90deg,#0f0e15f5,#0e0d17ad 34%,#100c181a 74%),linear-gradient(0deg,#110f19a6,transparent 55%); }
.card-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 27px 29px; min-height: inherit; }
.card-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--lime); background: #232b1ce6; border: 1px solid #47583a; border-radius: 8px; }
.card-icon .icon { width: 21px; height: 21px; }
.animation-card .card-icon { color: #c7b5ff; background: #252130df; border-color: #4e445e; }
.card-caption .eyebrow { color: #c3d9a6; font-size: 9px; }
.animation-card .card-caption .eyebrow { color: #d3c3f0; }
.card-caption h3 { margin-top: 7px; font-size: clamp(23px,1.91vw,31px); line-height: 1.25; font-weight: 600; letter-spacing: -.04em; }
.card-caption p { font-size: 13px; line-height: 1.65; margin-top: 9px; color: #c0c2b8; max-width: calc(100% - 40px); }
.card-arrow { position: absolute; top: 21px; right: 21px; width: 30px; height: 30px; z-index: 1; color: #f2f4ed; background: #0d110c66; }
.card-arrow .icon { width: 14px; height: 14px; }
.practice-card:hover { border-color: #809663; }
.animation-card:hover { border-color: #8b7ca3; }
.practice-card:hover .card-art { transform: scale(1.035); }
.ip, .about, .contact, .footer { border-top: 1px solid var(--line); }
.ip { background: #0e100e; }
.project-card { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid #30352d; border-radius: 11px; overflow: hidden; background: #151814; }
.project-photo { min-height: 290px; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-info { padding: clamp(26px,3.8vw,64px); align-self: center; }
.status { display: inline-flex; gap: 7px; align-items: center; font-size: 11px; line-height: 1.3; border: 1px solid #49533b; border-radius: 100px; background: #272e21; padding: 5px 10px; color: #d2e3bb; }
.status i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.project-info h3 { font-size: clamp(32px,3.45vw,50px); letter-spacing: -.055em; margin-top: 17px; font-weight: 650; line-height: 1.2; }
.project-en { font: 10px/1.4 var(--mono); letter-spacing: .17em; color: #a9afa1; margin-top: 8px; }
.project-description { color: #b6bbb0; line-height: 1.9; margin: 19px 0 22px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-size: 14px; font-weight: 550; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 15px; height: 15px; }
.about-layout, .contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 6%; }
.about { padding-block: 76px; }
.about-body { max-width: 660px; }
.about-body .about-intro { color: #e5e8df; font-size: clamp(20px,1.75vw,27px); line-height: 1.6; font-weight: 450; letter-spacing: -.025em; }
.about-body p + p { margin-top: 15px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.contact { padding-block: 49px; background: #11140f; }
.contact-layout { align-items: center; }
.contact-info { display: flex; align-items: flex-start; gap: 15px; }
.contact-info > .icon { margin-top: 4px; color: var(--lime); }
.contact-info h3 { font-size: 16px; font-weight: 550; }
.contact-info a { margin-top: 8px; font-size: 14px; line-height: 1.65; }
.footer { font-size: 12px; }
.footer-inner { padding-block: 26px; display: flex; align-items: center; gap: 35px; flex-wrap: wrap; }
.footer .brand { transform-origin: left center; transform: scale(.78); margin-right: -25px; }
.legal { display: flex; gap: 6px; flex-direction: column; font-size: 11px; color: #969b90; }
.back-top { display: flex; align-items: center; gap: 9px; margin-left: auto; color: #b1b6ab; }
.back-top .icon { width: 14px; height: 14px; transform: rotate(-45deg); }
dialog { max-height: min(88vh,850px); max-height: min(88dvh,850px); width: min(600px,calc(100% - 34px)); max-width: 100%; background: #151813; color: var(--white); border: 1px solid #484d41; border-radius: 13px; padding: 0; overscroll-behavior: contain; }
dialog::backdrop { background: #000b; backdrop-filter: blur(6px); }
.dialog-wrap { position: relative; }
.dialog-visual img { width: 100%; height: clamp(140px,21vh,215px); object-fit: cover; }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; background: #090b09dc; }
.dialog-content { padding: 25px clamp(22px,3vw,35px) 30px; }
.dialog-content h2 { font-size: clamp(25px,3vw,35px); line-height: 1.25; margin: 10px 0 13px; letter-spacing: -.04em; }
.dialog-content > p:not(.eyebrow), .dialog-content dd { font-size: 14px; color: #c2c6bb; line-height: 1.75; }
.dialog-content dl { display: grid; gap: 14px; margin-block: 20px 22px; padding-top: 17px; border-top: 1px solid #383d33; }
.dialog-content dt { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
:lang(en) .hero-title { font-size: clamp(57px,5.35vw,84px); letter-spacing: -.062em; line-height: 1.015; }
:lang(en) .hero-copy { max-width: 700px; }
:lang(en) .hero-description { max-width: 435px; line-height: 1.65; }
:lang(en) .slide-3 .hero-title { font-size: clamp(43px,4.65vw,75px); }
@media (min-width: 1800px) { .hero-image { object-position: 50% 46%; } }
@media (max-width: 1000px) {
  :root { --gutter: 4.7vw; }
  .header-tools { gap: 12px; }
  .header-inner { gap: 15px; }
  #site-nav { gap: 22px; }
  .practice-grid { gap: 15px; }
  .card-body { padding: 23px; }
  .project-info { padding: 26px; }
  .project-photo { min-height: 320px; }
}
@media (max-width: 820px) {
  :root { --header-height: 64px; }
  .header-tools { gap: 20px; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; }
  .menu-toggle .icon { width: 22px; height: 22px; }
  .menu-close-icon, .menu-toggle[aria-expanded=true] .menu-open-icon { display: none; }
  .menu-toggle[aria-expanded=true] .menu-close-icon { display: block; }
  #site-nav { display: none; height: auto; position: absolute; left: 0; right: 0; top: 100%; background: #10120ffb; padding: 9px var(--gutter) 20px; border-bottom: 1px solid #41453b; box-shadow: 0 16px 20px #0004; }
  #site-nav.is-open { display: grid; gap: 0; }
  #site-nav a { display: flex; align-items: center; padding: 14px 5px; font-size: 15px; }
  #site-nav a.active::before { left: -5px; }
  #site-nav .mobile-contact { display: flex; justify-content: space-between; border-top: 1px solid #2a3025; margin-top: 4px; padding-bottom: 5px; }
  .header-contact { display: none; }
  .brand img { width: 37px; }
  .brand-zh { font-size: 20px; }
  .brand-en { font-size: 7.6px; }
  .brand { gap: 9px; }
  .hero-image { object-position: 61% 50%; }
  .hero-inner { min-height: 505px; }
  .hero-title { font-size: 62px; }
  .hero-description { max-width: 410px; }
  .section-block { padding-block: 45px; }
  .section-top { margin-bottom: 23px; }
  .section-aside { font-size: 12px; }
  .practice-card { min-height: 230px; }
  .card-body { padding: 19px; }
  .card-caption p { max-width: 100%; }
  .card-arrow { top: 15px; right: 15px; }
  .project-card { grid-template-columns: 1.05fr 1fr; }
  .about-layout, .contact-layout { grid-template-columns: .85fr 1.15fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 22px; --header-height: 61px; }
  .header-tools { gap: 12px; }
  .language { gap: 6px; }
  .hero-inner { min-height: 558px; align-items: flex-start; padding-block: 41px 137px; }
  .hero-copy { width: 100%; }
  .hero-image { object-position: 85% 50%; height: 79%; top: auto; bottom: 0; }
  .hero-shade { background: linear-gradient(180deg,#030403 1%,rgba(3,4,3,.95) 23%,rgba(3,4,3,.53) 50%,transparent 77%,rgba(3,4,3,.72) 100%),linear-gradient(90deg,rgba(3,5,3,.7),rgba(3,5,3,.12) 75%); }
  .slide-2 .hero-image, .slide-3 .hero-image { left: 0; width: 100%; object-position: 75% 50%; opacity: .83; }
  .slide-2 .hero-shade, .slide-3 .hero-shade { background: linear-gradient(180deg,#030503 0%,#030503f2 25%,#03050399 53%,#03050316 70%,#030503ad),linear-gradient(90deg,#03050399,transparent 95%); }
  .hero-label { margin-bottom: 20px; font-size: 10px; }
  .hero-title { font-size: clamp(48px,12.3vw,65px); letter-spacing: -.056em; line-height: 1.13; }
  .hero-description { max-width: 350px; font-size: 14px; line-height: 1.85; margin-top: 15px; }
  .desktop-br { display: none; }
  .hero-actions { margin-top: 20px; gap: 9px; }
  .button { gap: 13px; }
  .hero-controls { bottom: 10px; }
  .round { width: 34px; height: 34px; }
  .section-block { padding-block: 38px; }
  .section-title { font-size: 31px; margin-top: 9px; }
  .section-top { align-items: flex-end; margin-bottom: 20px; }
  .section-aside { margin-top: 10px; max-width: none; }
  .practice-grid { grid-template-columns: 1fr; gap: 14px; }
  .practice-card { min-height: 209px; }
  .card-body { padding: 19px 21px; }
  .card-caption p { font-size: 12px; }
  .project-card { grid-template-columns: 1fr; }
  .project-photo { min-height: 0; }
  .project-photo img { aspect-ratio: 16/9; }
  .project-info { padding: 22px 22px 28px; }
  .project-info h3 { margin-top: 12px; }
  .project-description { margin: 15px 0 19px; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 22px; }
  .about-body .about-intro { font-size: 19px; }
  .about-body p + p { margin-top: 12px; font-size: 14px; }
  .contact { padding-block: 36px; }
  .contact-info { gap: 13px; }
  .footer-inner { gap: 17px 20px; padding-block: 22px; }
  .legal { order: 2; flex-basis: 100%; }
  :lang(en) .hero-title { font-size: clamp(37px,10.7vw,60px); }
  :lang(en) .slide-3 .hero-title { font-size: clamp(31px,9.2vw,52px); }
  :lang(en) .hero-description { max-width: 342px; }
}
@media (max-width: 360px) { :root { --gutter: 17px; } .hero-inner { min-height: 540px; } .button { padding-inline: 13px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
