/* ============================================================
   GONGSHENG — Activewear development & production
   Design system
   ============================================================ */

:root {
  --ink: #15120e;
  --ink-80: rgba(21, 18, 14, 0.8);
  --ink-60: rgba(21, 18, 14, 0.6);
  --ink-42: rgba(21, 18, 14, 0.42);
  --paper: #f8f6f1;
  --paper-2: #efeae1;
  --paper-3: #e6e0d5;
  --line: rgba(21, 18, 14, 0.14);
  --line-soft: rgba(21, 18, 14, 0.08);
  --accent: #b8412a;
  --accent-ink: #8f3120;
  --maxw: 1320px;
  --gut: clamp(20px, 5vw, 64px);
  --sans: "Inter", "Helvetica Neue", Helvetica, "Segoe UI", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.section--tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section--paper2 {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
  border-top: none;
}

/* ---------- type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.section--ink .eyebrow {
  color: rgba(248, 246, 241, 0.6);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.04;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 0.96;
}

.h2 {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
}

.h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--ink-80);
  max-width: 58ch;
}

.small {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-60);
}

.serif-q {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: -0.01em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--sm {
  height: 42px;
  padding: 0 20px;
  font-size: 13px;
}

.btn .arw {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .arw {
  transform: translateX(3px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color 0.25s, color 0.25s;
}

.link-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 246, 241, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.site-head.is-stuck {
  border-bottom-color: var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 22px;
}

.nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-80);
  padding: 6px 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.lang button {
  border: 0;
  background: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* mobile drawer */
.drawer {
  display: none;
  position: fixed;
  inset: 72px 0 0;
  z-index: 80;
  background: var(--paper);
  padding: 28px var(--gut) 40px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s var(--ease);
}

.drawer.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.drawer a {
  display: block;
  padding: 18px 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      98deg,
      #f8f6f1 0%,
      #f8f6f1 24%,
      rgba(248, 246, 241, 0.97) 33%,
      rgba(248, 246, 241, 0.72) 42%,
      rgba(248, 246, 241, 0.22) 54%,
      rgba(248, 246, 241, 0) 64%
    ),
    linear-gradient(0deg, rgba(248, 246, 241, 0.9) 0%, rgba(248, 246, 241, 0) 22%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: clamp(36px, 5vw, 64px);
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  margin: 0 0 24px;
}

.hero .lede {
  margin: 0 0 32px;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 42px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- stat strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 30px 28px 32px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  font-size: 12.5px;
  color: var(--ink-60);
  letter-spacing: 0.01em;
}

/* ---------- section head ---------- */

.sec-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.sec-head .lede {
  margin: 0;
}

.sec-head--stack {
  display: block;
  max-width: 760px;
}

/* ---------- capability cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.card {
  padding: 30px 26px 34px 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.card + .card {
  padding-left: 26px;
}

.card:last-child {
  border-right: 0;
  padding-right: 0;
}

.card .num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 40px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-60);
}

.card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-80);
}

.card ul li {
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
}

/* ---------- collections ---------- */

.coll-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(21, 18, 14, 0.62) 0%, rgba(21, 18, 14, 0) 62%);
}

.tile:hover img {
  transform: scale(1.045);
}

.tile-body {
  padding: 22px;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.tile-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tile-body p {
  margin: 0;
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.tile-body .arw {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.tile:hover .arw {
  opacity: 1;
  transform: none;
}

.tile--lg {
  grid-column: span 6;
  min-height: 460px;
}

.tile--md {
  grid-column: span 3;
  min-height: 300px;
}

.tile--flat {
  grid-column: span 3;
  min-height: 300px;
  background: var(--paper-2);
  align-items: stretch;
}

.tile--flat::before {
  content: attr(data-num);
  position: absolute;
  right: 6px;
  top: -34px;
  font-size: clamp(88px, 8.4vw, 126px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(21, 18, 14, 0.075);
  z-index: 0;
  pointer-events: none;
}

.tile--flat::after {
  display: none;
}

.tile--flat .tile-body {
  position: relative;
  z-index: 1;
  color: var(--ink);
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
}

.tile--flat .tile-body p {
  color: var(--ink-60);
  opacity: 1;
  line-height: 1.5;
}

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 0 0;
  border-top: 2px solid var(--line);
}

.section--ink .step {
  border-top-color: rgba(248, 246, 241, 0.22);
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

.step.is-in::before {
  width: 46px;
}

.step .s-num {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-60);
}

.section--ink .step p {
  color: rgba(248, 246, 241, 0.6);
}

.step .s-time {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-42);
}

.section--ink .step .s-time {
  color: rgba(248, 246, 241, 0.42);
}

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.split-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
}

.split-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.split-copy .h2 {
  margin-bottom: 22px;
}

.split-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
}

.section--ink .split-list {
  border-top-color: rgba(248, 246, 241, 0.18);
}

.split-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

