:root {
  --bg: #050505;
  --ink: #f7f7f2;
  --muted: #a8a8a2;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(255, 255, 255, 0.055);
  --red: #d71920;
  --silver: #d7d2c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 18px;
  height: 18px;
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, opacity 180ms ease;
  mix-blend-mode: difference;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 20px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0));
}

.brand-word {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  line-height: 1;
  text-transform: uppercase;
}

.brand-word span {
  font-size: 18px;
  font-weight: 800;
}

.brand-word small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

.nav-links a:hover {
  color: var(--ink);
}

.logo-mark {
  width: 110px;
  height: auto;
  object-fit: contain;
  padding: 0;
  background: transparent;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  min-height: 100vh;
  padding: 140px clamp(18px, 4vw, 56px) 58px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26vh;
  background: linear-gradient(0deg, var(--bg), rgba(5, 5, 5, 0));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 48% 27% 25%;
  opacity: 0.52;
  filter: grayscale(1) contrast(1.08);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img:nth-child(2) {
  opacity: 0.72;
}

.hero-media img:nth-child(3) {
  opacity: 0.58;
}

.hero-copy,
.hero-aside {
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: end;
  max-width: 980px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(72px, 13vw, 190px);
  line-height: 0.86;
  font-weight: 900;
}

.hero-title {
  display: grid;
  gap: 10px;
}

.hero-title-cn,
.hero-title-en {
  display: block;
}

.hero-title-en {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
  font-size: clamp(42px, 7.2vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin: 30px 0 0;
  color: var(--silver);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.55;
}

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

.hero-actions a,
.feature-case a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.5);
  font-size: 14px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-actions a:first-child,
.feature-case a {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.hero-actions a:hover,
.feature-case a:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #050505;
}

.hero-aside {
  align-self: end;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.hero-aside span {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.intro,
.works,
.contact {
  padding: 86px clamp(18px, 4vw, 56px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.intro h2,
.works h2,
.contact h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 1;
}

.intro-text {
  color: var(--silver);
  font-size: 17px;
  line-height: 1.85;
}

.intro-text p:first-child {
  margin-top: 0;
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 70px;
  border: 1px solid var(--line);
  background: var(--line);
}

.capability-strip span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: #080808;
  color: var(--silver);
  text-align: center;
}

.works-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 520px);
  gap: 36px;
  align-items: end;
}

.works-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 0 15px;
  font: inherit;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #050505;
}

.feature-case {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(215, 25, 32, 0.12));
}

.feature-case h3 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 54px);
}

.feature-case p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--silver);
  line-height: 1.7;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.work-card {
  position: relative;
  grid-column: span 3;
  min-height: 280px;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transform-style: preserve-3d;
}

.work-card.wide {
  grid-column: span 6;
}

.work-card.tall {
  grid-row: span 2;
  min-height: 460px;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: grayscale(0.88) contrast(1.05);
  transition: transform 420ms ease, filter 420ms ease, opacity 420ms ease;
}

.work-card:hover img {
  transform: scale(1.08);
  filter: grayscale(0.1) contrast(1.02);
  opacity: 0.72;
}

.work-meta {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
  transform: translateY(18px);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}

.work-card:hover .work-meta {
  transform: translateY(0);
  opacity: 1;
}

.work-meta strong {
  font-size: 18px;
}

.work-meta span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.contact {
  min-height: 70vh;
  display: grid;
  align-items: center;
  background: #f4f1ea;
  color: #050505;
}

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

.contact-inner {
  max-width: 1080px;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.contact-lines a,
.contact-lines span {
  padding: 14px 18px;
  border: 1px solid rgba(5, 5, 5, 0.22);
  background: rgba(255, 255, 255, 0.45);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 64px 20px 28px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: 78vh;
  width: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  color: var(--silver);
}

.lightbox-close {
  position: absolute;
  right: 24px;
  top: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .intro-grid,
  .works-head {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    margin-top: 44px;
  }

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

  .work-card,
  .work-card.wide {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .cursor {
    display: none;
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand-word span {
    font-size: 15px;
  }

  .logo-mark {
    width: 82px;
    height: auto;
  }

  .hero {
    min-height: 92vh;
    padding: 116px 16px 42px;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media img:not(:first-child) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(64px, 22vw, 96px);
  }

  .hero-title-en {
    font-size: clamp(30px, 11vw, 48px);
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
  }

  .intro,
  .works,
  .contact {
    padding: 64px 16px;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .feature-case {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .work-card,
  .work-card.wide,
  .work-card.tall {
    grid-column: auto;
    min-height: 360px;
  }
}
