:root,
.dark {
  --background: #101110;
  --foreground: #f3f2ed;
  --popover: #191b19;
  --gold: #dfb77a;
  --subtle: #a5a79f;
  --heading: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
::selection {
  background: var(--gold);
  color: #101110;
}
.page-width {
  width: calc(100% - 128px);
  max-width: 1392px;
  margin-inline: auto;
}
.gold {
  color: var(--gold);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 100;
  background: var(--gold);
  color: #101110;
  padding: 12px 24px;
}
.skip-link:focus {
  top: 12px;
}
.header {
  height: 94px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid #ffffff1c;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand-cn {
  font-size: 30px;
  font-family: var(--heading);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
}
.brand-dot {
  color: var(--gold);
  font-family: Arial;
  font-size: 40px;
  line-height: 0;
}
.brand-en {
  font-size: 12px;
  letter-spacing: 1.4px;
  line-height: 1.5;
  border-left: 1px solid #6a6c644d;
  padding-left: 18px;
  max-width: 95px;
}
.desktop-nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  letter-spacing: 1px;
}
.desktop-nav a {
  color: #e2e3db;
  transition: color 0.2s;
}
.desktop-nav a:hover,
.text-link:hover,
.back-top:hover {
  color: var(--gold);
}
.header-contact {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 34px;
  border: 1px solid #a8a89470;
  padding: 12px 19px;
}
.header-contact span {
  font-size: 19px;
  color: var(--gold);
}
.header-contact:hover {
  background: #ffffff0c;
}
.menu-toggle,
.mobile-nav {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  height: min(900px, 100svh);
  overflow: hidden;
  background: #101313;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}
.hero-edge {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    0deg,
    #101110 0%,
    transparent 20%,
    transparent 80%,
    #1011102b 100%
  );
}
.hero-content {
  padding-top: clamp(225px, 29vh, 295px);
}
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(58px, 5.6vw, 86px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 3px;
}
.ai-word {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}
.hero-content > p {
  margin-top: 26px;
  color: #c1c5bb;
  line-height: 1.95;
  font-size: 16px;
  letter-spacing: 1px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 50px;
  padding: 13px 23px;
  font-size: 14px;
  letter-spacing: 0.7px;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button span {
  font-size: 21px;
  font-family: Arial;
}
.button:hover {
  transform: translateY(-2px);
}
.button-gold {
  background: var(--gold);
  color: #171914;
  border-color: var(--gold);
}
.button-gold:hover {
  background: #edc890;
}
.button-outline {
  background: transparent;
  border-color: #777d6b80;
}
.button-outline:hover {
  background: #ffffff0a;
}
.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d5d6c026;
  padding-top: 27px;
  color: #bbbeb2;
  font-size: 12px;
  letter-spacing: 2px;
}
.scroll-link {
  font-size: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.scroll-link span {
  font-size: 23px;
}
.hero-bottom > span:last-child {
  letter-spacing: 1px;
}
.section {
  padding-block: 102px;
}
.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  font-family: Arial, 'PingFang SC', sans-serif;
  line-height: 1.6;
  margin-bottom: 22px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 47px;
}
h2 {
  font-family: var(--heading);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 1px;
}
.heading-note {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.9;
  text-align: right;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 43px 26px;
}
.project-card {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  min-width: 0;
}
.project-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.3;
  background: #24251e;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s,
    filter 0.5s;
  filter: saturate(0.82);
}
.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1);
}
.project-status {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 12px;
  letter-spacing: 0.6px;
  padding: 6px 10px;
  background: #101110dc;
  color: #ecece1;
  backdrop-filter: blur(10px);
}
.project-status.development {
  color: #e7c698;
  border: 1px solid #c9a86766;
}
.project-view {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 20px 18px;
  background: linear-gradient(transparent, #000b);
  opacity: 0;
  transition: opacity 0.25s;
  font-size: 14px;
}
.project-view span {
  font-size: 25px;
}
.project-card:hover .project-view,
.project-card:focus-visible .project-view {
  opacity: 1;
}
.project-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 18px;
  gap: 8px;
}
.project-caption p {
  color: #a8ada2;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.project-caption h3 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.project-index {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #9da592;
  padding-bottom: 5px;
  letter-spacing: 1px;
}
.services-section {
  background: #171916;
  border-block: 1px solid #ffffff0a;
  padding-block: 87px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  font-size: 14px;
  border-bottom: 1px solid #6a705d;
  padding-bottom: 13px;
  flex-shrink: 0;
}
.text-link span {
  font-size: 22px;
  color: var(--gold);
}
.service-row {
  display: grid;
  grid-template-columns: 48px minmax(240px, 0.9fr) minmax(240px, 1.1fr) 28px;
  gap: 28px;
  align-items: center;
  border-top: 1px solid #373a32;
  padding: 29px 0;
}
.service-row:last-child {
  border-bottom: 1px solid #373a32;
}
.service-number {
  color: var(--gold);
  font:
    29px Georgia,
    serif;
  letter-spacing: 1px;
}
.service-row h3 {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
}
.service-en {
  font-size: 12px;
  color: #a7ad9f;
  letter-spacing: 1.5px;
  margin-top: 9px;
}
.service-description {
  color: #aeb3a5;
  font-size: 15px;
  line-height: 1.9;
  max-width: 590px;
}
.service-mark {
  color: #c5b790;
  font-size: 26px;
  justify-self: end;
}
.about-heading {
  align-items: center;
  margin-bottom: 64px;
}
.about-description {
  max-width: 530px;
  width: 45%;
  font-size: 16px;
  color: #aeb3a6;
  line-height: 2;
}
.about-description p + p {
  margin-top: 19px;
}
.team-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #383b32;
  padding-top: 25px;
  margin-bottom: 35px;
}
.team-heading h3 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1px;
}
.team-heading span {
  font-size: 14px;
  color: var(--subtle);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}
