:root {
  --ink: #101214;
  --paper: #f5f1eb;
  --paper-strong: #fffaf2;
  --muted: #7a7771;
  --line: rgba(16, 18, 20, 0.12);
  --red: #b8161f;
  --red-bright: #d71920;
  --gold: #c5a46b;
  --slate: #2f3a43;
  --green: #0e4d42;
  --white: #ffffff;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 36px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 8, 10, 0.72), rgba(7, 8, 10, 0));
  transition: background 0.25s ease, color 0.25s ease, border 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 241, 235, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
}

.brand-logo {
  width: 230px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.32));
}

.brand-logo-dark {
  display: none;
}

.site-header.is-scrolled .brand-logo-light {
  display: none;
}

.site-header.is-scrolled .brand-logo-dark {
  display: block;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 4px;
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.72;
}

.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding: 28px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  --hero-image-width: min(1420px, 100vw);
  --hero-image-height: calc(var(--hero-image-width) / 2);
  --hero-image-left: calc(max(36px, calc((100vw - var(--max)) / 2)) - 110px);
  --hero-image-top: 0px;
  position: relative;
  display: grid;
  min-height: clamp(620px, 92vh, 760px);
  overflow: hidden;
  color: var(--white);
  background: #050607;
}

.hero-media {
  position: absolute;
  top: var(--hero-image-top);
  left: var(--hero-image-left);
  z-index: auto;
  width: var(--hero-image-width);
  height: var(--hero-image-height);
  aspect-ratio: auto;
  margin: 0;
  overflow: visible;
  background: url("./assets/anniversary/shuangzi-30th-hero-zero-left-ai-original.png") left top / 100% 100% no-repeat;
  pointer-events: none;
}

.hero-founders-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: none;
}

.founder-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.founder-tag {
  position: absolute;
  display: block;
  width: 190px;
  color: var(--white);
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.68);
}

.founder-name-card {
  display: inline-block;
  padding-bottom: 5px;
  color: rgba(244, 224, 172, 0.96);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(244, 224, 172, 0.42);
}

.founder-title {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.42;
}

.founder-title span {
  display: block;
}

.founder-tag-zhanglei {
  top: 60%;
  left: 56%;
}

.founder-tag-fandawei {
  top: 60%;
  left: 75%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.28) 0%, rgba(5, 6, 8, 0.1) 27%, rgba(5, 6, 8, 0) 58%);
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(660px, calc(100% - 48px));
  margin-left: max(36px, calc((100vw - var(--max)) / 2));
  padding-top: 90px;
  transform: translateY(78px);
}

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

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1 span {
  display: block;
}

.hero-slogan {
  max-width: 720px;
}

.hero-copy {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-button,
.ghost-button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
}

