:root {
  --ivory: #f2f3ea;
  --mist: #d6dec1;
  --sage: #989c65;
  --coffee: #482620;
  --bronze: #6d4f00;
  --ink: #171717;
  --graphite: #3a3a3a;
  --line: rgba(23, 23, 23, 0.12);
  --lime: #f7ffa9;
  --green: #95ff5a;
  --teal: #042433;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.header-light {
  background: rgba(242, 243, 234, 0.92);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  text-transform: uppercase;
  font-size: 14px;
}

.brand-logo {
  width: 34px;
  height: 26px;
  object-fit: contain;
}

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

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

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 38px;
  padding: 0;
}

.hero {
  min-height: 92vh;
  padding: 120px 0 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 58% 34%, rgba(149, 255, 90, 0.36), transparent 23%),
    radial-gradient(circle at 28% 70%, rgba(214, 222, 193, 0.33), transparent 34%),
    linear-gradient(128deg, rgba(4, 36, 51, 0.92), rgba(23, 23, 23, 0.97) 48%, rgba(72, 38, 32, 0.88));
  display: flex;
  align-items: stretch;
}

.hero-inner,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(48px, 8.5vw, 116px);
  line-height: 0.91;
  font-weight: 820;
  text-transform: uppercase;
}

.hero-title {
  max-width: 940px;
}

.hero-title .title-zh {
  display: block;
  max-width: 840px;
  font-size: clamp(42px, 6.7vw, 92px);
  line-height: 1.02;
  font-weight: 860;
  text-transform: none;
}

.hero-title .title-en {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(22px, 3.8vw, 50px);
  line-height: 1;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-title .title-en .italic {
  color: var(--lime);
}

.italic {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.hero-copy {
  max-width: 620px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button.primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

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

.hero-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-logo {
  width: 136px;
  margin-bottom: 40px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.metric {
  padding: 20px 0 0;
}

.metric strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  text-transform: uppercase;
  line-height: 1.3;
}

.section {
  padding: 104px 0;
}

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

.section.sage {
  background: linear-gradient(135deg, var(--mist), #eceee2);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section h2 {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.96;
  text-transform: uppercase;
}

.bilingual-title .title-zh {
  display: block;
  font-size: clamp(34px, 5.8vw, 70px);
  line-height: 1.02;
  font-weight: 830;
  text-transform: none;
}

.bilingual-title .title-en {
  display: block;
  margin-top: 10px;
  color: var(--bronze);
  font-size: clamp(18px, 2.6vw, 30px);
  line-height: 1.08;
  font-weight: 760;
  text-transform: uppercase;
}

.dark .bilingual-title .title-en {
  color: var(--lime);
}

.section-lead {
  color: rgba(23, 23, 23, 0.68);
  font-size: 17px;
  line-height: 1.55;
}

.dark .section-lead {
  color: rgba(255, 255, 255, 0.68);
}

.grid-4,
.grid-5,
.work-grid,
.service-detail-grid {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card,
.service-card,
.advantage-card,
.contact-panel,
.work-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.dark .card,
.dark .service-card,
.dark .advantage-card,
.dark .work-card {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.advantage-card,
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.advantage-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.advantage-card::after,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 23, 23, 0.2), rgba(23, 23, 23, 0.83)),
    radial-gradient(circle at 70% 0%, rgba(247, 255, 169, 0.22), transparent 36%);
}

.advantage-card:hover::before,
.service-card:hover::before {
  transform: scale(1.08);
}

.card-index {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
}

.advantage-card .card-index,
.service-card .card-index {
  color: var(--lime);
}

.dark .card-index {
  color: var(--lime);
}

.advantage-card h3,
.service-card h3 {
  margin-top: 22px;
  font-size: 23px;
  line-height: 1.08;
}

.card-title-zh {
  display: block;
  font-size: 24px;
  line-height: 1.12;
}

.card-title-en {
  display: block;
  margin-top: 8px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.advantage-card p,
.service-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
  font-size: 14px;
}

.dark .advantage-card p,
.dark .service-card p {
  color: rgba(255, 255, 255, 0.74);
}

.service-card {
  min-height: 300px;
}

a.service-card {
  cursor: pointer;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  color: var(--bronze);
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
}

.marquee-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marquee span {
  display: block;
  padding-right: 0;
}

.work-grid {
  grid-template-columns: repeat(12, 1fr);
}

.work-card {
  overflow: hidden;
  background: var(--white);
  transform: translateY(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 23, 23, 0.18);
  box-shadow: 0 22px 42px rgba(23, 23, 23, 0.12);
}

.work-card.large {
  grid-column: span 7;
}

.work-card.medium {
  grid-column: span 5;
}

.work-card.small {
  grid-column: span 4;
}

.work-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: #ddd;
  transition: transform 420ms ease, filter 420ms ease;
}

.work-card:hover .work-image {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.04);
}

.work-body {
  padding: 20px;
  transition: transform 260ms ease;
}

.work-card:hover .work-body {
  transform: translateY(-2px);
}

.work-meta {
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-body h3 {
  margin-top: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.work-body p {
  margin-top: 12px;
  color: rgba(23, 23, 23, 0.62);
  line-height: 1.5;
  font-size: 14px;
}

.page-hero {
  padding: 150px 0 76px;
  background: radial-gradient(circle at 75% 15%, rgba(149, 255, 90, 0.32), transparent 26%), var(--ivory);
}

.page-hero.dark-page {
  color: var(--white);
  background:
    radial-gradient(circle at 70% 20%, rgba(214, 222, 193, 0.22), transparent 26%),
    linear-gradient(135deg, var(--teal), var(--ink));
}

.page-hero h1 {
  color: inherit;
}

.page-lead {
  max-width: 720px;
  margin-top: 28px;
  color: rgba(23, 23, 23, 0.66);
  font-size: 20px;
  line-height: 1.48;
}

.dark-page .page-lead {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1fr);
  gap: 56px;
  align-items: start;
}

.text-block {
  font-size: 22px;
  line-height: 1.45;
}

.text-block p + p {
  margin-top: 22px;
}

.value-list {
  display: grid;
  gap: 12px;
}

.value-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.value-row strong {
  color: var(--bronze);
}

.value-row h3 {
  font-size: 26px;
}

.value-row p {
  margin-top: 8px;
  color: rgba(23, 23, 23, 0.62);
  line-height: 1.48;
}

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

.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
  scroll-margin-top: 96px;
}

.detail-card h3 {
  font-size: 30px;
  line-height: 1.06;
}

.detail-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.detail-card li {
  color: rgba(23, 23, 23, 0.68);
  line-height: 1.45;
}

.detail-card li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--sage);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(380px, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  overflow: hidden;
}

