:root {
  --ink: #11191f;
  --panel: #17242c;
  --steel: #27667f;
  --steel-dark: #1c3f50;
  --rust: #bd4b2c;
  --safety: #f1b83e;
  --moss: #6e8757;
  --paper: #f4f0e7;
  --paper-2: #ebe5d7;
  --muted: #5d686d;
  --line: rgba(17, 25, 31, .14);
  --white: #fffaf0;
  --shadow: 0 24px 70px rgba(17, 25, 31, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 25, 31, .035) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(180deg, var(--paper), #fffdf7 42%, var(--paper-2));
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(244, 240, 231, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 4px;
  color: #263136;
  font-size: 14px;
}

.site-nav a:hover {
  background: rgba(39, 102, 127, .1);
  color: var(--steel-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: min(780px, calc(100vh - 76px));
  padding: clamp(30px, 5vw, 70px) clamp(18px, 5vw, 72px) clamp(30px, 4vw, 44px);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 700px;
  color: #334147;
  font-size: clamp(16px, 2vw, 20px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--safety);
}

.button.secondary {
  background: transparent;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 760px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-strip span {
  min-height: 84px;
  padding: 16px;
  background: rgba(255, 250, 240, .86);
  color: var(--muted);
  font-size: 14px;
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.hero-visual {
  filter: drop-shadow(0 34px 60px rgba(17, 25, 31, .2));
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 360px;
  padding-block: clamp(48px, 6vw, 82px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, .72);
}

.intro p:last-child {
  color: #36464d;
  font-size: 18px;
}

.section-head {
  width: 100%;
  max-width: none;
  margin-bottom: 32px;
}

.section-head > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.product-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 240, .86);
}

.product-card p {
  color: var(--muted);
}

.icon-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 70px;
  margin-bottom: 28px;
  color: var(--steel);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, .96), rgba(211, 224, 219, .9)),
    #e9efe9;
  border-left: 7px solid var(--safety);
  box-shadow: 8px 8px 0 rgba(17, 25, 31, .08);
  overflow: hidden;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 25, 31, .06) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(180deg, rgba(17, 25, 31, .04) 1px, transparent 1px) 0 0 / 14px 14px;
  opacity: .5;
}

.icon-box svg {
  position: relative;
  width: 78px;
  height: 58px;
  filter: drop-shadow(0 5px 6px rgba(17, 25, 31, .16));
}

.accent-card {
  color: var(--white);
  background: var(--panel);
  border-color: transparent;
}

.accent-card p {
  color: #d5dedf;
}

.product-illustrations {
  background:
    linear-gradient(90deg, rgba(17, 25, 31, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    rgba(255, 250, 240, .78);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.illustration-card {
  min-height: 420px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 250, 240, .9);
  box-shadow: 10px 10px 0 rgba(17, 25, 31, .05);
}

.illustration-card svg {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 18px;
  border: 1px solid rgba(17, 25, 31, .1);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(17, 25, 31, .045) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(180deg, #f9f7ef, #ebe6d8);
}

.illustration-card h3 {
  font-size: 21px;
}

.illustration-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #fffaf0;
}

.scene-illustration {
  box-shadow: var(--shadow);
}

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

.scene-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.scene-list strong {
  color: var(--steel-dark);
}

.scene-list span {
  color: var(--muted);
}

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

.process .eyebrow {
  color: var(--safety);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 250, 240, .14);
}

.timeline li {
  position: relative;
  min-height: 250px;
  padding: 64px 20px 22px;
  background: #1c2c34;
}

.timeline li::before {
  content: counter(list-item, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--safety);
  font-size: 28px;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.timeline span {
  color: #c8d3d4;
  font-size: 15px;
}

.cases-showcase {
  background:
    linear-gradient(90deg, rgba(17, 25, 31, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    #fffaf0;
}

.media-group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.media-group-title span {
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.media-group-title strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
}

.media-group-title.video-title {
  margin-top: 30px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 15vw, 260px);
  gap: 14px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0;
  padding: 16px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(241, 184, 62, .12), transparent 46%),
    var(--panel);
}

.media-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid rgba(17, 25, 31, .12);
  box-shadow: 0 16px 38px rgba(17, 25, 31, .12);
}

.media-tile.wide {
  grid-row: span 2;
}

.media-tile img,
.media-tile video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.media-tile img {
  transition: transform .35s ease, filter .35s ease;
}

.media-tile:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.03);
}

.media-tile.drawing img {
  object-fit: contain;
  object-position: center;
  padding: 18px;
  background: #f6f4ee;
}

