/* Hong Huasheng Bleach & Dyeing — site styles
   One token set; Archivo (variable width + weight) is the only typeface. */

:root {
  --paper: #f2f4f1;
  --mist: #e3e9e4;
  --line: #c8d1cb;
  --ink: #17221d;
  --ink-2: #4a5651;
  --green: #1f5a43;
  --green-hover: #174734;
  --green-deep: #11392b;
  --on-green: #f2f4f1;
  --indigo: #1e2b57;
  --destructive: #a3261b;

  /* denim shade band, rigid to tinted */
  --shade-rigid: #161d3a;
  --shade-rinse: #1f2a55;
  --shade-enzyme: #2c3f78;
  --shade-stone: #3e5894;
  --shade-enzyme-stone: #5873ab;
  --shade-snow: #7590c2;
  --shade-acid: #97abd0;
  --shade-tint: #5d6f72;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-zh: "Archivo", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 5.25rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-control: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-variation-settings: "wdth" 112; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); font-variation-settings: "wdth" 110; }
h3 { font-size: var(--step-1); font-variation-settings: "wdth" 104; line-height: 1.2; letter-spacing: -0.005em; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { top: 10px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(64px, 9vw, 128px); }
.section--tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.section--mist { background: var(--mist); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }
.zh { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; letter-spacing: 0.04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: var(--radius-control);
  font: inherit; font-weight: 640; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: var(--green-hover); }
.btn--light { background: var(--paper); color: var(--green-deep); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link {
  font-weight: 620; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 4px; text-decoration-color: var(--green);
}
.text-link:hover { color: var(--green); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(242, 244, 241, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(23, 34, 29, .35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; grid-template-rows: repeat(3, 6px); gap: 3px; width: 30px; flex: none; }
.brand-mark span { display: block; border-radius: 1px; }
.brand-mark span:nth-child(1) { background: var(--shade-rinse); }
.brand-mark span:nth-child(2) { background: var(--shade-stone); }
.brand-mark span:nth-child(3) { background: var(--green); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-size: 1.0625rem; font-weight: 780; font-variation-settings: "wdth" 118; letter-spacing: 0.01em; }
.brand-name small { font-size: .78rem; color: var(--ink-2); font-weight: 500; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a { text-decoration: none; font-weight: 560; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--green); }
.nav a[aria-current="page"]:not(.btn) { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 4px; }
.nav .btn { min-height: 42px; padding: 0 18px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 1.5px solid var(--ink); border-radius: var(--radius-control); background: transparent;
    font: inherit; font-weight: 620; color: var(--ink); cursor: pointer;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: none; padding-bottom: 14px; }
  .nav .btn { margin-top: 16px; min-height: 48px; }
}

/* ---------- home hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
.hero-figure figcaption { margin-top: 10px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure img { aspect-ratio: 3 / 2; }
}

figcaption { font-size: var(--step--1); color: var(--ink-2); line-height: 1.45; }

/* ---------- shade band ---------- */
.shade-band { margin-top: clamp(48px, 7vw, 96px); }
.shade-strip { display: grid; grid-template-columns: repeat(8, 1fr); height: clamp(150px, 20vw, 260px); }
.shade {
  position: relative; display: flex; align-items: flex-end;
  padding: 14px clamp(10px, 1.2vw, 18px);
  color: #fff; text-decoration: none; overflow: hidden;
  transform-origin: bottom;
  background-color: var(--c);
  background-image: repeating-linear-gradient(-58deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px),
                    repeating-linear-gradient(32deg, rgba(0,0,0,.08) 0 1px, transparent 1px 5px);
}
.shade span { font-size: clamp(.76rem, .6rem + .45vw, .95rem); font-weight: 620; line-height: 1.2; font-variation-settings: "wdth" 96; }
.shade--light { color: var(--ink); }
.shade--snow { background-image: url("../img/tex-snow.png"), repeating-linear-gradient(-58deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px); background-size: 260px 260px, auto; }
.shade--acid { background-image: url("../img/tex-acid.png"), repeating-linear-gradient(-58deg, rgba(255,255,255,.1) 0 1px, transparent 1px 4px); background-size: 240px 240px, auto; }
.shade::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.0); transition: background-color .2s ease; }
.shade:hover::after, .shade:focus-visible::after, .shade.is-active::after { background: rgba(255,255,255,.08); }
.shade:focus-visible { outline-offset: -4px; outline-color: #fff; }
.shade-caption {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline;
  padding-top: 16px; min-height: 3.6em;
}
.shade-caption p { margin: 0; color: var(--ink-2); }
.shade-caption strong { color: var(--ink); font-weight: 650; }
@media (hover: none) { .hover-hint { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .js .shade { animation: dip .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
  @keyframes dip { from { transform: scaleY(.08); filter: saturate(.2) brightness(1.6); } to { transform: none; filter: none; } }
}
@media (max-width: 720px) {
  .shade-strip { grid-template-columns: repeat(4, 1fr); height: auto; }
  .shade { min-height: 104px; }
  .shade-caption { grid-template-columns: 1fr; }
}

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); margin: 0; }
.fact { padding: 22px 20px 0 0; margin: 0; }
.fact + .fact { padding-left: 20px; border-left: 1px solid var(--line); }
.fact dt { order: 2; color: var(--ink-2); font-size: var(--step--1); line-height: 1.4; margin-top: 8px; }
.fact dd { margin: 0; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); font-weight: 700; line-height: 1; font-variation-settings: "wdth" 125; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact dd small { font-size: .45em; font-weight: 600; letter-spacing: 0; font-variation-settings: "wdth" 100; margin-left: .25em; }
.fact { display: flex; flex-direction: column; }
@media (max-width: 960px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .fact + .fact { padding: 20px 0 20px; border-left: 0; border-bottom: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .fact:last-child { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
}

/* ---------- section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- service split ---------- */
.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.service + .service { margin-top: clamp(56px, 8vw, 112px); }
.service--flip .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.service-media figcaption { margin-top: 10px; }
.service-body h3 { font-size: var(--step-2); font-variation-settings: "wdth" 108; letter-spacing: -0.015em; line-height: 1.1; }
.service-body p { margin-top: 18px; color: var(--ink-2); }
.service-body .text-link { display: inline-block; margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-control); padding: 5px 11px; font-size: .9rem; font-weight: 540; }
.section--mist .chips li { background: var(--paper); border-color: var(--line); }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service--flip .service-media { order: 0; }
}

/* ---------- process (a real sequence) ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process li { padding: 24px 24px 0 0; border-top: 1.5px solid var(--ink); counter-increment: step; }
.process li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.process li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 700; font-variation-settings: "wdth" 125; line-height: 1; color: var(--green); margin-bottom: 18px; }
.process h3 { margin-bottom: 10px; }
.process p { color: var(--ink-2); font-size: .98rem; }
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; row-gap: 28px; }
  .process li, .process li + li { padding-left: 0; border-left: 0; }
}

/* ---------- feature (photo + text, full bleed on one side) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(420px, 46vw, 640px); background: var(--green-deep); color: var(--on-green); }
.feature-media { position: relative; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(40px, 6vw, 96px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 680px; }
.feature-body h2 { font-size: var(--step-3); }
.feature-body p { margin-top: 22px; color: #cfdcd4; }
.feature-body .btn, .feature-body .text-link { margin-top: 28px; align-self: flex-start; }
.feature-body .text-link { text-decoration-color: #9fc3b2; }
.feature-body .text-link:hover { color: #fff; }
.feature-body figcaption { color: #a9bdb2; margin-top: 28px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 280px; }
}

/* ---------- labels grid ---------- */
.labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.labels li { margin: 0; }
.labels figure { margin: 0; }
.labels img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: var(--radius-sm); filter: grayscale(1) contrast(1.05); transition: filter .25s ease; background: var(--mist); }
.labels li:hover img { filter: none; }
.labels figcaption { margin-top: 8px; color: var(--ink); font-weight: 560; font-size: .92rem; }
@media (max-width: 900px) { .labels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .labels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: var(--on-green); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; }
.cta-band h2 { font-size: var(--step-3); max-width: 18ch; }
.cta-band p { margin-top: 16px; color: #d7e5dd; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- inner page header ---------- */
.page-head { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(36px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.4rem); max-width: 18ch; }
.page-head .lede { margin-top: 24px; }
.page-head .crumb { display: inline-block; margin-bottom: 18px; color: var(--ink-2); font-size: var(--step--1); font-weight: 560; text-decoration: none; }
.page-head .crumb:hover { color: var(--green); }

/* ---------- two column prose block ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.split > div > p { color: var(--ink-2); }
.split h2 { font-size: var(--step-2); font-variation-settings: "wdth" 108; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- tech list (definition rows) ---------- */
.spec { margin: 0; border-top: 1.5px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 640; }
.spec dd { margin: 0; color: var(--ink-2); }

/* ---------- techniques grid ---------- */
.tech-group + .tech-group { margin-top: clamp(48px, 6vw, 80px); }
.tech-group > h3 { font-size: var(--step-2); font-variation-settings: "wdth" 108; margin-bottom: 8px; }
.tech-group > p { color: var(--ink-2); margin-bottom: 28px; }
.techs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.tech-swatch { height: 96px; border-radius: var(--radius-sm); background-color: var(--c); background-image: repeating-linear-gradient(-58deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px), repeating-linear-gradient(32deg, rgba(0,0,0,.08) 0 1px, transparent 1px 5px); }
.tech-swatch.shade--snow, .tech-swatch.shade--acid { background-color: var(--c); }
.techs h4 { font-size: 1.06rem; font-weight: 680; margin: 14px 0 6px; font-variation-settings: "wdth" 104; }
.techs p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.tech-photo { height: 96px; width: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.tech-glyph { height: 96px; border-radius: var(--radius-sm); background: var(--indigo); display: grid; place-items: center; }
.tech-glyph svg { width: 64px; height: 64px; }
.techs--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .techs, .techs--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .techs, .techs--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- equipment table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.equip { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 460px; }
.equip caption { text-align: left; color: var(--ink-2); font-size: var(--step--1); padding-bottom: 12px; }
.equip th, .equip td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.equip thead th { border-bottom: 1.5px solid var(--ink); font-size: var(--step--1); font-weight: 650; color: var(--ink-2); }
.equip td.num, .equip th.num { text-align: right; padding-right: 0; }
.equip tbody th { font-weight: 600; }
.equip tr.group th { padding-top: 26px; font-size: var(--step--1); color: var(--ink-2); font-weight: 650; border-bottom: 1.5px solid var(--ink); }
.equip .bar { display: block; height: 8px; width: var(--w, 0); background: var(--shade-stone); border-radius: 1px; min-width: 3px; transform-origin: left; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal .equip .bar { transform: scaleX(0); }
.reveal.is-in .equip .bar { transform: scaleX(1); }
.equip td.bar-cell { width: 34%; padding-left: 14px; padding-right: 24px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gallery li { grid-column: span 2; }
.gallery li.wide { grid-column: span 3; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption { margin-top: 8px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery li, .gallery li.wide { grid-column: span 1; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- checklist ---------- */
.checks { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.checks li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-aside h2 { font-size: var(--step-1); font-variation-settings: "wdth" 104; margin-bottom: 14px; }
.contact-aside .checks { margin-bottom: 40px; }
.contact-aside address { font-style: normal; color: var(--ink-2); }
.contact-aside address strong { color: var(--ink); display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { order: 2; } }

/* ---------- form ---------- */
.qform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(22px, 3.4vw, 44px); }
.qform-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.qfield { display: flex; flex-direction: column; min-width: 0; }
.qfield--full { grid-column: 1 / -1; }
.qfield > label, .qfield > .qlabel { font-weight: 620; font-size: .97rem; margin-bottom: 7px; }
.qfield fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qfield legend { font-weight: 620; font-size: .97rem; margin-bottom: 10px; padding: 0; }
.req { color: var(--destructive); margin-left: 3px; }
.req-text { color: var(--ink-2); font-weight: 500; font-size: .85rem; margin-left: 6px; }
.qinput, .qselect, .qtextarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: var(--radius-control); background: var(--paper);
  font: inherit; font-size: 1rem; color: var(--ink);
}
.qtextarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.qselect { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.qinput:hover, .qselect:hover, .qtextarea:hover { border-color: #9fada5; }
.qinput:focus, .qselect:focus, .qtextarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 90, 67, .18); background: #fff; }
.qinput[aria-invalid="true"], .qselect[aria-invalid="true"], .qtextarea[aria-invalid="true"] { border-color: var(--destructive); }
.qchoices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.qchoice { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-control); background: var(--paper); cursor: pointer; line-height: 1.35; }
.qchoice:hover { border-color: #9fada5; }
.qchoice input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); flex: none; }
.qchoice:has(input:checked) { border-color: var(--green); background: #eef4f0; }
.qchoice:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.qhelp { color: var(--ink-2); font-size: .88rem; margin: 6px 0 0; }
.qerror { color: var(--destructive); font-size: .9rem; font-weight: 560; margin: 6px 0 0; min-height: 0; }
.qerror:empty { display: none; }
.qform-error { color: var(--destructive); font-weight: 600; margin: 20px 0 0; }
.qform-error:empty { display: none; }
.qactions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.qactions .btn { min-width: 200px; }
.qnote { color: var(--ink-2); font-size: .88rem; margin: 0; }
.qaddress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.qaddress .qfield { gap: 0; }
.qdisabled { color: var(--ink-2); font-style: italic; }
.qskeleton { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.qskeleton span { display: block; height: 76px; border-radius: var(--radius-control); background: linear-gradient(90deg, var(--mist), #edf1ee, var(--mist)); background-size: 200% 100%; }
.qskeleton span.full { grid-column: 1 / -1; height: 150px; }
@media (prefers-reduced-motion: no-preference) { .qskeleton span { animation: shimmer 1.4s linear infinite; } @keyframes shimmer { to { background-position: -200% 0; } } }
.qdone h2 { font-size: var(--step-2); font-variation-settings: "wdth" 108; margin-bottom: 16px; }
.qdone p { color: var(--ink-2); }
.qdone .btn { margin-top: 20px; }
@media (max-width: 640px) {
  .qform-fields, .qchoices, .qaddress, .qskeleton { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d1cc; padding: clamp(48px, 6vw, 80px) 0 32px; }
.site-footer a { color: #e8ece9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; }
.footer-grid h2 { font-size: 1rem; color: #fff; font-variation-settings: "wdth" 100; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-name { color: #fff; font-weight: 720; font-variation-settings: "wdth" 115; font-size: 1.2rem; line-height: 1.2; margin-bottom: 6px; max-width: 22ch; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid #34413b; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step--1); color: #9aa69f; }
.site-footer .brand-mark span:nth-child(3) { background: #3f8f6d; }
.footer-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.site-footer .client-login { display: inline-flex; align-items: center; min-height: 32px; color: #9aa69f; font-size: .75rem; white-space: nowrap; }
.site-footer .client-login:hover { color: #fff; }
.site-footer .client-login:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   v2: bilingual chrome, kicker, crumbs, interactive components
   ===================================================================== */

/* ---------- Chinese typography ---------- */
:lang(zh) body, body[data-lang="zh"] { font-family: var(--font-zh); line-height: 1.75; letter-spacing: .01em; }
body[data-lang="zh"] h1, body[data-lang="zh"] h2, body[data-lang="zh"] h3, body[data-lang="zh"] h4 { font-family: var(--font-zh); letter-spacing: 0; line-height: 1.25; font-weight: 800; }
body[data-lang="zh"] h1 { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.18; }
body[data-lang="zh"] .page-head h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.8rem); }
body[data-lang="zh"] .lede { line-height: 1.7; }
body[data-lang="zh"] p { max-width: 42em; }
body[data-lang="zh"] .shade span { font-variation-settings: normal; letter-spacing: .02em; }
body[data-lang="zh"] .hero h1 { max-width: 11em; }
body[data-lang="zh"] .brand-name strong { font-variation-settings: normal; letter-spacing: .08em; font-weight: 800; }
body[data-lang="zh"] .footer-name { font-variation-settings: normal; letter-spacing: .02em; }
[lang="zh-Hans"] { font-family: var(--font-zh); }

/* ---------- header tools: language switch ---------- */
.site-header .wrap { flex-wrap: nowrap; }
.header-tools { display: flex; align-items: center; gap: 10px; order: 3; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 10px;
  border: 1.5px solid var(--line); border-radius: var(--radius-control); text-decoration: none; font-weight: 650; font-size: .92rem;
}
.lang-switch:hover { border-color: var(--ink); }
@media (min-width: 901px) { .nav { order: 2; margin-left: auto; } .header-tools { order: 3; } }
@media (max-width: 900px) { .header-tools { margin-left: auto; } }

.lang-offer {
  position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--paper); border-radius: var(--radius-md); box-shadow: 0 16px 40px -18px rgba(0,0,0,.6);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.lang-offer.is-in { transform: translate(-50%, 0); }
.lang-offer p { margin: 0; }
.lang-offer .btn { min-height: 40px; padding: 0 14px; }
.lang-offer-close { background: none; border: 0; color: var(--paper); font-size: 1.4rem; line-height: 1; width: 36px; height: 36px; cursor: pointer; }

/* ---------- kicker, crumbs, wide figure ---------- */
.kicker { color: var(--green); font-weight: 650; font-size: 1rem; margin: 0 0 18px; max-width: 46ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: var(--step--1); color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.wide-figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-sm); }
.wide-figure figcaption { margin-top: 10px; }
@media (max-width: 700px) { .wide-figure img { aspect-ratio: 4 / 3; } }

/* ---------- hero entrance (one orchestrated moment) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .18s; }
  .js .hero-copy > :nth-child(4) { animation-delay: .28s; }
  .js .hero-figure { animation: unveil 1.1s cubic-bezier(.2,.7,.2,1) .1s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- dark checklist on green feature ---------- */
.checks--dark { border-top-color: #9fc3b2; margin-top: 24px; }
.checks--dark li { border-bottom-color: rgba(255,255,255,.14); color: #e3ece7; }
.checks--dark li::before { border-color: #9fd3b8; }

/* ---------- process progress ---------- */
.process[data-progress] { position: relative; border-top: 0; }
.process[data-progress]::before, .process[data-progress]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--line); }
.process[data-progress]::after { background: var(--green); height: 3px; top: -1px; transform-origin: left; transform: scaleX(var(--p, 0)); }
.process[data-progress] li { border-top: 0; }
.process[data-progress] li::before { color: var(--line); transition: color .4s ease, transform .4s ease; }
.process[data-progress] li.is-on::before { color: var(--green); }
.process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .process--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } .process--5 li:nth-child(4) { padding-left: 0; border-left: 0; } }
@media (max-width: 960px) { .process[data-progress]::after, .process[data-progress]::before { display: none; } .process[data-progress] li { border-top: 1.5px solid var(--line); } .process[data-progress] li.is-on { border-top-color: var(--green); } }
@media (max-width: 560px) { .process--5 { grid-template-columns: 1fr; } .process--5 li { padding-left: 0 !important; border-left: 0 !important; } }

/* ---------- supply chain ---------- */
.chain { position: relative; padding-top: 8px; }
.chain-toggle { display: inline-flex; gap: 6px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius-control) + 4px); margin-bottom: 36px; }
.chip-btn { border: 0; background: transparent; padding: 8px 16px; border-radius: var(--radius-control); font: inherit; font-weight: 620; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chain-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 1; }
.chain-step { text-align: center; padding: 0 4px; }
.chain-dot {
  display: block; width: 22px; height: 22px; margin: 0 auto 22px; border-radius: 50%; cursor: pointer;
  background: var(--paper); border: 2px solid var(--line); transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}
.chain-dot:hover { border-color: var(--ink); }
.chain-step.is-done .chain-dot, .chain-step.is-active .chain-dot { border-color: var(--green); background: var(--green); }
.chain-step.is-active .chain-dot { transform: scale(1.25); }
.chain-step h3 { font-size: 1.08rem; margin-bottom: 6px; transition: color .3s ease; }
.chain-step p { font-size: .92rem; color: var(--ink-2); margin: 0 auto; max-width: 22ch; }
.chain-step--us h3 { color: var(--green); }
.chain-step--us .chain-dot { width: 30px; height: 30px; margin-top: -4px; margin-bottom: 18px; border-width: 3px; border-color: var(--green); }
.chain-step--us { position: relative; }
.chain-step--us::before { content: ""; position: absolute; inset: -18px -6px -16px; background: #fff; border: 1.5px solid var(--green); border-radius: var(--radius-md); z-index: -1; }
.chain-track { position: absolute; z-index: 0; background: var(--line); pointer-events: none; }
.chain-fill { position: absolute; inset: 0; background: var(--green); transition: transform 1.2s cubic-bezier(.4,0,.2,1); }
.chain-token {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; z-index: 3;
  display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.5);
  transition: transform 1.2s cubic-bezier(.4,0,.2,1), border-color .4s ease;
}
.chain-token svg { width: 26px; height: 26px; display: none; fill: var(--token, #fff); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transition: fill .6s ease; }
.chain-token[data-kind="order"] .token-order, .chain-token[data-kind="knit"] .token-knit, .chain-token[data-kind="denim"] .token-denim { display: block; }
.chain-token .token-order { fill: none; }
.chain-token.is-dyed { border-color: var(--green); }
@media (prefers-reduced-motion: no-preference) { .chain-token.is-dyed svg { animation: dip-in .7s ease; } @keyframes dip-in { 0% { transform: scale(1); } 40% { transform: scale(.82); } 100% { transform: scale(1); } } }
.chain.no-anim .chain-token, .chain.no-anim .chain-fill { transition: none; }
.chain-more { margin-top: 40px; }
@media (max-width: 860px) {
  .chain-steps { grid-template-columns: 1fr; gap: 26px; padding-left: 0; }
  .chain-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .chain-dot, .chain-step--us .chain-dot { grid-row: 1 / span 2; margin: 2px auto 0; }
  .chain-step p { margin: 0; max-width: none; }
  .chain-step--us::before { inset: -12px -10px -12px -8px; }
}

/* ---------- audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 40px); }
.audience h3 { font-size: var(--step-2); font-variation-settings: "wdth" 108; letter-spacing: -0.015em; }
.audience > p { color: var(--ink-2); margin: 12px 0 22px; }
@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faqs { border-top: 1.5px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 20px 48px 20px 0;
  font-weight: 650; font-size: 1.08rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .3s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq-a { padding: 0 0 22px; color: var(--ink-2); }
@supports (interpolate-size: allow-keywords) {
  .faqs { interpolate-size: allow-keywords; }
  .faq::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
  .faq[open]::details-content { height: auto; }
}

/* ---------- jeans illustration / wash builder ---------- */
.jeans-stage { position: relative; width: 100%; max-width: 360px; margin: 0 auto; }
.jeans-stage--auto { max-width: 300px; }
.jeans-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 22px 26px rgba(23, 34, 29, .22)); }
.jeans-svg .j-base, .jeans-svg .j-band, .jeans-svg .j-loops { transition: fill .8s ease; }
.jeans-svg .j-fade, .jeans-svg .j-tex, .jeans-svg .j-fin { transition: opacity .7s ease; }
.jeans-svg .j-tex, .jeans-svg .j-fin { opacity: 0; }
.service-media .jeans-stage--auto { padding: 28px 0 8px; background: radial-gradient(ellipse at 50% 60%, #e3e9e4, transparent 70%); }
.jeans-caption { text-align: center; margin: 14px 0 0; min-height: 1.6em; font-weight: 600; }
.builder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.builder-stage { background: radial-gradient(ellipse at 50% 55%, #fff 0, #fff 30%, transparent 72%); padding: 12px 0; }
.builder-group { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.builder-group legend { font-weight: 680; margin-bottom: 12px; padding: 0; }
.builder-options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-control); background: var(--paper); cursor: pointer; font-weight: 560; font-size: .95rem; transition: border-color .15s ease, background-color .15s ease; }
.opt:hover { border-color: #9fada5; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.opt-swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); flex: none; }
.builder-summary { border-top: 1.5px solid var(--ink); padding-top: 16px; margin: 8px 0 22px; min-height: 6.5em; }
.builder-look { font-weight: 680; font-size: 1.1rem; margin-bottom: 6px; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; } .jeans-stage { max-width: 260px; } }

/* ---------- lot planner ---------- */
.planner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(22px, 3.4vw, 44px); }
.planner-form { display: grid; gap: 18px; align-content: start; }
.planner-total { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 720; font-variation-settings: "wdth" 112; line-height: 1.15; margin-bottom: 8px; }
.planner-fit { color: var(--ink); font-weight: 560; min-height: 3em; }
.planner-machines { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 5px; font-variant-numeric: tabular-nums; }
.planner-machines li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding: 4px 8px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink-2); transition: background-color .3s ease, color .3s ease; }
.pm-bar { display: block; height: 8px; background: var(--mist); border-radius: 1px; }
.pm-bar span { display: block; height: 100%; background: #b9c4be; border-radius: 1px; transition: background-color .3s ease; }
.pm-count { text-align: right; }
.planner-machines li.is-pick { background: #eef4f0; color: var(--ink); font-weight: 650; }
.planner-machines li.is-pick .pm-bar span { background: var(--green); }
@media (max-width: 860px) { .planner { grid-template-columns: 1fr; } }

/* ---------- gallery lightbox ---------- */
[data-gallery] img { cursor: zoom-in; transition: transform .4s ease, filter .3s ease; }
[data-gallery] li { overflow: hidden; border-radius: var(--radius-sm); }
[data-gallery] figure { overflow: hidden; }
[data-gallery] li:hover img { filter: brightness(1.05); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 16, 13, .86); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #dfe7e2; text-align: center; margin-top: 12px; font-size: .95rem; }
.lb-btn { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -24px; }
.lb-next { right: 18px; top: 50%; margin-top: -24px; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: lb-in .28s ease; } @keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } } }

/* ---------- contact look note, footer alt ---------- */
.look-note { background: #eef4f0; border: 1px solid #b9d3c5; border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 16px; font-weight: 560; }
.footer-alt { color: #c9d1cc; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chain-token, .chain-fill, .jeans-svg * { transition: none !important; }
}
.nw { display: inline-block; white-space: nowrap; }
.brand { min-width: 0; }
.brand-name strong, .brand-name small, .lang-switch, .nav-toggle { white-space: nowrap; }
@media (max-width: 420px) {
  .brand { gap: 9px; }
  .brand-mark { width: 24px; grid-template-rows: repeat(3, 5px); }
  .brand-name strong { font-size: .95rem; }
  .brand-name small { font-size: .7rem; }
  .header-tools { gap: 6px; }
  .lang-switch { min-width: 38px; padding: 0 8px; }
  .nav-toggle { padding: 0 11px; }
}

/* =====================================================================
   v3: GPT imagery
   ===================================================================== */
.illus {
  display: inline-block; margin-left: 6px; padding: 1px 7px; vertical-align: 1px;
  border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .02em; opacity: .75; white-space: nowrap;
}
.step-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 18px; filter: saturate(.92); transition: filter .4s ease; }
.process li.is-on .step-img { filter: none; }
.process[data-progress] li::before { margin-top: 0; }
.fibres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fibres figure { margin: 0; }
.fibres img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fibres li { overflow: hidden; border-radius: var(--radius-sm); }
.fibres li:hover img { transform: scale(1.04); }
.fibres figcaption { margin-top: 10px; font-weight: 620; color: var(--ink); font-size: .98rem; }
.fibres-note { margin-top: 12px; }
@media (max-width: 760px) { .fibres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tech-img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--mist); }
.techs li { overflow: hidden; }
.audience-media { margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 28px; }
.audience-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.audience-media figcaption { padding: 10px clamp(24px, 3vw, 40px) 0; }
.audience { overflow: hidden; }
.send-media { margin-top: 32px; }
.send-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.send-media figcaption { margin-top: 10px; }
.split--center { align-items: center; }
.footer-note { font-size: var(--step--1); color: #9aa69f; margin: 36px 0 0; max-width: 80ch; }

/* before / after slider */
.compare { position: relative; overflow: hidden; border-radius: var(--radius-md); background: #e9ecea; --pos: 50%; touch-action: pan-y; user-select: none; }
.compare img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; pointer-events: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-after img { height: 100%; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(23,34,29,.15); pointer-events: none; }
.compare-handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317221d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.4);
}
.compare-label { position: absolute; top: 14px; padding: 4px 10px; border-radius: var(--radius-control); background: rgba(23,34,29,.78); color: #fff; font-size: .85rem; font-weight: 620; pointer-events: none; }
.compare-label--a { left: 14px; }
.compare-label--b { right: 14px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(.compare-range:focus-visible) .compare-handle::after { outline: 3px solid var(--green); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .compare.is-hint .compare-after, .compare.is-hint .compare-handle { transition: clip-path 1s cubic-bezier(.4,0,.2,1), left 1s cubic-bezier(.4,0,.2,1); } }

/* =====================================================================
   v4: one-page home
   ===================================================================== */
main section[id] { scroll-margin-top: 84px; }
.hero-mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 5 / 4; }
.hero-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); }
.hero-mosaic .m-main { grid-row: 1 / span 2; }
.hero-mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-mosaic figure:hover img { transform: scale(1.03); }
.hero-mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: var(--radius-control);
  background: rgba(23,34,29,.72); color: #fff; font-size: .8rem; font-weight: 560;
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero-mosaic figure { animation: unveil 1s cubic-bezier(.2,.7,.2,1) both; }
  .js .hero-mosaic .m-a { animation-delay: .15s; }
  .js .hero-mosaic .m-b { animation-delay: .3s; }
}
@media (max-width: 900px) { .hero-mosaic { aspect-ratio: 4 / 3; } }

/* photo strip */
.strip { position: relative; }
.strip-track {
  list-style: none; margin: 0; padding: 4px var(--gutter) 8px; display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 30vw, 440px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter); scrollbar-width: thin; scrollbar-color: #b9c4be transparent; cursor: grab;
}
.strip-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip-track.is-dragging img { pointer-events: none; }
.strip-track li { scroll-snap-align: start; }
.strip-track figure { margin: 0; }
.strip-track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); user-select: none; -webkit-user-drag: none; }
.strip-track figcaption { margin-top: 8px; }
.strip-track:focus-visible { outline-offset: -3px; }
.strip-controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.strip-controls .text-link { margin-left: auto; }
.strip-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.strip-btn:hover { background: var(--ink); color: var(--paper); }
.strip-btn[disabled] { opacity: .3; cursor: default; background: transparent; color: var(--ink); }

/* services detail on home */
.spec--compact { margin-top: 20px; }
.spec--compact > div { grid-template-columns: minmax(0, 2fr) minmax(0, 4fr); padding: 10px 0; }
.chips-label { font-weight: 650; margin: 20px 0 0; color: var(--ink); }
.chips-label + .chips { margin-top: 10px; }
.service-body .spec + .text-link, .service-body .chips + .text-link { margin-top: 22px; }

/* compliance photo pair */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo figure { margin: 0; }
.duo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
.duo figure:nth-child(2) { margin-top: 48px; }
.duo figcaption { margin-top: 8px; }
@media (max-width: 560px) { .duo figure:nth-child(2) { margin-top: 24px; } }

.contact-aside h3 { font-size: var(--step-1); font-variation-settings: "wdth" 104; margin-bottom: 14px; }
body[data-lang="zh"] .contact-aside h3 { font-variation-settings: normal; }
.hero-grid:has(.hero-mosaic) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.hero-grid:has(.hero-mosaic) h1 { font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.4rem); }
.hero-mosaic { aspect-ratio: 6 / 5; }
@media (max-width: 900px) { .hero-grid:has(.hero-mosaic) { grid-template-columns: 1fr; } .hero-mosaic { aspect-ratio: 4 / 3; } }

/* =====================================================================
   v5: mobile refinement
   ===================================================================== */
.strip-bar { flex: 1; max-width: 220px; height: 2px; background: var(--line); position: relative; border-radius: 2px; overflow: hidden; }
.strip-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 20%); background: var(--ink); transform: translateX(var(--x, 0)); transition: transform .15s linear; }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .site-header .wrap { min-height: 64px; }
  /* full-screen menu */
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 64px); overflow-y: auto;
    padding: 12px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border-bottom: 0;
    flex-direction: column; justify-content: flex-start; background: var(--paper);
  }
  .nav a:not(.btn) {
    padding: 18px 0; font-size: 1.55rem; font-weight: 700; font-variation-settings: "wdth" 110; letter-spacing: -0.01em;
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav a:not(.btn)::after { content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--green); padding-bottom: 18px; }
  .nav .btn { margin-top: auto; min-height: 54px; font-size: 1.05rem; }
  html.menu-open { overflow: hidden; }
  @media (prefers-reduced-motion: no-preference) {
    .nav.is-open > * { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
    .nav.is-open > :nth-child(2) { animation-delay: .04s; } .nav.is-open > :nth-child(3) { animation-delay: .08s; }
    .nav.is-open > :nth-child(4) { animation-delay: .12s; } .nav.is-open > :nth-child(5) { animation-delay: .16s; }
  }
  body[data-lang="zh"] .nav a:not(.btn) { font-variation-settings: normal; letter-spacing: .02em; font-size: 1.4rem; }

  /* hero: photos first, edge to edge */
  .hero { padding-top: 0; }
  .hero-grid:has(.hero-mosaic) { gap: 30px; }
  .hero-mosaic {
    order: -1; margin: 0 calc(-1 * var(--gutter)); aspect-ratio: auto;
    grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 3px;
  }
  .hero-mosaic .m-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 11; }
  .hero-mosaic .m-a, .hero-mosaic .m-b { aspect-ratio: 4 / 3; }
  .hero-mosaic figure { border-radius: 0; }
  .hero-mosaic figcaption { left: 12px; bottom: 12px; font-size: .74rem; }

  /* full-bleed service photos */
  .service-media:not(:has(.jeans-stage)) { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .service-media:not(:has(.jeans-stage)) img { border-radius: 0; aspect-ratio: 4 / 3; }
  .service-media figcaption { padding: 0 var(--gutter); }
  .service + .service { margin-top: 56px; }
  .service-body h3 { font-size: 1.6rem; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section--tight { padding-top: 36px; padding-bottom: 36px; }
  h2 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.2rem); }
  .lede { font-size: 1.12rem; line-height: 1.55; }
  .hero .lede { margin-top: 18px; }
  .hero-actions { margin-top: 26px; gap: 12px 22px; }
  .kicker { font-size: .9rem; margin-bottom: 12px; }
  .section-head { gap: 14px; margin-bottom: 30px; }
  .section-head p { font-size: .98rem; }
  .page-head { padding-top: 40px; padding-bottom: 32px; }
  .page-head h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 2.8rem); }

  /* shade band: slimmer tiles */
  .shade { min-height: 82px; padding: 10px; }
  .shade span { font-size: .74rem; }

  /* facts: tighter, still two columns */
  .fact dd { font-size: 2.1rem; }
  .fact dt { font-size: .82rem; }
  .fact, .fact + .fact { padding-top: 16px; padding-bottom: 16px; }

  /* photo strip: wider cards, progress bar instead of arrows on touch */
  .strip-track { grid-auto-columns: 82%; gap: 10px; }
  .strip-track figcaption { font-size: .84rem; }

  /* process: swipe through steps instead of a tall stack */
  .process, .process--5 {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; row-gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none;
  }
  .process::-webkit-scrollbar { display: none; }
  .process li, .process li + li, .process--5 li, .process--5 li + li, .process li:nth-child(3), .process--5 li:nth-child(4) {
    scroll-snap-align: start; padding: 16px 0 0 !important; border-left: 0 !important;
  }
  .process[data-progress] li { border-top: 2px solid var(--line) !important; }
  .process[data-progress] li.is-on { border-top-color: var(--green) !important; }
  .process li::before { font-size: 2rem; margin-bottom: 12px; }
  .process .step-img { aspect-ratio: 3 / 2; }

  /* audience cards */
  .audience { padding: 22px; }
  .audience h3 { font-size: 1.45rem; }
  .audience-media { margin: -22px -22px 22px; }

  /* equipment table: compact */
  table.equip { min-width: 0; }
  .equip th, .equip td { padding: 8px 10px 8px 0; font-size: .93rem; }
  .equip tr.group th { padding-top: 18px; }
  .equip td.bar-cell { width: 34%; padding-left: 10px; }

  .checks li { padding: 11px 0 11px 28px; font-size: .97rem; }
  .checks li::before { top: 17px; }
  .faq summary { font-size: 1rem; padding: 16px 40px 16px 0; }
  .labels { gap: 10px; }
  .labels figcaption { font-size: .84rem; }
  .duo { gap: 8px; }
  .qform { padding: 20px 16px; border-radius: var(--radius-md); }
  .cta-band h2 { font-size: 1.8rem; }
  .footer-grid { gap: 28px 20px; }

  /* sticky quote bar */
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px;
    background: rgba(23, 34, 29, .94); color: var(--paper); border-radius: 12px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.6);
    transform: translateY(160%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .mobile-cta.is-in { transform: none; }
  .mobile-cta p { margin: 0; font-size: .86rem; line-height: 1.3; color: #d9e2dd; }
  .mobile-cta .btn { min-height: 44px; padding: 0 16px; background: var(--paper); color: var(--ink); white-space: nowrap; }
  .lang-offer { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (hover: none) { .strip-btn { display: none; } }

/* v5b: header controls, facts, equipment tiles, sticky bar visibility */
.nav-toggle-icon { position: relative; width: 20px; height: 12px; display: inline-block; }
.nav-toggle-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px; transition: transform .3s cubic-bezier(.2,.8,.2,1), top .3s cubic-bezier(.2,.8,.2,1); }
.nav-toggle-icon i:first-child { top: 0; }
.nav-toggle-icon i:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon i:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon i:last-child { top: 5px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { border: 0; padding: 0 4px 0 10px; gap: 10px; min-width: 44px; justify-content: center; font-size: .95rem; }
  .lang-switch { border: 0; background: var(--mist); min-height: 34px; border-radius: 999px; padding: 0 12px; font-size: .86rem; }
  .lang-switch:hover { background: var(--line); }
}
@media (max-width: 420px) {
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 0; width: 44px; }
}

@media (max-width: 760px) {
  .mobile-cta { opacity: 0; visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility 0s linear .35s; }
  .mobile-cta.is-in { opacity: 1; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease; }

  .fact:last-child { flex-direction: row; align-items: center; gap: 18px; }
  .fact:last-child dt { margin-top: 0; max-width: 22ch; }

  /* equipment table becomes a grid of tiles */
  .equip thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.equip, .equip tbody { display: block; }
  .equip tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .equip tr { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 8px; padding: 13px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
  .equip tr.group { grid-column: 1 / -1; display: block; background: none; border: 0; border-radius: 0; padding: 18px 0 2px; }
  .equip tr.group:first-child { padding-top: 0; }
  .equip th, .equip td, .equip tr.group th { border: 0; padding: 0; }
  .equip tr.group th { display: block; padding-bottom: 8px; border-bottom: 1.5px solid var(--ink); }
  .equip tbody th[scope="row"] { font-size: .9rem; font-weight: 600; line-height: 1.25; }
  .equip td.num { font-size: 1.45rem; font-weight: 700; font-variation-settings: "wdth" 120; line-height: 1; }
  .equip td.bar-cell { grid-column: 1 / -1; width: auto; padding: 0; }
  .equip .bar { height: 4px; }
  .equip td:empty { display: none; }
  .equip caption { padding-bottom: 14px; }
}
@media (max-width: 760px) { .equip caption { display: block; } }
@media (max-width: 760px) { .equip td:nth-child(4) { display: none; } }
/* labels: show the whole label, never crop the brand name */
.labels img { object-fit: contain; background: #fff; padding: 6px; border: 1px solid var(--line); }
.garment-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.garment-types figure { margin: 0; }
.garment-types img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-sm); }
.garment-types figcaption { margin-top: 8px; font-weight: 600; }
@media (max-width: 760px) { .garment-types { gap: 8px; } }

/* v6: contact card + footer contact column */
.contact-card { font-style: normal; color: var(--ink-2); }
.contact-card > strong { display: block; color: var(--ink); }
.contact-card > span { display: block; }
.contact-list { margin: 18px 0 0; border-top: 1.5px solid var(--ink); }
.contact-list > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 650; color: var(--ink); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; line-height: 1.5; }
.contact-list a { color: var(--green); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-link { display: inline-block; margin-top: 6px; font-size: .92rem; }
.footer-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3.4fr); }
.footer-contact li { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-contact { grid-column: 1 / -1; } }

