:root {
  --ink: #080808;
  --muted: #686868;
  --line: #e8e8e8;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --red: #f00617;
  --red-dark: #bd0010;
  --charcoal: #171717;
  --page-gutter: clamp(40px, 5vw, 80px);
  --content-max: 1440px;
  --grid-gutter: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

/* Homepage loading experiment: an independent brand curtain above the existing Hero. */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  border-bottom: 2px solid var(--red);
  background: var(--ink);
  will-change: transform, opacity;
}

.site-loader-locked,
.site-loader-locked body {
  overflow: hidden;
}

.site-loader-locked body {
  padding-right: var(--site-loader-scrollbar, 0px);
}

.site-loader-enabled .site-loader {
  display: grid;
}

.site-loader__content {
  display: grid;
  justify-items: center;
  gap: 0;
  transform: translateY(-1vh);
  will-change: transform, opacity;
}

.site-loader__wordmark {
  display: block;
  width: clamp(260px, 23vw, 350px);
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity, clip-path;
}

.site-loader__accent {
  display: block;
  margin-top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  opacity: 0;
  transform: translateY(6px) scale(0.72);
  will-change: transform, opacity, width, height;
}

.site-loader.is-playing .site-loader__wordmark {
  animation: site-loader-wordmark-in 300ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader.is-playing .site-loader__accent {
  animation: site-loader-accent 330ms 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-loader.is-dismissing:not(.is-reduced) {
  animation: site-loader-curtain-out 540ms 70ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.site-loader.is-dismissing:not(.is-reduced) .site-loader__content {
  animation: site-loader-content-out 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-loader.is-reduced .site-loader__wordmark,
.site-loader.is-reduced .site-loader__accent {
  opacity: 1;
  transform: none;
  animation: none;
}

.site-loader.is-reduced.is-dismissing {
  opacity: 0;
  transition: opacity 180ms ease-out;
}

.site-loader-revealing .hero {
  animation: site-loader-hero-in 320ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes site-loader-wordmark-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes site-loader-accent {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0;
    transform: translateY(6px) scale(0.72);
  }
  26% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  46% {
    width: 10px;
    height: 10px;
    border-radius: 999px;
  }
  100% {
    width: 96px;
    height: 2px;
    border-radius: 999px;
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes site-loader-content-out {
  to {
    opacity: 0;
    transform: translateY(calc(-1vh - 5px));
  }
}

@keyframes site-loader-curtain-out {
  to {
    transform: translateY(-101%);
  }
}

@keyframes site-loader-hero-in {
  from {
    opacity: 0.96;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .site-loader__content {
    transform: translateY(-1vh);
  }

  .site-loader__wordmark {
    width: clamp(180px, 58vw, 230px);
  }

  .site-loader__accent {
    margin-top: 18px;
    width: 8px;
    height: 8px;
  }

  .site-loader.is-playing .site-loader__accent {
    animation-name: site-loader-accent-mobile;
  }
}

@keyframes site-loader-accent-mobile {
  0% {
    width: 8px;
    height: 8px;
    opacity: 0;
    transform: translateY(6px) scale(0.72);
  }
  26% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  46% {
    width: 8px;
    height: 8px;
    border-radius: 999px;
  }
  100% {
    width: 76px;
    height: 2px;
    border-radius: 999px;
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader *,
  .site-loader-revealing .hero {
    animation: none !important;
  }
}

/* Homepage scroll-reveal experiment: sections stay visible; only their contents animate. */
.motion-enabled [data-reveal-item] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 580ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 580ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enabled [data-reveal-item].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.motion-enabled [data-reveal="media"] {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.015);
  transition:
    clip-path 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: clip-path, transform;
}

.motion-enabled [data-reveal="media"].is-revealed {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.motion-enabled [data-reveal-timeline] [data-reveal-item] {
  transition-duration: 440ms;
}

.motion-enabled [data-reveal-timeline="case"] [data-reveal="media"] {
  transition-duration: 700ms;
}

.motion-enabled [data-reveal-timeline="creative"] [data-reveal-item] {
  transition-duration: 500ms;
}

.motion-enabled [data-reveal-timeline="footer"] [data-reveal-item] {
  transform: translateY(6px);
  transition-duration: 430ms;
}

@media (max-width: 767px) {
  .motion-enabled [data-reveal-item] {
    transform: translateY(7px);
  }

  .motion-enabled [data-reveal="media"] {
    transition-duration: 600ms;
  }

  .motion-enabled [data-reveal-timeline="case"] [data-reveal="media"] {
    transition-duration: 650ms;
  }
}

/* Cases page: each final Product Case owns one reveal timeline after its data is ready. */
.case-motion-enabled [data-case-reveal-item] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1) var(--case-reveal-delay, 0ms),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1) var(--case-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.case-motion-enabled [data-case-reveal].is-revealed [data-case-reveal-item] {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .case-motion-enabled [data-case-reveal-item] {
    transform: translateY(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-motion-enabled [data-case-reveal-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-enabled [data-reveal-item],
  .motion-enabled [data-reveal="media"] {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: opacity 150ms ease-out;
  }
}

main > section > :not(.case-subnav-inner),
.site-header > *,
.footer > * {
  min-width: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 16px var(--page-gutter);
  background: var(--soft);
  border-bottom: 0;
  backdrop-filter: none;
}

.home-page .site-header {
  background: var(--soft);
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.site-header::before,
.section > :not(.brand-cluster):not(.client-groups):not(.principles):not(.featured-case):not(.case-grid):not(.product-case-section):not(.product-video-grid),
.page-hero > *,
.creative-method > *,
.pricing-section > *,
.jobs-section > *,
.benefits-section > * {
  max-width: var(--content-max);
  margin-inline: auto;
}

.brand img {
  display: block;
  width: clamp(132px, 16vw, 210px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-home {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  line-height: 0;
}

.nav-home svg {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.nav a.active,
.nav a:hover {
  color: var(--paper);
  background: var(--ink);
}

.case-subnav {
  position: sticky;
  top: clamp(92px, calc(32px + 7.272vw), 127.5px);
  z-index: 9;
  overflow: hidden;
  border-bottom: 0;
  background: var(--soft);
  backdrop-filter: none;
}

.case-subnav-inner {
  display: flex;
  gap: 6px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 8px var(--page-gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.case-subnav-inner::-webkit-scrollbar {
  display: none;
}

.case-subnav a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.case-subnav a:hover,
.case-subnav a.is-active {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 3.8vw, 56px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(64px, 8vw, 112px) var(--page-gutter) clamp(52px, 7vw, 96px);
  background: var(--paper);
}

.hero > * {
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
}

.hero-copy {
  max-width: 720px;
  justify-self: end;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-text,
.page-hero p,
.section-head p,
.product-case-head p,
.problem-card p,
.solution-card p,
.job-columns li {
  text-wrap: pretty;
}

/* Balance only titles that are naturally multi-line at compact widths. */
@media (max-width: 980px) {
  .section-head h2,
  .page-hero h1,
  .problem-solution-head h2,
  .job-head h2,
  .product-case-head h2 {
    text-wrap: balance;
  }
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text,
.page-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

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

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

.button.ghost:hover {
  color: var(--paper);
  background: var(--ink);
}

.trend-board {
  min-height: 560px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  width: min(78vw, 380px);
  aspect-ratio: 9 / 16;
  padding: 14px;
  border-radius: 38px;
  background: var(--charcoal);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.hero-case-video {
  position: absolute;
  inset: 14px;
  display: block;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border-radius: 28px;
  object-fit: cover;
  background: #111;
}

.sound-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.sound-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sound-icon-off {
  display: none;
}

.sound-toggle[data-volume-state="muted"] .sound-icon-on {
  display: none;
}

.sound-toggle[data-volume-state="muted"] .sound-icon-off {
  display: block;
}

.sound-toggle:hover {
  background: rgba(240, 6, 23, 0.88);
  border-color: rgba(240, 6, 23, 0.88);
}

@keyframes pulseShift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 0, 120px 80px;
  }
}

.hero-video-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: min(78vw, 380px);
  gap: 10px;
}

.hero-video-tags > .hero-video-tag {
  display: inline-flex;
  flex: 0 0 176px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(8, 8, 8, 0.16);
  border-radius: 8px;
  background: #fafaf9;
  box-shadow: 0 3px 12px rgba(8, 8, 8, 0.04);
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
}

.hero-video-tag-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-video-tag strong {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.section {
  padding: clamp(56px, 8vw, 104px) var(--page-gutter);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.strip {
  background: var(--soft);
}

.core-preview {
  color: var(--paper);
  background: var(--charcoal);
}

.core-preview .principles article {
  color: var(--ink);
}

.core-preview .section-head {
  max-width: min(100%, 1240px);
}

@media (min-width: 1024px) {
  .core-preview h2.core-preview-title {
    font-size: clamp(34px, 3.3vw, 48px);
    white-space: nowrap;
  }
}

.brand-ecosystem {
  padding-inline: var(--page-gutter);
}

.section-head {
  max-width: 850px;
  margin-bottom: 28px;
}

.brand-ecosystem .section-head {
  max-width: 1500px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}

.brand-ecosystem .eyebrow {
  font-size: 16px;
}

.brand-ecosystem .section-head h2 {
  font-size: clamp(34px, 4.5vw, 62px);
}

.section-head.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.text-link,
.case-item a,
.footer a {
  color: var(--red);
  font-weight: 800;
}

.client-groups {
  display: grid;
  gap: 18px;
}

.brand-cluster {
  max-width: 1500px;
  margin: 0 auto;
}

.brand-cluster + .brand-cluster {
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.brand-cluster-head {
  margin-bottom: 20px;
}

.brand-cluster-head h3 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.1;
}

.client-group {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.client-group h3 {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  color: var(--paper);
  background: var(--ink);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
}

/* Client logos form one continuous brand strip; partner logos remain individual cards. */
.client-group .logo-grid {
  gap: 0;
  background: var(--line);
}

.client-group .logo-card {
  border: 0;
  border-radius: 0;
}

.partner-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
}

.partner-logo-card {
  min-height: 148px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-card {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px 24px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f1f0;
  opacity: 0;
  transform: translateY(14px);
  animation: logoFadeIn 620ms ease forwards;
}

.logo-card:nth-child(2) {
  animation-delay: 80ms;
}

.logo-card:nth-child(3) {
  animation-delay: 160ms;
}

.logo-card:nth-child(4) {
  animation-delay: 240ms;
}

.logo-card:nth-child(5) {
  animation-delay: 320ms;
}

.logo-card:nth-child(6) {
  animation-delay: 400ms;
}

.logo-card img {
  display: block;
  max-width: 100%;
  max-height: 76px;
  object-fit: contain;
}

.partner-logo-card img {
  width: min(82%, 210px);
  max-height: 98px;
}

.logo-porsche img {
  width: min(100%, 210px);
  max-height: 132px;
}

.logo-realme img {
  width: min(90%, 220px);
  max-height: 88px;
}

.logo-kfc img {
  width: min(70%, 128px);
  max-height: 92px;
}

.logo-gintama img {
  width: min(88%, 172px);
  max-height: 104px;
}

.logo-naruto img {
  width: min(90%, 178px);
  max-height: 92px;
}

.logo-bluelock img {
  width: min(88%, 170px);
  max-height: 92px;
}

@media (min-width: 981px) {
  .logo-bluelock {
    padding: 10px 14px;
  }

  .logo-bluelock img {
    width: min(100%, 270px);
    max-height: 128px;
  }

}

@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(320px, 1.22fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
}

.video-card,
.mini-video {
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  border: 1px solid var(--line);
}

.video-card video,
.mini-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (min-width: 981px) {
  #hot-case .featured-case {
    grid-template-columns: minmax(360px, 0.78fr) minmax(430px, 1.22fr);
  }

  #hot-case .video-card {
    width: min(100%, 430px);
    justify-self: center;
  }
}

.case-copy h3,
.case-item h2 {
  margin: 8px 0 12px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.12;
}

.case-copy p,
.case-item p,
.principles p,
.method-section p {
  color: var(--muted);
}

.case-tag {
  margin: 0;
  color: var(--red);
  font-weight: 900;
}

.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.case-stats span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.case-stats strong {
  color: var(--red);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principles article,
.case-item,
.method-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.principles article {
  padding: 24px;
}

.principles span,
.method-number {
  color: var(--red);
  font-weight: 950;
}

.principles h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.page-hero {
  padding: clamp(64px, 8vw, 112px) var(--page-gutter) 40px;
  background: var(--soft);
}

.compact-hero {
  padding-bottom: 34px;
}

.creative-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(2, 5, 13, 0.94) 0%, rgba(2, 5, 13, 0.82) 43%, rgba(2, 5, 13, 0.35) 100%),
    url("assets/join-hero-bg.png") center / cover no-repeat;
}

.creative-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 6, 23, 0.85), transparent);
}

.creative-hero > * {
  position: relative;
  z-index: 1;
}

.creative-hero .eyebrow {
  color: #ff2b39;
}

.creative-hero h1 {
  max-width: none;
  font-size: clamp(20px, 5.8vw, 82px);
}

.creative-hero > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
}

.page-hero.page-banner,
.join-hero.page-banner {
  box-sizing: border-box;
  height: clamp(320px, 34vw, 420px);
  min-height: 0;
  padding: clamp(52px, 6vw, 72px) var(--page-gutter);
}

.creative-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 12px var(--page-gutter) 28px;
  background: var(--soft);
}

.creative-pillars article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.creative-pillars span {
  color: var(--red);
  font-weight: 950;
}

.creative-pillars h2 {
  margin: 12px 0 10px;
  font-size: 24px;
}

.creative-pillars p {
  margin: 0;
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 36px var(--page-gutter) clamp(64px, 8vw, 112px);
}

.product-case-list {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  padding: 36px var(--page-gutter) clamp(64px, 8vw, 112px);
}

.product-case-section {
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 4vw, 40px);
  scroll-margin-top: calc(clamp(92px, calc(32px + 7.272vw), 127.5px) + 54px);
}

.product-case-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.product-case-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.case-product-logo {
  display: none;
}

.product-case-head > div {
  min-width: 0;
}

.product-case-head h2 {
  margin: 6px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.case-title-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.case-external-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.case-title-link:hover,
.case-title-link:focus-visible {
  color: var(--red);
  text-decoration: none;
}

.case-title-link:hover .case-external-icon,
.case-title-link:focus-visible .case-external-icon {
  color: var(--red);
  border-color: rgba(240, 6, 23, 0.35);
  background: rgba(240, 6, 23, 0.07);
  transform: translate(2px, -2px);
}

.product-case-head p {
  margin: 0;
  color: #3d3d3d;
  font-size: 17px;
  line-height: 1.7;
}

.product-case-head p a {
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 6, 23, 0.45);
}

.product-case-head p a:hover {
  border-bottom-color: var(--red);
}

.product-case-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: default;
}

.case-project + .case-project {
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.case-project-head {
  margin-bottom: 18px;
}

.case-project-copy {
  min-width: 0;
}

.case-project-head h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.case-project-copy > .case-tag + h3 {
  margin-top: 18px;
}

.case-project-head p {
  max-width: 760px;
  margin: 0;
  color: #3d3d3d;
  font-size: 17px;
  line-height: 1.7;
}

.case-project-description--kelly {
  max-width: none;
}

.text-keep {
  white-space: nowrap;
}

.case-project-logo {
  display: block;
  width: 150px;
  max-height: 76px;
  object-fit: contain;
}

@media (min-width: 981px) {
  .product-case-head {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 210px) auto;
    align-items: center;
  }

  .case-product-logo {
    display: block;
    justify-self: end;
    align-self: center;
    width: min(100%, 190px);
    max-height: 76px;
    object-fit: contain;
  }

  .case-logo-wildrift {
    max-height: 84px;
  }

  .case-logo-hsr {
    width: min(100%, 210px);
    max-height: 88px;
  }

  .case-logo-freefire {
    width: min(100%, 150px);
    max-height: 76px;
  }

  .case-logo-talkie {
    width: min(100%, 180px);
    max-height: 72px;
  }

  .case-logo-sheglam {
    width: min(100%, 170px);
    max-height: 68px;
  }

  .case-logo-tft {
    width: min(100%, 180px);
    max-height: 84px;
  }

  .case-logo-yinchao {
    width: 88px;
    max-height: 88px;
    border-radius: 16px;
  }
}

.product-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 240px));
  gap: 16px;
  justify-content: center;
}

.video-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.video-tile video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  background: #111;
}

.video-tile h3 {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-video-grid--landscape {
  grid-template-columns: minmax(0, min(920px, 100%));
  justify-content: center;
}

.product-video-grid--landscape .video-tile--landscape {
  width: 100%;
  margin-inline: auto;
}

.video-tile--landscape video {
  aspect-ratio: 16 / 9;
}

.case-item {
  overflow: hidden;
}

.case-item > div:last-child {
  padding: 22px;
}

.case-item h2 {
  font-size: 26px;
}

.method-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px var(--page-gutter) 0;
}

.tab {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.tab.active,
.tab:hover {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.method-section {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
  margin: 18px var(--page-gutter);
  padding: clamp(24px, 4vw, 44px);
}

.method-section:last-of-type {
  margin-bottom: 18px;
}

.method-number {
  font-size: 42px;
  line-height: 1;
}

.method-section h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 48px);
}

.creative-method {
  padding: clamp(42px, 6vw, 76px) var(--page-gutter) clamp(36px, 3vw, 48px);
  background: var(--soft);
}

.problem-solution-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  width: min(100%, var(--content-max));
  max-width: var(--content-max);
  margin: 0 auto clamp(28px, 4vw, 48px);
}

.problem-solution-head h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.08;
  text-wrap: balance;
}

.problem-solution-list {
  display: grid;
  gap: 12px;
  width: min(100%, var(--content-max));
  max-width: var(--content-max);
  margin: 0 auto;
}

.problem-solution-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
}

.problem-card,
.solution-card {
  min-height: 196px;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-card {
  background: var(--paper);
}

.solution-card {
  background: #ececea;
}

.problem-card > span,
.solution-card > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.problem-card h3,
.solution-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
}

.problem-card p,
.solution-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.problem-card p *,
.solution-card p * {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  opacity: inherit;
  text-transform: inherit;
  white-space: inherit;
}

.pair-connector {
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(240, 6, 23, 0.24);
  border-radius: 50%;
  color: var(--red);
  background: var(--paper);
  font-size: 22px;
  line-height: 1;
}

.pricing-section {
  margin-top: 0;
  padding: 0 var(--page-gutter) clamp(48px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.pricing-section .section-head {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 16px);
  max-width: none;
  margin: 0 0 clamp(24px, 2vw, 32px);
}

.pricing-section .eyebrow {
  margin: 0;
  font-size: 16px;
}

.pricing-section h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
}

.service-flow {
  margin-bottom: clamp(20px, 2vw, 24px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-flow-head {
  display: grid;
  justify-items: start;
  gap: 10px;
  max-width: 760px;
  margin: 0 0 20px;
  text-align: left;
}

.service-flow-head h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.08;
}

.service-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.service-flow-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(180px, 0.38fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-flow-grid article::after {
  content: none;
}

.service-flow-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 34px;
  border: 1px solid rgba(240, 6, 23, 0.22);
  border-radius: 999px;
  color: var(--red);
  background: rgba(240, 6, 23, 0.06);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.service-flow-grid h4 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.service-flow-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-flow-grid article:nth-child(even) {
  background: #f6f6f6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.pricing-card.production {
  border-left: 4px solid var(--red);
}

.pricing-card.operation {
  border-left: 4px solid var(--ink);
}

.pricing-type {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.pricing-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.pricing-grid strong {
  display: block;
  color: var(--red);
  font-size: 20px;
  line-height: 1.25;
}

.pricing-grid p,
.pricing-grid ul {
  color: var(--muted);
}

.pricing-grid ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 4px;
  padding-left: 18px;
  font-size: 14px;
}

.pricing-card .button {
  align-self: flex-start;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

.join-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(2, 5, 13, 0.93) 0%, rgba(2, 5, 13, 0.78) 40%, rgba(2, 5, 13, 0.34) 100%),
    url("assets/join-hero-bg.png") center / cover no-repeat;
}

.join-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 6, 23, 0.85), transparent);
}