.media-tile.wide-drawing {
  grid-column: span 2;
  grid-row: span 2;
}

.media-tile.wide-photo {
  grid-column: span 2;
  grid-row: span 2;
}

.media-tile.video-tile {
  display: flex;
  flex-direction: column;
  min-height: auto;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(241, 184, 62, .16), transparent 42%),
    var(--panel);
}

.media-tile.video-tile video {
  height: auto;
  min-height: 0;
  max-height: 620px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0b1115;
  border-radius: 4px;
}

.media-tile figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(17, 25, 31, .9), rgba(17, 25, 31, .7));
  border-left: 5px solid var(--safety);
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}

.media-tile.video-tile figcaption {
  position: static;
  margin-top: 10px;
  background: rgba(17, 25, 31, .9);
}

.customers {
  background:
    linear-gradient(135deg, rgba(39, 102, 127, .12), transparent 42%),
    linear-gradient(90deg, rgba(17, 25, 31, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    rgba(255, 250, 240, .72);
}

.customers .section-head > p:not(.eyebrow) {
  font-size: 19px;
}

.customer-layout {
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(0, 1.32fr);
  gap: 18px;
  align-items: stretch;
}

.customer-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .96), rgba(247, 242, 229, .92));
  box-shadow: 0 18px 42px rgba(17, 25, 31, .08);
}

.highlight-panel {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(241, 184, 62, .18), transparent 52%),
    var(--panel);
  box-shadow: 10px 10px 0 var(--safety);
}

.highlight-panel::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -52px;
  width: 190px;
  height: 190px;
  border: 22px solid rgba(241, 184, 62, .16);
  transform: rotate(18deg);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.highlight-panel .panel-label {
  color: var(--safety);
}

.highlight-panel h3 {
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.highlight-panel p {
  position: relative;
  z-index: 1;
  color: #d5dedf;
  font-size: 17px;
}

.customer-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.customer-proof span {
  padding: 12px 10px;
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: 4px;
  background: rgba(255, 250, 240, .08);
  color: var(--safety);
  text-align: center;
  font-weight: 900;
}

.panel-copy {
  max-width: 980px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}

.customer-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.customer-wall span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(180deg, #fffaf0, #f4efe2);
  color: #26343a;
  text-align: center;
  font-weight: 900;
  box-shadow:
    inset 0 -4px 0 rgba(39, 102, 127, .1),
    0 8px 18px rgba(17, 25, 31, .06);
}

.project-tags {
  display: grid;
  grid-template-columns: auto repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(39, 102, 127, .18);
  border-radius: 6px;
  background: rgba(255, 250, 240, .78);
}

.project-tags strong {
  color: var(--rust);
  font-size: 14px;
  white-space: nowrap;
}

.project-tags span {
  display: inline-flex;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid rgba(39, 102, 127, .24);
  border-radius: 999px;
  background: rgba(39, 102, 127, .08);
  color: var(--steel-dark);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(189, 75, 44, .2), transparent 42%),
    var(--ink);
}

.contact-copy p:not(.eyebrow) {
  max-width: 100%;
  color: #d5dedf;
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a,
.contact-list div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 250, 240, .18);
}

.contact-list strong {
  color: var(--safety);
}

.qr-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, .18);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--safety);
}

.qr-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.qr-panel strong {
  font-size: 24px;
}

.qr-panel span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #d3ddde;
  background: #0b1115;
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(11, 17, 21, .88);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  width: min(1120px, 94vw);
  max-height: 90vh;
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  background: #0b1115;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.lightbox-figure figcaption {
  margin-top: 10px;
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 240, .35);
  border-radius: 4px;
  color: var(--white);
  background: rgba(17, 25, 31, .75);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.media-tile img {
  cursor: zoom-in;
}

@media (max-width: 1040px) {
  .hero,
  .intro,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro {
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .illustration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .customer-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-layout {
    grid-template-columns: 1fr;
  }

  .project-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-tags strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fffaf0;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .proof-strip,
  .product-grid,
  .illustration-grid,
  .timeline,
  .media-grid,
  .video-grid,
  .customer-wall {
    grid-template-columns: 1fr;
  }

  .customer-proof,
  .project-tags {
    grid-template-columns: 1fr;
  }

  .split {
    gap: 26px;
  }

  .scene-list article,
  .contact-list a,
  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .media-tile.wide {
    grid-row: auto;
  }

  .media-tile.wide-drawing {
    grid-column: auto;
    grid-row: auto;
  }

  .media-tile.wide-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .qr-panel {
    min-height: auto;
    box-shadow: 8px 8px 0 var(--safety);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