.primary-button,
.lead-form button {
  color: var(--white);
  background: var(--red-bright);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-proof {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof div {
  min-height: 100px;
  padding: 22px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  color: var(--paper-strong);
  font-size: 28px;
  line-height: 1.1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-timeline {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-timeline article {
  min-height: 128px;
  padding: 22px 22px 20px;
  background: rgba(0, 0, 0, 0.24);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-timeline article:last-child {
  border-right: 0;
}

.hero-timeline span {
  display: block;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.hero-timeline strong {
  display: block;
  margin-top: 8px;
  color: var(--paper-strong);
  font-size: 22px;
  line-height: 1.18;
}

.hero-timeline p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.48;
}

.video-section {
  padding: 54px 36px 90px;
  color: var(--white);
  background: #0c0f12;
}

.video-panel {
  display: grid;
  gap: 28px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.video-panel h2 {
  max-width: 800px;
}

.video-panel video {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.client-logo-marquee {
  width: min(var(--max), 100%);
  padding: 14px 10px 10px;
  margin: 58px auto 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(13, 17, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

.client-logo-marquee figcaption {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.04em;
}

.client-logo-marquee__viewport {
  overflow: hidden;
  background: #d8d8d8;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.16);
}

.client-logo-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: clientLogoMarquee 71s linear infinite;
}

.client-logo-marquee img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: clamp(260px, 28vw, 420px);
  object-fit: contain;
}

@keyframes clientLogoMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-showcase {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 34px;
  align-items: center;
  width: min(var(--max), calc(100% - 72px));
  padding: 52px 0;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.logo-showcase img {
  width: 410px;
  height: auto;
  object-fit: contain;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
}

.logo-showcase h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.4vw, 48px);
  overflow-wrap: anywhere;
  word-break: break-all;
}

.logo-title span {
  display: block;
}

.section {
  padding: 100px 36px;
  scroll-margin-top: 78px;
}

.section > * {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-kicker {
  margin-bottom: 26px;
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-story-section {
  padding-bottom: 118px;
  background:
    linear-gradient(180deg, var(--paper-strong) 0%, #f7efe3 100%);
}

.brand-story-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.brand-story-main {
  display: grid;
  gap: 24px;
  max-width: 1080px;
}

.story-eyebrow {
  margin-bottom: -8px;
}

.story-logo {
  width: min(520px, 100%);
  height: auto;
  object-fit: contain;
}

.brand-story-main .logo-title {
  max-width: 720px;
  font-size: clamp(34px, 4.2vw, 60px);
}

.story-title-inline {
  max-width: none;
  font-size: clamp(30px, 3.6vw, 48px);
  white-space: nowrap;
}

.intro-grid,
.band-layout,
.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.26;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.intro-grid > *,
.band-layout > *,
.contact-panel > *,
.brand-story-layout > *,
.contact-board > *,
.method-layout > *,
.service-grid > *,
.case-grid > *,
.case-logo-wall > * {
  min-width: 0;
}

.intro-copy {
  display: grid;
  gap: 20px;
  color: #4e4a45;
  font-size: 18px;
}

.story-section {
  background: var(--paper-strong);
}

.story-grid {
  align-items: start;
}

.story-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.story-values article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 132px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.story-values strong {
  display: block;
  color: var(--red-bright);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
}

.story-values span {
  display: block;
  color: #2c2925;
  font-weight: 800;
  line-height: 1.5;
}

.stack-title span {
  display: block;
}

.dark-band {
  color: var(--white);
  background: var(--ink);
}

.dark-band h2 {
  max-width: 620px;
}

.principle-list {
  display: grid;
  gap: 14px;
}

.principle-list article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.principle-list span,
.service-grid p,
.method-column span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.principle-list p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
}

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

.section-head h2 {
  max-width: 850px;
}

.section-head.horizontal {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
}

.text-link {
  flex: 0 0 auto;
  padding-bottom: 8px;
  color: var(--red-bright);
  font-weight: 800;
  border-bottom: 2px solid var(--red-bright);
}

.case-section {
  background: #ece5dc;
}

.case-title-only {
  margin-bottom: 36px;
}

.case-title-only h2 {
  max-width: none;
}

.case-logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.case-logo-entry {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 245px;
  padding: 20px;
  place-items: center;
  background: var(--paper-strong);
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.case-logo-entry img {
  width: 100%;
  height: 198px;
  object-fit: contain;
  padding: 18px;
  background: #101214;
  border-radius: 6px;
}

.case-logo-entry:hover {
  border-color: rgba(215, 25, 32, 0.35);
  box-shadow: 0 22px 60px rgba(16, 18, 20, 0.12);
  transform: translateY(-4px);
}

.case-logo-entry:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 4px;
}

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

.logo-case {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 22px;
  background: var(--paper-strong);
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
}

.logo-case img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 18px;
  background: #101214;
  border-radius: 6px;
}

.logo-case span {
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 800;
}

.logo-case strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.logo-case:hover {
  border-color: rgba(215, 25, 32, 0.35);
  box-shadow: 0 22px 60px rgba(16, 18, 20, 0.12);
  transform: translateY(-4px);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

.case-card.large {
  grid-column: span 2;
}

.case-card img {
  height: 100%;
  object-fit: contain;
  background: #101214;
  opacity: 0.82;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.case-card.brand-logo-card img {
  padding: 26px 22px 116px;
  object-fit: contain;
  background: #101214;
  opacity: 0.94;
}

.case-card.brand-logo-card.large img {
  background: #681b22;
}

.case-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.08) 58%);
}

.case-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 26px;
}

.case-card p {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.case-card span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.case-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.method-section {
  position: relative;
  padding-top: 92px;
  padding-bottom: 108px;
  color: var(--white);
  background:
    linear-gradient(180deg, #17191b 0%, #22282d 100%);
}

.method-section::before {
  position: absolute;
  top: 0;
  right: 36px;
  left: 36px;
  height: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.method-section .section-head h2 {
  color: var(--white);
  max-width: none;
}

.method-section .section-head p:not(.eyebrow) {
  max-width: 860px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.8;
}

.method-title {
  font-size: clamp(30px, 3.5vw, 50px);
  white-space: nowrap;
}

.method-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.method-column {
  color: var(--ink);
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(215, 25, 32, 0.3);
  border-radius: 6px;
}

.method-column.featured {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(215, 25, 32, 0.42);
  box-shadow: inset 0 0 0 1px rgba(215, 25, 32, 0.08);
}

.method-column > span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.service-grid p {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.method-column p {
  margin-top: 16px;
  color: var(--muted);
}

.method-column.featured p {
  color: var(--muted);
}

.method-column ul {
  display: grid;
  gap: 10px;
  padding: 24px 0 0;
  margin: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-column.featured ul {
  border-top-color: rgba(215, 25, 32, 0.16);
}

.method-column li {
  color: #34312d;
  font-weight: 700;
}

.method-column.featured li {
  color: #34312d;
}

.method-books {
  --book-card-height: 438px;
  --book-figure-height: 300px;
  --book-body-height: 138px;
  margin-top: 18px;
  padding: 34px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(215, 25, 32, 0.22);
  border-radius: 6px;
  contain: layout paint;
}

.method-books > div:first-child {
  max-width: 760px;
}

.method-books h3 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 40px);
}

.method-books p {
  margin-top: 14px;
  color: #4f4a44;
  font-size: 17px;
}

.method-book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  align-items: stretch;
}

.method-book-grid article {
  display: grid;
  grid-template-rows: var(--book-figure-height) var(--book-body-height);
  height: var(--book-card-height);
  min-height: 0;
  overflow: hidden;
  background: #f6f0e6;
  border: 1px solid rgba(16, 18, 20, 0.12);
  border-radius: 6px;
}

.method-book-grid figure {
  --book-inset: 24px;
  --book-offset: 48px;
  position: relative;
  display: grid;
  place-items: center;
  height: var(--book-figure-height);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(197, 164, 107, 0.18), rgba(255, 255, 255, 0.36)),
    #eee6da;
}

.method-book-grid img {
  position: absolute;
  top: var(--book-inset);
  right: var(--book-inset);
  bottom: var(--book-inset);
  left: var(--book-inset);
  width: calc(100% - var(--book-offset));
  height: calc(100% - var(--book-offset));
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.method-book-grid article > div {
  display: grid;
  align-content: start;
  height: var(--book-body-height);
  padding: 20px;
  background: var(--white);
  border-top: 1px solid rgba(16, 18, 20, 0.1);
}

.method-book-grid strong {
  display: block;
  color: var(--red-bright);
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.method-book-grid span {
  display: block;
  margin-top: 10px;
  color: #34312d;
  font-weight: 800;
  line-height: 1.42;
}

.services {
  --service-accent: #d2b374;
  --service-card-bg: rgba(255, 255, 255, 0.065);
  --service-chip-line: rgba(255, 255, 255, 0.18);
  padding-top: 72px;
  padding-bottom: 62px;
  background: var(--slate);
  color: var(--white);
}

.services .section-head h2 {
  max-width: 760px;
}

.services .service-summary {
  display: inline-block;
  max-width: 760px;
  margin-top: 18px;
  padding-left: 14px;
  color: var(--service-accent);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  border-left: 3px solid var(--service-accent);
}

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

.service-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 174px;
  padding: 24px 26px 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.044)),
    var(--service-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
}

.service-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--service-accent);
  opacity: 0.76;
  content: "";
}

.service-meta {
  display: grid;
  gap: 11px;
}

.service-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: flex-start;
}

.service-card-head h3 {
  color: var(--white);
  font-size: 27px;
  font-weight: 900;
  line-height: 1.22;
  padding-bottom: 2px;
}

.service-card-head strong {
  flex: 0 0 auto;
  min-width: 50px;
  padding: 4px 9px;
  color: #f4d995;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  background: rgba(210, 179, 116, 0.12);
  border: 1px solid rgba(210, 179, 116, 0.36);
  border-radius: 4px;
}

.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-items li {
  min-height: 34px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--service-chip-line);
  border-radius: 4px;
}

.founder-quote {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 540px;
  min-height: 0;
  padding: clamp(26px, 3.1vw, 42px) 36px 0;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background-color: #11151a;
}

.founder-quote-bg {
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 0;
  width: max(1734px, 100vw);
  max-width: none;
  height: auto;
  user-select: none;
  object-fit: initial;
  object-position: center;
  pointer-events: none;
  transform: translate(-50%, -52%);
}

.founder-quote::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 46%;
  content: "";
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.56) 0%, rgba(5, 6, 8, 0.36) 54%, rgba(5, 6, 8, 0) 100%);
}