.contact-panel h2 {
  max-width: 100%;
  overflow-wrap: normal;
  color: var(--ink);
  font-size: clamp(36px, 3.2vw, 48px);
  line-height: 0.96;
  letter-spacing: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list .no-caps {
  text-transform: none;
}

.contact-list strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.contact-list .contact-email {
  font-size: 14px;
  white-space: nowrap;
}

.contact-qr {
  display: block;
  width: min(150px, 100%);
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 8px;
  color: rgba(23, 23, 23, 0.7);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

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

.form-status {
  min-height: 20px;
  color: var(--bronze);
  font-size: 13px;
}

.form-status a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  padding: 48px 0;
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.footer-logo {
  width: 46px;
  margin-bottom: 18px;
}

.footer p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 520px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-inner,
  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-5,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card.large,
  .work-card.medium,
  .work-card.small {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .nav {
    height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 64px 0 auto;
    padding: 22px 20px 28px;
    background: rgba(242, 243, 234, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-card {
    padding: 18px;
  }

  .grid-4,
  .grid-5,
  .service-detail-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card.large,
  .work-card.medium,
  .work-card.small {
    grid-column: span 1;
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 118px 0 56px;
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Figma-aligned visual system */
:root {
  --page: 1240px;
  --max: 770px;
  --cream: #eff2e6;
}

body {
  background: #ffffff;
}

main,
.site-header,
.footer {
  width: min(var(--page), 100%);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #e7e9df;
  color: var(--ink);
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header.is-scrolled,
.site-header.header-light {
  background: #e7e9df;
  color: var(--ink);
  border-color: transparent;
  backdrop-filter: none;
}

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

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

.nav {
  width: min(var(--max), calc(100% - 40px));
  height: 46px;
  gap: 20px;
}

.brand {
  gap: 8px;
  font-size: 9px;
  font-weight: 850;
}

.brand-logo {
  width: 22px;
  height: 18px;
}

.nav-links {
  gap: 54px;
  font-size: 11px;
  text-transform: none;
}

.nav-links a {
  opacity: 0.74;
}

.lang-toggle,
.menu-toggle {
  height: 25px;
  padding: 0 11px;
  font-size: 9px;
  border-color: rgba(23, 23, 23, 0.42);
}

.hero {
  min-height: 535px;
  padding: 42px 0 38px;
  background:
    radial-gradient(circle at 52% 28%, rgba(149, 255, 90, 0.22), transparent 22%),
    linear-gradient(112deg, #12313a 0%, #252d2b 44%, #4a302c 100%);
  align-items: center;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
}

.hero-inner {
  display: block;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-title {
  max-width: 760px;
}

.hero-title .title-brand {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--white);
  font-size: clamp(44px, 6vw, 60px);
  line-height: 1;
  font-weight: 880;
}

.hero-title .title-brand img {
  width: 64px;
  height: 48px;
  object-fit: contain;
}

.hero-title .title-zh {
  max-width: none;
  margin-top: 26px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
  font-weight: 880;
  white-space: nowrap;
}

.hero-title .title-en {
  margin-top: 0;
  line-height: 1;
}

.hero-title .title-en-accent {
  margin-top: 38px;
  color: var(--lime);
  font-size: clamp(24px, 3.1vw, 34px);
  font-weight: 850;
  text-transform: none;
}

.hero-title .title-en-muted {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 70px;
  gap: 22px;
}

.button {
  min-height: 46px;
  padding: 0 26px;
  font-size: 12px;
  border-width: 1px;
}

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

.section {
  padding: 66px 0;
}

.section.sage {
  background: var(--cream);
}

.section.dark {
  background: var(--ink);
}

.section-head {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 24px;
}

.bilingual-title .title-zh {
  font-size: 44px;
  line-height: 0.98;
  font-weight: 900;
}

.bilingual-title .title-en {
  margin-top: 8px;
  color: var(--bronze);
  font-size: 18px;
  line-height: 1;
  font-weight: 900;
  text-transform: none;
}

.dark .bilingual-title .title-en {
  color: var(--lime);
}

.section-lead {
  max-width: 455px;
  color: rgba(23, 23, 23, 0.6);
  font-size: 15px;
  line-height: 1.55;
}

.dark .section-lead {
  color: rgba(255, 255, 255, 0.55);
}

.grid-4,
.grid-5 {
  gap: 10px;
}

.advantage-card,
.service-card {
  min-height: 170px;
  padding: 16px;
  border: 0;
  border-radius: 5px;
}

.service-card {
  min-height: 205px;
}

.advantage-card::after,
.service-card::after {
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.1), rgba(9, 9, 9, 0.88)),
    radial-gradient(circle at 66% 6%, rgba(247, 255, 169, 0.14), transparent 34%);
}

.card-index {
  font-size: 8px;
}

.advantage-card h3,
.service-card h3 {
  margin-top: 8px;
}

.card-title-zh {
  font-size: 16px;
  line-height: 1.08;
  font-weight: 850;
}

.card-title-en {
  margin-top: 3px;
  font-size: 7px;
  line-height: 1.1;
}

.advantage-card p,
.service-card p {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.marquee {
  width: min(var(--page), 100%);
  margin-inline: auto;
  padding: 11px 0;
  background: var(--cream);
  border: 0;
  color: var(--bronze);
  font-size: 10px;
}

.marquee-inner {
  width: min(var(--max), calc(100% - 40px));
  justify-content: space-between;
}

.home-services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.home-work-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.home-work-grid .work-card.large,
.home-work-grid .work-card.medium {
  grid-column: span 1;
}

.work-card {
  border: 0;
  border-radius: 5px;
  background: #ffffff;
}

.work-image {
  aspect-ratio: 1.55 / 1;
}

.work-body {
  padding: 16px 16px 18px;
}

.work-meta {
  color: var(--sage);
  font-size: 8px;
}

.work-body h3 {
  margin-top: 9px;
  font-size: 18px;
}

.work-body p {
  font-size: 10px;
  line-height: 1.55;
}

.cta-section {
  padding: 70px 0 86px;
}

.cta-section .section-head {
  align-items: start;
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}

.cta-section h2 {
  color: var(--white);
  font-size: 44px;
  line-height: 1.03;
}

.cta-section .italic {
  font-size: 42px;
  font-weight: 400;
}

.footer {
  padding: 0 0 46px;
  background: var(--ink);
}

.footer-inner {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.footer-inner > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 28px;
  margin: 0;
  flex: 0 0 auto;
}

.footer p {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  line-height: 1;
  max-width: none;
}

.footer-brand-name {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-nav {
  justify-content: end;
  gap: 36px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.page-hero {
  padding: 92px 0 64px;
  background: var(--cream);
}

.page-hero.dark-page {
  background:
    radial-gradient(circle at 52% 28%, rgba(149, 255, 90, 0.2), transparent 22%),
    linear-gradient(112deg, #12313a 0%, #252d2b 44%, #4a302c 100%);
}

.page-lead {
  max-width: 560px;
  font-size: 18px;
}

.service-detail-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.detail-card,
.contact-panel {
  border-radius: 5px;
}

@media (max-width: 980px) {
  .nav-links {
    gap: 24px;
  }

  .section-head,
  .cta-section .section-head {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-5,
  .home-work-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title .title-zh {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  main,
  .site-header,
  .footer {
    width: 100%;
  }

  .nav {
    height: 58px;
  }

  .nav-links {
    inset: 58px 0 auto;
    background: #e7e9df;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 64px;
  }

  .hero-title .title-brand {
    gap: 12px;
    font-size: 38px;
  }

  .hero-title .title-brand img {
    width: 46px;
  }

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

  .grid-4,
  .grid-5,
  .home-work-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .advantage-card,
  .service-card {
    min-height: 230px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

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

/* About page visual match */
.about-page main {
  background: #ffffff;
}

.about-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.about-hero {
  background: var(--cream);
  min-height: 700px;
  padding: 120px 0 90px;
}

.about-hero .eyebrow {
  color: var(--bronze);
  margin-bottom: 58px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.about-title {
  color: var(--ink);
  max-width: 700px;
  text-transform: none;
}

.about-title span,
.about-title em {
  display: block;
}

.about-title span {
  font-size: clamp(88px, 9vw, 142px);
  line-height: 0.82;
  font-weight: 920;
  letter-spacing: -0.02em;
}

.about-title em {
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(72px, 7.4vw, 116px);
  line-height: 0.98;
  font-style: italic;
  font-weight: 360;
  letter-spacing: -0.03em;
}

.about-lead {
  max-width: 750px;
  margin-top: 62px;
  color: rgba(23, 23, 23, 0.56);
  font-size: 18px;
  line-height: 1.72;
  font-weight: 760;
}

.about-values {
  padding: 86px 0 78px;
  background: #ffffff;
}

.azg-list {
  display: grid;
  gap: 76px;
  padding-top: 8px;
}

.azg-row {
  display: grid;
  grid-template-columns: 220px 2px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.azg-row strong {
  color: #000000;
  font-size: clamp(122px, 12vw, 172px);
  line-height: 0.78;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.06em;
  text-align: center;
}

.azg-row > span {
  display: block;
  width: 2px;
  height: 148px;
  background: #171717;
}

.azg-row h2 {
  color: var(--ink);
  font-size: clamp(34px, 3.9vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: none;
}

.azg-row p {
  margin-top: 26px;
  color: rgba(23, 23, 23, 0.56);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
}

.partner-strip {
  margin-top: 96px;
  display: flex;
  justify-content: center;
}

.partner-strip img {
  width: min(846px, 100%);
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .about-hero {
    min-height: 620px;
  }

  .azg-row {
    grid-template-columns: 150px 2px minmax(0, 1fr);
    gap: 32px;
  }

  .azg-row > span {
    height: 120px;
  }
}

@media (max-width: 760px) {
  .about-hero {
    min-height: auto;
    padding: 86px 0 72px;
  }

  .about-hero .eyebrow {
    margin-bottom: 38px;
    font-size: 15px;
  }

  .about-lead {
    margin-top: 42px;
    font-size: 15px;
  }

  .about-values {
    padding: 64px 0;
  }

  .azg-list {
    gap: 54px;
  }

  .azg-row {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .azg-row strong {
    text-align: left;
  }

  .azg-row > span {
    width: 96px;
    height: 2px;
  }

  .azg-row p {
    margin-top: 16px;
    font-size: 18px;
  }

  .partner-strip {
    margin-top: 64px;
  }
}

/* Final footer alignment override */
.footer {
  min-height: 126px;
  height: 126px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.footer-inner > div:first-child {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
}

.footer-logo {
  width: 28px;
  height: 22px;
  margin: 0;
  object-fit: contain;
}

.footer-brand-name,
.footer-nav,
.footer-nav a {
  color: #ffffff;
}

.footer-brand-name {
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 44px;
  font-size: 12px;
  line-height: 42px;
  height: 42px;
}

.footer-nav a {
  display: flex;
  align-items: center;
  height: 42px;
}

/* Services page visual match */
.services-page main {
  background: #000000;
}

@keyframes serviceCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

.services-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.services-hero {
  min-height: 585px;
  padding: 92px 0 70px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 28%, rgba(149, 255, 90, 0.2), transparent 20%),
    linear-gradient(112deg, #12313a 0%, #252d2b 44%, #4a302c 100%);
}

.services-hero .eyebrow {
  margin-bottom: 42px;
  color: var(--lime);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: servicesHeroTextIn 620ms ease forwards;
}

.services-title {
  max-width: 900px;
  color: #ffffff;
  text-transform: none;
}

.services-title span,
.services-title em {
  display: block;
  opacity: 0;
  animation: servicesHeroTextIn 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.services-title span {
  animation-delay: 90ms;
}

.services-title em:nth-of-type(1) {
  animation-delay: 180ms;
}

.services-title em:nth-of-type(2) {
  animation-delay: 260ms;
}

.services-title span {
  font-size: clamp(74px, 9.5vw, 112px);
  line-height: 0.86;
  font-weight: 930;
  letter-spacing: -0.03em;
}

.services-title em {
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(64px, 8vw, 96px);
  line-height: 1.02;
  font-style: italic;
  font-weight: 340;
  letter-spacing: -0.035em;
}

.services-lead {
  max-width: 760px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  opacity: 0;
  animation: servicesHeroTextIn 680ms ease 360ms forwards;
}

.services-showcase {
  padding: 90px 0 76px;
  background: #000000;
}

.services-showcase .services-inner {
  display: grid;
  gap: 54px;
}

.service-image-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  scroll-margin-top: 70px;
  color: #ffffff;
  background-image: var(--service-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  animation: serviceCardIn 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 320ms ease, filter 320ms ease;
  will-change: transform;
}

.service-image-card:nth-child(2) {
  animation-delay: 90ms;
}

.service-image-card:nth-child(3) {
  animation-delay: 180ms;
}

.service-image-card:nth-child(4) {
  animation-delay: 270ms;
}

.service-image-card:hover {
  transform: translateY(-8px) scale(1.01);
  filter: saturate(1.08) contrast(1.04);
}

.service-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 34%, rgba(0, 0, 0, 0.18) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36));
  transition: opacity 320ms ease, background 320ms ease;
}

.service-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  transition: transform 520ms ease;
}

.service-image-card:hover::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 36%, rgba(0, 0, 0, 0.12) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.3));
}

.service-image-card:hover::after {
  transform: scale(1.08);
}

.service-image-landmark {
  --service-image: url("assets/services/bg-landmark.jpg");
}

.service-image-social {
  --service-image: url("assets/services/bg-social.jpg");
}

.service-image-talent {
  --service-image: url("assets/services/bg-talent.jpg");
}

.service-image-events {
  --service-image: url("assets/services/bg-events.jpg");
}

.service-card-copy {
  width: min(720px, 68%);
  display: grid;
  gap: 14px;
  align-items: center;
  padding: 30px 54px;
  transition: transform 320ms ease;
}

.service-image-card:hover .service-card-copy {
  transform: translateX(8px);
}

.service-card-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.12;
  font-weight: 850;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.service-card-copy ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card-copy li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.36;
  font-weight: 300;
  white-space: nowrap;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
}

.service-card-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ffffff;
}

.works-page .page-hero .eyebrow {
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .footer {
    min-height: 150px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
  }

  .services-inner {
    width: min(var(--max), calc(100% - 40px));
  }

  .services-hero {
    min-height: auto;
    padding: 76px 0 64px;
  }

  .services-hero .eyebrow {
    font-size: 11px;
  }

  .services-lead {
    font-size: 15px;
  }

  .services-showcase {
    padding: 52px 0;
  }

  .services-showcase .services-inner {
    gap: 28px;
  }

  .service-image-card {
    min-height: 0;
    aspect-ratio: 3 / 1;
    align-items: flex-end;
    background-position: center;
  }

  .service-image-card::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.84) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18));
  }

  .service-card-copy {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 22px 20px;
  }

  .service-card-copy h2 {
    margin: 0;
    font-size: clamp(16px, 4vw, 20px);
  }

  .service-card-copy ul {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-card-copy li {
    padding-left: 0;
    font-size: clamp(9px, 2.4vw, 11px);
    line-height: 1.28;
    font-weight: 300;
    white-space: normal;
  }

  .service-card-copy li::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .service-image-card,
  .services-hero .eyebrow,
  .services-title span,
  .services-title em,
  .services-lead,
  .work-card,
  .work-image,
  .work-body {
    animation: none;
    transition: none;
  }
}
