:root {
  --ink: #111;
  --muted: #6a6864;
  --paper: #f5f3ef;
  --paper-2: #e7e5e0;
  --line: rgba(17, 17, 17, 0.14);
  --red: #ed1028;
  --charcoal: #111;
  --graphite: #2c2c2a;
  --mist: #d8d4cc;
  --white: #fff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: rgba(17, 17, 17, 0.86);
  backdrop-filter: blur(18px);
  animation: headerDrop 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 182px;
  aspect-ratio: 244 / 92;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 250, 241, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a,
.nav-cta {
  position: relative;
}

.nav-links a::after,
.nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 220ms ease;
}

.nav-links a:hover::after,
.nav-cta:hover::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-cta:hover {
  color: var(--white);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 999px;
  color: rgba(255, 250, 241, 0.9);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 80px) 52px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.58) 36%, rgba(0, 0, 0, 0.18) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08) 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: revealUp 900ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 13vw, 170px);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.28;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

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

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

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

.button-ghost.dark {
  border-color: rgba(23, 20, 18, 0.22);
  color: var(--ink);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 68px);
  bottom: 42px;
  width: min(340px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 250, 241, 0.24);
  background: rgba(17, 17, 17, 0.66);
  backdrop-filter: blur(16px);
  animation: revealUp 900ms 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-panel span {
  color: var(--red);
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.hero-panel p {
  margin: 8px 0 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: 14px;
}

.section-band {
  padding: clamp(70px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

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

.intro {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.75fr 1.15fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.02;
  font-weight: 930;
  letter-spacing: 0;
  text-wrap: balance;
}

.manifesto {
  overflow: hidden;
  padding: 26px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.manifesto::before {
  content: "";
  display: block;
  width: 90px;
  height: 6px;
  margin: 0 0 18px clamp(20px, 5vw, 72px);
  background: var(--red);
}

.manifesto-track {
  display: flex;
  width: max-content;
  gap: 48px;
  transform: translateX(-20px);
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}

.manifesto-track span {
  font-size: clamp(32px, 7vw, 96px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
  color: var(--ink);
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.intro p:last-child,
.service-list p,
.timeline p,
.work-card p,
.contact p {
  color: var(--muted);
}

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

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

.work {
  background: var(--charcoal);
  color: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  border-left: 1px solid rgba(255, 250, 241, 0.18);
}

.work-card {
  min-height: 340px;
  padding: 32px;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  transition:
    background 240ms ease,
    transform 240ms ease;
}

.work-card:hover {
  background: #1b1b1b;
  transform: translateY(-6px);
}

.work-card span {
  display: block;
  margin-bottom: 118px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card p {
  color: rgba(255, 250, 241, 0.66);
}

.services {
  background: var(--paper);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 7vw, 92px);
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left 220ms ease,
    border-color 220ms ease;
}

.service-list article:hover {
  padding-left: 16px;
  border-color: rgba(237, 16, 40, 0.55);
}

.proof {
  background: #0f0f0f;
  color: var(--white);
}

.proof-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.proof-image {
  min-height: 560px;
  background:
    linear-gradient(0deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.18)),
    url("assets/hero-studio.png") center / cover;
  transition: filter 300ms ease, transform 300ms ease;
}

.proof-image:hover {
  filter: contrast(1.08);
  transform: scale(1.015);
}

.proof-copy p:last-child {
  margin-top: 28px;
  color: rgba(255, 250, 241, 0.68);
  font-size: 18px;
}

.service-list span,
.timeline span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.service-list p {
  margin: 9px 0 0;
}

.process {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.timeline article {
  min-height: 260px;
  padding: 26px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition:
    background 220ms ease,
    border-color 220ms ease;
}

.timeline article:hover {
  background: #f0eee8;
  border-color: rgba(237, 16, 40, 0.45);
}

.timeline article:first-child {
  border-left: 1px solid var(--line);
}

.timeline h3 {
  margin-top: 78px;
}

.contact {
  padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 80px);
  background: #0e0e0e;
  color: var(--white);
}

.contact-inner {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
}

.contact .section-kicker {
  color: var(--red);
}

.contact p {
  max-width: 680px;
  color: rgba(255, 250, 241, 0.68);
  font-size: 18px;
}

.wechat-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: var(--white);
  color: var(--ink);
  transition: transform 220ms ease;
}

.wechat-card:hover {
  transform: translateY(-4px);
}

.wechat-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.wechat-card span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wechat-card strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.1;
}

.wechat-card p {
  margin: 8px 0 0;
  color: rgba(23, 20, 18, 0.66);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: rgba(255, 250, 241, 0.72);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

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

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

@keyframes heroFloat {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.055) translate3d(1.5%, -1%, 0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(-20px);
  }
  to {
    transform: translateX(-43%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .intro-grid,
  .services-layout,
  .contact-inner,
  .proof-layout,
  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .proof-image {
    min-height: 360px;
  }

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

  .work-card span {
    margin-bottom: 70px;
  }

  .timeline article,
  .timeline article:first-child {
    border-left: 1px solid var(--line);
  }

  .timeline h3 {
    margin-top: 44px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    width: 152px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 120px 18px 260px;
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    bottom: 24px;
    width: auto;
  }

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

  .section-band {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