.join-hero > * {
  position: relative;
  z-index: 1;
}

.join-hero .eyebrow {
  color: #ff2b39;
}

.join-hero h1 {
  font-size: clamp(44px, 7vw, 82px);
}

.join-hero > p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 22px);
}

.apply-note {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.apply-note span,
.apply-note small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.apply-note strong {
  color: var(--paper);
  font-size: 18px;
}

.jobs-section {
  padding: clamp(44px, 7vw, 84px) var(--page-gutter) 28px;
}

.jobs-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  gap: 18px;
}

.job-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  height: 100%;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

@media (min-width: 981px) {
  .job-card { min-height: 0; }
}

.job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.job-head h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}

.job-apply-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 16px;
  color: var(--red);
  border-color: rgba(240, 6, 23, 0.35);
  background: rgba(240, 6, 23, 0.06);
}

.job-apply-button:hover {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}

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

.job-columns > div { min-width: 0; }

.job-columns h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.job-columns ul {
  margin: 0;
  padding-left: 20px;
  color: #3d3d3d;
}

.job-columns li + li {
  margin-top: 8px;
}

.benefits-section {
  padding: 24px var(--page-gutter) clamp(64px, 8vw, 112px);
}

.benefits-section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 52px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.benefit-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 190px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.benefit-grid h3 {
  margin: 0;
  font-size: 20px;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.benefit-icon.is-black {
  background: var(--ink);
}

.benefit-icon.is-red {
  background: var(--red);
}

.benefit-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px var(--page-gutter);
  color: var(--paper);
  background: var(--ink);
}