.team-member img {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  margin-bottom: 20px;
  border: 1px solid #757e5e4d;
  transition: filter 0.3s;
}
.team-member:hover img {
  filter: grayscale(0);
}
.team-member h4 {
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 1px;
}
.team-member p {
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.9;
  margin-top: 7px;
}
.about-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 35px;
  margin-top: 42px;
  border-top: 1px solid #30342b;
  font-size: 13px;
  color: #a6ad9b;
  letter-spacing: 1px;
}
.about-foot > span {
  color: var(--foreground);
}
.contact-section {
  background: #1b1e17;
  padding-block: 81px;
  border-block: 1px solid #33392b;
}
.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-layout h2 {
  font-size: 46px;
  line-height: 1.5;
}
.contact-layout > div > p:last-child {
  color: #acb29f;
  margin-top: 23px;
  font-size: 14px;
  letter-spacing: 1px;
}
.contact-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  margin-right: 26px;
  font-size: 14px;
}
.download-circle {
  width: 114px;
  height: 114px;
  display: grid;
  place-items: center;
  border: 1px solid #ae986677;
  border-radius: 50%;
  font-size: 46px;
  color: var(--gold);
  transition:
    background 0.25s,
    transform 0.25s;
}
.contact-download:hover .download-circle {
  background: #dfb77a;
  transform: rotate(8deg);
  color: #161810;
}
.download-type {
  font-size: 12px;
  margin-left: 10px;
  color: #b3bba5;
  border: 1px solid #525b43;
  padding: 2px 4px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 35px;
}
.footer-brand {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 2px;
}
.footer-brand span {
  display: block;
  font: 12px Arial;
  letter-spacing: 1.7px;
  color: #a8af9d;
  margin-top: 9px;
}
.footer > p {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #a2aa98;
}
.back-top {
  font-size: 12px;
  display: flex;
  gap: 21px;
  color: #b4bba9;
}
.back-top span {
  font-size: 18px;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.icp {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #a2aa98;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.icp:hover {
  color: var(--gold);
}
.project-dialog {
  max-width: min(940px, calc(100% - 40px)) !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 2px !important;
  border: 1px solid #545c43;
  display: grid !important;
  grid-template-columns: 1.12fr 1fr;
  overflow: hidden;
  max-height: 88svh;
  background: #191c16;
}
.dialog-image {
  background: #080a07;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}
.dialog-image img {
  max-height: 80svh;
  width: 100%;
  object-fit: contain;
}
.dialog-copy {
  padding: 65px 35px 36px;
  overflow-y: auto;
}
.dialog-copy .section-label {
  font-size: 12px;
  letter-spacing: 1px;
}
.dialog-title {
  font-size: 29px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  letter-spacing: 1px;
}
.dialog-description {
  font-size: 16px !important;
  line-height: 2 !important;
  color: #b3baa7 !important;
  margin-top: 22px;
}
.dialog-source {
  font-size: 12px;
  color: #a5b295;
  line-height: 1.8;
  margin: 24px 0 34px;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 1px solid #98a58165;
  width: 38px;
  height: 38px;
  background: #10150cd9;
  font-size: 29px;
  z-index: 2;
  line-height: 1;
  border-radius: 50%;
}
[data-slot='dialog-overlay'] {
  background: #000b !important;
  backdrop-filter: blur(6px);
}
@media (min-width: 1600px) {
  .hero-content {
    padding-top: 275px;
  }
  .hero {
    height: 860px;
  }
}
@media (max-width: 1100px) {
  .page-width {
    width: calc(100% - 80px);
  }
  .desktop-nav {
    gap: 25px;
  }
  .brand-en {
    display: none;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero {
    min-height: 740px;
  }
  .service-row {
    grid-template-columns: 40px 1fr 1.1fr 20px;
    gap: 19px;
  }
  .service-row h3 {
    font-size: 21px;
  }
  .team-grid {
    gap: 15px;
  }
  .contact-layout h2 {
    font-size: 40px;
  }
  .project-caption h3 {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  .page-width {
    width: calc(100% - 44px);
  }
  .header {
    height: 77px;
  }
  .brand-cn {
    font-size: 27px;
  }
  .desktop-nav,
  .header-contact {
    display: none;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    border: 0;
    font-size: 14px;
    padding: 12px 0 12px 16px;
  }
  .menu-toggle > span:last-child {
    font-size: 23px;
    font-family: Arial;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    background: #151911fa;
    padding: 12px 22px 23px;
    border-bottom: 1px solid #50593f;
    box-shadow: 0 20px 40px #0005;
  }
  .mobile-nav a {
    padding: 18px 0;
    font-size: 17px;
    border-bottom: 1px solid #353b2c;
    display: flex;
    justify-content: space-between;
  }
  .mobile-nav a:last-child {
    border: 0;
  }
  .mobile-nav span {
    color: var(--gold);
  }
  .hero {
    height: 770px;
    min-height: 690px;
    max-height: 940px;
  }
  .hero-art {
    object-position: 66% center;
    opacity: 0.82;
  }
  .hero-edge {
    background:
      linear-gradient(90deg, #0b100ee6, transparent 95%),
      linear-gradient(0deg, #101110 1%, transparent 45%);
  }
  .hero-content {
    padding-top: 245px;
  }
  .hero h1 {
    font-size: clamp(39px, 9.5vw, 64px);
    letter-spacing: 1px;
    line-height: 1.4;
  }
  .hero-content > p {
    font-size: 16px;
    margin-top: 23px;
    letter-spacing: 0.5px;
    line-height: 2;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 31px;
  }
  .button {
    padding: 12px 17px;
    gap: 21px;
    font-size: 14px;
    min-height: 49px;
  }
  .hero-bottom {
    bottom: 27px;
    padding-top: 19px;
    letter-spacing: 1px;
    font-size: 12px;
  }
  .hero-bottom > span:first-child {
    max-width: 160px;
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 1px;
  }
  .hero-bottom > span:last-child {
    font-size: 12px;
  }
  .scroll-link {
    display: none;
  }
  .section {
    padding-block: 70px;
  }
  .section-label {
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
  }
  .section-heading {
    gap: 20px;
    margin-bottom: 32px;
    display: block;
  }
  h2 {
    font-size: 31px;
    line-height: 1.55;
    letter-spacing: 0.5px;
  }
  .heading-note {
    font-size: 14px;
    text-align: left;
    margin-top: 19px;
    line-height: 1.8;
  }
  .heading-note br {
    display: none;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 15px;
  }
  .project-image {
    aspect-ratio: 1.05;
  }
  .project-caption {
    padding-top: 12px;
  }
  .project-caption h3 {
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.6;
  }
  .project-caption p {
    font-size: 12px;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
  }
  .project-index {
    display: none;
  }
  .project-status {
    left: 8px;
    top: 8px;
    padding: 4px 6px;
    font-size: 12px;
  }
  .project-view {
    display: none;
  }
  .services-section {
    padding-block: 65px;
  }
  .services-section h2 {
    font-size: 31px;
  }
  .services-section .text-link {
    margin-top: 23px;
    font-size: 14px;
    padding-bottom: 9px;
  }
  .service-row {
    grid-template-columns: 28px 1fr 20px;
    gap: 13px;
    padding: 26px 0;
    align-items: start;
  }
  .service-row h3 {
    font-size: 22px;
    letter-spacing: 0.3px;
  }
  .service-en {
    font-size: 12px;
  }
  .service-description {
    font-size: 15px;
    grid-column: 2;
    grid-row: 2;
  }
  .service-number {
    font-size: 22px;
    padding-top: 2px;
  }
  .service-mark {
    font-size: 23px;
    grid-column: 3;
    grid-row: 1;
  }
  .about-heading {
    margin-bottom: 35px;
  }
  .about-description {
    width: 100%;
    max-width: none;
    margin-top: 27px;
    font-size: 16px;
    line-height: 1.95;
  }
  .about-description p + p {
    margin-top: 14px;
  }
  .team-heading {
    padding-top: 22px;
    margin-bottom: 28px;
  }
  .team-heading h3 {
    font-size: 16px;
  }
  .team-heading span {
    font-size: 12px;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }
  .team-member img {
    width: 77px;
    height: 77px;
    margin-bottom: 13px;
  }
  .team-member h4 {
    font-size: 17px;
  }
  .team-member p {
    font-size: 12px;
    line-height: 1.8;
  }
  .about-foot {
    display: block;
    padding-top: 22px;
    margin-top: 29px;
    font-size: 14px;
  }
  .about-foot p {
    font-size: 12px;
    margin-top: 12px;
    line-height: 1.8;
  }
  .contact-section {
    padding-block: 61px;
  }
  .contact-layout {
    display: block;
  }
  .contact-layout h2 {
    font-size: 31px;
  }
  .contact-layout > div > p:last-child {
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.9;
  }
  .contact-download {
    flex-direction: row;
    gap: 17px;
    justify-content: flex-start;
    margin-top: 31px;
  }
  .download-circle {
    width: 59px;
    height: 59px;
    font-size: 28px;
  }
  .footer {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-block: 30px;
    gap: 25px 0;
  }
  .footer-brand {
    font-size: 22px;
  }
  .footer-brand span {
    font-size: 12px;
  }
  .footer > p {
    grid-row: 2;
    grid-column: 1/-1;
    font-size: 12px;
  }
  .back-top {
    font-size: 12px;
    gap: 13px;
  }
  .footer-right {
    gap: 13px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .project-dialog {
    grid-template-columns: 1fr !important;
    max-height: 90svh;
    overflow-y: auto;
  }
  .dialog-image {
    min-height: 0;
    height: 280px;
  }
  .dialog-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .dialog-copy {
    padding: 27px 23px;
  }
  .dialog-title {
    font-size: 24px !important;
  }
  .dialog-description {
    font-size: 16px !important;
    margin-top: 16px;
  }
  .dialog-source {
    margin: 18px 0 22px;
  }
  .dialog-close {
    position: fixed;
  }
  .dialog-copy .button {
    min-height: 45px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 36px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-image {
    aspect-ratio: 1.5;
  }
  .hero-actions .button {
    gap: 15px;
    padding-inline: 14px;
  }
  .contact-layout h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

dialog.project-dialog:not([open]){display:none!important}dialog.project-dialog{position:fixed;inset:0;margin:auto;width:min(940px,calc(100% - 40px));color:var(--foreground);overflow-y:auto;max-height:88svh}dialog.project-dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}dialog.project-dialog .dialog-copy{overflow-y:visible}dialog.project-dialog .dialog-close{position:absolute}
