:root {
  --orange: #f58220;
  --orange-dark: #c85f10;
  --ink: #111;
  --text: #262626;
  --muted: #6d6d68;
  --line: #deded8;
  --paper: #f3f3ef;
  --panel: #fff;
  --panel-soft: #e8e8e3;
  --shadow: 0 22px 70px rgba(0, 0, 0, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(17, 17, 17, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, .035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 130, 32, .08), transparent 380px),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto, auto;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 18px;
  background: rgba(243, 243, 239, .88);
  border-bottom: 1px solid rgba(222, 222, 216, .72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 108px;
}

.brand-logo {
  width: 108px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

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

.section-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  gap: 28px;
  padding: 40px 0 28px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -22px;
  width: 92px;
  height: 92px;
  background: var(--orange);
  opacity: .12;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 5px;
  background: var(--orange);
}

.chapter-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 4px;
  overflow: hidden;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: inset 5px 0 0 var(--orange);
}

.chapter-label strong,
.chapter-label span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 12px;
  line-height: 1;
}

.chapter-label strong {
  padding: 0 10px 0 14px;
  color: var(--orange-dark);
  font-weight: 850;
}

.chapter-label span {
  padding: 0 13px 0 10px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-weight: 760;
}

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

h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.02;
  font-weight: 820;
}

h2 {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 780;
}

h3 {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.16;
  font-weight: 760;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.hero-copy p {
  max-width: 620px;
  margin-top: 18px;
  font-size: 17px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.primary-action {
  color: #fff;
  background: var(--ink);
}

.secondary-action {
  color: var(--ink);
  background: transparent;
}

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17, 17, 17, .08);
  background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 17, .24));
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(17, 17, 17, .74);
  font-size: 12px;
}

.trust-strip {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-strip article {
  padding: 20px;
  background: var(--panel);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 18px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section-block {
  padding: 72px 0 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section-heading p {
  max-width: 720px;
}

.case-grid {
  display: grid;
  gap: 12px;
}

.case-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  grid-template-areas:
    "image label"
    "image title"
    "image desc";
  gap: 2px 14px;
  width: 100%;
  min-height: 112px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
}

.case-card img {
  grid-area: image;
  width: 104px;
  height: 112px;
  object-fit: cover;
  filter: saturate(.82);
}

.case-card span {
  grid-area: label;
  align-self: end;
  padding-top: 14px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card strong {
  grid-area: title;
  color: var(--ink);
  font-size: 18px;
}

.case-card small {
  grid-area: desc;
  padding-right: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: var(--orange);
  box-shadow: inset 5px 0 0 var(--orange);
}

.case-detail {
  display: grid;
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.industry-detail {
  scroll-margin-top: 82px;
}

.case-detail-image img {
  width: 100%;
  min-height: 210px;
  object-fit: cover;
}

.case-detail-copy {
  padding: 24px;
}

.case-detail-copy > p {
  margin-top: 12px;
}

.case-sequence {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
}

.case-insight-label {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.case-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.case-points div {
  padding: 15px;
  background: var(--paper);
  border-left: 5px solid var(--orange);
}

.case-points span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.case-points p {
  font-size: 13px;
}

.quote-band {
  margin-top: 18px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(245, 130, 32, .98), rgba(245, 130, 32, .82)),
    var(--orange);
}

.quote-band p {
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.quote-band span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
}

.capability-layout {
  display: grid;
  gap: 18px;
}

.capability-layout > img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

.capability-list article,
.product-grid article,
.process-list li {
  background: var(--panel);
  border: 1px solid var(--line);
}

.capability-list article {
  padding: 20px;
}

.capability-list strong,
.product-grid strong,
.process-list strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
}

.capability-list p,
.product-grid p,
.process-list p {
  margin-top: 8px;
  font-size: 13px;
}

.product-grid {
  display: grid;
  gap: 12px;
}

.product-photo-row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.product-photo-row img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--panel);
}

.product-grid article {
  min-height: 154px;
  padding: 20px;
}

.product-grid span,
.process-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
}

.process-image {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  background: #e9eae7;
}

.process-image--contain {
  object-fit: contain;
  background: #fff;
}

.process-copy {
  position: relative;
  padding: 20px 20px 22px 24px;
}

.process-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 5px;
  background: var(--orange);
}

.contact {
  display: grid;
  gap: 22px;
  margin-top: 76px;
  margin-bottom: 96px;
  padding: 26px;
  color: #fff;
  background: var(--ink);
}

.contact h2,
.contact p,
.contact .eyebrow {
  color: #fff;
}

.contact .chapter-label {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.contact .chapter-label strong {
  color: var(--orange);
}

.contact .chapter-label span {
  color: rgba(255, 255, 255, .76);
  border-left-color: rgba(255, 255, 255, .18);
}

.contact p {
  opacity: .76;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: #fff;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}

.contact-lines strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.contact-lines a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(245, 130, 32, .9);
  text-underline-offset: 4px;
}

.qr-card {
  display: grid;
  justify-self: center;
  justify-items: center;
  width: min(100%, 220px);
  gap: 10px;
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
}

.qr-image {
  width: 132px;
  aspect-ratio: 1;
  height: auto;
  object-fit: contain;
  border: 6px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.qr-card strong {
  color: #fff;
  font-size: 16px;
}

.qr-card span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  text-align: center;
}

.mobile-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  min-height: 46px;
  overflow: hidden;
  background: rgba(17, 17, 17, .90);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
  backdrop-filter: blur(16px);
}

.mobile-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  color: rgba(255, 255, 255, .70);
  font-size: 11px;
  font-weight: 680;
  line-height: 1;
  white-space: nowrap;
}

.mobile-nav a span {
  color: rgba(245, 130, 32, .78);
  font-size: 9px;
  font-weight: 850;
}

.mobile-nav a.is-current {
  color: #fff;
  background: var(--orange);
}

.mobile-nav a.is-current span {
  color: #fff;
}

@media (min-width: 760px) {
  .desktop-nav {
    display: flex;
  }

  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 46px;
  }

  h3 {
    font-size: 34px;
  }

  .section-shell {
    width: min(1120px, calc(100% - 64px));
  }

  .hero {
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    min-height: 660px;
    padding-top: 30px;
  }

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

  .case-grid,
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-card {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "label" "title" "desc";
    min-height: 272px;
    padding-bottom: 18px;
  }

  .case-card img {
    width: 100%;
    height: 126px;
  }

  .case-card span,
  .case-card strong,
  .case-card small {
    padding-left: 16px;
    padding-right: 16px;
  }

  .case-detail {
    grid-template-columns: 1fr 1fr;
  }

  .case-detail-image img {
    height: 100%;
  }

  .case-detail-copy {
    padding: 34px;
  }

  .capability-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .product-photo-row {
    grid-template-columns: 1.2fr .9fr .9fr;
  }

  .product-photo-row img {
    height: 260px;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact {
    grid-template-columns: 1fr 280px;
    align-items: center;
    margin-bottom: 56px;
    padding: 36px;
  }

  .mobile-nav {
    display: none;
  }
}

@media (min-width: 1120px) {
  .case-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .case-card {
    min-height: 248px;
  }
}