.footer img {
  width: 168px;
  max-width: 48vw;
  filter: invert(1);
  background: transparent;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--paper);
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.footer-logo::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  order: -1;
}

.footer-logo span {
  font-size: 18px;
  letter-spacing: 0;
}

.footer p {
  margin: 12px 0 0;
  color: #d8d8d8;
}

.footer address {
  display: grid;
  gap: 6px;
  color: #d8d8d8;
  font-style: normal;
}

.footer address a {
  color: var(--paper);
}

.footer address a:hover {
  color: #d8d8d8;
}

.footer.compact {
  align-items: center;
}

.footer-contact {
  align-items: center;
  position: relative;
}

.footer .icp-link {
  position: absolute;
  inset-inline: 0;
  bottom: 36px;
  width: max-content;
  max-width: calc(100% - 2 * var(--page-gutter));
  margin-inline: auto;
  color: #a8a8a8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
}

@media (max-width: 767px) {
  .home-page .footer-contact {
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .home-page .footer-contact-panel {
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 24px;
  }

  .home-page .footer-contact address {
    max-width: 100%;
    gap: 8px;
    overflow-wrap: anywhere;
  }

  .home-page .footer-contact .wechat-qr {
    width: 128px;
    height: 128px;
    object-fit: contain;
  }

  .home-page .footer .icp-link {
    position: static;
    max-width: 100%;
    margin-inline: auto;
    font-size: 13px;
  }
}

.footer .icp-link:hover {
  color: var(--paper);
}

.footer-brand-panel {
  display: grid;
  gap: 14px;
}

.home-page .footer-brand-panel > p {
  text-align: center;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  width: min(300px, 72vw);
}

.footer-logo-card img {
  display: block;
  width: 100%;
  max-width: none;
  filter: none;
}

.footer-contact-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.wechat-qr {
  display: block;
  width: clamp(112px, 12vw, 150px);
  height: clamp(112px, 12vw, 150px);
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper);
  filter: none;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(2, 5, 13, 0.95) 0%, rgba(2, 5, 13, 0.87) 46%, rgba(2, 5, 13, 0.58) 100%),
    url("assets/join-hero-bg.png") center / cover no-repeat;
  color: var(--paper);
}

