@font-face {
  font-family: "Tide Source Han Sans CN";
  src: url("../fonts/SourceHanSansCN-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --brand: #ff4402;
  --brand-dark: #dc3900;
  --ink: #181818;
  --paper: #ffffff;
  --muted: #808080;
  --soft-ink: #808080;
  --line: rgba(24, 24, 24, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --font-main: "Tide Source Han Sans CN", "Source Han Sans CN", sans-serif;
  --card-radius: 32px;
  --shadow-card: 0 16px 42px rgba(24, 24, 24, 0.06);
  --shadow-panel: 0 24px 80px rgba(24, 24, 24, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-main);
  font-synthesis: none;
  font-weight: 500;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  width: 100%;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

::selection {
  background: var(--brand);
  color: var(--paper);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: auto;
  left: 0;
  z-index: 80;
  width: 100%;
  border-bottom: 1px solid rgba(24, 24, 24, 0.08);
  background: #ffffff;
  transform-origin: top left;
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(100% - 48px, 1280px);
  height: 82px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.brand-wordmark {
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.brand-tide {
  color: var(--ink);
}

.site-header .brand-tide {
  color: var(--ink);
}

.brand-touch {
  color: var(--brand);
}

.brand-tide,
.brand-touch {
  font-synthesis: weight;
  font-weight: 700;
}

.button--primary .brand-tide,
.button--primary .brand-touch,
.contact-link--primary .brand-tide,
.contact-link--primary .brand-touch,
.creator-social .brand-tide,
.creator-social .brand-touch {
  color: #ffffff;
}

.hero .brand-tide,
.contact-section .brand-tide,
.site-footer .brand-tide,
.creator-portrait .brand-tide,
.work-art .brand-tide {
  color: #ffffff;
}

.primary-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.primary-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #808080;
  font-size: 11px;
  white-space: nowrap;
  transition:
    background-color 160ms ease;
}

.primary-tabs a:hover {
  border-color: var(--brand);
  background: #ffffff;
  color: var(--ink);
}

.language-menu {
  position: relative;
  flex: none;
  margin-left: 9px;
}

.language-menu summary {
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-inline: 13px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.language-globe {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.language-toggle:hover,
.language-menu[open] .language-toggle {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #ffffff;
}

.language-toggle:hover {
  transform: translateY(-1px);
}

.language-popover {
  position: absolute;
  top: calc(100% + 30px);
  right: 0;
  z-index: 90;
  display: grid;
  width: 224px;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.language-popover button {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f8f6f4;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.language-popover button span {
  font-size: 15px;
}

.language-popover button small {
  color: var(--soft-ink);
  font-size: 9px;
}

.language-popover button.is-selected {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--paper);
}

.language-popover button.is-selected small {
  color: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 860px;
  min-height: 100vh;
  overflow: hidden;
  background: #101010;
  color: var(--paper);
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: center;
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  padding: 150px 0 120px;
  text-align: center;
}

.hero-inner > * {
  animation: hero-enter 650ms ease both;
}

.hero-inner > *:nth-child(2) {
  animation-delay: 80ms;
}

.hero-inner > *:nth-child(3) {
  animation-delay: 140ms;
}

.hero-inner > *:nth-child(4) {
  animation-delay: 200ms;
}

.hero-logo {
  display: block;
  flex: none;
  width: clamp(120px, 15vw, 180px);
  height: auto;
  margin: 0 0 54px;
}

.visual-wordmark {
  position: relative;
  z-index: 1;
  color: #808080;
  font-size: clamp(10px, 1.15vw, 14px);
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 16px;
  color: #808080;
  font-size: 11px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.eyebrow--light {
  color: #808080;
}

.hero-title {
  width: 100%;
  margin: 0;
  font-size: clamp(32px, 5.6vw, 80px);
  font-weight: 500;
  letter-spacing: calc(-0.065em + 1px);
  line-height: 1.07;
  text-wrap: nowrap;
  white-space: nowrap;
}

.hero-copy {
  width: 100%;
  margin: 26px auto 0;
  color: #ffffff;
  font-size: clamp(9px, 1.32vw, 19px);
  letter-spacing: -0.02em;
  line-height: 1.8;
  white-space: nowrap;
}

[data-lang="zh"] .hero-copy {
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: min(100%, 330px);
  margin-top: 34px;
}

.hero-actions .button {
  width: 100%;
}

.product-stage .hero-inner {
  padding-bottom: 140px;
}

.product-stage .hero-actions {
  width: min(100%, 240px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button--primary {
  background: var(--brand);
  color: var(--paper);
}

.button--primary:hover {
  background: var(--brand-dark);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--paper);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  width: 24px;
  height: 34px;
  place-items: center;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 22px;
  height: 30px;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  animation: scroll-cue 2s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 130px 0;
}

.section--light {
  overflow: hidden;
  background: #ffffff;
}

.section--light::after {
  position: absolute;
  top: 18%;
  right: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.section-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2,
.contact-inner h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.section-intro {
  max-width: none;
  margin: 0 0 5px auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  white-space: nowrap;
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 66px;
}

.product-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  height: 400px;
  gap: 18px;
  padding: 28px 32px;
  border: 1px solid rgba(24, 24, 24, 0.12);
  border-radius: 28px;
  background: #f8f6f4;
  opacity: 0;
  transform: translateY(18px);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.product-entry:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.product-entry-title {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  font-size: clamp(32px, 3vw, 42px);
  letter-spacing: -0.05em;
  line-height: 1.05;
  white-space: nowrap;
}

.product-entry-logo {
  position: absolute;
  top: 22px;
  left: 28px;
  width: clamp(56px, 13vw, 120px);
  height: clamp(62px, 14.4vw, 133px);
  object-fit: contain;
  object-position: left center;
}

.product-entry-description {
  margin: 0;
  color: #808080;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.product-entry svg {
  grid-column: 2;
  grid-row: 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.product-entry.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 500ms ease,
    transform 500ms ease,
    border-color 160ms ease;
}

.filter-group {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.filter-button {
  min-height: 38px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition:
    background-color 160ms ease;
}

.filter-button:hover {
  color: var(--ink);
}

.filter-button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.works-count {
  color: var(--soft-ink);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.works-grid--single {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(24, 24, 24, 0.11);
  border-radius: var(--card-radius);
  background: var(--paper);
  box-shadow: var(--shadow-card);
  animation: card-in 360ms ease both;
}

.work-visual {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #181818;
  isolation: isolate;
}

.work-visual.has-image {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.work-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-visual::before {
  position: absolute;
  top: -25%;
  right: -10%;
  z-index: -1;
  width: 70%;
  height: 150%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  transform: rotate(-24deg);
}

.work-number {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  color: #808080;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.work-type-mark {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #808080;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.work-art {
  position: relative;
  width: 200px;
  height: 200px;
}

.software-frame {
  position: absolute;
  top: 20px;
  right: 12px;
  bottom: 20px;
  left: 12px;
  padding: 26px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  transform: rotate(-5deg);
}

.software-frame::before {
  display: block;
  width: 34px;
  height: 5px;
  margin-bottom: 33px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow:
    0 15px 0 rgba(255, 255, 255, 0.16),
    0 30px 0 rgba(255, 255, 255, 0.09);
  content: "";
}

.software-frame::after {
  position: absolute;
  right: 20px;
  bottom: 23px;
  width: 68px;
  height: 68px;
  border: 12px solid var(--brand);
  border-radius: 50%;
  content: "";
}

.work-art-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 0.2em;
  line-height: 1.8;
  text-align: center;
}

.game-disc {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 166px;
  height: 166px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24);
}

.game-disc::before,
.game-disc::after {
  position: absolute;
  inset: 23px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.game-disc::after {
  inset: 54px;
  border: 1px solid rgba(255, 68, 2, 0.4);
}

.game-spark {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--brand);
  box-shadow: 0 0 18px rgba(255, 68, 2, 0.72);
}

.game-spark--one {
  top: 4px;
  right: 1px;
  transform: rotate(18deg);
}

.game-spark--two {
  bottom: 9px;
  left: 6px;
  width: 7px;
  height: 7px;
  transform: rotate(-20deg);
}

.work-card-body {
  padding: 26px 28px 28px;
}

.work-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--soft-ink);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.work-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
}

.work-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.work-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.work-card p {
  min-height: 54px;
  margin: 13px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.work-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 24, 24, 0.09);
}

.work-meta {
  color: var(--soft-ink);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.download-button {
  display: inline-flex;
  flex: none;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f5f3;
  color: #808080;
  font-size: 11px;
  cursor: not-allowed;
}

.download-button.is-available {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.download-button.is-available:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.download-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: #181818;
  color: var(--paper);
  isolation: isolate;
}

.contact-orbit {
  position: absolute;
  z-index: -1;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.contact-orbit::before {
  position: absolute;
  inset: 80px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.contact-orbit--left {
  bottom: -240px;
  left: -170px;
}

.contact-orbit--right {
  top: -260px;
  right: -160px;
}

.contact-inner {
  text-align: center;
}

.contact-inner h2 {
  max-width: 900px;
  margin-inline: auto;
}

.contact-copy {
  max-width: 620px;
  margin: 26px auto 0;
  color: #808080;
  font-size: 16px;
  line-height: 1.85;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 780px);
  margin: 42px auto 0;
  text-align: left;
}

.contact-links--single {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 540px);
}

.contact-link {
  display: flex;
  min-height: 102px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact-link:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.contact-link--primary {
  border-color: var(--brand);
  background: var(--brand);
}

.contact-link--primary:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}

.contact-link span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-link small {
  margin-bottom: 6px;
  color: #808080;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.contact-link--primary small {
  color: #ffffff;
}

.contact-link strong {
  overflow: hidden;
  font-size: clamp(15px, 1.65vw, 20px);
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link svg {
  flex: none;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.contact-link:hover svg {
  transform: translateX(3px);
}

.site-footer {
  background: #101010;
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100% - 48px, 1280px);
  min-height: 124px;
  margin-inline: auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: end;
  color: #808080;
  font-size: 10px;
}

.footer-meta a:hover {
  color: #ffffff;
}

.creator-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px 0 110px;
  background: #ffffff;
  isolation: isolate;
}

.home-creator-section {
  padding: 120px 0;
}

.creator-section::before {
  position: absolute;
  top: -260px;
  left: -230px;
  z-index: -2;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 50%;
  content: "";
}

.creator-inner {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.creator-back {
  position: relative;
  top: -20px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
}

.creator-back::before {
  content: "←";
}

.creator-back:hover {
  border-color: var(--brand);
}

.creator-page-heading {
  margin-bottom: 32px;
  text-align: center;
}

.creator-page-heading h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

[data-lang="zh"] .creator-page-heading h1 {
  white-space: nowrap;
}

.creator-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.creator-portrait {
  position: relative;
  display: grid;
  min-height: 680px;
  overflow: hidden;
  place-items: center;
  background: #101010;
}

.creator-brand-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.creator-brand-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: min(145%, 820px);
  height: auto;
  opacity: 0.11;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.creator-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 760px;
  gap: 22px;
  padding: 72px 96px;
}

.creator-content h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.creator-name-en {
  margin: 12px 0 0;
  color: #808080;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.creator-role {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.creator-intro {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
}

.creator-social {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
  padding: 18px 20px;
  border: 1px solid var(--brand);
  border-radius: 22px;
  background: var(--brand);
  color: var(--paper);
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.creator-social:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.creator-social span {
  display: flex;
  flex-direction: column;
}

.creator-social small {
  color: #ffffff;
  font-size: 10px;
}

.creator-social strong {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
}

.creator-social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.resource-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding: 150px 0 120px;
  background: #ffffff;
  isolation: isolate;
}

.xfollow-page {
  min-height: 0;
  padding: 82px 0 0;
  overflow: hidden;
}

.xfollow-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 82px);
  border: 0;
  background: #ffffff;
}

@media (max-width: 720px) {
  .xfollow-page {
    padding-top: 72px;
  }

  .xfollow-frame {
    height: calc(100vh - 72px);
  }
}

.resource-page::before {
  position: absolute;
  top: -280px;
  right: -180px;
  z-index: -1;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 50%;
  content: "";
}

.resource-inner {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.resource-back {
  margin-bottom: 42px;
}

.resource-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.65fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.resource-title {
  margin: 0;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.resource-intro {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.noscript-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  font-size: 13px;
}

@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive reflow is disabled; the fixed 1440px canvas is scaled to fit. */
/*
@media (max-width: 980px) {
  body[data-page="home"] .hero-brand-outline {
    width: 560px;
  }

  .primary-tabs a {
    padding-inline: 10px;
    font-size: 10px;
  }

  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-intro {
    margin-left: 0;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-visual {
    min-height: 360px;
  }

  .creator-layout {
    grid-template-columns: 1fr;
  }

  .creator-portrait {
    min-height: 440px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 34px;
    text-align: center;
  }

  .footer-brand,
  .footer-meta {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 98px;
  }

  .header-inner,
  .section-inner,
  .footer-inner,
  .creator-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero-inner {
    width: min(100% - 48px, 1120px);
  }

  .header-inner {
    height: 74px;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0;
  }

  .brand-wordmark {
    font-size: 15px;
    letter-spacing: 0;
  }

  .primary-tabs {
    gap: 4px;
    margin-left: auto;
    padding: 0;
  }

  .primary-tabs a {
    padding: 7px 8px;
    font-size: 10px;
  }

  .language-menu {
    margin-left: 0;
  }

  .language-toggle {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 9px;
  }

  [data-lang="en"] .primary-tabs a {
    padding-inline: 4px;
    font-size: 8.2px;
  }

  [data-lang="en"] .language-toggle {
    padding-inline: 4px;
    font-size: 7.5px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-brand-outline {
    bottom: 7%;
    width: 150vw;
  }

  body[data-page="home"] .hero-brand-outline {
    bottom: 10%;
    left: calc(50% - 18px);
    width: 260px;
    transform: translateX(-50%) translateY(-90px) rotate(-8deg);
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding-top: 120px;
  }

  .section {
    padding: 94px 0;
  }

  .work-toolbar {
    align-items: flex-end;
  }

  .filter-group {
    max-width: 100%;
  }

  .filter-button {
    padding-inline: 13px;
  }

  .works-count {
    display: none;
  }

  .work-visual {
    min-height: 300px;
  }

  .work-card-body {
    padding: 23px 22px 24px;
  }

  .work-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-button {
    min-height: 40px;
  }

  .contact-section {
    padding: 100px 0;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-link {
    min-height: 92px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }

  .creator-section {
    padding: 112px 0 86px;
  }

  .creator-portrait {
    min-height: 360px;
  }

  .creator-content {
    padding: 38px 24px 42px;
  }

  .creator-back {
    margin-bottom: 16px;
  }

  .creator-page-heading {
    margin-bottom: 24px;
  }
}

@media (max-width: 460px) {
  .header-inner {
    gap: 7px;
  }

  .primary-tabs a {
    padding-inline: 6px;
    font-size: 9.5px;
  }

  .language-toggle {
    padding-inline: 8px;
    font-size: 8.5px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading h2,
  .contact-inner h2 {
    font-size: clamp(34px, 10vw, 45px);
  }

  .filter-group {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 0;
    padding-inline: 8px;
  }

  .work-visual {
    min-height: 260px;
  }

  .work-art {
    width: 180px;
    height: 180px;
    transform: scale(0.9);
  }

  .work-card p {
    min-height: 0;
  }

  .work-meta {
    line-height: 1.5;
  }

  .creator-section {
    padding-top: 104px;
  }

  .creator-portrait {
    min-height: 310px;
  }

  .creator-content h2 {
    font-size: clamp(34px, 10vw, 44px);
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 2px;
  }

  .primary-tabs {
    gap: 2px;
  }

  .primary-tabs a {
    padding-inline: 3px;
    font-size: 8.2px;
  }

  .language-menu {
    margin-left: 2px;
  }

  .language-toggle {
    padding-inline: 5px;
    font-size: 8px;
  }

  [data-lang="en"] .brand-wordmark {
    font-size: 15px;
    letter-spacing: 0;
  }

  [data-lang="en"] .primary-tabs a {
    padding-inline: 1px;
    font-size: 7px;
  }

  [data-lang="en"] .language-toggle {
    padding-inline: 4px;
    font-size: 7.5px;
  }
}

@media (max-width: 560px) {
  [data-lang="en"] .hero-inner {
    min-width: 0;
  }

  [data-lang="en"] .hero-title {
    font-size: clamp(32px, 8vw, 48px);
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-wrap: balance;
    white-space: normal;
  }

  [data-lang="en"] .hero-copy {
    max-width: 620px;
    margin-inline: auto;
    font-size: clamp(11.5px, 2.5vw, 16px);
    letter-spacing: 0;
    line-height: 1.7;
    text-wrap: pretty;
    white-space: normal;
  }
}

@media (min-width: 390px) {
  [data-lang="zh"] .hero-copy {
    font-size: clamp(11px, 1.5vw, 21px);
  }
}

@media (max-width: 360px) {
  [data-lang="zh"] .hero-copy {
    font-size: 9.5px;
    letter-spacing: -0.04em;
  }

  [data-lang="zh"] .hero:not(.product-stage) .hero-copy {
    position: relative;
    left: 50%;
    width: calc(100vw - 10px);
    transform: translateX(-50%);
    letter-spacing: -0.05em;
  }
}

@media (max-width: 400px) {
  [data-lang="zh"] .hero:not(.product-stage) .hero-copy {
    letter-spacing: -0.05em;
  }
}

*/
@media (max-width: 1023px) {
  .product-list,
  .creator-layout,
  .section-heading--split {
    grid-template-columns: 1fr;
  }

  .section-intro {
    margin-left: 0;
    white-space: normal;
  }

}

@media (max-width: 720px) {
  .header-inner {
    width: calc(100% - 24px);
    height: 72px;
    gap: 8px;
  }

  .brand-wordmark {
    font-size: 15px;
  }

  .primary-tabs a {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .language-toggle {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .hero-inner,
  .section-inner,
  .footer-inner,
  .creator-inner,
  .resource-inner {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding-top: 118px;
  }

  .hero-copy {
    white-space: normal;
    font-size: 15px;
  }

  .hero-actions {
    width: min(100%, 340px);
  }

  .section {
    padding: 82px 0;
  }

  .product-entry {
    height: auto;
    min-height: 360px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 30px;
    text-align: center;
  }

  .footer-brand,
  .footer-meta {
    justify-self: center;
  }

}

@media (max-width: 360px) {
  .header-inner {
    width: calc(100% - 12px);
    gap: 3px;
  }

  .brand-wordmark {
    font-size: 15px;
    letter-spacing: 0;
  }

  .primary-tabs {
    gap: 2px;
  }

  .primary-tabs a {
    padding-inline: 4px;
    font-size: 10px;
  }

  .language-toggle {
    padding-inline: 5px;
    font-size: 9px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .product-entry-title {
    font-size: 32px;
  }

  .product-entry {
    padding: 24px;
  }

  .button {
    min-height: 48px;
    font-size: 14px;
  }
}

@media (max-width: 460px) {
  [data-lang="en"] .works-section .product-entry-title {
    font-size: 16px;
    line-height: 1.15;
    white-space: normal;
  }
}

/* Homepage viewing sections share the hero's one-screen height. */
.works-section,
.home-creator-section {
  display: grid;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.works-section {
  align-items: start;
  padding: 74px 0 32px;
}

.works-section .section-inner {
  width: min(100% - 48px, 1280px);
}

.works-section .section-heading {
  margin-bottom: 24px;
}

.product-carousel {
  position: relative;
  width: min(100%, 1280px);
  margin-inline: auto;
}

.product-carousel-toolbar {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  margin-bottom: 0;
}

.creator-carousel-toolbar {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 0;
}

.creator-carousel-toolbar > span {
  color: #808080;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.product-carousel-toolbar > span {
  color: #808080;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.product-carousel-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.product-carousel-button:disabled {
  color: #808080;
  cursor: default;
  opacity: 0.45;
}

.product-carousel-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.works-section .product-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  justify-content: start;
  overflow: hidden;
  row-gap: 16px;
}

.works-section .product-entry {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: 22px 28px;
  scroll-snap-align: start;
}

.works-section .product-entry-title {
  position: static;
  grid-row: auto;
  grid-column: auto;
  align-self: flex-start;
}

.works-section .product-entry-copy {
  position: absolute;
  right: 28px;
  bottom: 22px;
  left: 28px;
  display: flex;
  min-height: 100px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 560px) {
  .works-section {
    height: auto;
  }

  .works-section .product-list {
    grid-template-columns: 1fr;
  }
}

.home-creator-section {
  align-content: start;
  align-items: start;
  padding: 104px 0 32px;
}

.home-creator-section .creator-inner {
  align-self: start;
}

.home-creator-section .creator-page-heading {
  margin-bottom: clamp(32px, 4.5vh, 48px);
}

.home-creator-section .creator-page-heading h1 {
  font-size: clamp(38px, 4.6vw, 60px);
}

.home-creator-section .creator-heading-decoration {
  margin-top: 10px;
}

.home-creator-section .creator-layout {
  max-height: calc(100vh - 180px);
}

.creator-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(100%, 800px);
  justify-content: center;
  column-gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.creator-card {
  width: min(100%, 800px);
  min-height: 0;
  height: 480px;
  justify-self: center;
  scroll-snap-align: start;
}

.creator-card .creator-content {
  justify-content: flex-start;
}

.home-creator-section .creator-portrait {
  min-height: 0;
}

.home-creator-section .creator-content {
  min-height: 0;
  gap: 12px;
  padding:
    calc(clamp(26px, 4vh, 42px) + 50px)
    clamp(36px, 5vw, 64px)
    clamp(26px, 4vh, 42px);
}

.home-creator-section .creator-content h2 {
  font-size: clamp(34px, 3.6vw, 46px);
}

.home-creator-section .creator-role {
  font-size: 14px;
}

.home-creator-section .creator-name-en {
  margin-top: 0;
}

.home-creator-section .creator-intro {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
}

.home-creator-section .creator-social {
  min-height: 68px;
  padding: 12px 18px;
}

@media (max-width: 1023px) {
  .home-creator-section {
    padding: 88px 0 20px;
  }

  .home-creator-section .creator-page-heading {
    margin-bottom: 32px;
  }

  .home-creator-section .creator-page-heading h1 {
    font-size: clamp(34px, 7vw, 48px);
    white-space: normal;
  }

  .home-creator-section .creator-layout {
    grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
    max-height: none;
  }

  .creator-list {
    column-gap: 16px;
  }

  .home-creator-section .creator-portrait {
    height: auto;
    min-height: 0;
  }

  .home-creator-section .creator-content {
    gap: 8px;
    padding: 66px 20px 18px;
  }

  .home-creator-section .creator-content h2 {
    font-size: 30px;
    line-height: 1.05;
  }

  .home-creator-section .creator-intro {
    font-size: 14px;
    line-height: 1.65;
  }

  .home-creator-section .creator-social {
    min-height: 56px;
    padding: 8px 16px;
  }
}

@media (max-width: 720px) {
  .works-section .product-entry-logo {
    top: 14px;
    left: 14px;
    width: clamp(52px, 10vw, 72px);
    height: clamp(58px, 11.1vw, 80px);
  }

  html {
    scroll-padding-top: 72px;
  }

  .works-section {
    padding: 58px 0 20px;
  }

  .works-section .section-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .works-section .eyebrow {
    margin-bottom: 8px;
  }

  .works-section .product-list {
    row-gap: 10px;
  }

  .works-section .product-entry {
    min-height: 0;
  }

  .works-section .product-entry-copy {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 100px;
    gap: 6px;
  }

  .works-section .product-entry-title {
    font-size: clamp(22px, 4vw, 30px);
  }

  .works-section .product-entry-description {
    font-size: 13px;
    line-height: 1.4;
  }

  .works-section .product-entry svg {
    grid-row: 1;
  }

  .home-creator-section .creator-content {
    gap: 6px;
    padding: 66px 12px 12px;
  }

  .home-creator-section .creator-content h2 {
    font-size: 24px;
  }

  .home-creator-section .creator-name-en {
    font-size: 10px;
    line-height: 1.3;
  }

  .home-creator-section .creator-role {
    font-size: 14px;
    line-height: 1.3;
  }

  .home-creator-section .creator-intro {
    font-size: 14px;
    line-height: 1.35;
  }

  .home-creator-section .creator-social {
    min-height: 48px;
    padding: 6px 12px;
  }

  .home-creator-section .creator-social strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .product-entry {
    opacity: 1;
    transform: none;
  }
}