.founder-quote > div {
  position: relative;
  z-index: 2;
  width: 100%;
  transform: none;
}

.founder-quote blockquote {
  max-width: none;
  margin: 0 auto;
  font-size: clamp(34px, 4.65vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.52);
}

.founder-quote .eyebrow {
  text-align: center;
}

.contact-section {
  background: var(--paper);
}

.contact-board {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 56px;
  padding: 54px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.contact-board h2 {
  max-width: 560px;
}

.contact-board p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-info-grid article {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.contact-info-grid strong {
  display: block;
  color: var(--gold);
  font-size: 14px;
}

.contact-info-grid span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.contact-panel {
  padding: 54px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

.contact-panel-with-links {
  grid-template-columns: 0.86fr 1.14fr;
}

.contact-panel h2 {
  max-width: 560px;
}

.contact-intro h2 {
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.18;
}

.contact-intro h2 span {
  display: block;
}

.contact-intro h2 .keep-line {
  white-space: nowrap;
}

.contact-panel p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.lead-form label:nth-of-type(5),
.lead-form label:nth-of-type(6),
.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  outline: none;
  font: inherit;
}

.lead-form textarea {
  min-height: 118px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.lead-form button {
  border: 0;
  cursor: pointer;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.contact-mini-links {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-mini-links h3 {
  display: grid;
  gap: 8px;
  min-width: 172px;
  margin: 0;
  color: var(--paper-strong);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  white-space: nowrap;
}

.contact-eyebrow {
  color: var(--red-bright);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-actions {
  display: flex;
  gap: clamp(42px, 4vw, 64px);
  align-items: center;
  justify-self: center;
  width: max-content;
  transform: translateY(10px);
}

.contact-mini-links article {
  position: relative;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.mini-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  background: var(--red-bright);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mini-icon:hover,
.mini-icon:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(215, 25, 32, 0.34);
}

.mini-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.contact-mini-links strong {
  color: var(--paper-strong);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.contact-detail {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.contact-popover {
  position: absolute;
  bottom: calc(100% - 4px);
  left: 16px;
  z-index: 12;
  display: grid;
  gap: 10px;
  width: min(260px, calc(100vw - 56px));
  padding: 14px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.contact-popover::after {
  position: absolute;
  bottom: -7px;
  left: 24px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--paper-strong);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.contact-entry:hover .contact-popover,
.contact-entry:focus-within .contact-popover,
.contact-trigger[aria-expanded="true"] + .contact-popover,
.contact-entry.is-open .contact-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-popover-text strong {
  color: var(--red-bright);
  font-size: 13px;
}

.contact-popover-text {
  width: min(320px, calc(100vw - 56px));
}

.contact-popover-text span {
  color: #26221e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.contact-popover-address {
  width: min(360px, calc(100vw - 56px));
}

.contact-popover-address span {
  color: #26221e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.contact-popover-qr {
  width: 196px;
  justify-items: center;
}

.contact-popover-douyin {
  right: -14px;
  left: auto;
  width: min(420px, calc(100vw - 56px));
}

.contact-popover-douyin::after {
  right: 32px;
  left: auto;
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.contact-qr-item {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0;
  min-width: 0;
}

.contact-popover-qr img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  filter: none;
  border-radius: 6px;
}

.contact-popover-douyin img {
  width: min(168px, 100%);
  height: auto;
  aspect-ratio: 1;
}

.contact-qr-item figcaption {
  color: #26221e;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    color: var(--ink);
    background: var(--paper-strong);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 70px;
    background:
      radial-gradient(ellipse at 50% 12%, rgba(98, 100, 98, 0.22) 0%, rgba(24, 28, 31, 0.24) 36%, rgba(5, 6, 8, 0) 62%),
      linear-gradient(180deg, #171b1f 0%, #090c0f 42%, #050607 100%);
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(360px, 72vw, 520px);
    aspect-ratio: auto;
    margin: 0;
    overflow: hidden;
    background-size: auto 82%;
    background-position: 58% 16px;
    background-repeat: no-repeat;
    transform: none;
  }

  .hero-media::before,
  .hero-media::after {
    position: absolute;
    right: 0;
    left: 0;
    pointer-events: none;
    content: "";
  }

  .hero-media::before {
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.18) 0%, rgba(5, 6, 8, 0.04) 32%, rgba(5, 6, 8, 0.04) 68%, rgba(5, 6, 8, 0.16) 100%),
      radial-gradient(ellipse at 50% 88%, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.1) 34%, rgba(0, 0, 0, 0) 66%);
  }

  .hero-media::after {
    bottom: -1px;
    z-index: 2;
    height: 34%;
    background: linear-gradient(180deg, rgba(8, 10, 13, 0) 0%, rgba(8, 10, 13, 0.32) 78%, rgba(8, 10, 13, 0.62) 100%);
  }

  .hero-founders-image {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: calc(100% - 32px);
    max-height: 100%;
    transform: translateX(-50%);
  }

  .founder-labels {
    z-index: 3;
  }

  .founder-tag {
    width: 160px;
  }

  .founder-name-card {
    font-size: 18px;
  }

  .founder-title {
    margin-top: 6px;
    font-size: 11px;
  }

  .founder-tag-zhanglei {
    top: 57%;
    left: 46%;
  }

  .founder-tag-fandawei {
    top: 57%;
    left: 70%;
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: min(560px, calc(100% - 48px));
    margin-left: 24px;
    padding: 30px 0 28px;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 54px);
    line-height: 1.12;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
  }

  .hero-timeline {
    position: relative;
    z-index: 3;
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
  }

  .hero-proof div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .hero-timeline article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-timeline article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 24px;
  }

  .intro-grid,
  .band-layout,
  .contact-panel,
  .brand-story-layout,
  .contact-board,
  .method-layout,
  .method-book-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .method-books {
    --book-card-height: 452px;
    --book-figure-height: 320px;
    --book-body-height: 132px;
  }

  .method-book-grid figure {
    --book-inset: 24px;
    --book-offset: 48px;
  }

  .services {
    padding-top: 46px;
    padding-bottom: 44px;
  }

  .service-grid {
    gap: 12px;
  }

  .service-grid article {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 22px;
  }

  .service-items {
    margin-top: 0;
  }

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

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

  .case-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card.large {
    grid-column: span 2;
  }

  .section-head.horizontal {
    display: block;
  }

  .text-link {
    display: inline-block;
    margin-top: 22px;
  }

  .contact-panel {
    padding: 34px;
  }

  .contact-mini-links {
    align-items: flex-start;
    gap: 22px;
  }

  .contact-actions {
    justify-content: flex-start;
    justify-self: start;
    width: max-content;
  }

  .contact-detail {
    max-width: 100%;
  }

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

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  * {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  span,
  a {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 176px;
    height: auto;
  }

  .brand small {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 70px;
    background:
      radial-gradient(ellipse at 50% 12%, rgba(98, 100, 98, 0.2) 0%, rgba(22, 26, 29, 0.24) 36%, rgba(5, 6, 8, 0) 62%),
      linear-gradient(180deg, #15191d 0%, #090b0e 40%, #050607 100%);
  }

  .hero-media {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: clamp(260px, 70vw, 360px);
    aspect-ratio: auto;
    margin: 0;
    background-size: 100% auto;
    background-position: center 22px;
    background-repeat: no-repeat;
    transform: none;
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.14) 0%, rgba(5, 6, 8, 0.04) 30%, rgba(5, 6, 8, 0.04) 70%, rgba(5, 6, 8, 0.14) 100%),
      radial-gradient(ellipse at 50% 88%, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0) 66%);
  }

  .hero-media::after {
    height: 38%;
  }

  .hero-founders-image {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: calc(100% - 20px);
    max-height: 100%;
    transform: translateX(-50%);
  }

  @media (max-width: 540px) {
    .hero-media {
      width: 145%;
      margin-left: -40%;
      background-size: 100% auto;
      background-position: center 22px;
    }
  }

  .founder-tag {
    width: 130px;
  }

  .founder-name-card {
    padding-bottom: 4px;
    font-size: 16px;
  }

  .founder-title {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.32;
  }

  .founder-tag-zhanglei {
    top: 58%;
    left: 41%;
  }

  .founder-tag-fandawei {
    top: 58%;
    right: 4%;
    left: auto;
  }

  @media (max-width: 540px) and (max-height: 520px) and (orientation: portrait) {
    .hero-media {
      width: 100%;
      margin-left: -44%;
    }

    .founder-tag-zhanglei {
      left: 54%;
    }

    .founder-tag-fandawei {
      right: -5%;
    }
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    width: 100%;
    margin-left: 0;
    padding: 30px 20px 28px;
    transform: none;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-proof {
    width: calc(100% - 32px);
    margin-bottom: 16px;
  }

  .hero-timeline {
    width: calc(100% - 32px);
    margin-bottom: 16px;
  }

  .video-section {
    padding: 54px 20px 64px;
  }

  .video-panel {
    width: 100%;
  }

  .video-panel video {
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .client-logo-marquee {
    width: 100%;
    padding: 12px 8px 8px;
    margin-top: 38px;
  }

  .client-logo-marquee figcaption {
    margin-bottom: 9px;
    font-size: 16px;
  }

  .client-logo-marquee__viewport {
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.16);
  }

  .client-logo-marquee img {
    height: clamp(190px, 52vw, 280px);
  }

  .logo-showcase {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    gap: 20px;
    padding: 42px 0;
  }

  .logo-showcase img {
    width: min(100%, 300px);
  }

  .section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section > * {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .intro-copy {
    width: calc(100vw - 40px);
    max-width: 100%;
    font-size: 16px;
  }

  .intro-copy p {
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .case-grid,
  .logo-case-grid,
  .contact-info-grid,
  .story-values,
  .lead-form,
  .contact-mini-links {
    grid-template-columns: 1fr;
  }

  .case-logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-mini-links {
    display: grid;
    gap: 18px;
    padding-top: 24px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    justify-content: stretch;
    max-width: none;
    transform: none;
  }

  .contact-mini-links article {
    align-items: center;
  }

  .contact-actions .contact-entry,
  .contact-actions .contact-entry:nth-child(1),
  .contact-actions .contact-entry:nth-child(2),
  .contact-actions .contact-entry:nth-child(3) {
    justify-self: start;
  }

  .contact-mini-links strong {
    font-size: 21px;
  }

  .contact-popover {
    left: 0;
  }

  .contact-popover-douyin {
    right: auto;
    left: 0;
    width: min(420px, calc(100vw - 68px));
  }

  .contact-popover-douyin::after {
    right: auto;
    left: 24px;
  }

  .contact-qr-grid {
    gap: 12px;
  }

  .contact-qr-item figcaption {
    font-size: 12px;
  }

  .services {
    padding-top: 36px;
    padding-bottom: 38px;
  }

  .service-grid {
    gap: 10px;
  }

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

  .services .service-summary {
    width: 100%;
    font-size: 16px;
  }

  .service-card-head {
    gap: 14px;
  }

  .service-card-head h3 {
    font-size: 23px;
  }

  .service-card-head strong {
    min-width: 52px;
    padding: 5px 10px;
    font-size: 16px;
  }

  .service-items {
    gap: 8px;
    margin-top: 18px;
  }

  .service-items li {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 15px;
  }

  .brand-story-main {
    gap: 24px;
  }

  .story-title-inline {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .method-title {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .method-column,
  .method-books {
    padding: 24px;
  }

  .method-books {
    --book-card-height: 176px;
    --book-figure-height: 114px;
    --book-body-height: 62px;
    padding: 16px;
  }

  .method-book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .method-book-grid figure {
    --book-inset: 10px;
    --book-offset: 20px;
  }

  .method-book-grid article > div {
    padding: 9px 8px;
  }

  .method-book-grid strong {
    font-size: 22px;
  }

  .method-book-grid span {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.24;
  }

  .story-logo {
    width: 100%;
  }

  .founder-quote {
    display: flex;
    height: clamp(158px, 43vw, 176px);
    padding: 24px 20px 0;
  }

  .founder-quote-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transform: translate(-50%, -50%);
  }

  .founder-quote::before {
    height: 48%;
  }

  .founder-quote > div {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    z-index: 2;
  }

  .founder-quote blockquote {
    font-size: clamp(18px, 5vw, 34px);
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .case-logo-entry {
    aspect-ratio: 1.12 / 1;
    min-height: auto;
    padding: 8px;
  }

  .case-logo-entry img {
    height: 100%;
    padding: clamp(7px, 2.5vw, 11px);
  }

  .logo-case {
    min-height: 270px;
  }

  .logo-case img {
    height: 160px;
  }

  .case-card.large {
    grid-column: span 1;
  }

  .case-card {
    min-height: 370px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-marquee__track {
    animation: none;
  }
}