.section--ink .split-list li {
  border-bottom-color: rgba(248, 246, 241, 0.12);
  color: rgba(248, 246, 241, 0.85);
}

.split-list li b {
  font-weight: 600;
}

.split-list .n {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
  font-weight: 600;
}

/* ---------- table ---------- */

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

table.spec th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 600;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: bottom;
}

table.spec td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--ink-80);
}

table.spec td:first-child {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- cta band ---------- */

.cta-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.cta-band .h2 {
  max-width: 18ch;
}

/* ---------- form ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 600;
}

.field label .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s;
}

.field textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4.5L6 8.5L10 4.5' fill='none' stroke='%2315120e' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.form-note {
  font-size: 12px;
  color: var(--ink-60);
  max-width: 40ch;
  line-height: 1.5;
}

.form-status {
  margin-top: 18px;
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-error {
  display: block;
  border-color: var(--accent);
  color: var(--accent-ink);
  background: #fbf1ee;
}

.form-status.is-ok {
  display: block;
  border-color: var(--ink);
  background: var(--paper-2);
}

.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ---------- contact aside ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.info-block {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.info-block dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 600;
  margin-bottom: 6px;
}

.info-block dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.info-block dd a {
  border-bottom: 1px solid var(--line);
}

.info-block dd a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- faq ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 18px;
  color: var(--ink-42);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.62;
  color: var(--ink-60);
  max-width: 70ch;
}

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 6vw, 76px) 0 28px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(248, 246, 241, 0.16);
}

.site-foot .brand-name {
  color: var(--paper);
}

.site-foot p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(248, 246, 241, 0.6);
  margin: 14px 0 0;
  max-width: 34ch;
}

.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.45);
  font-weight: 600;
  margin-bottom: 16px;
}

.foot-col a,
.foot-col span {
  display: block;
  font-size: 13.5px;
  color: rgba(248, 246, 241, 0.82);
  padding: 5px 0;
  transition: color 0.2s;
}

.foot-col a:hover {
  color: #fff;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(248, 246, 241, 0.45);
}

/* ---------- reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .step::before {
    transition: none;
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card {
    padding-right: 24px;
  }
  .card:nth-child(2) {
    border-right: 0;
  }
  .card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 26px;
  }
  .tile--lg {
    grid-column: span 12;
    min-height: 400px;
  }
  .tile--md,
  .tile--flat {
    grid-column: span 6;
  }
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .drawer {
    display: block;
  }
  .head-right .btn {
    display: none;
  }
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 52vh;
    order: 0;
  }
  .hero-media img {
    object-position: 66% 42%;
  }
  .hero-inner {
    order: 1;
    width: 100%;
  }
  .hero-media::after {
    background: linear-gradient(0deg, var(--paper) 2%, rgba(248, 246, 241, 0) 52%);
  }
  .hero-inner {
    padding-top: 28px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .sec-head,
  .split,
  .cta-band,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-media {
    order: -1;
  }
}

@media (max-width: 560px) {
  .head-inner {
    height: 64px;
  }
  .drawer {
    inset: 64px 0 0;
  }
  .hero-media {
    height: 44vh;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    border-right: 0;
    padding: 24px 0 !important;
    border-top: 1px solid var(--line);
  }
  .card .num {
    margin-bottom: 20px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .tile--md,
  .tile--flat {
    grid-column: span 12;
    min-height: 208px;
  }
  .tile--lg {
    min-height: 340px;
  }
  .foot-top {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- inner page head ---------- */

.page-head {
  padding: clamp(52px, 7vw, 104px) 0 clamp(38px, 5vw, 68px);
}

.page-h1 {
  max-width: 17ch;
  margin-bottom: 24px;
}

.page-head .lede {
  max-width: 62ch;
}

.stat b small {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-60);
  margin-left: 2px;
}

/* ---------- collection rows ---------- */

.section--flush {
  padding-top: 0;
}

.cat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "head media" "spec spec";
  gap: 28px clamp(24px, 4vw, 56px);
  padding: clamp(34px, 4.5vw, 60px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.cat-head {
  grid-area: head;
  align-self: center;
}

@media (min-width: 861px) {
  .cat:nth-of-type(even) {
    grid-template-areas: "media head" "spec spec";
  }
}

.cat-num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.cat-head h2 {
  margin-bottom: 14px;
}

.cat-head p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-60);
  max-width: 46ch;
}

.cat-media {
  grid-area: media;
  overflow: hidden;
  background: var(--paper-2);
}

.cat-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.cat-media--flat {
  display: flex;
  align-items: center;
  padding: clamp(24px, 3vw, 44px);
  min-height: 220px;
  background: var(--paper-3);
}

.cat-quote {
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.42;
  letter-spacing: -0.01em;
  max-width: 30ch;
}

.cat-spec {
  grid-area: spec;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}

.cat-spec span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
  font-weight: 600;
  margin-bottom: 5px;
}

