:root {
  color-scheme: light dark;
  --ink: #101010;
  --muted: #66686d;
  --paper: #f7f4ef;
  --paper-2: #fffaf2;
  --line: rgba(16, 16, 16, 0.14);
  --dark: #080808;
  --dark-2: #151515;
  --light: #ffffff;
  --accent: #ff4d22;
  --accent-2: #ffb300;
  --accent-3: #9fd63b;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(8, 8, 8, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand-logo {
  width: 172px;
  height: 60px;
  object-fit: contain;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-width: 54px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 140px clamp(18px, 5vw, 70px) 92px;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  filter: saturate(1.04) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.56) 44%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 82% 18%, rgba(255, 179, 0, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(255, 77, 34, 0.32), transparent 32%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.hero-content.reveal {
  opacity: 1;
  transform: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1,
.intro h2,
.section-head h2,
.studio h2,
.team h2,
.contact h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 92px);
  overflow-wrap: anywhere;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  overflow-wrap: anywhere;
}

.hero-copy span {
  display: inline-flex;
  align-items: center;
}

.hero-copy span + span::before {
  content: "/";
  margin: 0 10px;
  color: rgba(255, 179, 0, 0.86);
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #111;
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 720px;
}

.hero-strip span {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.intro,
.services,
.works,
.commercial,
.studio,
.team,
.clients,
.contact {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 5vw, 70px);
}

.intro-grid,
.section-head,
.service-grid,
.work-grid,
.case-grid,
.commercial-grid,
.bts-grid,
.studio-layout,
.team-grid,
.client-wall,
.client-tags,
.contact-panel {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 52px;
  align-items: end;
}

.intro-copy h2,
.section-head h2,
.studio h2,
.team h2,
.contact h2 {
  font-size: clamp(30px, 4.2vw, 56px);
}

.intro-copy p,
.studio-copy p,
.team-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.metric-row {
  display: grid;
  gap: 12px;
}

.metric-row article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.metric-row strong {
  display: block;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

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

.section-desc {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.section-dark .section-head h2 {
  color: #fff;
}

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

.business-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.business-card {
  position: relative;
  min-height: 470px;
  padding: 30px 30px 34px;
  border: 1px solid rgba(16, 16, 16, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 122, 24, 0.1), transparent 28%),
    #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.business-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.business-card span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.business-card h3 {
  margin: 28px 0 20px;
  color: #f06b12;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18;
}

.business-card ul {
  margin: 0;
  padding-left: 1.25em;
  color: #111;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.62;
}

.business-card li + li {
  margin-top: 5px;
}

.service-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.service-card span {
  color: var(--accent);
  font-weight: 800;
}

.service-card h3 {
  margin: auto 0 12px;
  font-size: 24px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.filter-bar {
  width: min(var(--max), 100%);
  margin: -14px auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-bar button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.filter-bar button.active {
  border-color: transparent;
  background: #fff;
  color: #111;
}

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

.work-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #222;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

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

.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.25s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.82));
}

.work-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-weight: 800;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card.is-hidden {
  display: none;
}

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

.case-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 179, 0, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.case-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #151515;
}

.case-card strong {
  display: block;
  padding: 18px 18px 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.case-card span {
  display: block;
  padding: 0 18px 20px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.external-link {
  width: min(var(--max), 100%);
  margin: 24px auto 0;
}

.external-link a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 179, 0, 0.42);
  background: linear-gradient(90deg, rgba(255, 77, 34, 0.16), rgba(255, 179, 0, 0.16));
  color: inherit;
  font-weight: 800;
}

.commercial {
  background: #fff;
}

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

.commercial-grid .work-card,
.bts-grid .work-card {
  min-height: 310px;
}

.studio {
  background:
    linear-gradient(90deg, var(--paper) 0 50%, #e8e8e8 50% 100%);
}

.studio.section-dark {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 77, 34, 0.2), transparent 24%),
    var(--dark);
}

.studio-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.studio-collage {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 12px;
}

.studio-collage img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.studio-collage img + img {
  height: 360px;
  align-self: end;
}

.marquee {
  display: flex;
  gap: 28px;
  overflow: hidden;
  margin: -40px -70px 52px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 900;
  white-space: nowrap;
}

.marquee span {
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(calc(-100% - 28px));
  }
}

.team-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
}

.team-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.team-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.clients {
  background: #fff;
}

.client-wall {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.client-wall img {
  width: 100%;
}

.client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.client-tags span {
  padding: 10px 14px;
  background: var(--paper);
  color: #333;
  font-weight: 700;
}

.contact {
  min-height: 58vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(255, 77, 34, 0.28), transparent 38%),
    radial-gradient(circle at 78% 20%, rgba(255, 179, 0, 0.2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--dark);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.site-record {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-record a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.site-record a:hover {
  color: #fff;
}

.contact-copy {
  max-width: 570px;
}

.contact-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.contact-links {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: none;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.contact-links::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.contact-item {
  display: grid;
  gap: 10px;
  min-height: 122px;
  align-content: end;
  padding: 22px 24px;
  border: 0;
  background: rgba(8, 8, 8, 0.46);
  color: rgba(255, 255, 255, 0.86);
}

.contact-item span {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-item strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-phone strong {
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: 0;
}

.contact-address {
  grid-column: span 2;
  min-height: 132px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
}

.image-modal[hidden] {
  display: none;
}

.image-modal img {
  max-height: 86vh;
  max-width: min(1120px, 94vw);
  object-fit: contain;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 21px;
  width: 22px;
  height: 2px;
  background: #fff;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 960px) {
  .service-grid,
  .business-grid,
  .work-grid,
  .case-grid,
  .commercial-grid,
  .bts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .studio-layout,
  .team-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .studio-collage img,
  .team-image img {
    height: auto;
  }
}

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

  .brand-logo {
    width: 140px;
    height: 50px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
  }

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

  .site-nav a {
    flex: 0 0 auto;
    min-width: auto;
    text-align: center;
    white-space: nowrap;
  }

  .hero {
    min-height: 92vh;
    padding-top: 152px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.86)),
      radial-gradient(circle at 82% 18%, rgba(255, 179, 0, 0.28), transparent 36%);
  }

  .hero-strip {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: flex-start;
    margin-top: 42px;
  }

  .hero h1 {
    max-width: 342px;
    font-size: 33px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
  }

  .hero-copy {
    max-width: 342px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
  }

  .hero-copy span {
    margin-bottom: 4px;
  }

  .intro,
  .services,
  .works,
  .commercial,
  .studio,
  .team,
  .clients,
  .contact {
    padding-block: 64px;
  }

  .service-grid,
  .business-grid,
  .work-grid,
  .case-grid,
  .commercial-grid,
  .bts-grid,
  .studio-collage {
    grid-template-columns: 1fr;
  }

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

  .case-card {
    min-height: auto;
  }

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

  .contact-address {
    grid-column: auto;
  }

  .marquee {
    margin-inline: -18px;
  }
}

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