/* v7: "Effects we produce" lookbook */
.section--ink { background: var(--ink); color: #e6ece8; }
.section--ink h2 { color: #fff; }
.section--ink .section-head p { color: #b9c6bf; }
.section--ink .text-link { color: #fff; }
.fx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 28px; }
.fx-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); background: transparent; color: #e6ece8; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.fx-chip span { font-size: .78rem; font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }
.fx-chip:hover { border-color: rgba(255,255,255,.6); }
.fx-chip[aria-pressed="true"] { background: #f2f4f1; color: var(--ink); border-color: #f2f4f1; }
.fx-chip[aria-pressed="true"] span { opacity: .55; }
.fx-chip:focus-visible { outline: 2px solid #9fd3b8; outline-offset: 2px; }
.fx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 16px; }
.fx-grid li { margin: 0; }
.fx-grid figure { margin: 0; }
.fx-img { background: #dfdfdd; border-radius: var(--radius-sm); overflow: hidden; }
.fx-img img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); cursor: zoom-in; }
.fx-grid li:hover .fx-img img { transform: scale(1.035); }
.fx-grid figcaption { margin-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.fx-grid figcaption strong { color: #fff; font-weight: 650; font-size: .98rem; }
.fx-grid figcaption span { color: #9fd3b8; font-size: .86rem; }
.fx-cta { margin-top: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .fx-grid li:not([hidden]) { animation: fxIn .45s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes fxIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1100px) { .fx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .fx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .fx-filters { gap: 6px; margin: -2px 0 20px; }
  .fx-chip { min-height: 36px; padding: 0 12px; font-size: .86rem; gap: 6px; }
  .fx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .fx-grid li[data-fold] { display: none; }
  .fx-grid figcaption { margin-top: 8px; }
  .fx-grid figcaption strong { font-size: .92rem; }
  .fx-grid figcaption span { font-size: .8rem; line-height: 1.35; }
  .fx-cta { margin-top: 26px; }
}
.fx-more { display: none; }
@media (max-width: 760px) {
  .fx-more:not([hidden]) {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 22px;
    border: 1px solid rgba(255,255,255,.32); border-radius: 8px; background: rgba(255,255,255,.04); color: #fff;
    font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer;
  }
  .fx-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
  .fx-more[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
}

/* =====================================================================
   v8: phone layouts without sideways carousels
   ===================================================================== */
.more-btn { display: none; }
@media (max-width: 760px) {
  [data-fold] { display: none !important; }
  .more-btn:not([hidden]) {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 18px;
    border: 1.5px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink);
    font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer;
  }
  .more-btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s ease; }
  .more-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

  /* photo strip becomes a photo grid: one wide photo, then two per row */
  .strip-track {
    grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto;
    overflow: visible; scroll-snap-type: none; cursor: auto; gap: 16px 10px; padding: 4px var(--gutter) 0;
  }
  .strip-track li:first-child { grid-column: 1 / -1; }
  .strip-track li:first-child img { aspect-ratio: 16 / 10; }
  .strip-track figcaption { font-size: .82rem; line-height: 1.35; }
  .strip-controls { margin-top: 16px; }
  .strip-controls .strip-btn, .strip-controls .strip-bar { display: none; }
  .strip-controls .text-link { margin-left: 0; }

  /* process steps stack vertically */
  .process, .process--5 {
    grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; gap: 0; row-gap: 0;
    overflow: visible; scroll-snap-type: none; margin: 0; padding: 0;
  }
  .process li, .process li + li, .process--5 li, .process--5 li + li, .process li:nth-child(3), .process--5 li:nth-child(4) {
    position: relative; padding: 20px 0 22px !important; border-left: 0 !important; border-top: 1px solid var(--line) !important;
  }
  .process[data-progress] li:first-child, .process li:first-child { border-top: 1.5px solid var(--ink) !important; }
  .process[data-progress] li::before, .process li::before { color: var(--green); }
  /* steps with a photo: the number sits on the photo */
  .process li:has(.step-img)::before {
    position: absolute; left: 12px; top: 32px; z-index: 1; width: 36px; height: 36px; margin: 0; border-radius: 50%;
    display: grid; place-items: center; background: var(--paper); font-size: 1.05rem; box-shadow: 0 2px 10px -4px rgba(0,0,0,.4);
  }
  .process .step-img { aspect-ratio: 16 / 10; margin-bottom: 14px; filter: none; }
  .process h3 { font-size: 1.2rem; margin-bottom: 6px; }
  /* steps without a photo: number in a left column */
  .process li:not(:has(.step-img)) { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 6px; align-items: start; }
  .process li:not(:has(.step-img))::before { grid-row: 1 / span 2; font-size: 1.8rem; margin: 0; }
  .process li:not(:has(.step-img)) > * { grid-column: 2; }

  /* galleries: one wide photo, then two per row */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .gallery li, .gallery li.wide { grid-column: span 1; }
  .gallery li:first-child { grid-column: 1 / -1; }
  .gallery figcaption { font-size: .82rem; line-height: 1.35; }

  .hover-hint { display: none; }
  .fx-chip { min-height: 40px; }
  .lang-switch { min-height: 38px; }
  .hero-mosaic figcaption { font-size: .78rem; }
}
@media (min-width: 521px) and (max-width: 760px) {
  .process:has(.step-img) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .process:has(.step-img) li:nth-child(2) { border-top: 1.5px solid var(--ink) !important; }
  .fx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fibres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fibres figcaption { font-size: .9rem; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-media:not(:has(.jeans-stage)) img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .jeans-stage { max-width: 210px; }
}
@media (max-width: 420px) {
  .brand-name small { font-size: .75rem; }
}
@media (max-width: 760px) { .shade span { font-size: .8rem; } }