.cat-spec b {
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

@media (max-width: 860px) {
  .cat {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "media" "spec";
  }
  .cat-spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .cat-media img {
    aspect-ratio: 16 / 11;
  }
}


/* ---------- Chinese typography tweaks ---------- */

html[lang="zh-CN"] body {
  letter-spacing: 0;
}

html[lang="zh-CN"] .h1,
html[lang="zh-CN"] .h2,
html[lang="zh-CN"] .h3,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  letter-spacing: 0;
  line-height: 1.16;
  font-weight: 600;
}

html[lang="zh-CN"] .h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.12;
}

html[lang="zh-CN"] .h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.18;
}

html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.08em;
}

html[lang="zh-CN"] .lede,
html[lang="zh-CN"] .card p,
html[lang="zh-CN"] .step p,
html[lang="zh-CN"] .split-list li {
  line-height: 1.75;
}

html[lang="zh-CN"] .hero-copy {
  max-width: 600px;
}

html[lang="zh-CN"] .page-h1 {
  max-width: 20ch;
}

/* ---------- product grids ---------- */

.p-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}

.p-card {
  display: block;
  min-width: 0;
}

.p-media {
  position: relative;
  overflow: hidden;
  background: #edeae3;
  aspect-ratio: 2 / 3;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  transition: transform 0.9s var(--ease);
}

.p-card:hover .p-media img {
  transform: scale(1.035);
}

.p-code {
  display: block;
  margin-top: 12px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-42);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.p-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 5px 0 4px;
}

.p-note {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-60);
  margin: 0 0 10px;
}

.p-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-42);
}

.cat-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 14px;
  margin: 0 0 20px;
}

.cat-head-row h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.cat-head-row span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-42);
}

.cat-block {
  padding: 44px 0 8px;
}

.cat-block:first-of-type {
  padding-top: 8px;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}

.chips a {
  font-size: 12.5px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.chips a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

@media (max-width: 1080px) {
  .p-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .p-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }
  .p-name {
    font-size: 14px;
  }
  .p-note {
    display: none;
  }
  .p-meta {
    gap: 10px;
    font-size: 10px;
  }
}

/* ---------- split hero (no full-bleed photo) ---------- */

.hero.hero--split {
  min-height: 0;
  display: block;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.hero--split .hero-copy {
  max-width: 600px;
}

.hero-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.hero-stack figure {
  margin: 0;
  background: #edeae3;
  overflow: hidden;
}

.hero-stack img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
}

.hero-stack figure:nth-child(2) {
  margin-top: 42px;
}

/* ---------- line cards ---------- */

.line-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.line-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}

.line-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(18, 15, 12, 0.78) 0%, rgba(18, 15, 12, 0.1) 58%, rgba(18, 15, 12, 0) 78%);
}

.line-card:hover img {
  transform: scale(1.04);
}

.line-card .lc-top {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.line-card h3 {
  font-size: 23px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.line-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0.82;
  max-width: 30ch;
}

.line-card .lc-cta {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
  width: fit-content;
}

@media (max-width: 1080px) {
  .line-grid {
    grid-template-columns: 1fr;
  }
  .line-card {
    min-height: 300px;
  }
}

@media (max-width: 860px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-stack {
    order: 2;
  }
  .hero-stack figure:nth-child(2) {
    margin-top: 24px;
  }
}


/* ---------- filter chips ---------- */

.chips button {
  font: inherit;
  font-size: 12.5px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-70);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}

.chips button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chips button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.p-card.is-hidden {
  display: none;
}

.p-grid {
  grid-auto-rows: auto;
}


/* ---------- hero + line card refinements ---------- */

.hero--split .h1 {
  font-size: clamp(38px, 4.9vw, 66px);
  line-height: 1.02;
}

.line-card {
  justify-content: flex-end;
  min-height: 420px;
}

.line-card::after {
  background: linear-gradient(0deg, rgba(16, 14, 12, 0.9) 0%, rgba(16, 14, 12, 0.55) 46%, rgba(16, 14, 12, 0.12) 74%, rgba(16, 14, 12, 0.28) 100%);
}

.line-card img {
  object-position: 50% 10%;
}

.line-card .lc-top {
  position: absolute;
  top: 20px;
  left: 24px;
}

.line-card h3 {
  font-size: 22px;
}

@media (max-width: 1080px) {
  .line-card {
    min-height: 340px;
  }
}


/* ---------- stock badge ---------- */

.p-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  background: rgba(248, 246, 241, 0.92);
  color: var(--ink);
  backdrop-filter: blur(4px);
}

/* ---------- legal / long-form prose ---------- */

.legal {
  max-width: 74ch;
}

.legal h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 46px 0 12px;
  padding-top: 0;
  border-top: 0;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-70);
  margin: 0 0 12px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 18px;
}

.legal li {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-70);
  margin: 0 0 8px;
}

.legal b {
  color: var(--ink);
  font-weight: 600;
}

.legal a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.legal a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
