:root {
  --green: #00ad4f;
  --deep-green: #0f4b3a;
  --ink: #222725;
  --muted: #69736f;
  --line: #dfe6e1;
  --paper: #fbfaf6;
  --warm: #f2eadb;
  --red: #8c2530;
  --gold: #b98b45;
  --shadow: 0 20px 50px rgba(30, 42, 36, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(251, 250, 246, .92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  margin-top: 2px;
  font-size: 11px;
  opacity: .76;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
}

.nav a {
  opacity: .88;
}

.nav a:hover {
  opacity: 1;
}

.header-cta,
.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.primary-btn {
  color: #fff;
  background: var(--green);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .6);
}

.ghost-btn.dark {
  color: var(--ink);
  border-color: #b9c4bd;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 6vw, 82px) 70px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 24, 18, .86) 0%, rgba(11, 24, 18, .62) 35%, rgba(11, 24, 18, .14) 72%),
    linear-gradient(0deg, rgba(11, 24, 18, .34), rgba(11, 24, 18, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 112px);
  line-height: .92;
  letter-spacing: 0;
}

.hero-lede {
  width: min(620px, 100%);
  margin: 26px 0 0;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.55;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(600px, 100%);
  margin: 48px 0 0;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .36);
}

.hero-metrics dt {
  font-size: 30px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .76);
}

.section-band {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column,
.partner-layout,
.contact-layout,
.customizer-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

p {
  line-height: 1.75;
}

.intro {
  background: #fff;
}

.intro-copy p {
  margin: 0 0 16px;
  color: #4c5652;
  font-size: 17px;
}

.section-heading,
.tool-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.services {
  background: #f5f1e8;
}

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

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(15, 75, 58, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  overflow: hidden;
}

.service-card.large {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
  padding: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card.large img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card.large div {
  padding: 26px;
}

.service-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 850;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.service-card li {
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf5ef;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 700;
}

.image-card {
  padding: 0;
}

.products {
  background: #fff;
}

.price-toggle,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-toggle {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f6;
}

.price-toggle button,
.filter {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
}

.price-toggle button {
  padding: 0 14px;
}

.price-toggle button.active,
.filter.active {
  color: #fff;
  background: var(--deep-green);
}

.filter-row {
  margin-bottom: 22px;
}

.filter {
  padding: 0 15px;
  border: 1px solid var(--line);
  background: #fff;
}

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

.product-card {
  display: grid;
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 173, 79, .35);
  box-shadow: var(--shadow);
}

.product-visual {
  display: grid;
  min-height: 112px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--visual-a), var(--visual-b));
}

.product-shape {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: var(--shape-radius);
  color: var(--deep-green);
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(15, 75, 58, .1);
  font-weight: 850;
}

.product-card h3 {
  font-size: 19px;
}

.product-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
}

.price {
  font-size: 25px;
  font-weight: 850;
  color: var(--deep-green);
}

.moq {
  color: var(--muted);
  font-size: 13px;
}

.customizer {
  background: #f7f3ea;
}

.customizer-copy p {
  color: #52605a;
}

.upload-box {
  display: flex;
  width: min(360px, 100%);
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border: 1px dashed rgba(15, 75, 58, .45);
  border-radius: 8px;
  color: var(--deep-green);
  background: rgba(255, 255, 255, .62);
  font-weight: 800;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.swatch-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.swatch.active {
  border-color: var(--green);
}

.preview-stage {
  display: grid;
  gap: 16px;
}

.preview-reference,
.mockup-board {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-reference {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mockup-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #fff;
}

.mockup-item {
  position: relative;
  display: grid;
  min-height: 146px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mockup-color, #f7f3e9);
  border: 1px solid #e7e1d4;
}

.mockup-item::before {
  content: "";
  display: block;
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 0 1px rgba(15, 75, 58, .12);
}

.mockup-item.bag::before {
  width: 82px;
  height: 96px;
  border-radius: 6px 6px 14px 14px;
}

.mockup-item.mug::before {
  width: 88px;
  height: 66px;
  border-radius: 18px 28px 28px 18px;
}

.mockup-item.box::before {
  width: 100px;
  height: 78px;
  border-radius: 6px;
}

.mockup-item.book::before {
  width: 78px;
  height: 104px;
  border-radius: 4px;
}

.logo-target {
  position: absolute;
  top: 48%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%);
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.logo-target img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mockup-item b {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  color: #58615d;
  font-size: 12px;
  text-align: center;
}

.partner {
  background: #10241d;
  color: #fff;
}

.partner .section-kicker,
.partner h2 {
  color: #fff;
}

.partner p {
  color: rgba(255, 255, 255, .72);
}

.partner-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.partner-panel label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .78);
}

.partner-panel select,
.partner-panel input[type="range"] {
  width: 100%;
}

.partner-panel select {
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
}

.quote-output {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.quote-output strong {
  font-size: 30px;
  color: var(--green);
}

.contact {
  background: #fff;
}

.contact-layout {
  align-items: center;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .two-column,
  .partner-layout,
  .contact-layout,
  .customizer-layout {
    grid-template-columns: 1fr;
  }

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

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

  .header-cta {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 18px 46px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(11, 24, 18, .86), rgba(11, 24, 18, .38));
  }

  .hero-actions,
  .hero-metrics,
  .section-heading,
  .tool-heading,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid,
  .mockup-board {
    grid-template-columns: 1fr;
  }

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

  .service-card.large {
    grid-template-rows: 240px auto;
  }

  .mockup-item {
    min-height: 132px;
  }
}
