:root {
  --black: #171717;
  --ink: #202020;
  --muted: #666b70;
  --line: #e7e7e7;
  --paper: #ffffff;
  --white: #ffffff;
  --red: #c8102e;
  --red-dark: #8f0d22;
  --red-soft: #fff1f3;
  --steel: #8a8f94;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  color: var(--white);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-line {
  color: var(--steel);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
}

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

.site-nav a:hover {
  color: var(--red);
}

.site-nav a.is-active {
  color: var(--red);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  min-height: calc(100vh - 72px);
  padding: 12vh 5vw 8vh;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    radial-gradient(circle at 82% 16%, rgba(200, 16, 46, 0.16), transparent 30%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  opacity: 0.42;
}

.hero-grid span {
  border-right: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #df183b;
}

.button.secondary {
  color: var(--red);
  border-color: var(--red);
}

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

.hero-panel {
  align-self: end;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(30, 30, 30, 0.08);
}

.hero-photo {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo figcaption,
.wide-photo figcaption,
.image-credit {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-photo figcaption {
  padding: 10px 14px;
}

.hero-panel div {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.metric,
.label {
  display: block;
}

.metric {
  color: var(--red);
  font-size: 2rem;
  font-weight: 900;
}

.label {
  color: var(--muted);
}

.section {
  padding: 86px 5vw;
}

.page-hero {
  min-height: 420px;
  padding: 120px 5vw 72px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    radial-gradient(circle at 84% 20%, rgba(200, 16, 46, 0.14), transparent 28%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-bottom: 22px;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.16rem;
}

.page-hero .button {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 8vw;
  align-items: end;
  background: var(--white);
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.products-section {
  color: var(--ink);
  background: var(--red-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: #f0cbd1;
}

.product-grid-wide {
  margin-top: 0;
}

.product-card {
  min-height: 330px;
  padding: 28px;
  background: var(--white);
  border-top: 4px solid var(--red);
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  object-fit: cover;
  background: var(--line);
}

.product-card:hover {
  background: #fff8f9;
}

.product-index {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--red);
  font-weight: 900;
}

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

.product-card a {
  display: inline-block;
  margin-top: 20px;
  color: var(--red);
  font-weight: 800;
}

.image-credit {
  display: block;
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 7vw;
}

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

.industry-list div {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.industry-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 7vw;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-list div {
  padding: 24px;
  background: var(--white);
}

.feature-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-list span {
  min-height: 58px;
  padding: 16px;
  color: var(--red-dark);
  font-weight: 900;
  background: var(--red-soft);
  border-left: 4px solid var(--red);
}

.media-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.wide-photo {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.wide-photo img {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.wide-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
}

.wide-photo a {
  color: var(--red);
  font-weight: 800;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 7vw;
  color: var(--white);
  background: linear-gradient(90deg, var(--red-dark), var(--red));
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
}

.steps span {
  padding: 18px;
  color: var(--red-dark);
  font-weight: 900;
  background: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: 7vw;
  background: var(--white);
}

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

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-grid div {
  min-height: 160px;
  padding: 24px;
  background: var(--white);
}

.image-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 7vw;
  background: #f7f7f7;
}

.image-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-notice,
.form-status {
  margin: 18px 0 0;
  color: var(--red-dark);
  font-weight: 800;
}

.form-status {
  min-height: 24px;
  margin-top: 0;
}

.form-status.is-error {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 5vw;
  color: #d1d1d1;
  background: var(--black);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero,
  .intro,
  .split,
  .detail-grid,
  .service-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: start;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-photo {
    grid-column: 1 / -1;
  }

  .hero-panel div {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

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

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

  .image-note {
    grid-template-columns: 1fr;
  }
}

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

  .brand-line {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 5vw 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding-top: 88px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-panel,
  .product-grid,
  .spec-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .wide-photo img {
    aspect-ratio: 4 / 3;
  }

  .wide-photo figcaption {
    flex-direction: column;
  }

  .hero-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card {
    min-height: 280px;
  }

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