.contact-hero p:not(.eyebrow) { color: rgba(255, 255, 255, 0.72); }

.contact-section {
  padding: clamp(56px, 8vw, 104px) var(--page-gutter);
  background: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  max-width: 1120px;
  margin-inline: auto;
}

.contact-details h2 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.contact-details > a { display: grid; gap: 3px; margin-top: 18px; color: var(--red); font-size: clamp(18px, 2vw, 23px); font-weight: 800; }
.contact-details > a span { color: var(--muted); font-size: 13px; font-weight: 700; }
.contact-qr { display: grid; justify-items: center; width: min(100%, 156px); gap: 12px; margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid var(--line); text-align: center; }
.contact-qr h3 { margin: 0; font-size: 16px; line-height: 1.25; }
.contact-qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 8px; background: var(--paper); }
.contact-form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.contact-form label { display: grid; gap: 8px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; color: var(--ink); border: 1px solid #cfcfcd; border-radius: 4px; background: var(--paper); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-form .button { justify-self: start; cursor: pointer; }
.contact-honeypot { position: absolute; left: -9999px; }
.contact-status { min-height: 1.6em; margin: 0; color: var(--muted); font-size: 14px; }
.contact-status a { color: var(--red); font-weight: 800; }

.back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 20; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; color: var(--paper); border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.2); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; font-size: 24px; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--red); }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { .reveal, .back-to-top { transition: none; transform: none; } }

