:root {
  color-scheme: dark;
  --ink: #f6efe2;
  --ink-soft: #cfc3ad;
  --muted: #938875;
  --bg: #11120f;
  --bg-2: #191a15;
  --panel: #202118;
  --paper: #f5efe4;
  --paper-ink: #171715;
  --gold: #c59a58;
  --green: #5e735f;
  --line: rgba(245, 239, 228, .14);
  --line-dark: rgba(23, 23, 21, .12);
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 250, 243, .1);
  background: rgba(17, 18, 15, .78);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.brand strong {
  margin-top: 4px;
  font-size: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 14px;
}
nav a:hover { color: var(--gold); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  padding: 126px clamp(20px, 5vw, 72px) 84px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(17,18,15,.98) 0%, rgba(17,18,15,.88) 44%, rgba(17,18,15,.56) 100%),
    url("assets/featured/feature-12.jpg") center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.kicker,
.section-head p {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.hero h1 {
  margin: 24px 0 0;
  max-width: 780px;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.06;
  font-weight: 900;
}
.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 250, 243, .22);
  background: rgba(255, 250, 243, .06);
  color: var(--ink);
  border-radius: 6px;
  font-weight: 800;
}
.hero-actions a:first-child {
  background: var(--gold);
  color: #16130d;
  border-color: var(--gold);
}
.hero-visual {
  position: relative;
  min-height: 720px;
}
.hero-main,
.hero-float {
  position: absolute;
  object-fit: cover;
  border: 1px solid rgba(255, 250, 243, .18);
  box-shadow: var(--shadow);
}
.hero-main {
  right: 0;
  top: 20px;
  width: min(58vw, 760px);
  height: 760px;
  border-radius: 8px;
}
.hero-float-one {
  left: 0;
  top: 132px;
  width: 280px;
  height: 390px;
  border-radius: 8px;
}
.hero-float-two {
  left: 112px;
  bottom: 48px;
  width: 360px;
  height: 230px;
  border-radius: 8px;
}
.hero-meta {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  right: clamp(20px, 5vw, 72px);
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 250, 243, .18);
  border-bottom: 1px solid rgba(255, 250, 243, .18);
}
.hero-meta span {
  padding: 18px 20px;
  color: var(--ink-soft);
  border-right: 1px solid rgba(255, 250, 243, .14);
}
.hero-meta span:last-child { border-right: 0; }
.hero-meta b {
  color: var(--ink);
  font-size: 28px;
  margin-right: 8px;
}

.statement {
  padding: 72px clamp(20px, 8vw, 150px);
  background: var(--paper);
  color: var(--paper-ink);
}
.statement p {
  margin: 0;
  max-width: 1120px;
  font-size: clamp(28px, 4.2vw, 62px);
  line-height: 1.28;
  font-weight: 900;
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 72px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.08;
}
.section-head span {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.cases-section { background: var(--bg); }
.case-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
}
.case-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}
.case-card.large {
  grid-row: span 2;
  min-height: 744px;
}
.case-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .8s ease;
}
.case-card:hover img { transform: scale(1.045); }
.case-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 92px 28px 26px;
  background: linear-gradient(to top, rgba(17,18,15,.92), rgba(17,18,15,0));
}
.case-card span,
.video-copy span,
.social-copy span,
.delivery-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.case-card h3 {
  margin: 10px 0 0;
  font-size: clamp(24px, 2.4vw, 38px);
}
.case-card p {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.gallery-section {
  background: var(--paper);
  color: var(--paper-ink);
}
.gallery-section .section-head span,
.gallery-section .section-head p { color: #84653b; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--paper-ink);
  border-radius: 6px;
  cursor: pointer;
}
.filters button.active {
  background: var(--paper-ink);
  color: var(--paper);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #ddd1bf;
  border-radius: 6px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: contrast(1.06);
}
.gallery-item span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(17,18,15,.72);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}
.gallery-item.is-hidden { display: none; }

.motion-section { background: #151610; }
.video-grid,
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.video-card,
.social-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}
.video-card video,
.social-card video {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #0c0c0a;
}
.video-copy,
.social-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.video-copy h3,
.social-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(24px, 2.7vw, 42px);
  line-height: 1.18;
}
.video-copy p,
.social-copy p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}
.video-copy em,
.social-copy em {
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.social-section {
  background: var(--paper);
  color: var(--paper-ink);
}
.social-section .section-head p { color: #84653b; }
.social-section .section-head span { color: #6c6255; }
.social-card {
  background: #fffaf3;
  border-color: var(--line-dark);
}
.social-copy p { color: #6c6255; }
.social-copy em { color: #9b8c75; }
.social-copy span { color: #84653b; }
.social-copy h3 { color: var(--paper-ink); }

.delivery-section { background: #11120f; }
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.delivery-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,250,243,.08), rgba(255,250,243,.03));
  border-radius: 8px;
}
.delivery-grid h3 {
  margin: 46px 0 0;
  font-size: 28px;
}
.delivery-grid p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 72px 22px 22px;
  background: rgba(8, 8, 7, .86);
}
.lightbox[hidden] { display: none; }
.lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255,250,243,.24);
  background: rgba(255,250,243,.08);
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
}
.lightbox img {
  max-height: calc(100svh - 110px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  nav { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }
  .hero-visual { min-height: 580px; }
  .hero-main {
    width: 76vw;
    height: 580px;
  }
  .section-head,
  .case-layout,
  .video-grid,
  .social-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }
  .case-card.large { min-height: 520px; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar { padding: 14px 18px; }
  .brand strong { font-size: 16px; }
  .hero {
    min-height: auto;
    padding: 96px 18px 86px;
  }
  .hero h1 { font-size: 42px; }
  .hero-visual { min-height: 440px; }
  .hero-main {
    width: 100%;
    height: 430px;
  }
  .hero-float-one {
    width: 150px;
    height: 210px;
    top: 50px;
  }
  .hero-float-two {
    width: 210px;
    height: 140px;
    left: 78px;
    bottom: 18px;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    position: static;
    margin-top: 28px;
  }
  .hero-meta span { border-right: 0; border-bottom: 1px solid rgba(255,250,243,.12); }
  .statement { padding: 54px 18px; }
  .section { padding: 64px 18px; }
  .section-head { gap: 18px; margin-bottom: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-card,
  .social-card {
    grid-template-columns: 1fr;
  }
  .video-card video,
  .social-card video { min-height: 260px; }
}
