:root {
  --paper: #eeeae1;
  --ink: #211c18;
  --muted: #625b52;
  --accent: #9c3228;
  --light-accent: #ffab94;
  --night: #171614;
  --soft: #ccc1b4;
  --rule: #211c1830;
  --serif: "Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
h1,h2,h3,p,figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1376px, calc(100% - 112px)); margin-inline: auto; }
.site-head { border-bottom: 1px solid var(--rule); }
.head-inner { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 7px; font-weight: 850; font-size: 24px; letter-spacing: -.065em; line-height: 1; }
.wordmark i { width: 16px; height: 19px; background: var(--accent); clip-path: polygon(0 0,45% 0,100% 50%,45% 100%,0 100%,55% 50%); margin-right: 2px; }
.wordmark span { font: 10px var(--mono); letter-spacing: .12em; color: var(--muted); margin-left: 3px; }
nav { display: flex; gap: clamp(18px,3.5vw,54px); font-size: 14px; font-weight: 650; }
nav a:hover,.text-link:hover { color: var(--accent); }
.language { justify-self: end; border: 1px solid var(--rule); background: transparent; padding: 7px 12px; font: 12px var(--mono); }
.hero { min-height: 650px; padding-block: 68px 50px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(24px,4vw,64px); }
.hero-copy { padding-block: 14px 35px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 650 12px/1.4 var(--mono); letter-spacing: .16em; color: var(--accent); }
.eyebrow i { width: 15px; height: 1px; background: currentColor; }
h1,h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.065em; line-height: 1.06; }
h1 { font-size: clamp(53px,6.3vw,108px); margin-block: 23px 24px; }
em { color: var(--accent); font-style: normal; }
.hero-description { color: var(--muted); font-size: 16px; max-width: 365px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 27px; font-size: 14px; font-weight: 700; }
.solid { display: inline-flex; align-items: center; gap: 25px; background: var(--accent); color: #fff7f2; padding: 11px 15px; }
.solid:hover { background: #76261f; }
.text-link { white-space: nowrap; }
.hero-image { position: relative; overflow: hidden; background: #31251b; }
.hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.39; object-fit: cover; object-position: 59% center; }
.hero-play { position: absolute; bottom: 18px; left: 18px; padding: 9px 14px; display: inline-flex; gap: 9px; align-items: center; border: 1px solid #ffffff70; background: #17120dd9; color: #fff; font-size: 13px; }
.hero-play:hover { background: #17120d; }
.play-icon { font-size: 11px; }
figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font: 11px/1.4 var(--mono); color: var(--muted); letter-spacing: .08em; }
.section { padding-block: 84px; }
.dark { background: var(--night); color: var(--paper); }
.dark .eyebrow { color: var(--light-accent); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-block: 17px 28px; }
h2 { font-size: clamp(40px,5.4vw,79px); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button,.tabs button,#enlarge { background: transparent; border: 1px solid #eeeae144; padding: 5px 12px; font-size: 13px; }
.filters button[aria-pressed=true],.tabs button[aria-selected=true] { background: var(--paper); color: var(--night); border-color: var(--paper); }
.work-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 17px; }
.work-card button { position: relative; display: block; width: 100%; background: none; border: 0; text-align: left; padding: 0; }
.work-card img { display: block; width: 100%; aspect-ratio: 1.86; object-fit: cover; background: #332c26; }
.work-card button:hover img { filter: brightness(1.12); }
.work-meta { display: block; color: var(--soft); font: 11px var(--mono); margin-block: 13px 4px; letter-spacing: .08em; }
.work-card strong { display: block; font: 700 30px/1.1 var(--serif); }
.work-arrow { position: absolute; right: 11px; top: 11px; width: 34px; height: 34px; display: grid; place-items: center; background: #171614d9; border: 1px solid #ffffff65; }
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,7vw,105px); }
.studio-intro h2 { margin-block: 17px; }
.studio-intro p:last-child,.process p { color: var(--muted); }
.studio-intro p:last-child { max-width: 430px; }
.process { align-self: center; border-top: 1px solid var(--rule); }
.process article { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--rule); }
.process article > span { color: var(--accent); font: 13px var(--mono); padding-top: 8px; }
.process h3 { font-size: 20px; }
.process p { margin-top: 4px; font-size: 14px; }
.platform { border-top: 1px solid #eeeae12b; }
.platform-heading p { color: var(--soft); max-width: 380px; }
.demo { border: 1px solid #eeeae144; }
.demo-bar { display: flex; justify-content: space-between; gap: 10px; padding: 10px; }
.tabs { display: flex; gap: 5px; }
#product-image { display: block; width: 100%; aspect-ratio: 1.74; object-fit: contain; background: #f3f1ec; }
#product-caption { padding: 10px 14px; color: var(--soft); font-size: 14px; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: 28px; gap: 13px; font-size: 13px; }
.footer p { color: var(--muted); }
dialog { color: var(--paper); background: var(--night); border: 1px solid #eeeae144; padding: 12px; width: min(96vw,1100px); max-width: none; max-height: 94vh; }
dialog::backdrop { background: #0a0807db; }
.viewer-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 10px; }
.viewer-head h2 { font: 700 20px/1.3 var(--serif); letter-spacing: 0; }
.viewer-head button { background: transparent; border: 1px solid #eeeae144; padding: 4px 10px; white-space: nowrap; }
dialog img,dialog video { display: block; margin: auto; max-width: 100%; max-height: 72vh; }
dialog p { margin-top: 9px; color: var(--soft); font-size: 14px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { min-height: 0; padding-block: 45px 37px; }
  h1 { font-size: clamp(40px,7vw,68px); }
  .section { padding-block: 62px; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 34px); }
  .head-inner { min-height: 62px; gap: 10px; }
  .wordmark { font-size: 20px; gap: 4px; }
  .wordmark i { width: 11px; height: 15px; }
  .site-head .wordmark span { display: none; }
  nav { gap: 10px; font-size: 12px; }
  .language { padding: 6px; }
  .hero,.studio { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding-block: 31px 26px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(47px,12vw,72px); margin-block: 15px; }
  .hero-description { font-size: 14px; }
  .hero-actions { margin-top: 18px; }
  .hero-image img { aspect-ratio: 1.52; }
  .section { padding-block: 43px; }
  .section-heading { flex-direction: column; align-items: start; gap: 12px; margin-bottom: 19px; }
  .work-grid { gap: 18px 11px; }
  .work-card img { aspect-ratio: 1.2; }
  .work-card strong { font-size: 24px; }
  .work-meta { font-size: 9px; }
  .work-arrow { width: 28px; height: 28px; top: 6px; right: 6px; font-size: 13px; }
  .platform-heading p { font-size: 14px; }
  .tabs button,#enlarge { padding-inline: 7px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.work-card[data-type="film"] img { object-position: center 72%; }

.platform-heading { align-items: center; }
.platform-heading p { max-width: 470px; }
.production-flow {
  list-style: none;
  padding: 0;
  margin: 35px 0 28px;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  border-block: 1px solid #eeeae144;
}
.production-flow li {
  display: flex;
  flex-direction: column;
  padding: 20px clamp(12px,1.55vw,26px);
  border-inline-start: 1px solid #eeeae144;
}
.production-flow li:last-child { border-inline-end: 1px solid #eeeae144; }
.stage-number { font: 12px var(--mono); color: var(--light-accent); letter-spacing: .14em; }
.production-flow h3 { margin-block: 13px 7px; font-size: clamp(16px,1.55vw,23px); line-height: 1.3; }
.production-flow p,.engineering-notes p,.workspace-heading p { color: var(--soft); font-size: 14px; }
.stage-output { padding-top: 16px; margin-top: auto; color: var(--light-accent); font-size: 12px; }
.engineering-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.engineering-notes article { padding: 16px 19px; background: #eeeae10a; border-top: 1px solid #eeeae144; }
.engineering-notes h3 { font-size: 16px; margin-bottom: 5px; }
.workspace-heading { margin-block: 44px 16px; }
.workspace-heading h3 { font: 700 clamp(25px,3vw,38px)/1.2 var(--serif); margin-bottom: 7px; }
@media (max-width: 900px) {
  .production-flow { grid-template-columns: 1fr; border: 1px solid #eeeae144; }
  .production-flow li,.production-flow li:last-child { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 4px 10px; border: 0; padding: 13px 16px; }
  .production-flow li + li { border-top: 1px solid #eeeae144; }
  .production-flow h3 { margin: 0; }
  .stage-number { align-self: center; }
  .production-flow p,.stage-output { grid-column: 2; }
  .stage-output { padding-top: 3px; }
}
@media (max-width: 660px) {
  .platform-heading { align-items: start; }
  .engineering-notes { grid-template-columns: 1fr; gap: 7px; }
  .workspace-heading { margin-top: 30px; }
}

.wordmark img { flex: none; }
.wordmark .cut { color: var(--accent); }
.contact { border-bottom: 1px solid var(--rule); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 22px; }
.contact h2 { margin-top: 14px; }
.contact-inner div:last-child p { color: var(--muted); }
.contact a { display: inline-block; color: var(--accent); font-weight: 700; margin-top: 9px; border-bottom: 1px solid currentColor; }
@media (max-width: 660px) {
  .wordmark img { width: 20px; height: 20px; }
  .contact-inner { grid-template-columns: 1fr; gap: 15px; }
  .head-inner { gap: 6px; }
  nav { gap: clamp(5px,2vw,10px); }
}