@media (max-width: 980px) {
  .hero,
  .featured-case,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .product-video-grid {
    grid-template-columns: repeat(2, minmax(180px, 240px));
  }

  .product-video-grid--landscape {
    grid-template-columns: minmax(0, min(760px, 100%));
  }

  .case-product-logo {
    display: block;
    width: min(180px, 48vw);
    max-height: 70px;
    object-fit: contain;
  }

  .case-logo-yinchao {
    width: 76px;
    max-height: 76px;
    border-radius: 14px;
  }

  .trend-board {
    min-height: 500px;
  }

  .principles,
  .creative-pillars,
  .pricing-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-list { grid-auto-rows: auto; }

  .problem-solution-head,
  .problem-solution-row {
    grid-template-columns: 1fr;
  }

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

  .pair-connector {
    justify-self: center;
    transform: rotate(90deg);
  }

  .client-group {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .service-flow-grid article::after {
    display: none;
  }

  .logo-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-group h3 {
    min-height: 96px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: clamp(20px, 4vw, 24px);
  }

  .case-subnav-inner { padding-inline: var(--page-gutter); }

  .site-header {
    position: static;
    display: block;
    min-height: 0;
    padding-block: 12px 0;
  }

  .brand {
    display: inline-block;
    padding-bottom: 10px;
  }

  .nav {
    flex-wrap: nowrap;
    width: calc(100% + (var(--page-gutter) * 2));
    margin-left: calc(var(--page-gutter) * -1);
    padding: 0 var(--page-gutter) 12px;
    overflow-x: auto;
    scrollbar-width: none;
    background: transparent;
  }

  .nav::-webkit-scrollbar { display: none; }

  .nav a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 14px;
  }

  .case-subnav {
    top: 0;
  }

  .product-case-section {
    scroll-margin-top: 58px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 42px;
  }

  .hero h1 { font-size: clamp(40px, 11vw, 48px); }
  .section h2, .page-hero h1 { font-size: clamp(29px, 8.8vw, 40px); }
  .creative-hero h1 { font-size: clamp(18px, 5.8vw, 28px); }
  .problem-solution-head h2 { font-size: clamp(27px, 8vw, 35px); }

  .trend-board {
    min-height: 420px;
  }

  .metric-card {
    width: 136px;
  }

  .metric-card.top {
    top: 14px;
  }

  .metric-card.bottom {
    bottom: 14px;
  }

  .sound-toggle {
    top: 22px;
    right: 22px;
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .section-head.split,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .job-columns,
  .footer-contact-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .job-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-card { height: auto; }

  .apply-note {
    grid-template-columns: 1fr;
  }

  .product-case-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-case-head > span {
    font-size: 12px;
  }

  .case-project-head {
    row-gap: 16px;
  }

  .product-video-grid--landscape {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-group,
  .principles,
  .creative-pillars,
  .pricing-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .creative-hero {
    background-position: center right;
  }

  .creative-method {
    padding-top: 36px;
  }

  .pricing-section {
    padding-bottom: 48px;
  }

  .pricing-section .section-head { margin-bottom: 20px; }

  .page-hero.page-banner,
  .join-hero.page-banner {
    height: 380px;
    padding-block: 40px;
  }

  .service-flow-head { margin-bottom: 16px; }

  .service-flow { margin-bottom: 20px; }

  .problem-card,
  .solution-card {
    min-height: auto;
  }

  .problem-solution-head {
    gap: 24px;
  }

  .problem-solution-list {
    gap: 18px;
  }

  .problem-solution-row {
    gap: 10px;
  }

  .service-flow-head {
    justify-items: start;
  }

  .service-flow-grid {
    grid-template-columns: 1fr;
  }

  .service-flow-grid article {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
    min-height: auto;
  }

  .logo-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 100px;
    padding: 14px 18px;
  }

  .logo-card img {
    max-height: 62px;
  }

  .partner-logo-card {
    min-height: 118px;
  }

  .partner-logo-card img {
    max-height: 82px;
  }

  .logo-porsche img {
    width: min(86%, 148px);
  }

  .logo-gintama img {
    width: min(78%, 152px);
  }

  .method-section {
    grid-template-columns: 1fr;
  }

  .product-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 420px) {
  .product-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile-only refinements. Desktop and tablet layouts intentionally retain their approved rules. */
@media (max-width: 767px) {
  :root {
    --page-gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
  }

  .site-header {
    position: sticky;
    display: flex;
    height: 70px;
    min-height: 66px;
    gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) var(--page-gutter) 10px;
  }

  .brand {
    flex: 0 0 auto;
    display: block;
    padding: 0;
  }

  .brand img {
    width: 108px;
  }

  .nav {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0 2px;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    background: transparent;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .nav-home {
    width: 44px;
    height: 44px;
  }

  .case-subnav {
    top: 70px;
  }

  .case-subnav-inner {
    padding: 8px var(--page-gutter);
    overscroll-behavior-x: contain;
  }

  .case-subnav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 0;
    gap: 32px;
    padding: 52px var(--page-gutter) 58px;
  }

  .hero-copy {
    max-width: none;
    justify-self: stretch;
  }

  .hero-copy .eyebrow {
    margin-bottom: 10px;
    font-size: clamp(18px, 5.4vw, 22px);
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 42px);
    line-height: 1.04;
    text-wrap: wrap;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .trend-board {
    min-height: 0;
    gap: 12px;
    align-content: start;
  }

  .phone-frame {
    width: min(100%, 330px);
    padding: 12px;
    border-radius: 32px;
  }

  .hero-case-video {
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 23px;
  }

  .sound-toggle {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .hero-video-tags {
    width: min(100%, 330px);
    gap: 10px;
  }

  .hero-video-tags > .hero-video-tag {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    gap: 5px;
    min-height: 46px;
    padding: 10px 8px;
    text-align: center;
    white-space: nowrap;
  }

  .hero-video-tag-label { font-size: 13px; }
  .hero-video-tag strong { font-size: 18px; }

  .section {
    padding-block: 56px;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h2,
  .page-hero h1 {
    text-wrap: wrap;
  }

  .section h2 {
    font-size: clamp(30px, 8vw, 34px);
  }

  .brand-ecosystem .section-head {
    margin-bottom: 28px;
  }

  .brand-ecosystem .section-head h2 {
    font-size: clamp(30px, 8vw, 34px);
  }

  .brand-cluster + .brand-cluster {
    margin-top: 40px;
    padding-top: 32px;
  }

  .brand-cluster-head {
    margin-bottom: 14px;
  }

  .brand-cluster-head h3 {
    font-size: 25px;
  }

  .client-group {
    grid-template-columns: 1fr;
  }

  .client-group h3 {
    min-height: 0;
    padding: 14px 16px;
    place-items: start;
    font-size: 18px;
  }

  .logo-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-card {
    min-height: 102px;
    padding: 12px 14px;
  }

  .partner-logo-card {
    min-height: 116px;
  }

  .logo-card img {
    max-height: 62px;
  }

  .logo-porsche img {
    width: min(100%, 210px);
    max-height: 94px;
  }

  .logo-gintama img {
    width: min(100%, 180px);
    max-height: 84px;
  }

  .logo-bluelock img {
    width: min(100%, 180px);
    max-height: 84px;
  }

  .featured-case {
    gap: 26px;
  }

  .video-card {
    width: 100%;
  }

  .principles,
  .creative-pillars,
  .pricing-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .principles {
    gap: 12px;
  }

  .principles article {
    padding: 22px;
  }

  .product-case-list {
    gap: 48px;
    padding: 28px var(--page-gutter) 56px;
  }

  .product-case-section {
    padding-top: 28px;
    scroll-margin-top: 118px;
  }

  .product-case-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 14px;
    margin-bottom: 20px;
  }

  .product-case-head > div {
    grid-column: 1 / -1;
  }

  .product-case-head > .case-product-logo {
    grid-column: 1;
    grid-row: 2;
    display: block;
    justify-self: start;
    width: min(150px, 42vw);
    max-height: 64px;
    object-fit: contain;
  }

  .product-case-head > span {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
  }

  .case-logo-freefire {
    width: min(132px, 38vw) !important;
  }

  .case-logo-yinchao {
    width: 68px !important;
    max-height: 68px !important;
    border-radius: 14px;
  }

  .product-case-head h2,
  .case-project-head h3 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.14;
    text-wrap: wrap;
  }

  .product-case-head p,
  .case-project-head p {
    font-size: 16px;
    line-height: 1.68;
  }

  .case-project-copy > .case-tag + h3 {
    margin-top: 12px;
  }

  .case-project + .case-project {
    margin-top: 44px;
    padding-top: 32px;
  }

  .product-video-grid {
    grid-template-columns: minmax(0, min(340px, 100%));
    justify-content: center;
    gap: 14px;
  }

  .product-video-grid--landscape {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-tile h3 {
    padding: 11px 12px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .page-hero.page-banner,
  .join-hero.page-banner {
    height: 340px;
    padding-block: 42px;
  }

  .creative-hero h1,
  .join-hero h1 {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.08;
    text-wrap: wrap;
  }

  .page-hero p,
  .join-hero > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
  }

  .creative-method {
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .problem-solution-head {
    gap: 20px;
    margin-bottom: 28px;
  }

  .problem-solution-head h2 {
    font-size: clamp(28px, 7.8vw, 32px);
    text-wrap: wrap;
  }

  .problem-solution-head > div:first-child h2 {
    font-size: 28px;
    max-width: none;
  }

  .problem-solution-list {
    gap: 18px;
  }

  .problem-solution-row {
    gap: 10px;
  }

  .problem-card,
  .solution-card {
    min-height: 0;
    padding: 20px;
  }

  .pair-connector {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .pricing-section {
    padding-bottom: 56px;
  }

  .pricing-section .section-head {
    margin-bottom: 20px;
  }

  .pricing-section h2 {
    font-size: 34px;
  }

  .service-flow,
  .pricing-grid article {
    padding: 20px;
  }

  .service-flow-grid article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .service-flow-grid h4 {
    font-size: 20px;
  }

  .jobs-section {
    padding-top: 52px;
  }

  .jobs-list {
    grid-auto-rows: auto;
  }

  .job-card {
    height: auto;
    padding: 22px;
  }

  .job-head {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
  }

  .job-head h2 {
    font-size: clamp(26px, 7.5vw, 30px);
    text-wrap: wrap;
  }

  .job-apply-button {
    min-height: 46px;
  }

  .job-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .job-columns li {
    font-size: 16px;
  }

  .benefits-section {
    padding-top: 20px;
  }

  .contact-section {
    padding-block: 52px;
  }

  .contact-layout {
    gap: 36px;
  }

  .contact-details h2 {
    font-size: 32px;
  }

  .contact-qr {
    width: min(160px, 100%);
    margin-inline: auto;
  }

  .contact-form {
    gap: 16px;
    padding: 22px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-form .button {
    justify-self: stretch;
    width: 100%;
    min-height: 48px;
  }

  .footer,
  .footer-contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
