:root {
  --bg: #f5f1e9;
  --paper: #fffaf1;
  --ink: #1d2322;
  --muted: #69706b;
  --soft: #e6ded0;
  --line: rgba(29, 35, 34, .14);
  --steel: #323a39;
  --steel-2: #18201f;
  --rust: #a55f3b;
  --olive: #69725f;
  --blue: #4b6674;
  --gold: #c99c5c;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(22, 28, 27, .16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 22, 21, .9), rgba(17, 22, 21, .42) 78%, transparent);
}

.compact-header {
  position: sticky;
  color: var(--ink);
  background: rgba(245, 241, 233, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--gold);
  font-weight: 800;
}

.compact-header .brand-mark {
  border-color: var(--line);
  background: var(--steel-2);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  opacity: .7;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  opacity: .86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
}

.compact-header .nav-cta {
  border-color: var(--steel);
  background: var(--steel);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
}

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

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  background: var(--steel-2);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 20, 19, .88), rgba(15, 20, 19, .54) 45%, rgba(15, 20, 19, .18)),
    linear-gradient(180deg, rgba(15, 20, 19, .22), rgba(15, 20, 19, .7));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 36px));
  min-height: 94svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px 0 56px;
  color: var(--white);
}

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

.hero h1,
.page-hero h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 2vw, 20px);
}

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

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

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

.button.secondary {
  border-color: var(--steel);
  background: var(--steel);
  color: var(--white);
}

.button.translucent {
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(840px, 100%);
  margin: 54px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .16);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(22, 28, 27, .66);
}

.hero-metrics dt,
.hero-metrics dd {
  margin: 0;
}

.hero-metrics dt {
  font-size: 15px;
  font-weight: 800;
}

.hero-metrics dd {
  margin-top: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.section.dark {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  background: var(--steel-2);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 920px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.22;
}

p {
  margin: 0;
}

.section-head p,
.intro-copy,
.contact-layout p,
.page-hero p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-head p,
.dark p {
  color: rgba(255, 255, 255, .68);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 16px;
}

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

.solution-card {
  display: grid;
  min-height: 520px;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel-2);
  color: var(--white);
  box-shadow: var(--shadow);
}

.solution-card.large {
  grid-column: span 2;
}

.solution-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 22, 21, .08), rgba(17, 22, 21, .86));
}

.solution-card:hover img {
  transform: scale(1.04);
}

.solution-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.solution-card span,
.case-copy span,
.article-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-card p,
.case-copy p,
.article-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .75);
}

.case-showcase {
  position: relative;
  min-height: 620px;
}

.case-panel {
  display: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 28px;
  align-items: stretch;
}

.case-panel.active {
  display: grid;
}

.case-panel video {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--steel);
  color: var(--white);
}

.case-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, .78);
}

.case-copy li {
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.case-tabs button,
.case-tabs a {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.case-tabs button.active,
.case-tabs a {
  border-color: var(--steel);
  background: var(--steel);
  color: var(--white);
}

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

.factory-strip article {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
}

.factory-strip video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.factory-strip h3,
.factory-strip p {
  padding-left: 18px;
  padding-right: 18px;
}

.factory-strip h3 {
  margin-top: 18px;
}

.factory-strip p {
  padding-bottom: 22px;
}

.content-system,
.article-grid,
.month-plan {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-system article,
.article-grid article,
.article-grid .article-card,
.month-plan article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-grid .article-card {
  display: block;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.article-grid .article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(165, 95, 59, .38);
  box-shadow: 0 14px 34px rgba(22, 28, 27, .1);
}

.content-system p,
.article-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.content-system a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--rust);
  font-weight: 800;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.guide-tabs button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.guide-tabs button.active {
  border-color: var(--steel);
  background: var(--steel);
  color: var(--white);
}

.guide-panel {
  display: none;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.guide-panel.active {
  display: grid;
  gap: 24px;
}

.guide-intro {
  max-width: 820px;
}

.guide-intro span,
.guide-band span {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-intro p,
.guide-band p,
.guide-card-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.guide-band {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.guide-band h4,
.guide-card-grid h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.28;
}

.guide-band ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.guide-band figure {
  margin: 0;
}

.guide-band img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
}

.guide-band figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.guide-image-grid,
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.guide-card-grid section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius);
  background: var(--steel);
  color: var(--white);
}

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

.quote-list span {
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  text-align: center;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
  padding: 52px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
}

.qr-card img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.qr-card span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: var(--steel-2);
  color: var(--white);
}

.site-footer div,
.site-footer span {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.page-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 70px;
}

.page-hero p {
  max-width: 760px;
}

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

.article-grid article img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: var(--radius);
}

.article-grid span {
  color: var(--rust);
}

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

.article-grid dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.article-grid dt,
.article-grid dd {
  margin: 0;
}

.article-grid dt {
  color: var(--muted);
  font-size: 13px;
}

.article-grid dd {
  font-weight: 700;
}

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

.template-grid span {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  font-weight: 700;
}

.month-plan article {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
}

.article-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 52px 0 90px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .72);
}

.article-lead {
  margin: 0 0 34px;
  padding: 24px;
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.75;
}

.article-toc {
  display: grid;
  gap: 10px;
  margin: 36px 0 52px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, .64);
}

.article-toc a {
  color: var(--steel);
  font-weight: 700;
}

.article-body {
  display: grid;
  gap: 26px;
}

.article-body h2 {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-size: clamp(28px, 4vw, 42px);
}

.article-body h3 {
  margin-top: 12px;
  color: var(--steel);
}

.article-body p,
.article-body li {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.25em;
}

.price-band {
  display: grid;
  gap: 18px;
}

.price-note {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--steel);
  font-weight: 700;
}

.article-figure {
  margin: 0;
}

.article-figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(22, 28, 27, .12);
}

.article-figure.contain img {
  max-height: none;
  object-fit: contain;
  background: var(--paper);
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

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

.article-cta {
  margin-top: 54px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--steel-2);
  color: var(--white);
}

.article-cta p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .76);
}

.article-cta .button {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .site-nav:not(.always) {
    position: fixed;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--steel-2);
    box-shadow: var(--shadow);
  }

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

  .nav-toggle {
    display: block;
  }

  .split,
  .case-panel,
  .guide-band,
  .quote-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .factory-strip,
    .content-system,
    .guide-card-grid,
    .month-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card.large {
    grid-column: span 1;
  }

  .case-panel video {
    height: 420px;
  }
}

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

  .site-nav.always {
    gap: 8px;
    font-size: 13px;
  }

  .site-nav.always a:not(.nav-cta) {
    display: none;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-bottom: 34px;
  }

  .hero-metrics,
  .solution-grid,
  .factory-strip,
  .content-system,
  .guide-image-grid,
  .guide-card-grid,
  .article-grid,
  .figure-pair,
  .month-plan,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .section {
    width: calc(100% - 32px);
    padding: 64px 0;
  }

  .section.muted,
  .section.dark {
    padding-left: 16px;
    padding-right: 16px;
  }

  .solution-card {
    min-height: 420px;
  }

  .case-panel video {
    height: 340px;
  }

  .case-copy,
  .contact-layout,
  .quote-band {
    padding: 24px;
  }

  .quote-list {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    display: grid;
  }
}
