/* LIDA Clothes — editorial denim. Logical properties everywhere so RTL (Arabic) mirrors automatically. */

/* ---------- Tokens (V2 "Indigo Cinema": dark indigo by default, .paper = rare light sections) ---------- */
:root {
  --bg: #0E1A2B;                                    /* deep indigo base */
  --panel: #13243A;                                 /* raised indigo panels (.dark) */
  --fg: #EDE8DF;                                    /* raw cotton text */
  --paper: #EDE8DF;                                 /* constant light (text on dark, light buttons) */
  --paper-2: #1A2E48;                               /* image placeholder */
  --ink: #0A1422;                                   /* constant darkest */
  --indigo: #1F3A5F;
  --indigo-deep: #172C49;
  --rinse: #9DB0C6;
  --copper: #C8894B;
  --copper-hi: #D9A26C;
  --selvedge: #B3322B;
  --line: rgba(237, 232, 223, .16);
  --line-light: rgba(237, 232, 223, .24);
  --muted: #B7C5D6;
  --serif: "Cormorant Garamond", "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1560px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --header-h: 72px;
  --track: .14em;
  --label: .8rem;                                  /* 11.5px: floor for small uppercase labels */
  --label-ink: #C2CEDC;                             /* labels on the current surface */
  --label-light: #C2CEDC;                           /* labels on indigo */
  --body-sm: clamp(.9375rem, .9rem + .2vw, 1rem);   /* 15px mobile → 16px desktop */
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* denim: fine twill both ways + fractal grain (looks like cloth up close, flat from afar) */
  --twill:
    repeating-linear-gradient(45deg, rgba(237, 232, 223, .055) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(-45deg, rgba(3, 8, 16, .08) 0 1px, transparent 1px 7px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .93 0 0 0 0 .91 0 0 0 0 .87 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
}
html[lang="zh"] {
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-monospace, monospace;
  --track: .12em;
}
html[lang="ar"] {
  --serif: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", serif;
  --sans: "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --mono: "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --track: 0em;
}
/* Light "paper" surface — Products and Partners only (logos need a light ground). */
.paper {
  --bg: #F2EEE6;
  --fg: #14161A;
  --paper-2: #E7E2D8;
  --copper: #A5672F;
  --line: rgba(20, 22, 26, .16);
  --muted: rgba(20, 22, 26, .66);
  --label-ink: rgba(20, 22, 26, .72);
  background: var(--bg); color: var(--fg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; background: var(--bg); }
html.motion { scroll-behavior: auto !important; } /* GSAP measures with instant jumps; main.js smooth-scrolls anchors */
html.lenis, html.lenis body { scroll-behavior: auto !important; height: auto; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--grain), var(--twill);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: opacity .35s ease;
}
html.i18n-pending body { opacity: 0; }
html.menu-open, html.menu-open body { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote, dl, dd, ul, ol, p, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--copper); color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; overflow-wrap: break-word; text-wrap: balance; }
p, li, dd, address, figcaption, blockquote { text-wrap: pretty; }
p + p { margin-block-start: 1.1em; }

.container { width: 100%; padding-inline: var(--edge); }
.section { padding-block: clamp(72px, 8vw, 120px); position: relative; }
/* Two same-surface sections in a row share one gap instead of stacking bottom + top padding. */
.section:not(.dark) + .section:not(.dark) { padding-block-start: 0; scroll-margin-block-start: clamp(36px, 4vw, 60px); }

.skip {
  position: fixed; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 10px 16px;
  transform: translateY(-200%); opacity: 0; pointer-events: none; clip-path: inset(50%);
}
.skip:focus, .skip:focus-visible { transform: none; opacity: 1; pointer-events: auto; clip-path: none; }

/* Care-label / spec-sheet voice: mono, uppercase, tracked. */
.kicker {
  font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track);
  text-transform: uppercase; color: var(--copper);
}
.lead {
  font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.35; font-weight: 400;
}
.lead, .hero__sub, .mosaic__quote p { text-wrap: balance; }
.note { font-size: .875rem; color: var(--muted); }
.stitch { border: 0; border-block-start: 1px dashed var(--copper); opacity: .7; margin: 0; }

/* Copper stitch that draws itself (JS animates clip-path; fully visible without JS). */
.stitchline {
  display: block; inline-size: 100%; block-size: 1px;
  background: repeating-linear-gradient(90deg, var(--copper) 0 7px, transparent 7px 12px); opacity: .85;
  transform-origin: 0 50%;
}
[dir="rtl"] .stitchline { transform-origin: 100% 50%; }

/* Selvedge band — signature motif between surfaces: off-white strip with the red ID thread. */
.selvedge {
  position: relative; z-index: 2; block-size: 6px;
  background:
    linear-gradient(var(--selvedge), var(--selvedge)) 0 2px / 100% 1px no-repeat,
    repeating-linear-gradient(135deg, rgba(20, 22, 26, .1) 0 1px, transparent 1px 3px),
    #F2EEE6;
}
.selvedge--flip { background-position: 0 3px, 0 0, 0 0; }

/* Garment hang-tag: copper frame, mono text. */
.hangtag {
  font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: .1em; line-height: 1.4;
  text-transform: uppercase; color: var(--copper-hi);
  border: 1px solid var(--copper); background: rgba(10, 20, 34, .72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hangtag--corner {
  position: absolute; inset-block-start: clamp(10px, 1.4vw, 18px); inset-inline-start: clamp(10px, 1.4vw, 18px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px;
}
.hangtag--corner::before { content: ""; inline-size: 7px; block-size: 7px; border: 1px solid var(--copper); border-radius: 50%; flex: none; }

/* Raised indigo panels + denim texture */
.dark { background-color: var(--panel); background-image: var(--grain), var(--twill); color: var(--paper); }
.twill { position: relative; isolation: isolate; }
.grain { background-image: var(--grain); }
.dark .kicker { color: var(--copper-hi); }
.dark .note, .dark .chapter__intro { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 1.05em 2em; border: 1px solid currentColor;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; line-height: 1.3;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--sm { padding: .8em 1.4em; font-size: var(--label); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }
.btn--ghost { color: var(--paper); border-color: rgba(237, 232, 223, .6); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--dark { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--dark:hover { background: var(--copper); border-color: var(--copper); color: var(--ink); }

/* ---------- Chapter headings ---------- */
.chapter { margin-block-end: clamp(36px, 5vw, 72px); }
.chapter__label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--label-ink);
}
.chapter__no { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; color: var(--copper); }
.chapter__no::before { content: "N\00B0"; margin-inline-end: .3em; opacity: .65; }
.dark .chapter__no { color: var(--copper-hi); }
.chapter__rule { inline-size: 56px; border-block-start: 1px dashed var(--copper); }
.chapter__title {
  margin-block-start: clamp(18px, 2vw, 28px);
  font-size: clamp(2.5rem, 5.8vw, 5.75rem); line-height: .98; letter-spacing: -.015em;
  max-inline-size: 15em;
}
.chapter__intro { color: var(--muted); max-inline-size: 34em; }
.chapter--center { text-align: center; }
.chapter--center .chapter__label { justify-content: center; }
.chapter--center .chapter__title { margin-inline: auto; }
.chapter--split { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .chapter--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 120px); align-items: end; }
}

/* ---------- Top bar ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60;
  color: var(--paper);
  border-block-end: 1px solid transparent;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 21, 36, .82); color: var(--paper); border-block-end-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
html.menu-open .site-header { background: transparent; color: var(--paper); border-block-end-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar { display: flex; align-items: center; gap: 20px; block-size: var(--header-h); padding-inline: var(--edge); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; flex: none; }
.brand__word { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.85rem; font-weight: 600; letter-spacing: .2em; line-height: 1; }
.brand__cn { font-family: "Noto Serif SC", "Songti SC", serif; font-size: .7rem; letter-spacing: .3em; opacity: .85; }
.nav { display: none; margin-inline-start: auto; gap: clamp(18px, 2.1vw, 36px); }
.nav a { position: relative; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: calc(var(--track) * .6); text-transform: uppercase; padding-block: 8px; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 2px; block-size: 1px; background: var(--copper-hi);
  transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.bar__tools { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); margin-inline-start: auto; }
.bar__cta { display: none; white-space: nowrap; }
.site-header.is-scrolled .bar__cta { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-header.is-scrolled .bar__cta:hover { background: var(--copper); border-color: var(--copper); }
html.menu-open .bar__cta { visibility: hidden; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; }
.lang__name { display: none; }
.lang__code { font-weight: 500; letter-spacing: .12em; }
.lang__caret { transition: transform .3s var(--ease); }
.lang__btn[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; inset-block-start: calc(100% + 6px); inset-inline-end: 0; min-inline-size: 168px;
  background: var(--panel); color: var(--paper); border: 1px solid var(--line-light);
  box-shadow: 0 18px 40px rgba(3, 8, 16, .5); padding: 8px 0;
}
.lang__menu button { display: block; inline-size: 100%; text-align: start; padding: 9px 18px; font-size: .9rem; }
.lang__menu button:hover { background: rgba(237, 232, 223, .08); }
.lang__menu button[aria-current="true"] { color: var(--copper-hi); }

.burger { position: relative; inline-size: 44px; block-size: 44px; flex: none; margin-inline-end: -10px; }
.burger span { position: absolute; inset-inline: 10px; block-size: 1px; background: currentColor; transition: transform .4s var(--ease), inset-block-start .4s var(--ease); }
.burger span:nth-child(1) { inset-block-start: 18px; }
.burger span:nth-child(2) { inset-block-start: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { inset-block-start: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { inset-block-start: 22px; transform: rotate(-45deg); }

@media (min-width: 480px) { .lang__name { display: inline; } .lang__code { display: none; } }
@media (min-width: 720px) { .bar__cta { display: inline-flex; } }
@media (min-width: 1280px) {
  .nav { display: flex; }
  .bar__tools { margin-inline-start: clamp(12px, 2vw, 36px); }
  .burger { display: none; }
}

/* ---------- Full-screen overlay menu (mobile / tablet) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper); overflow-y: auto;
  background-image: var(--grain), var(--twill);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 18px; padding-block: 12px;
  font-family: var(--serif); font-size: clamp(1.9rem, 8vw, 3.2rem); line-height: 1.15;
  border-block-end: 1px solid var(--line-light);
  opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .25s; }
.menu__no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .74rem; letter-spacing: .08em; color: var(--copper-hi); min-inline-size: 2.2em; }
.menu__foot { display: grid; gap: 24px; }
.menu__foot .btn { justify-self: start; }
.langlist { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.langlist button[lang="ar"] { font-size: 1.06rem; }   /* Arabic face runs small: .92rem + 15% */
.langlist button { padding-block: 6px; font-size: .92rem; opacity: .72; border-block-end: 1px solid transparent; transition: opacity .3s; }
.langlist button:hover { opacity: 1; }
.langlist button[aria-current="true"] { opacity: 1; border-block-end-color: var(--copper-hi); }

/* ---------- Hero — documentary opening ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-block-size: 100vh; min-block-size: 100svh; display: flex; align-items: flex-end;
  color: var(--paper); background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { inline-size: 100%; block-size: 100%; object-fit: cover; }
/* .is-on keeps the Ken-Burns move running while a slide fades out. */
.hero__slide.is-on img { animation: kb1 6.6s linear both; }
.hero__slide--2.is-on img { animation-name: kb2; }
.hero__slide--3.is-on img { animation-name: kb3; }
.hero__slide--4.is-on img { animation-name: kb4; }
@keyframes kb1 { from { transform: scale(1); } to { transform: scale(1.12) translate3d(-1.4%, -1%, 0); } }
@keyframes kb2 { from { transform: scale(1.12) translate3d(1.4%, 0, 0); } to { transform: scale(1); } }
@keyframes kb3 { from { transform: scale(1) translate3d(0, 1%, 0); } to { transform: scale(1.12) translate3d(1.2%, -1%, 0); } }
@keyframes kb4 { from { transform: scale(1.12) translate3d(-1.2%, -1%, 0); } to { transform: scale(1.01); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-color: rgba(23, 44, 73, .2);
  background-image:
    var(--grain),
    linear-gradient(90deg, rgba(8, 16, 28, .8) 0%, rgba(8, 16, 28, .42) 42%, rgba(8, 16, 28, 0) 76%),
    linear-gradient(180deg, rgba(8, 16, 28, .62) 0%, rgba(8, 16, 28, .12) 30%, rgba(14, 26, 43, .5) 62%, rgba(14, 26, 43, .97) 100%);
}
[dir="rtl"] .hero__shade { transform: scaleX(-1); } /* darker side follows the text */
.hero__inner {
  position: relative; display: grid; gap: clamp(28px, 4vw, 72px);
  padding-block: calc(var(--header-h) + 40px) clamp(92px, 13vh, 132px);
}
.hero__main { min-inline-size: 0; }
.hero__kicker { color: var(--copper-hi); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__kicker::before { content: ""; inline-size: 56px; border-block-start: 1px dashed var(--copper-hi); }
.hero__title {
  margin-block-start: clamp(16px, 2.2vw, 30px);
  font-size: clamp(3rem, min(9vw, 17vh), 9.5rem); line-height: .92; letter-spacing: -.02em; font-weight: 500;
  text-wrap: wrap;
}
.hero__line { display: block; }
.hero__title em { font-weight: 400; font-style: italic; color: var(--copper-hi); }
.hero__sub { margin-block-start: clamp(20px, 2.4vw, 34px); max-inline-size: 30em; font-size: clamp(1rem, 1.25vw, 1.2rem); color: #E4E0D8; text-shadow: 0 1px 18px rgba(8, 16, 28, .5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: clamp(26px, 3vw, 44px); }
/* Avoid a flash of the un-animated headline before main.js takes over (main.js always adds .is-ready). */
html.js:not(.is-ready) .hero__main, html.js:not(.is-ready) .hero__tag { opacity: 0; }

/* Split words (built by main.js after each translation pass) */
.w { display: inline-block; vertical-align: top; overflow: hidden; padding: .1em .08em .18em; margin: -.1em -.08em -.18em; }
.w__i { display: inline-block; will-change: transform; }
html[lang="ar"] .w { padding-block: .34em; margin-block: -.34em; }

/* Live spec tag */
.hero__tag { position: relative; justify-self: start; min-inline-size: min(264px, 100%); padding: 14px 18px 16px; }
.hangtag__head {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding-block-end: 10px; border-block-end: 1px dashed rgba(200, 137, 75, .65); color: var(--muted);
}
.hangtag__head > :first-child::before {
  content: ""; display: inline-block; inline-size: 7px; block-size: 7px; margin-inline-end: 10px;
  border: 1px solid var(--copper); border-radius: 50%; vertical-align: .02em;
}
.hangtag__list { display: grid; gap: 4px; margin-block-start: 12px; }
.hangtag__list li { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hangtag__num { font-size: clamp(1.45rem, 2vw, 1.9rem); letter-spacing: -.01em; line-height: 1.15; color: var(--paper); }
.js .hangtag__list li { grid-area: 1 / 1; }
.js .hangtag__list li:not(.is-active) { opacity: 0; transform: translateY(10px); }

/* Per-slide progress + scroll cue */
.hero__progress {
  position: absolute; inset-block-end: 34px; inset-inline-start: var(--edge);
  display: flex; gap: 8px; inline-size: min(300px, 46vw);
}
.hero__progress i { flex: 1; block-size: 2px; background: rgba(237, 232, 223, .22); overflow: hidden; }
.hero__progress b { display: block; block-size: 100%; background: var(--copper-hi); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .hero__progress b { transform-origin: 100% 50%; }
.hero__progress .is-done b { transform: scaleX(1); }
.hero__progress .is-active b { animation: heroprog 4.5s linear both; }
@keyframes heroprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__scroll {
  position: absolute; inset-block-end: 22px; inset-inline-end: var(--edge);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase;
}
.hero__scroll i { display: block; inline-size: 1px; block-size: 44px; background: linear-gradient(var(--copper-hi), var(--copper-hi)) no-repeat top / 100% 100%; animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { 0% { background-size: 100% 0; background-position: top; } 50% { background-size: 100% 100%; background-position: top; } 51% { background-position: bottom; } 100% { background-size: 100% 0; background-position: bottom; } }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero__tag { justify-self: end; margin-block-end: 4px; }
}

/* ---------- 00 Scale statement (pinned on desktop by main.js) ---------- */
.scale { overflow: hidden; }
.scale__inner { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; padding-block: clamp(84px, 12vw, 150px); }
.scale__statement {
  margin-block: clamp(22px, 3vw, 44px) clamp(28px, 3.4vw, 52px);
  font-size: clamp(2.7rem, 7.4vw, 8.5rem); line-height: .96; letter-spacing: -.02em; max-inline-size: 10.5em;
}
.scale__statement .w.is-last .w__i { color: var(--copper-hi); font-style: italic; }
.scale__text .stitchline { max-inline-size: 420px; }
.scale__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.scale__photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .scale__inner { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); min-block-size: 100vh; padding-block: calc(var(--header-h) + 28px) 44px; }
  .scale__photo { max-block-size: 74vh; justify-self: end; inline-size: 100%; }
}

/* ---------- 01 About ---------- */
.about__grid { display: grid; gap: clamp(48px, 7vw, 120px); }
.about__text .lead { margin-block-end: 1.2em; color: var(--fg); }
.about__text > p:not(.lead) { color: var(--muted); max-inline-size: 36em; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-block-start: clamp(32px, 4vw, 56px); }
.facts > div { padding-block: 16px; border-block-start: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink); }
.facts dd { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; margin-block-start: 4px; }
.about__collage { position: relative; padding-block-end: 16%; }
.about__img { position: relative; overflow: hidden; background: var(--paper-2); }
.about__img img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.about__img--a { inline-size: 84%; margin-inline-start: auto; aspect-ratio: 4 / 5; }
.about__img--b { position: absolute; inset-inline-start: 0; inset-block-end: 0; inline-size: 48%; aspect-ratio: 4 / 5; border: clamp(6px, 1vw, 12px) solid var(--bg); }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}

/* ---------- 02 Numbers ---------- */
.numbers { padding-block-end: clamp(56px, 6.2vw, 92px); } /* optical balance: the last row ends in small labels */
.stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 84px) clamp(24px, 4vw, 72px); }
.stat { min-inline-size: 0; }
.stat .stitchline { margin-block-end: clamp(14px, 1.6vw, 24px); }
.stat__num {
  font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3.5rem, 6.2vw, 8rem); line-height: .95; font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.015em; white-space: nowrap;
}
.stat__label {
  margin-block-start: 14px; font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase;
  color: var(--label-light); line-height: 1.65; max-inline-size: 26em;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 03 Factories ---------- */
.fgrid { display: grid; gap: clamp(56px, 6vw, 110px); }
.fcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); margin-block-end: clamp(20px, 2.4vw, 32px); }
.fcard__img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fcard:hover .fcard__img img { transform: scale(1.04); }
.fcard__title { font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -.01em; margin-block: 8px clamp(18px, 2vw, 28px); }
/* Tech-pack spec sheet: mono rows with dotted leaders between label and value. */
.spec { border-block: 1px solid var(--line); padding-block: 6px; }
.spec > div { display: flex; align-items: baseline; gap: 10px; padding-block: 9px; }
.spec dt {
  flex: 1 1 auto; display: flex; align-items: baseline; gap: 10px; min-inline-size: 0;
  font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink);
}
.spec dt::after { content: ""; flex: 1 1 24px; min-inline-size: 24px; border-block-end: 1px dotted rgba(157, 176, 198, .55); transform: translateY(-.28em); }
.spec dd { flex: 0 1 auto; max-inline-size: 62%; text-align: end; font-family: var(--mono); font-size: .86rem; font-weight: 500; letter-spacing: .01em; }
@media (min-width: 800px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard--offset { margin-block-start: clamp(40px, 8vw, 130px); }
}
.park { display: grid; margin-block-start: clamp(56px, 7vw, 104px); }
.park__img { aspect-ratio: 16 / 10; overflow: hidden; }
.park__img img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.park__text { padding: clamp(28px, 5vw, 80px); align-self: center; }
.park__title { font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.1; margin-block: 12px 16px; }
.park__text > p:last-child { color: rgba(237, 232, 223, .8); max-inline-size: 28em; }
@media (min-width: 800px) {
  .park { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .park__img { aspect-ratio: auto; min-block-size: 420px; }
}

/* ---------- 04 Craft — horizontal rail ---------- */
.chapter__side { display: grid; gap: 22px; justify-items: start; }
.rail-nav { display: none; gap: 10px; }
.arrow {
  inline-size: 52px; block-size: 52px; border: 1px solid rgba(237, 232, 223, .5); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.arrow:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.arrow:disabled { opacity: .28; cursor: default; background: transparent; color: inherit; }
[dir="rtl"] .arrow svg { transform: scaleX(-1); }
@media (hover: hover) and (min-width: 800px) { .rail-nav { display: flex; } }
.rail {
  display: flex; gap: clamp(14px, 2vw, 32px);
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge);
  scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 1px; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; -webkit-user-select: none; user-select: none; }
.step { flex: none; inline-size: clamp(250px, 74vw, 380px); scroll-snap-align: start; }
.step figure { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); margin-block-end: 18px; }
.step img { inline-size: 100%; block-size: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.step__no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .74rem; letter-spacing: .08em; color: var(--copper); line-height: 1; }
.step__name { font-size: clamp(1.5rem, 2.1vw, 1.95rem); line-height: 1.15; margin-block: 8px 8px; }
.step__text { color: var(--muted); font-size: var(--body-sm); line-height: 1.6; margin: 0; }
.rail-hint {
  display: flex; align-items: center; gap: 14px; margin-block-start: clamp(22px, 3vw, 40px);
  font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink);
}
.rail-hint i { flex: 0 0 64px; block-size: 0; border-block-start: 1px dashed var(--copper); }

/* ---------- 05 People — mosaic ---------- */
.mosaic {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px);
  grid-auto-rows: minmax(clamp(150px, 42vw, 300px), auto);
}
.mosaic__item { position: relative; overflow: hidden; background: var(--paper-2); }
.mosaic__item img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__item--xl { grid-column: span 2; grid-row: span 2; }
.mosaic__item--wide { grid-column: span 2; }
.mosaic__quote {
  grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: clamp(26px, 4vw, 64px); background: var(--indigo); color: var(--paper);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 5px);
}
.mosaic__quote p { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.4rem); line-height: 1.28; }
.mosaic__quote footer { font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--copper-hi); }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(clamp(180px, 21vw, 340px), auto); }
}

/* ---------- 06 Sustainability ---------- */
.sustain__grid { display: grid; gap: clamp(40px, 6vw, 110px); }
.sustain__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.sustain__img img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.sustain__text .lead { color: var(--fg); }
.eco { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-block: clamp(28px, 3.4vw, 48px) 18px; }
.eco li { padding-block: 16px; border-block-start: 1px solid var(--line); min-inline-size: 0; }
.eco__num { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; color: var(--fg); font-variant-numeric: lining-nums; white-space: nowrap; }
.eco__label { margin-block-start: 6px; font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink); line-height: 1.55; }
@media (min-width: 560px) { .eco { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  /* Image starts level with the chapter label and runs the full height of the text column. */
  .sustain__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; }
  .sustain__img { position: relative; aspect-ratio: auto; min-block-size: 360px; }
  .sustain__img img { position: absolute; inset: 0; }
}

.certs { margin-block-start: clamp(48px, 6vw, 88px); }
.certs__row { display: grid; gap: 28px; align-items: center; padding-block: clamp(28px, 4vw, 52px); }
.certs__text { margin-block-start: 10px; font-size: var(--body-sm); color: var(--muted); max-inline-size: 30em; }
/* Six uniform typographic badges (no logo images): equal height via stretch, wrap as needed. */
.certs__badges { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px 12px; }
.certs__badges li {
  display: flex; align-items: center; justify-content: center; min-block-size: 50px; padding: 12px 18px;
  border: 1px solid var(--line-light);
  font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; font-weight: 500; line-height: 1.2; letter-spacing: .03em; white-space: nowrap;
}
@media (min-width: 900px) {
  .certs__row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); }
  .certs__badges { justify-content: flex-end; }
}

/* ---------- 07 Products — lookbook ---------- */
/* One uniform grid: every card is a 4:5 image box on a soft card colour, 2 columns → 4 from 800px. */
.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 26px); }
.look { display: flex; flex-direction: column; background: #EDE9E1; overflow: hidden; min-inline-size: 0; }
.look img {
  inline-size: 100%; block-size: auto; aspect-ratio: 4 / 5; object-fit: contain;
  padding: clamp(12px, 1.6vw, 24px); mix-blend-mode: multiply; transition: transform 1.2s var(--ease);
}
.look:hover img { transform: scale(1.03); }
.look figcaption {
  display: flex; align-items: baseline; gap: 10px; margin-block-start: auto;
  padding: 10px clamp(10px, 1.2vw, 18px); border-block-start: 1px solid var(--line);
  font-family: var(--mono); font-size: var(--label); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink); line-height: 1.5;
}
.look__no { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .72rem; letter-spacing: .08em; color: var(--copper); line-height: 1; }
@media (min-width: 800px) { .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 08 Brands — logo wall ---------- */
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.logos li {
  display: flex; align-items: center; justify-content: center; min-inline-size: 0;
  block-size: clamp(104px, 11vw, 132px);
  border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line);
}
/* Optical size: 46px tall, never wider than 70% of the box (contain keeps the ratio when the width cap bites). */
.logos img {
  flex: none; block-size: 46px; inline-size: auto; max-inline-size: 70%; object-fit: contain;
  filter: grayscale(1) contrast(1.1); opacity: .8; mix-blend-mode: multiply; transition: filter .5s var(--ease), opacity .5s var(--ease);
}
.logos .logo--sq img { block-size: 64px; }                      /* aspect < 2.2 */
.logos .logo--wide img { max-inline-size: min(70%, 190px); }    /* aspect > 4: capped by width */
/* Optical weight: heavy bold marks −20%, thin/light marks +20% and full opacity, marks with their own grey tile shown as a small badge. */
.logos .logo--heavy img { block-size: 37px; }
.logos .logo--light img { block-size: 55px; opacity: 1; }
.logos .logo--sq.logo--light img { block-size: 77px; }
.logos .logo--wide.logo--light img { max-inline-size: min(84%, 228px); }
.logos .logo--tile img { block-size: 40px; max-block-size: 40px; }
.logos li:hover img { filter: none; opacity: 1; }
@media (min-width: 720px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 09 Showroom & Visit ---------- */
.visit__grid { display: grid; gap: clamp(14px, 2vw, 32px); }
.visit__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.visit__img img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.visit__text { padding-block: clamp(16px, 3vw, 40px); }
.visit__text .chapter { margin-block-end: 22px; }
.visit__text .chapter__title { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.visit__text > p { color: var(--muted); max-inline-size: 32em; }
.visit__text > p:last-child { margin-block-start: 28px; }
@media (min-width: 900px) {
  .visit__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  /* One 12-col grid: big photo 1–7, text 8–12 (separated by the grid gap only), lower pair 1–6 and 7–12. */
  .visit__img { grid-column: span 6; }
  .visit__img--main { grid-column: 1 / span 6; }
  .visit__text { grid-column: 7 / span 6; align-self: center; }
}

/* ---------- 10 Contact ---------- */
.contact__grid { display: grid; gap: clamp(52px, 6vw, 110px); }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px 32px; align-content: start; }
.field { min-inline-size: 0; }
.field label { display: block; margin-block-end: 8px; font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--label-light); }
.field input, .field select, .field textarea {
  display: block; inline-size: 100%; padding: 14px; font-size: 1rem; line-height: 1.5;
  background-color: rgba(255, 255, 255, .08); color: var(--paper); border: 1px solid rgba(255, 255, 255, .3); border-radius: 2px;
  -webkit-appearance: none; appearance: none; transition: border-color .3s, background-color .3s, box-shadow .3s;
}
/* One hint colour: input/textarea placeholders and the select while its empty "Please select" option is chosen. */
.field ::placeholder { color: rgba(245, 242, 236, .68); opacity: 1; }
.field select:has(option[value=""]:checked) { color: rgba(245, 242, 236, .68); }
[dir="rtl"] .field input[dir="ltr"]:placeholder-shown { direction: rtl; }
.field textarea { resize: vertical; min-block-size: 130px; }
.field select {
  padding-inline-end: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23F5F2EC' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 10px 6px; background-position: right 14px center;
}
[dir="rtl"] .field select { background-position: left 14px center; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field select option { color: var(--ink); background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #D9A26C; box-shadow: 0 0 0 1px #D9A26C; background-color: rgba(255, 255, 255, .12); }
.field.is-invalid input { border-color: #F0A07E; }
.field.is-invalid input:focus { box-shadow: 0 0 0 1px #F0A07E; }
.field.is-invalid label { color: #F0A07E; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-block-start: 6px; }
.form__foot .btn { min-block-size: 52px; padding-inline: 2.6em; font-size: .8rem; }
@media (max-width: 599px) { .form__foot .btn { inline-size: 100%; } }
.form__note { flex: 1 1 240px; margin: 0; font-size: .8125rem; line-height: 1.6; color: rgba(245, 242, 236, .78); }
.form__status { margin: 0; padding: 14px 18px; border: 1px dashed #D9A26C; font-size: var(--body-sm); }
.form__status.is-error { border-color: #F0A07E; color: #F7C3AC; }
.contact__side { display: grid; gap: clamp(40px, 5vw, 64px); align-content: start; }
.cards { margin-block-start: 16px; }
.card { display: grid; gap: 2px 24px; padding-block: 18px; border-block-start: 1px solid var(--line-light); }
.card:last-child { border-block-end: 1px solid var(--line-light); }
.card p { margin: 0; }
.card__name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.55rem; line-height: 1.2; }
.card__role { font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--label-light); }
.card a { border-block-end: 1px solid transparent; transition: border-color .3s; overflow-wrap: anywhere; }
.card a:hover { border-block-end-color: #D9A26C; }
@media (min-width: 520px) {
  .card { grid-template-rows: auto auto; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: column; align-items: baseline; }
  .card p:nth-child(n+3) { text-align: end; }
}
/* Addresses sit in their own row under the form + contacts (3 columns from 720px). */
.contact__addr { margin-block-start: clamp(48px, 6vw, 88px); padding-block-start: clamp(28px, 3vw, 44px); border-block-start: 1px solid var(--line-light); }
.addr { display: grid; gap: 22px; margin-block-start: 16px; }
.addr h3 { font-size: 1.3rem; line-height: 1.3; }
.addr address { margin-block-start: 4px; font-size: var(--body-sm); line-height: 1.65; color: rgba(245, 242, 236, .8); max-inline-size: 34em; }
@media (min-width: 600px) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 720px) { .addr { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); } }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; }
  /* Contacts column starts level with the form and its three cards share the form's height. */
  .contact__side { align-content: stretch; }
  .contact__side > .reveal { display: flex; flex-direction: column; }
  .cards { flex: 1 1 auto; display: grid; grid-auto-rows: 1fr; }
  .card { align-content: center; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 104px) 30px; }
.footer .kicker { color: #D9A26C; }
.footer__top { display: grid; gap: 40px; padding-block-end: clamp(40px, 5vw, 72px); }
.footer__brand { display: grid; gap: 18px; justify-items: start; }
.footer__mark .brand__word { font-size: 2.3rem; }
.footer__name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.footer__name [lang^="zh"] { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-size: 1.15rem; letter-spacing: .08em; }
.footer__tag { margin-block-start: 10px; font-size: var(--body-sm); color: rgba(245, 242, 236, .76); max-inline-size: 30em; }
.footer__col ul { margin-block-start: 14px; }
.footer__col ul:not(.langlist) { display: grid; gap: 8px; }
.footer__col ul:not(.langlist) a { opacity: .78; transition: opacity .3s; }
.footer__col ul:not(.langlist) a:hover { opacity: 1; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-block-start: 24px; font-size: .8125rem; color: rgba(245, 242, 236, .72);
}
.footer__bottom p { margin: 0; }
.footer__topbtn { font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--paper); }
@media (min-width: 900px) {
  /* Language column sizes to its content so all six languages sit on one row. */
  .footer__top { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) auto; }
  .langlist--footer { flex-wrap: nowrap; gap: 0 14px; white-space: nowrap; }
}

/* ---------- Scroll reveal (content stays visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.stat:nth-child(3n+2), .look:nth-child(4n+2), .mosaic > :nth-child(2n) { transition-delay: .08s; }
.stat:nth-child(3n), .look:nth-child(4n+3) { transition-delay: .16s; }
.look:nth-child(4n) { transition-delay: .24s; }

/* ---------- Language-specific typography ---------- */
[hidden] { display: none !important; }
html[lang="zh"] em, html[lang="ar"] em,
html[lang="zh"] .scale__statement .w.is-last .w__i, html[lang="ar"] .scale__statement .w.is-last .w__i { font-style: normal; }
html[lang="zh"] .scale__statement { font-size: clamp(2.3rem, 6.2vw, 6.8rem); line-height: 1.18; letter-spacing: .01em; font-weight: 600; }
html[lang="ar"] .scale__statement { font-size: clamp(2.3rem, 6vw, 6.4rem); line-height: 1.34; font-weight: 600; }
html[lang="fr"] .scale__statement, html[lang="es"] .scale__statement, html[lang="ru"] .scale__statement { font-size: clamp(2.4rem, 6.5vw, 7.4rem); }
html[lang="zh"] .stat__label, html[lang="zh"] .spec dt, html[lang="zh"] .facts dt, html[lang="zh"] .hangtag, html[lang="zh"] .kicker, html[lang="zh"] .chapter__label { letter-spacing: .12em; }
html[lang="zh"] .hero__title { font-size: clamp(2.7rem, min(9vw, 16vh), 8.2rem); line-height: 1.14; letter-spacing: .02em; font-weight: 600; }
html[lang="zh"] .chapter__title { font-size: clamp(1.95rem, 4.3vw, 3.9rem); line-height: 1.22; letter-spacing: .01em; }
/* zh headings break only at punctuation or at the U+200B hints placed in zh.json, so no 1–2 character orphan line. */
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { word-break: keep-all; overflow-wrap: break-word; line-break: strict; text-wrap: balance; }
html[lang="zh"] .lead, html[lang="zh"] .mosaic__quote p { line-height: 1.55; line-break: strict; }
html[lang="zh"] p { text-wrap: pretty; }   /* no 1–2 character last line in zh body copy */
html[lang="zh"] .fcard__title, html[lang="zh"] .park__title { line-height: 1.25; }
html[lang="fr"] .chapter__title, html[lang="es"] .chapter__title, html[lang="ru"] .chapter__title { font-size: clamp(2rem, 4.6vw, 4.2rem); -webkit-hyphens: auto; hyphens: auto; }
html[lang="ru"] .hero__title { font-size: clamp(2.5rem, min(8.6vw, 16vh), 8.6rem); }
html[lang="ru"] .step__name, html[lang="ru"] .fcard__title, html[lang="ru"] .park__title { -webkit-hyphens: auto; hyphens: auto; }
html[lang="ar"] body { line-height: 1.9; }
html[lang="ar"] body *:not(.brand__word):not(.brand__cn) { letter-spacing: 0 !important; }
html[lang="ar"] .hero__title { font-size: clamp(2.5rem, min(8.4vw, 14vh), 7.4rem); line-height: 1.3; font-weight: 600; }
html[lang="ar"] .chapter__title { font-size: clamp(1.9rem, 4.2vw, 3.8rem); line-height: 1.4; }
html[lang="ar"] .lead, html[lang="ar"] .mosaic__quote p { line-height: 1.7; }
html[lang="ar"] .fcard__title, html[lang="ar"] .park__title, html[lang="ar"] .step__name, html[lang="ar"] .menu__nav a { line-height: 1.45; }
html[lang="ar"] .kicker, html[lang="ar"] .chapter__label, html[lang="ar"] .nav a, html[lang="ar"] .btn,
html[lang="ar"] .stat__label, html[lang="ar"] .eco__label, html[lang="ar"] .spec dt, html[lang="ar"] .facts dt,
html[lang="ar"] .field label, html[lang="ar"] .card__role, html[lang="ar"] .look figcaption,
html[lang="ar"] .rail-hint, html[lang="ar"] .hero__scroll, html[lang="ar"] .hangtag { font-size: .84rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img, .hero__scroll i, .hero__progress b { animation: none; }
  .hero__progress { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Hermes QA: readability on indigo */
input, select, textarea { background-color: rgba(255,255,255,.1) !important; border-color: rgba(255,255,255,.38) !important; }


/* =====================================================================
   V2 Phase B — interactive layer (Wash / Lab / Live / Lookbook / Tech pack)
   ===================================================================== */

/* ---------- Hero: twin videos under a frosted panel ---------- */
.hero__vid, .hero__poster {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.hero__vid.is-on { opacity: 1; }
.hero__poster { z-index: 0; }
.hero__media.is-poster .hero__vid { display: none; }
.hero__media.is-poster .hero__poster--1 { opacity: 1; animation: kb1 7s linear infinite alternate; }
.hero__media.is-poster .hero__poster--2 { animation: kb2 7s linear infinite alternate; }
.hero__media.is-poster.is-alt .hero__poster--2 { opacity: 1; }
.hero__media.is-poster.is-alt .hero__poster--1 { opacity: 0; }
.hero__shade { background-image: var(--grain), linear-gradient(0deg, rgba(8, 16, 28, .72) 0%, rgba(8, 16, 28, .1) 55%, rgba(8, 16, 28, .38) 100%); }
[dir="rtl"] .hero__shade { transform: none; }
.hero__inner { display: block; }
.hero__panel {
  position: relative; max-inline-size: min(760px, 100%);
  padding: clamp(24px, 3vw, 44px) clamp(22px, 3vw, 48px) clamp(22px, 2.6vw, 38px);
  background: linear-gradient(140deg, rgba(14, 26, 43, .62), rgba(14, 26, 43, .36));
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(237, 232, 223, .16); border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(4, 9, 16, .7), inset 0 1px 0 rgba(237, 232, 223, .08);
}
.hero__panel::before { /* copper stitch along the top edge */
  content: ""; position: absolute; inset-inline: 22px; inset-block-start: 10px;
  border-block-start: 1px dashed rgba(217, 162, 108, .55); pointer-events: none;
}
.hero__panel .hero__title { font-size: clamp(2.6rem, min(6.4vw, 11vh), 6.2rem); margin-block-start: 18px; }
html[lang="zh"] .hero__panel .hero__title { font-size: clamp(2.4rem, min(6vw, 11vh), 5.6rem); }
html[lang="ar"] .hero__panel .hero__title { font-size: clamp(2.2rem, min(5.6vw, 10vh), 5.2rem); }
html[lang="fr"] .hero__panel .hero__title, html[lang="es"] .hero__panel .hero__title,
html[lang="ru"] .hero__panel .hero__title { font-size: clamp(2.2rem, min(5.4vw, 10vh), 5.2rem); }
.hero__stats {
  list-style: none; margin: clamp(22px, 2.6vw, 36px) 0 0; padding: 18px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px);
  border-block-start: 1px solid rgba(237, 232, 223, .16);
}
.hero__stats li { min-inline-size: 0; }
.hero__stats li + li { padding-inline-start: clamp(12px, 2vw, 28px); border-inline-start: 1px solid rgba(237, 232, 223, .12); }
.hero__num { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__lbl { margin-block-start: 8px; font-family: var(--mono); font-size: var(--label); letter-spacing: .08em; text-transform: uppercase; color: #C9D3DF; line-height: 1.45; }
html[lang="zh"] .hero__lbl, html[lang="ar"] .hero__lbl { letter-spacing: 0; text-transform: none; font-family: var(--sans); font-size: .86rem; }
.hero__cta { margin-block-start: clamp(22px, 2.6vw, 34px); }
html.js:not(.is-ready) .hero__panel { opacity: 0; }
html.js .hero__panel { transition: opacity .6s ease; }
@media (max-width: 699px) {
  .hero__inner { padding-inline: 12px; padding-block-end: 84px; }
  .hero__panel { max-inline-size: none; padding: 22px 18px 20px; }
  .hero__stats { gap: 8px; }
  .hero__stats li + li { padding-inline-start: 8px; }
  .hero__num { font-size: clamp(1.45rem, 7vw, 2rem); }
  .hero__lbl { font-size: .68rem; letter-spacing: .04em; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Shared chip ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-block-size: 36px; padding: 0 14px;
  font: 500 .82rem/1 var(--sans); letter-spacing: .02em; color: inherit; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 99px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--copper); }
.chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip:focus-visible, .wash__tabs button:focus-visible, .hot:focus-visible, .sw:focus-visible, .lb__btn:focus-visible {
  outline: 2px solid var(--copper-hi); outline-offset: 3px;
}

/* ---------- 05 Wash: before / after ---------- */
.wash__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 18px; }
.wash__tabs button {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
  padding-inline: 10px 16px; font: 500 .9rem/1.2 var(--sans); color: var(--fg); cursor: pointer;
  background: rgba(237, 232, 223, .04); border: 1px solid var(--line); border-radius: 2px;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s;
}
.wash__tabs button:hover { border-color: var(--copper); }
.wash__tabs button[aria-selected="true"] { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.wash__tabno {
  display: grid; place-items: center; inline-size: 24px; block-size: 24px; border-radius: 50%;
  font-family: var(--mono); font-size: .72rem; border: 1px solid currentColor; opacity: .8;
}
.wash__stage {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
  border: 1px solid var(--line);
}
.wash__img { position: absolute; inset: 0; }
.wash__img img { inline-size: 100%; block-size: 100%; object-fit: cover; pointer-events: none; }
.wash__img--washed { clip-path: inset(0 0 0 var(--pos)); }
[dir="rtl"] .wash__img--washed { clip-path: inset(0 var(--pos) 0 0); }
.wash__img--washed img { transition: filter .7s var(--ease); }
.wash__stage[data-finish="enzyme"] .wash__img--washed img { filter: none; }
.wash__stage[data-finish="laser"] .wash__img--washed img { filter: contrast(1.14) saturate(.9) brightness(1.04); }
.wash__stage[data-finish="snow"] .wash__img--washed img { filter: brightness(1.16) contrast(1.22) saturate(.55) hue-rotate(-6deg); }
.wash__stage[data-finish="vintage"] .wash__img--washed img { filter: sepia(.32) saturate(.78) brightness(1.06) contrast(.96); }
.wash__tag {
  position: absolute; inset-block-start: 16px; z-index: 2; margin: 0; padding: 7px 11px;
  font-family: var(--mono); font-size: var(--label); letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper); background: rgba(10, 20, 34, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none;
}
.wash__tag--raw { inset-inline-start: 16px; }
.wash__tag--washed { inset-inline-end: 16px; }
html[lang="zh"] .wash__tag, html[lang="ar"] .wash__tag { letter-spacing: 0; }
.wash__handle {
  position: absolute; inset-block: 0; inset-inline-start: var(--pos); z-index: 3;
  inline-size: 2px; margin-inline-start: -1px; background: var(--copper-hi);
  box-shadow: 0 0 0 1px rgba(10, 20, 34, .25), 0 0 24px rgba(217, 162, 108, .5);
  cursor: ew-resize; touch-action: none; outline: none;
}
.wash__knob {
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%; translate: -50% -50%;
  display: grid; place-items: center; inline-size: 54px; block-size: 54px; border-radius: 50%;
  font-size: 1.35rem; line-height: 1; color: var(--ink); background: var(--copper-hi);
  box-shadow: 0 10px 30px rgba(4, 9, 16, .45), inset 0 0 0 4px rgba(237, 232, 223, .35);
  transition: scale .3s var(--ease);
}
[dir="rtl"] .wash__knob { translate: 50% -50%; }
.wash__handle:hover .wash__knob, .wash__stage.is-dragging .wash__knob { scale: 1.08; }
.wash__handle:focus-visible .wash__knob { outline: 2px solid var(--paper); outline-offset: 4px; }
.wash__chips {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.wash__chips li { display: grid; gap: 6px; padding: 16px 18px; background: var(--bg); }
.wash__chipk { font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink); }
html[lang="zh"] .wash__chipk, html[lang="ar"] .wash__chipk { letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.wash__chipv { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.1; color: var(--copper-hi); }
.wash__chips.is-flash .wash__chipv { animation: chipflash .7s var(--ease); }
@keyframes chipflash { from { opacity: .2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) {
  .wash__stage { aspect-ratio: 4 / 3; }
  .wash__tabs button { flex: 1 1 calc(50% - 8px); }
  .wash__chips li { padding: 12px; }
  .wash__knob { inline-size: 46px; block-size: 46px; }
}

/* ---------- 06 Lab: hotspots + side panel ---------- */
.lab__grid { display: grid; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (min-width: 900px) { .lab__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.lab__card { position: relative; background: #E7E2D8; border: 1px solid var(--line); }
.lab__fig { position: relative; direction: ltr; margin: 0; aspect-ratio: 1086 / 1448; max-block-size: 86vh; margin-inline: auto; }
.lab__fig img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.lab__cardfoot {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; margin: 0;
  font-family: var(--mono); font-size: var(--label); letter-spacing: .1em; text-transform: uppercase;
  color: var(--label-ink); border-block-start: 1px solid var(--line);
}
.hot {
  --mark-bg: var(--copper);
  position: absolute; z-index: 2; inline-size: 44px; block-size: 44px; translate: -50% -50%;
  display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hot__ring { position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid var(--copper); animation: hotpulse 2.4s var(--ease) infinite; animation-delay: inherit; }
.hot__core {
  inline-size: 16px; block-size: 16px; border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 0 3px rgba(242, 238, 230, .92), 0 4px 14px rgba(20, 22, 26, .35);
  transition: transform .35s var(--ease), background .35s;
}
.hot__no {
  position: absolute; inset-block-start: -4px; inset-inline-start: 34px;
  font-family: var(--mono); font-size: .68rem; color: #14161A; background: rgba(242, 238, 230, .9);
  padding: 2px 5px; opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.hot:hover .hot__no, .hot.is-active .hot__no, .hot:focus-visible .hot__no { opacity: 1; transform: none; }
.hot:hover .hot__core { transform: scale(1.2); }
.hot.is-set .hot__core { background: var(--mark-bg); transform: scale(1.25); }
.hot.is-set .hot__ring { border-color: #14161A; animation: none; opacity: .5; }
.hot.is-active .hot__core { transform: scale(1.45); }
.hot.is-active .hot__ring { animation: none; inset: 2px; border-width: 2px; border-color: #14161A; opacity: 1; }
.hot--back .hot__core { box-shadow: 0 0 0 3px rgba(242, 238, 230, .92), 0 0 0 5px rgba(20, 22, 26, .35); }
.hot.is-pop .hot__core { animation: hotpop .5s var(--ease); }
@keyframes hotpulse { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes hotpop { 0% { transform: scale(.6); } 60% { transform: scale(1.7); } 100% { transform: scale(1.25); } }

.lab__panel { display: grid; gap: 22px; min-inline-size: 0; }
@media (min-width: 900px) { .lab__panel { position: sticky; inset-block-start: calc(var(--header-h) + 24px); } }
.lab__sheet {
  position: relative; padding: clamp(22px, 2.6vw, 34px); background: #FBF9F4; border: 1px solid var(--line);
  box-shadow: 0 24px 60px -36px rgba(20, 22, 26, .4);
}
.lab__close {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; inline-size: 40px; block-size: 40px;
  display: none; place-items: center; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: inherit; cursor: pointer;
}
.lab__part { margin-block: 10px 6px; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; font-weight: 500; }
.lab__note { margin: 0 0 18px; font-size: var(--body-sm, .92rem); color: var(--muted); min-block-size: 1.5em; }
.lab__swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sw {
  display: grid; gap: 10px; justify-items: center; padding: 14px 8px 12px; cursor: pointer; color: inherit;
  background: transparent; border: 1px solid var(--line); border-radius: 2px; text-align: center;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.sw:hover { border-color: var(--copper); transform: translateY(-2px); }
.sw.is-on { border-color: #14161A; background: rgba(20, 22, 26, .05); box-shadow: inset 0 0 0 1px #14161A; }
.sw__chip {
  inline-size: 52px; block-size: 52px; border-radius: 50%;
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .28), inset 0 4px 8px rgba(255, 255, 255, .45), 0 4px 10px rgba(20, 22, 26, .2);
}
.sw__name { font-size: .8rem; line-height: 1.3; }
.lab__sheet.is-flash .lab__part { animation: chipflash .5s var(--ease); }
.lab__spec { display: grid; gap: 14px; justify-items: start; }
.lab__spec .spec { inline-size: 100%; }
.lab__list > div { opacity: .5; transition: opacity .3s; }
.lab__list > div.is-set { opacity: 1; }
.lab__list > div.is-set dd { color: var(--copper); }

@media (max-width: 899px) { /* the part sheet becomes a bottom sheet */
  .lab__sheet {
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80; max-block-size: 78vh; overflow: auto;
    padding: 26px 20px max(22px, env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0;
    box-shadow: 0 -20px 60px rgba(4, 9, 16, .35); transform: translateY(105%); visibility: hidden;
    transition: transform .45s var(--ease), visibility 0s .45s;
  }
  .lab__sheet::before { content: ""; position: absolute; inset-block-start: 9px; inset-inline-start: 50%; inline-size: 40px; block-size: 4px; margin-inline-start: -20px; border-radius: 4px; background: rgba(20, 22, 26, .2); }
  .lab__panel.is-open .lab__sheet { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .lab__close { display: grid; }
  .sw__chip { inline-size: 44px; block-size: 44px; }
  .hot { inline-size: 48px; block-size: 48px; }
  html.sheet-open .site-header { opacity: .35; pointer-events: none; transition: opacity .3s; }
}

/* ---------- 07 Live: water + factory pulse ---------- */
.live__grid { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 900px) { .live__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.live__water, .live__pulse { padding: clamp(22px, 3vw, 40px); background: var(--panel); border: 1px solid var(--line); min-inline-size: 0; }
.live__water > .kicker, .live__head { display: flex; align-items: center; gap: 10px; margin-block-end: 26px; }
.drop {
  inline-size: 12px; block-size: 12px; background: var(--rinse); flex: none;
  border-radius: 0 50% 50% 50%; transform: rotate(45deg);
}
.bar2 { margin-block-end: 22px; }
.bar2__lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 10px; font-size: .95rem; }
.bar2__val { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar2__track { block-size: 14px; background: rgba(237, 232, 223, .06); border: 1px solid var(--line); overflow: hidden; }
.bar2__fill {
  display: block; block-size: 100%; inline-size: calc(var(--v) * 100%);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.2, .7, .1, 1);
}
[dir="rtl"] .bar2__fill { transform-origin: 100% 50%; }
.bar2__fill--conv { background: repeating-linear-gradient(135deg, #5D7593 0 6px, #4C6382 6px 12px); }
.bar2__fill--lida { background: var(--copper-hi); transition-delay: .25s; }
.live__water.is-live .bar2__fill, html:not(.js) .bar2__fill { transform: none; }
.live__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block-start: 30px; }
.live__card { padding: 18px; border: 1px solid var(--line); background: rgba(14, 26, 43, .5); }
.live__big { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--copper-hi); }
.live__small { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.live__dot { position: relative; inline-size: 9px; block-size: 9px; border-radius: 50%; background: #E2493F; flex: none; }
.live__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #E2493F; animation: hotpulse 1.8s ease-out infinite; }
.live__head bdi { color: #F07A70; letter-spacing: .14em; }
.gauges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gauge { --g: 0; position: relative; text-align: center; min-inline-size: 0; }
.gauge svg { display: block; inline-size: 100%; max-inline-size: 130px; margin-inline: auto; transform: rotate(-90deg); overflow: visible; }
[dir="rtl"] .gauge svg { transform: rotate(-90deg) scaleY(-1); }
.gauge circle { fill: none; stroke-width: 7; }
.gauge__bg { stroke: rgba(237, 232, 223, .1); }
.gauge__fg {
  stroke: var(--copper-hi); stroke-linecap: round; stroke-dasharray: 100 100;
  stroke-dashoffset: calc(100 - var(--g)); transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .1, 1);
  filter: drop-shadow(0 0 6px rgba(217, 162, 108, .45));
}
.gauge__val {
  position: absolute; inset-inline: 0; inset-block-start: 0; aspect-ratio: 1; max-inline-size: 130px; margin: 0 auto;
  display: grid; place-items: center; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-variant-numeric: tabular-nums;
}
.gauge__lbl { margin: 10px 0 0; font-family: var(--mono); font-size: var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--label-ink); }
html[lang="zh"] .gauge__lbl, html[lang="ar"] .gauge__lbl { letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.live__ship { margin: 30px 0 10px; padding-block-start: 18px; border-block-start: 1px dashed rgba(217, 162, 108, .4); font-size: .98rem; }
.live__date { display: inline-block; font-family: var(--serif); font-size: 1.5rem; color: var(--copper-hi); }
.sustain--merged { padding-block-start: 0; }

/* ---------- 08 Lookbook ---------- */
.lb__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-block-end: clamp(24px, 3vw, 40px); }
.lb__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lb__glabel { margin: 0; margin-inline-end: 6px; font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink); }
.lb__count { margin: 0; margin-inline-start: auto; font-family: var(--mono); font-size: var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--label-ink); }
html[lang="zh"] .lb__glabel, html[lang="ar"] .lb__glabel, html[lang="zh"] .lb__count, html[lang="ar"] .lb__count { letter-spacing: 0; }
.lb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); grid-auto-flow: dense; }
.lb__card { position: relative; min-inline-size: 0; display: flex; flex-direction: column; will-change: transform; }
.lb__card[hidden] { display: none; }
.lb__fig { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #E7E2D8; }
.lb__fig img { inline-size: 100%; block-size: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.lb__card:hover .lb__fig img { transform: scale(1.04); }
.lb__cap { margin: 12px 0 4px; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; line-height: 1.5; color: var(--fg); }
.lb__cap bdi:first-child { color: var(--copper); }
.lb__btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer;
  font: 500 .86rem/1.3 var(--sans); color: var(--fg); background: none; border: 0;
  border-block-end: 1px solid var(--line); transition: border-color .3s, gap .3s var(--ease);
}
.lb__btn:hover { border-color: var(--copper); gap: 12px; }
.lb__arrow { display: inline-flex; color: var(--copper); }
[dir="rtl"] .lb__arrow svg { transform: scaleX(-1); }
.lb__empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--muted); }
@media (min-width: 800px) {
  .lb { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row dense; }
  .lb--xl { grid-column: span 6; grid-row: span 2; }
  .lb--xl .lb__fig { aspect-ratio: auto; flex: 1; min-block-size: 0; }
  .lb--md { grid-column: span 3; }
  .lb--sm { grid-column: span 4; }
  .lb--sm .lb__fig { aspect-ratio: 1; }
}
@media (min-width: 800px) and (max-width: 1099px) {
  .lb--md { grid-column: span 6; }
  .lb--sm { grid-column: span 6; }
}

/* ---------- Tech pack modal ---------- */
.tp { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(0px, 3vw, 40px); }
.tp[hidden] { display: none; }
.tp__scrim { position: absolute; inset: 0; background: rgba(6, 12, 22, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.tp__box {
  position: relative; inline-size: min(1120px, 100%); max-block-size: min(92vh, 100%); overflow: auto; overscroll-behavior: contain;
  display: grid; gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 44px);
  background: var(--bg); color: var(--fg); border: 1px solid var(--line-light);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .3s ease, transform .4s var(--ease);
}
.tp.is-open .tp__scrim { opacity: 1; }
.tp.is-open .tp__box { opacity: 1; transform: none; }
@media (min-width: 900px) { .tp__box { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
html.tp-open { overflow: hidden; }
.tp__x {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 2; inline-size: 42px; block-size: 42px;
  display: grid; place-items: center; font-size: 1.7rem; line-height: 1; color: var(--fg); background: none; border: 0; cursor: pointer;
}
.tp__form { display: grid; gap: 16px; min-inline-size: 0; }
.tp__h { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; line-height: 1.1; padding-inline-end: 40px; }
.tp__form .field { display: grid; gap: 8px; }
.field__label { font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); text-transform: uppercase; color: var(--label-ink); }
html[lang="zh"] .field__label, html[lang="ar"] .field__label { letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.tp__form input[type="range"] { padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--copper-hi); block-size: 28px; }
.tp__form textarea { min-block-size: 90px; }
.tp__hw { margin: 0; padding: 12px 14px; font-family: var(--mono); font-size: .84rem; line-height: 1.5; border: 1px dashed rgba(217, 162, 108, .5); color: var(--copper-hi); }
.tp__edit { justify-self: start; font-size: .84rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.tp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 6px; }
.tp-card {
  position: relative; min-inline-size: 0; padding: clamp(20px, 2.4vw, 30px); color: #14161A;
  background: #F6F2EA; background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(20, 22, 26, .05) 27px 28px);
  border: 1px solid #D8D1C4; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
@media (min-width: 900px) { .tp-card { position: sticky; inset-block-start: 0; transform: rotate(.6deg); } [dir="rtl"] .tp-card { transform: rotate(-.6deg); } }
.tp-card::before { /* punched hole like a hang tag */
  content: ""; position: absolute; inset-block-start: 14px; inset-inline-end: 16px; inline-size: 14px; block-size: 14px;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5);
}
.tp-card__head { display: grid; gap: 4px; padding-block-end: 14px; margin-block-end: 6px; border-block-end: 2px solid #14161A; font-family: var(--mono); }
.tp-card__brand { font-size: .72rem; letter-spacing: .24em; }
.tp-card__title { font-size: 1.4rem; font-weight: 700; letter-spacing: .12em; }
.tp-card__code { font-size: .86rem; color: #A5672F; letter-spacing: .06em; }
.tp-card__list > div { display: flex; justify-content: space-between; gap: 14px; padding-block: 8px; border-block-end: 1px dotted rgba(20, 22, 26, .3); }
.tp-card__list dt { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(20, 22, 26, .66); flex: none; max-inline-size: 45%; }
html[lang="zh"] .tp-card__list dt, html[lang="ar"] .tp-card__list dt { letter-spacing: 0; text-transform: none; font-family: var(--sans); font-size: .8rem; }
.tp-card__list dd { margin: 0; font-size: .88rem; font-weight: 500; text-align: end; overflow-wrap: anywhere; }
.tp-card__foot { margin: 16px 0 0; font-family: var(--mono); font-size: .68rem; line-height: 1.6; color: rgba(20, 22, 26, .6); }
@media (max-width: 899px) {
  .tp { padding: 0; place-items: end stretch; }
  .tp__box { max-block-size: 94vh; border-radius: 14px 14px 0 0; padding-block-end: max(22px, env(safe-area-inset-bottom)); }
}

/* ---------- Footer demo note ---------- */
.footer__demo { display: block; margin-block-start: 6px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; opacity: .62; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hot__ring, .live__dot::after, .hero__media.is-poster .hero__poster { animation: none !important; }
  .bar2__fill, .gauge__fg, .tp__box, .tp__scrim, .lab__sheet { transition: none !important; }
  .bar2__fill { transform: none; }
}

/* ---------- Print: only the tech pack card ---------- */
@media print {
  html.tp-print body > *:not(.tp) { display: none !important; }
  html.tp-print .tp { position: static; display: block; padding: 0; }
  html.tp-print .tp__scrim, html.tp-print .tp__form, html.tp-print .tp__x { display: none !important; }
  html.tp-print .tp__box { display: block; max-block-size: none; overflow: visible; padding: 0; border: 0; box-shadow: none; background: #fff; opacity: 1; transform: none; }
  html.tp-print .tp-card { position: static; transform: none; box-shadow: none; background: #fff; border: 1px solid #000; }
  html.tp-print .tp-card::before { display: none; }
  html.tp-print, html.tp-print body { background: #fff !important; }
}

/* Hermes QA: fixed magazine rhythm for the full 16-look set (no orphan rows) */
@media (min-width: 1100px) {
  .lb > .lb__card { grid-column: span 3; grid-row: auto; }
  .lb > .lb__card .lb__fig { aspect-ratio: 4 / 5; flex: initial; }
  .lb > .lb__card:nth-child(1) { grid-column: 1 / span 6; grid-row: span 2; }
  .lb > .lb__card:nth-child(10) { grid-column: 7 / span 6; grid-row: span 2; }
  .lb > .lb__card:nth-child(1) .lb__fig, .lb > .lb__card:nth-child(10) .lb__fig { aspect-ratio: auto; flex: 1; min-block-size: 0; }
  .lb > .lb__card:nth-child(n+15) { grid-column: span 6; }
  .lb > .lb__card:nth-child(n+15) .lb__fig { aspect-ratio: 3 / 2; }
}

/* ---------- Zipper opening (js/zipper.js) ---------- */
.zip__canvas { position: absolute; inset: 0; z-index: 5; inline-size: 100%; block-size: 100vh; pointer-events: none; }
.zip__hint {
  position: absolute; z-index: 6; inset-inline-start: 50%; inset-block-end: 5vh; translate: -50% 0; margin: 0;
  padding: 10px 18px; background: rgba(8,16,30,.72); border: 1px solid #C8894B; color: #F2E6D2;
  font: 600 .86rem/1.2 var(--mono, ui-monospace, monospace); letter-spacing: .2em; white-space: nowrap;
  animation: zipHint 1.8s ease-in-out infinite;
}
[dir="rtl"] .zip__hint { translate: 50% 0; letter-spacing: 0; }
@keyframes zipHint { 50% { transform: translateY(6px); } }
/* Hermes QA: hero stat breathing room */
.hero__stats { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr); }
@media (max-width: 699px) { .hero__num { font-size: 1.55rem; } .hero__stats li + li { padding-inline-start: 8px; } }

/* Hermes QA round: readability + lab image */
.zip__hint { font-size: .95rem; padding: 12px 22px; background: rgba(8,16,30,.86); }
.lab__fig { block-size: min(calc(100vh - var(--header-h) - 120px), 1100px); inline-size: auto; max-inline-size: 100%; }
@media (max-width: 899px) { .lab__fig { block-size: auto; inline-size: 100%; } }
.hero__stats > * { min-inline-size: 0; }
.lb__cap, .lb__meta, [class*=lb__] .mono { font-size: .8rem; }
.scale__statement .w.is-last .w__i { color: #E8A866; }

/* Lab: front/back views */
.lab__fig .lab__back { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease, ease); }
.lab__fig .lab__front { transition: opacity .5s var(--ease, ease); }
.lab__fig.is-back .lab__back { opacity: 1; }
.lab__fig.is-back .lab__front { opacity: 0; }
.lab__fig .hot { transition: opacity .35s, scale .35s; }
.lab__fig:not(.is-back) .hot--back, .lab__fig.is-back .hot:not(.hot--back) { opacity: 0; scale: .4; pointer-events: none; }
.lab__flip { position: absolute; z-index: 3; inset-block-start: 14px; inset-inline-end: 14px; display: flex; background: rgba(14,26,43,.9); border-radius: 999px; padding: 3px; }
.lab__flip button { border: 0; background: transparent; color: #E9E2D4; font: 600 .82rem/1 var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.lab__flip button[aria-pressed="true"] { background: var(--copper, #C8894B); color: #14161A; }

/* =====================================================================
   V2 Phase C — scenes (js/scenes.js). Classes on <html>:
   .scenes (motion allowed) · .scenes-g (GSAP scenes live) · .scenes-flip · .scenes-fx · .scenes-craft · .scenes-needle · .scenes-marq
   ===================================================================== */

/* ---------- global: copper scroll thread ---------- */
.thread { position: fixed; inset-block-start: 0; inset-inline: 0; block-size: 2px; z-index: 70; pointer-events: none; }
.thread i { display: block; block-size: 100%; background: linear-gradient(90deg, var(--copper), var(--copper-hi)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .thread i { transform-origin: 100% 50%; }

/* ---------- global: dark ↔ paper gradient seams (120px) ---------- */
.paper { position: relative; isolation: isolate; }
.paper::before, .paper::after { content: ""; position: absolute; inset-inline: 0; block-size: 120px; z-index: -1; pointer-events: none; }
.paper::before { inset-block-start: 0; background: linear-gradient(#0E1A2B, rgba(14, 26, 43, 0)); }
.paper::after { inset-block-end: 0; background: linear-gradient(rgba(14, 26, 43, 0), #0E1A2B); }
#products::after, #brands::before { content: none; }
.paper > .container { position: relative; }

/* ---------- global: N°xx flip-in ---------- */
.scenes-flip .chapter__no { display: inline-flex; perspective: 400px; }
.scenes-flip .chapter__no::before { align-self: center; }
.flip__d { display: inline-block; transform-origin: 50% 0; backface-visibility: hidden; transform: rotateX(-92deg); opacity: 0; transition: transform .7s cubic-bezier(.2, .9, .25, 1.25), opacity .3s; transition-delay: calc(var(--i) * 90ms + 120ms); }
.chapter__no.is-flipped .flip__d { transform: none; opacity: 1; }

/* ---------- #numbers: odometer ---------- */
.odo__sr, .tw-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.odo { display: inline-flex; direction: ltr; unicode-bidi: isolate; }
.odo__d { display: inline-block; block-size: 1em; overflow: hidden; line-height: 1; }
.odo__s { display: flex; flex-direction: column; transform: translateY(0); transition: transform 2.2s cubic-bezier(.16, .84, .24, 1); transition-delay: calc(var(--i) * -110ms + 600ms); }
.odo__s > span { display: block; block-size: 1em; line-height: 1; text-align: center; }
.is-rolled .odo__s { transform: translateY(calc(var(--n) * -5%)); }
.odo__c { display: inline-block; line-height: 1; }
.stat__num bdi { display: inline-flex; align-items: baseline; }
.sew { display: block; inline-size: 100%; block-size: 48px; margin-block-start: clamp(36px, 5vw, 72px); overflow: visible; }
.sew__guide { stroke: rgba(237, 232, 223, .14); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.sew__thread { stroke: var(--copper-hi); stroke-width: 1.6; stroke-dasharray: 9 6; vector-effect: non-scaling-stroke; }
.scenes-g .sew__mask { stroke-dasharray: 1; }
[dir="rtl"] .sew { transform: scaleX(-1); }

/* ---------- #factories: horizontal gallery ---------- */
.fx { position: relative; margin-block-start: clamp(36px, 4vw, 64px); }
.fx__track { display: grid; gap: clamp(40px, 8vw, 72px); padding-inline: var(--edge); }
.fx__panel { position: relative; display: grid; gap: 22px; min-inline-size: 0; }
.fx__img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.fx__img img { inline-size: 100%; block-size: 100%; object-fit: cover; will-change: transform; }
.fx__img .hangtag--corner { inset-block: auto 14px; }
.fx__city {
  position: absolute; z-index: 2; inset-block-start: clamp(-28px, -2vw, -12px); inset-inline-start: -4px; margin: 0; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 11vw, 10rem); line-height: .9; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 162, 108, .75); letter-spacing: -.01em;
}
.fx__coord { margin: 0 0 10px; font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); color: var(--copper-hi); }
.fx__text { color: var(--muted); max-inline-size: 30em; }
.fx__link { position: relative; display: flex; align-items: center; justify-content: center; min-block-size: 110px; }
.fx__link svg { inline-size: min(300px, 80%); block-size: auto; overflow: visible; }
.fx__route { stroke: var(--copper-hi); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
html:not(.scenes) .fx__route { stroke-dashoffset: 0; }
[dir="rtl"] .fx__link svg { transform: scaleX(-1); }
.fx__pin { position: absolute; font-family: var(--mono); font-size: var(--label); letter-spacing: var(--track); color: var(--paper); border: 1px solid var(--copper); padding: 3px 7px; background: var(--bg); }
.fx__pin--a { inset-inline-start: 6%; inset-block-start: 18%; }
.fx__pin--b { inset-inline-end: 6%; inset-block-end: 18%; }
.fx__progress { display: none; }
@media (min-width: 900px) {
  .fx__panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: clamp(28px, 3vw, 56px); }
  .fx__card { padding-block-end: 8px; }
  .scenes-fx .fx { block-size: 100vh; block-size: 100svh; margin-block-start: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
  .scenes-fx .fx__track { display: flex; flex-wrap: nowrap; align-items: center; inline-size: max-content; gap: 0; padding-block: calc(var(--header-h) + 20px) 60px; }
  .scenes-fx .fx__panel { flex: none; inline-size: min(78vw, 1240px); margin-inline-end: 6vw; }
  .scenes-fx .fx__img { aspect-ratio: auto; block-size: min(62vh, 640px); }
  .scenes-fx .fx__img img { transform: scale(1.14); }
  .scenes-fx .fx__link { flex: none; inline-size: min(24vw, 360px); margin-inline-end: 6vw; }
  .scenes-fx .fx__progress { display: block; position: absolute; inset-block-end: 28px; inset-inline: var(--edge); block-size: 1px; background: var(--line); }
  .scenes-fx .fx__progress i { display: block; block-size: 100%; background-image: repeating-linear-gradient(90deg, var(--copper-hi) 0 8px, transparent 8px 13px); transform: scaleX(0); transform-origin: 0 50%; }
  [dir="rtl"] .scenes-fx .fx__progress i { transform-origin: 100% 50%; }
}

/* ---------- #craft: assembly line ---------- */
.craft__stage { position: relative; }
.belt { position: relative; block-size: 14px; margin-block-start: 26px; margin-inline: var(--edge); overflow: hidden; border-block: 1px solid var(--line); }
.belt i { position: absolute; inset-block: 0; inset-inline: -40px; background: repeating-linear-gradient(90deg, rgba(217, 162, 108, .55) 0 2px, transparent 2px 26px); transform: translateX(var(--x, 0px)); }
.rail.is-live .step figure { animation: none; }
.scenes .rail .step { transition: transform .6s var(--ease), opacity .6s var(--ease); }
.scenes .rail .step figure img { transition: transform .9s var(--ease); }
@media (max-width: 899.98px) {
  .scenes .rail .step:not(.is-on) { opacity: .35; transform: translateY(18px); }
  .scenes .rail .step:not(.is-on) figure img { transform: translateX(14%) scale(1.1); }
  .scenes .rail .step.is-on .step__no { animation: stepno .8s var(--ease) both; }
}
@keyframes stepno { from { transform: scale(2.2); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 900px) {
  .scenes-craft .rail { overflow: hidden; scroll-snap-type: none; scroll-behavior: auto; cursor: auto; padding-block: 34px 10px; }
  .scenes-craft .rail-nav, .scenes-craft .rail-hint { display: none; }
  .scenes-craft .step { inline-size: clamp(280px, 26vw, 400px); scroll-snap-align: none; transform: translateY(calc(var(--d, 0) * var(--d, 0) * 46px)); opacity: calc(1 - var(--d, 0) * var(--d, 0) * .55); transition: none; }
  .scenes-craft .step figure { aspect-ratio: auto; block-size: min(46vh, 440px); }
  .scenes-craft .step figure img { transform: translateX(calc(var(--d, 0) * -16%)) scale(1.22); transition: none; }
  .scenes-craft .step__no { display: inline-block; transform-origin: 0 100%; transform: scale(calc(1 + (1 - min(1, max(var(--d, 0), calc(var(--d, 0) * -1)))) * 1.6)); transition: transform .2s linear; }
  [dir="rtl"] .scenes-craft .step__no { transform-origin: 100% 100%; }
  .scenes-craft .step.is-current figure { box-shadow: 0 28px 50px -24px rgba(0, 0, 0, .7), 0 0 0 1px var(--copper); }
  .scenes-craft .step.is-current { transform: translateY(-14px); }
  .scenes-craft .belt { margin-block-start: 12px; }
}
.needle { position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 5; inline-size: 18px; block-size: 48px; margin-block-start: -46px; margin-inline-start: -9px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.needle svg { display: block; transform: rotate(18deg); transform-origin: 50% 100%; transition: transform .15s; }
.needle.is-on { opacity: 1; }
.needle.is-stitch svg { transform: rotate(18deg) translateY(8px); }
.scenes-needle #craft, .scenes-needle #craft .rail { cursor: none; }
.scenes-needle #craft a, .scenes-needle #craft button { cursor: pointer; }

/* ---------- dye bath (full-bleed video interlude) ---------- */
.dye { position: relative; display: grid; align-items: end; min-block-size: 92vh; min-block-size: 92svh; overflow: hidden; background: #0A1424; isolation: isolate; }
.dye__media { position: absolute; inset: 0; z-index: -2; transform-origin: 50% 60%; }
.dye__vid { inline-size: 100%; block-size: 100%; object-fit: cover; }
.dye.is-poster .dye__vid { visibility: hidden; }
.dye.is-poster .dye__media { background: radial-gradient(120% 90% at 30% 20%, #27507F, #0A1424 70%); }
.dye__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14, 26, 43, .2), rgba(14, 26, 43, .55) 55%, #0E1A2B); opacity: .35; }
.dye::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 120px; z-index: -1; background: linear-gradient(#0E1A2B, rgba(14, 26, 43, 0)); }
.dye__inner { padding-block: clamp(80px, 12vw, 160px); }
.dye__title { font-family: var(--serif); font-size: clamp(2.8rem, 8.4vw, 8.2rem); line-height: .98; max-inline-size: 12em; margin: 14px 0 0; color: var(--paper); }
.dye__title .dw { display: inline-block; white-space: nowrap; }
.dye__title .ch { display: inline-block; }
.scenes .dye__title .ch { opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(8px); color: #5D86B8; transition: opacity .7s var(--ease), transform .9s var(--ease), filter .9s var(--ease), color 1.6s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.scenes .dye__title.is-in .ch { opacity: 1; transform: none; filter: none; color: var(--paper); }

/* ---------- #live water drop ---------- */
.dropx { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; margin-block: clamp(28px, 4vw, 56px); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); background: var(--panel); }
.dropx__fig { inline-size: min(220px, 56vw); margin-inline: auto; }
.dropx__fig svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.dropx__bg { fill: rgba(237, 232, 223, .05); }
.dropx__outline { stroke: var(--copper-hi); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.dropx__water { transition: transform .12s linear; }
.dropx__wave { animation: wave 3.2s linear infinite; }
@keyframes wave { to { transform: translateX(100px); } }
.dropx__num { font-family: var(--serif); font-size: clamp(3.6rem, 9vw, 7.4rem); line-height: 1; margin: 10px 0 18px; color: var(--paper); font-variant-numeric: tabular-nums; }
.dropx__scale { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dropx__scale li { display: flex; gap: 14px; align-items: baseline; font-size: var(--body-sm); color: var(--muted); }
.dropx__scale bdi { font-family: var(--mono); min-inline-size: 4.4em; color: var(--copper-hi); }
@media (min-width: 700px) { .dropx { grid-template-columns: auto minmax(0, 1fr); } .dropx__fig { margin-inline: 0; } }

/* ---------- sustainability: solar panels light up ---------- */
.sustain__img { position: relative; }
.solar { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(4, 1fr); gap: 3px; padding: 3px; pointer-events: none; mix-blend-mode: screen; --sun: 2; }
.solar i { background: linear-gradient(135deg, rgba(217, 162, 108, .55), rgba(93, 134, 184, .2)); opacity: calc(clamp(0, (var(--sun) - var(--d)) * 6, 1) * .55); }
html:not(.scenes-g) .solar { display: none; }

/* ---------- lookbook: marquee band, reveals, cursor tag ---------- */
.marq-band { overflow: hidden; margin-block: clamp(10px, 2vw, 24px) clamp(26px, 3vw, 44px); border-block: 1px solid var(--line); padding-block: 14px; }
.marq-band__track { display: flex; inline-size: max-content; }
.marq-band__item { flex: none; padding-inline-end: .5em; font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--copper); }
html[lang="zh"] .marq-band__item, html[lang="ar"] .marq-band__item { font-style: normal; }
.marq-band__item:nth-child(2n) { color: var(--ink); -webkit-text-stroke: 0; }
.lb__fig { overflow: hidden; }
.lb__fig img { transition: transform 1.1s var(--ease); }
.lb__card:hover .lb__fig img { transform: scale(1.05); }
.scenes .lb__card.reveal { opacity: 1; transform: none; }
.scenes .lb__card.reveal .lb__fig { clip-path: inset(100% 0% 0% 0%); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--k, 0) * 90ms); }
.scenes .lb__card.reveal .lb__fig img { transform: scale(1.25) rotate(-2deg); transition: transform 1.6s var(--ease); transition-delay: calc(var(--k, 0) * 90ms); }
.scenes .lb__card.reveal.is-in .lb__fig { clip-path: inset(0% 0% 0% 0%); }
.scenes .lb__card.reveal.is-in .lb__fig img { transform: none; }
.scenes .lb__card.reveal.is-in:hover .lb__fig img { transform: scale(1.05); transition-delay: 0s; }
.scenes .lb__card.reveal .lb__cap, .scenes .lb__card.reveal .lb__btn { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 90ms + 400ms); }
.scenes .lb__card.reveal.is-in .lb__cap, .scenes .lb__card.reveal.is-in .lb__btn { opacity: 1; transform: none; }
.lb__tag { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 60; pointer-events: none; display: grid; place-items: center; inline-size: 84px; block-size: 84px; margin-block-start: -42px; margin-inline-start: -42px; border-radius: 50%; background: var(--copper); color: #F2EEE6; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; opacity: 0; scale: .3; transition: opacity .25s, scale .35s var(--ease); }
.lb__tag.is-on { opacity: 1; scale: 1; }

/* ---------- partners: two counter-running rows ---------- */
.marq { display: grid; gap: 0; border-block: 1px solid var(--line); overflow: hidden; }
.marq__row { overflow: hidden; }
.marq__row + .marq__row { border-block-start: 1px solid var(--line); }
.marq__track { display: flex; inline-size: max-content; animation: marq 46s linear infinite; }
.marq__row--rev .marq__track { animation-direction: reverse; animation-duration: 54s; }
.marq:hover .marq__track { animation-play-state: paused; }
[dir="rtl"] .marq__track { animation-name: marq-rtl; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }
.logos.logos--row { display: flex; flex: none; border: 0; }
.logos--row li { flex: none; inline-size: clamp(170px, 18vw, 250px); block-size: clamp(110px, 10vw, 140px); border: 0; border-inline-end: 1px solid var(--line); }
.logos--row img { transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.logos--row li:hover img { transform: scale(1.06); }

/* ---------- people: polaroids + typewriter ---------- */
.polaroid { background: #F2EEE6; padding: 8px 8px 26px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8); }
.polaroid img { position: absolute; inset: 8px 8px 26px; inline-size: calc(100% - 16px); block-size: calc(100% - 34px); }
.tw > span { opacity: 0; }
.tw > span.on { opacity: 1; }
html:not(.scenes) .tw > span { opacity: 1; }
.tw__caret { display: inline-block; inline-size: 2px; block-size: .95em; margin-inline-start: 2px; vertical-align: -.1em; background: var(--copper-hi); animation: caret 1s steps(1) infinite; }
.is-typing .tw__caret { animation: none; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- visit: shipping label + split photo ---------- */
.visit__text > p:has(.btn) { margin-block-start: 28px; }
.shiplabel { margin-block-start: clamp(28px, 3vw, 44px); padding: 18px 20px; max-inline-size: 30em; background: #F2EEE6; color: #1B2533; font-family: var(--mono); font-size: var(--body-sm); transform: rotate(-1.2deg); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .8); }
[dir="rtl"] .shiplabel { transform: rotate(1.2deg); }
.shiplabel p { margin: 0; }
.shiplabel__head { display: flex; justify-content: space-between; gap: 12px; padding-block-end: 10px; border-block-end: 2px solid #1B2533; text-transform: uppercase; letter-spacing: var(--track); font-size: var(--label); }
.shiplabel__to { margin-block-start: 12px !important; font-family: var(--serif); font-size: 1.4rem; }
.shiplabel__addr { font-style: normal; line-height: 1.5; margin-block: 4px 14px; }
.shiplabel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--label); }
.shiplabel__bars { flex: 1; max-inline-size: 180px; block-size: 34px; background: repeating-linear-gradient(90deg, #1B2533 0 2px, transparent 2px 4px, #1B2533 4px 7px, transparent 7px 9px, #1B2533 9px 10px, transparent 10px 14px); }
.split { display: flex; margin-block-start: clamp(24px, 3vw, 40px); aspect-ratio: 16 / 7; overflow: hidden; }
.split__half { flex: 1; background: url(../assets/img/DSC06929-1200.webp) 0% 50% / 200% 100% no-repeat; will-change: transform; }
.split__half--b { background-position: 100% 50%; }
[dir="rtl"] .split__half--a { background-position: 100% 50%; }
[dir="rtl"] .split__half--b { background-position: 0% 50%; }
.split::before { content: ""; }

/* ---------- contact: closing line, hang-tag form, zip button ---------- */
.closing { margin: 0 0 clamp(28px, 4vw, 56px); font-family: var(--serif); font-size: clamp(3.2rem, 11vw, 10.5rem); line-height: .92; letter-spacing: -.02em; color: var(--paper); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .closing { background: linear-gradient(rgba(217, 162, 108, .25), rgba(14, 26, 43, .35)), url(../assets/ai/raw.webp) 50% 40% / cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.form--tag { position: relative; padding: clamp(26px, 3vw, 44px); padding-block-start: clamp(46px, 4vw, 60px); border: 1px solid rgba(217, 162, 108, .4); background: rgba(19, 36, 58, .7); }
.form--tag::before { content: ""; position: absolute; inset-block-start: 16px; inset-inline-start: 50%; inline-size: 14px; block-size: 14px; margin-inline-start: -7px; border-radius: 50%; border: 1px solid var(--copper-hi); background: var(--bg); }
.form--tag::after { content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(217, 162, 108, .35); pointer-events: none; }
.scenes .form--tag.is-in { animation: tagfloat 7s ease-in-out 1.2s infinite; transform-origin: 50% 0; }
@keyframes tagfloat { 0%, 100% { rotate: 0deg; } 50% { rotate: .5deg; } }
.btn--zip { position: relative; overflow: hidden; }
.btn--zip::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 4px; background: repeating-linear-gradient(90deg, var(--copper-hi) 0 4px, transparent 4px 7px); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
[dir="rtl"] .btn--zip::after { transform-origin: 100% 50%; }
.btn--zip:hover::after, .btn--zip:focus-visible::after { transform: scaleX(1); }

/* ---------- reduced motion: static, everything visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .thread, .needle, .lb__tag, .solar { display: none !important; }
  .flip__d, .odo__s, .dye__title .ch, .lb__fig, .lb__fig img, .lb__cap, .lb__btn { transition: none !important; }
  .dropx__wave, .marq__track, .marq-band__track, .form--tag, .tw__caret { animation: none !important; }
  .fx__route { stroke-dashoffset: 0 !important; }
}

/* Hermes QA after Phase C */
.fx__city { z-index: 0; -webkit-text-stroke: 1.2px rgba(232, 168, 102, .55); }
.fx__panel > :not(.fx__city) { position: relative; z-index: 1; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .closing { background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .05)), url(../assets/ai/washed.webp) 50% 45% / cover; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .35)); }
}
.closing { line-height: 1.12; padding-block-end: .08em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .closing { background: linear-gradient(rgba(255, 255, 255, .42), rgba(255, 255, 255, .18)), url(../assets/ai/washed.webp) 50% 45% / cover; -webkit-background-clip: text; background-clip: text; }
}

/* Lab clarity: steps strip, always-on labels, zoom badge, fly chip */
.lab__steps { list-style: none; margin: 0 0 clamp(22px, 3vw, 36px); padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.lab__steps li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; color: var(--ink); }
.lab__steps li b { display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; background: var(--copper, #C8894B); color: #14161A; font: 700 .85rem/1 var(--mono); }
.lab__steps li:not(:last-child):not(:nth-last-child(2))::after { content: '→'; margin-inline-start: 6px; color: var(--copper, #C8894B); }
[dir="rtl"] .lab__steps li:not(:last-child):not(:nth-last-child(2))::after { content: '←'; }
.lab__steps .lab__steps-demo { padding: 0; background: none; border: 0; margin-inline-start: auto; }
.hot__tag {
  position: absolute; inset-block-start: 50%; inset-inline-start: calc(100% + 4px); translate: 0 -50%; white-space: nowrap;
  padding: 5px 10px; border-radius: 999px; background: rgba(14, 26, 43, .88); color: #F2E6D2; font: 600 .78rem/1 var(--sans); pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}
.hot.is-set .hot__tag { background: var(--copper, #C8894B); color: #14161A; }
.hot__zoom { position: absolute; inset-block-end: calc(100% + 6px); inset-inline-start: 50%; translate: -50% 0; inline-size: 62px; block-size: 62px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.3); overflow: hidden; opacity: 0; scale: .3; transition: opacity .35s, scale .45s var(--ease, ease); pointer-events: none; }
.hot__zoom i { position: absolute; inset: 0; }
.hot.is-set .hot__zoom { opacity: 1; scale: 1; }
.lab__fly { position: fixed; z-index: 90; border-radius: 50%; pointer-events: none; transition: transform .7s cubic-bezier(.5,0,.2,1), opacity .7s; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.lab__list > div.is-new { animation: labNew 1.1s ease; }
@keyframes labNew { 0% { background: rgba(200,137,75,.45); } 100% { background: transparent; } }
@media (max-width: 899px) { .hot__tag { font-size: .7rem; padding: 4px 8px; } .hot__zoom { inline-size: 46px; block-size: 46px; } }
.hot--flip .hot__tag { inset-inline-start: auto; inset-inline-end: calc(100% + 4px); }
/* mobile overflow guard (fx city names + craft track) */
#factories, #craft, .fx, .craft { overflow-x: clip; }
html, body { overflow-x: clip; }
.hot--low .hot__zoom { inset-block-end: auto; inset-block-start: calc(100% + 6px); }
.hot__no { display: none; }

/* Brands: transparent single-tone logos */
.logos li { background: none !important; box-shadow: none !important; border: 0 !important; }
.logos img, .logos .logo--light img { filter: none !important; opacity: .82; mix-blend-mode: normal; block-size: 46px; inline-size: auto; max-inline-size: 190px; object-fit: contain; transition: opacity .3s, transform .3s; }
.logos .logo--sq img, .logos .logo--sq.logo--light img { block-size: 64px; }
.logos li:hover img { opacity: 1; transform: translateY(-2px); filter: none !important; }
/* anchor jumps: never hide titles under sticky header */
section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ===================================================================== V2 Phase D — planner + loupe */
.plan__grid { display: grid; gap: clamp(28px, 4vw, 56px); margin-block-start: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .plan__grid { grid-template-columns: minmax(300px, 5fr) 7fr; align-items: start; } }
.plan__controls { display: grid; gap: 28px; padding: clamp(20px, 2.6vw, 32px); background: rgba(10, 20, 34, .45); border: 1px solid var(--line); }
.plan__field { margin: 0; padding: 0; border: 0; min-inline-size: 0; display: grid; gap: 12px; }
.plan__k { margin: 0; padding: 0; }
.plan__qty { display: flex; align-items: baseline; gap: 10px; margin: 0; line-height: 1; }
.plan__odo { display: inline-flex; font: 400 clamp(2.8rem, 5.4vw, 4.4rem)/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; color: var(--fg); overflow: hidden; padding-block: .06em; direction: ltr; }
.plan__dg { display: inline-block; min-inline-size: .1em; }
.plan__dg.is-up { animation: planUp .42s var(--ease); }
.plan__dg.is-down { animation: planDown .42s var(--ease); }
@keyframes planUp { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes planDown { from { transform: translateY(-70%); opacity: 0; } to { transform: none; opacity: 1; } }
.plan__unit { font: 500 var(--label)/1 var(--mono); letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.plan__range { --fill: 55%; appearance: none; -webkit-appearance: none; inline-size: 100%; block-size: 28px; margin: 0; background: transparent; cursor: pointer; }
.plan__range::-webkit-slider-runnable-track { block-size: 3px; border-radius: 3px; background: linear-gradient(to right, var(--copper) var(--fill), rgba(237, 232, 223, .2) var(--fill)); }
.plan__range::-moz-range-track { block-size: 3px; border-radius: 3px; background: linear-gradient(to right, var(--copper) var(--fill), rgba(237, 232, 223, .2) var(--fill)); }
[dir="rtl"] .plan__range::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--copper) var(--fill), rgba(237, 232, 223, .2) var(--fill)); }
[dir="rtl"] .plan__range::-moz-range-track { background: linear-gradient(to left, var(--copper) var(--fill), rgba(237, 232, 223, .2) var(--fill)); }
.plan__range::-webkit-slider-thumb { -webkit-appearance: none; inline-size: 22px; block-size: 22px; margin-block-start: -9.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--copper-hi); box-shadow: 0 0 0 5px rgba(200, 137, 75, .16); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan__range::-moz-range-thumb { inline-size: 18px; block-size: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--copper-hi); box-shadow: 0 0 0 5px rgba(200, 137, 75, .16); }
.plan__range:hover::-webkit-slider-thumb, .plan__range:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(200, 137, 75, .22); }
.plan__range:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 4px; }
.plan__scale { display: flex; justify-content: space-between; margin: 0; font: 400 .72rem/1 var(--mono); color: var(--muted); }
.plan__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.plan__seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan__opt { min-block-size: 42px; padding: 8px 10px; font: 500 .84rem/1.2 var(--sans); color: inherit; background: transparent; border: 1px solid var(--line); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.plan__opt:hover { border-color: var(--copper); }
.plan__opt.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.plan__opt:focus-visible, .plan__toggle input:focus-visible + .plan__switch { outline: 2px solid var(--copper-hi); outline-offset: 3px; }
.plan__toggle { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: .92rem; }
.plan__toggle input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.plan__switch { position: relative; flex: none; inline-size: 44px; block-size: 24px; border-radius: 24px; border: 1px solid var(--line); background: rgba(237, 232, 223, .08); transition: background .3s var(--ease), border-color .3s var(--ease); }
.plan__switch::after { content: ""; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 16px; block-size: 16px; border-radius: 50%; background: var(--muted); transition: inset-inline-start .3s var(--ease), background .3s var(--ease); }
.plan__toggle input:checked + .plan__switch { background: rgba(200, 137, 75, .3); border-color: var(--copper); }
.plan__toggle input:checked + .plan__switch::after { inset-inline-start: 23px; background: var(--copper-hi); }

.plan__out { display: grid; gap: clamp(22px, 2.6vw, 32px); min-inline-size: 0; }
.plan__result { display: grid; gap: 8px; }
.plan__exf { margin: 0; font: 400 clamp(1.9rem, 3.6vw, 3rem)/1.08 var(--serif); }
.plan__n { color: var(--copper-hi); font-variant-numeric: tabular-nums; }
.plan__arrive { margin: 0; font: 500 .9rem/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.plan__arrive bdi { color: var(--fg); }

.plan__chart { position: relative; display: grid; gap: 14px; padding-block-end: 26px; }
.plan__lane { --x: 0; --w: 0; display: grid; gap: 6px; transition: opacity .4s var(--ease); }
.plan__sl { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: .82rem; color: var(--muted); }
.plan__sl span { color: var(--fg); }
.plan__sd { font-family: var(--mono); font-size: .76rem; white-space: nowrap; }
.plan__track { position: relative; block-size: 12px; background: repeating-linear-gradient(90deg, rgba(237, 232, 223, .07) 0 1px, transparent 1px 10%); border-block: 1px solid rgba(237, 232, 223, .08); }
.plan__bar { position: absolute; inset-block: -1px; inset-inline-start: calc(var(--x) * 1%); inline-size: calc(var(--w) * 1%); background: var(--copper); box-shadow: 0 0 18px rgba(200, 137, 75, .25); }
.plan__lane[data-stage="sample"] .plan__bar { background: var(--copper-hi); }
.plan__lane[data-stage="fabric"] .plan__bar { background: repeating-linear-gradient(135deg, var(--copper) 0 6px, #A9703A 6px 12px); }
.plan__lane[data-stage="ship"] .plan__bar { background: repeating-linear-gradient(90deg, #5D86B8 0 10px, transparent 10px 14px); box-shadow: none; }
.plan__lane.is-off { opacity: .4; }
.plan__lane.is-off .plan__sd { font-style: normal; }
.plan__rail { position: relative; block-size: 16px; margin-block-start: 4px; border-block-start: 1px dashed rgba(237, 232, 223, .22); }
.plan__mark, .plan__ship { --p: 0; position: absolute; inset-inline-start: calc(var(--p) * 1%); }
.plan__mark { inset-block-start: -40px; block-size: 48px; border-inline-start: 1px solid var(--copper-hi); }
.plan__ship { inset-block-start: -7px; inline-size: 13px; block-size: 13px; margin-inline-start: -6.5px; border-radius: 50%; background: var(--copper-hi); box-shadow: 0 0 0 4px rgba(200, 137, 75, .22), 0 0 16px rgba(217, 162, 108, .7); }
.plan__axis { position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 14px; margin: 0; font: 400 .68rem/1 var(--mono); color: var(--muted); }
.plan__axis bdi { position: absolute; inset-inline-start: calc(var(--x) * 1%); transform: translateX(-50%); }
[dir="rtl"] .plan__axis bdi { transform: translateX(50%); }
.plan__axis bdi:first-child { transform: none; }
/* Before the chart is first seen, bars sit at zero; no-GSAP fallback animates via transition. */
.plan__grid:not(.is-live) .plan__lane { --w: 0 !important; }
html:not(.motion) .plan__bar { transition: inset-inline-start .6s var(--ease), inline-size .6s var(--ease), inset-block-start .6s var(--ease), block-size .6s var(--ease); }
html:not(.motion) .plan__mark, html:not(.motion) .plan__ship { transition: inset-inline-start .6s var(--ease), inset-block-start .6s var(--ease); }

.plan__cards { display: grid; gap: 12px; }
@media (min-width: 700px) { .plan__cards { grid-template-columns: 1fr 1fr; } }
.plan__card { display: grid; align-content: start; gap: 10px; padding: clamp(18px, 2vw, 24px); background: var(--panel); border: 1px solid var(--line); border-block-start: 2px solid var(--copper); }
.plan__card .kicker { margin: 0; }
.plan__why, .plan__duty { margin: 0; font-size: var(--body-sm, .92rem); line-height: 1.55; }
.plan__load, .plan__origin { margin: 0; font: 500 .76rem/1.5 var(--mono); letter-spacing: .03em; color: var(--copper-hi); }
.plan__send { justify-self: start; }

/* Mobile: vertical timeline — the same --x/--w drive block axis. */
@media (max-width: 699px) {
  .plan__chart { display: block; block-size: 460px; padding: 0; padding-inline-start: 34px; }
  .plan__lane { position: absolute; inset-inline: 34px 0; inset-block-start: calc(var(--x) * 1%); block-size: calc(var(--w) * 1%); display: flex; align-items: flex-start; gap: 12px; overflow: hidden; }
  .plan__lane.is-off { display: none; }
  .plan__sl { flex: 1; flex-direction: column; gap: 2px; font-size: .78rem; line-height: 1.25; }
  .plan__track { order: -1; flex: none; inline-size: 10px; block-size: 100%; border-block: 0; background: rgba(237, 232, 223, .06); }
  .plan__bar { inset: 0; inline-size: auto; }
  .plan__rail { position: absolute; inset-block: 0; inset-inline-start: 8px; inline-size: 0; block-size: auto; margin: 0; border-block-start: 0; border-inline-start: 1px dashed rgba(237, 232, 223, .22); }
  .plan__mark, .plan__ship { inset-inline-start: auto; inset-block-start: calc(var(--p) * 1%); }
  .plan__mark { inset-inline-start: -8px; block-size: 0; inline-size: 26px; border-inline-start: 0; border-block-start: 1px solid var(--copper-hi); }
  .plan__ship { inset-inline-start: -7px; margin: -6.5px 0 0; }
  .plan__axis { display: none; }
  .plan__seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.motion) .plan__lane { transition: inset-block-start .6s var(--ease), block-size .6s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .plan__dg.is-up, .plan__dg.is-down { animation: none; }
  .plan__bar, .plan__mark, .plan__ship, .plan__lane, .plan__switch::after { transition: none !important; }
}
html[lang="zh"] .plan__exf, html[lang="ar"] .plan__exf { font-style: normal; }
html[lang="fr"] .plan__exf, html[lang="es"] .plan__exf, html[lang="ru"] .plan__exf { font-size: clamp(1.6rem, 3vw, 2.5rem); hyphens: auto; }

/* Fabric loupe (fine pointer only; created by tools.js) */
.loupe { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 90; inline-size: 180px; block-size: 180px; pointer-events: none; opacity: 0; transition: opacity .25s var(--ease); will-change: transform; }
.loupe__lens { position: absolute; inset: 0; border-radius: 50%; background-color: #E7E2D8; background-repeat: no-repeat; border: 1.5px solid var(--copper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 6px 22px rgba(0, 0, 0, .28), 0 18px 40px rgba(6, 12, 22, .35); transform: scale(.6); transition: transform .3s var(--ease); }
.loupe.is-on { opacity: 1; }
.loupe.is-on .loupe__lens { transform: none; }
.loupe__z { position: absolute; inset-block-start: calc(100% + 8px); inset-inline: 0; margin-inline: auto; inline-size: max-content; padding: 3px 8px; font: 500 .68rem/1 var(--mono); letter-spacing: .08em; color: #EDE8DF; background: rgba(10, 20, 34, .82); border: 1px solid var(--copper); border-radius: 99px; white-space: nowrap; direction: ltr; }
html.loupe-on .lb__tag { opacity: 0 !important; }
html.loupe-on .lb__fig, html.loupe-on .wash__stage { cursor: none; }
@media (prefers-reduced-motion: reduce) { .loupe, .loupe__lens { transition: none; } }

/* round 2 polish: sanctuary weight, visit gap */
.logos img[src$="logo-49.png"] { block-size: 54px; opacity: .95; }
@media (min-width: 900px) {
  .visit__grid { grid-template-rows: auto auto; align-items: start; }
  .visit__text { grid-row: 1 / span 2; grid-column: 7 / span 6; }
  .visit__img--main { grid-column: 1 / span 6; grid-row: 1; }
  .visit__grid > .visit__img:not(.visit__img--main) { grid-row: 2; grid-column: 1 / span 3; aspect-ratio: 4 / 5; }
  .visit__grid > .visit__img:last-child { grid-column: 4 / span 3; }
}

/* =====================================================================
   V2 Phase M — phone viewing (任务单 V2-PHASE-M.md). Everything below is
   scoped to <900px (or coarse pointers) so desktop is unchanged.
   ===================================================================== */
.mfab { display: none; }
@media (max-width: 899.98px) {
  /* 7. safe areas + tighter vertical rhythm */
  .site-header { padding-block-start: env(safe-area-inset-top); }
  .section { padding-block: 48px; }
  .tp__box { max-block-size: 94dvh; }

  /* 1 + 8. horizontal snap rails (factories, lookbook, people, live, addresses) */
  .fx__track, .lb, .mosaic, .live__grid, .addr, .cards, .plan__cards {
    display: flex; flex-wrap: nowrap; align-items: stretch; gap: 14px;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent);
  }
  [dir="rtl"] :is(.fx__track, .lb, .mosaic, .live__grid, .addr, .cards, .plan__cards) {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 34px), transparent);
            mask-image: linear-gradient(to left, #000 calc(100% - 34px), transparent);
  }
  :is(.fx__track, .lb, .mosaic, .live__grid, .addr, .cards, .plan__cards).is-end { -webkit-mask-image: none; mask-image: none; }
  :is(.fx__track, .lb, .mosaic, .live__grid, .addr, .cards, .plan__cards)::-webkit-scrollbar { display: none; }
  :is(.fx__track, .lb, .mosaic, .live__grid, .addr, .cards, .plan__cards) > * { flex: 0 0 auto; scroll-snap-align: start; min-inline-size: 0; }
  :is(.fx__track, .lb, .mosaic, .live__grid, .addr, .cards, .plan__cards)::after { content: ""; flex: 0 0 1px; }

  .mdots { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-block-start: 10px; }
  .mdots button { inline-size: 22px; block-size: 28px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .mdots button::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; opacity: .3; transition: opacity .3s, inline-size .3s; }
  .mdots button.is-on::before { opacity: 1; inline-size: 16px; border-radius: 3px; background: var(--copper); }

  /* factories: panels side by side */
  .fx { margin-block-start: 24px; }
  .fx__track { margin-inline: 0; padding-block-start: 30px; }
  .fx__panel { inline-size: 84vw; align-content: start; gap: 16px; }
  .fx__link { inline-size: 46vw; min-block-size: 0; }
  .fx__city { inset-inline-end: 0; overflow: hidden; font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .fx__img { aspect-ratio: 3 / 2; }
  .fx dl.spec { font-size: .9rem; }

  /* lookbook */
  .lb > .lb__card { inline-size: 64vw; grid-row: auto; }
  .lb > .lb__card .lb__fig { aspect-ratio: 4 / 5; flex: initial; }
  .lb > .lb__empty { inline-size: 100%; }
  .lb__filters { gap: 10px 18px; }

  /* people: polaroid strip */
  .mosaic > .mosaic__item { inline-size: 58vw; aspect-ratio: 4 / 5; }
  .mosaic > .mosaic__quote { inline-size: 80vw; align-self: center; }
  .mosaic__quote p { font-size: 1.3rem; }

  /* live: two dashboards side by side */
  .live__grid > * { inline-size: 84vw; }
  .live__grid { margin-block-start: 8px; }

  /* addresses */
  .addr > li { inline-size: 78vw; }
  .cards > li { inline-size: 78vw; }
  .plan__cards > * { inline-size: 80vw; }
  .step figure { aspect-ratio: 1 / 1; margin-block-end: 14px; }
  .dye { min-block-size: 66vh; min-block-size: 66svh; }
  .dropx { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 18px; }
  .dropx__fig { inline-size: 100%; }
  .plan__chart { block-size: 380px; }
  .certs__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

  /* scale photo / about collage: shorter crops */
  .scale__photo { aspect-ratio: 4 / 3; }
  .about__collage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; align-items: end; padding-block-end: 0; }
  .about__img--a { inline-size: auto; margin-inline-start: 0; aspect-ratio: 1 / 1; }
  .about__img--b { position: relative; inset: auto; inline-size: auto; border: 0; aspect-ratio: 4 / 5; }

  /* footer: links + languages side by side */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer__top > .footer__brand { grid-column: 1 / -1; }

  /* numbers: two columns */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .stat__num { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .stat__label { margin-block-start: 8px; }

  /* visit: two small photos share a row */
  .visit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit__grid > .visit__img--main, .visit__grid > .visit__text { grid-column: 1 / -1; }
  .visit__grid > .visit__img:not(.visit__img--main) { aspect-ratio: 1; }

  /* contact form: short fields in two columns */
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .form > .field:not(.field--full) label { min-block-size: 2.6em; display: flex; align-items: flex-end; }
  .contact__side { gap: 28px; }

  /* footer: quick links two columns */
  .footer__col ul:not(.langlist) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }

  /* 2. tap targets ≥ 44px (visual size kept where possible) */
  .lb__btn, .btn--sm, .plan__opt, .lang__btn { min-block-size: 44px; }
  .chip { position: relative; }
  .chip::after { content: ""; position: absolute; inset: -4px 0; }
  .lab__flip button { min-block-size: 44px; min-inline-size: 64px; padding-block: 0; }
  .footer__col ul:not(.langlist) a, .footer__topbtn, .card a, .contact a[href^="mailto:"], .contact a[href^="tel:"] { display: inline-flex; align-items: center; min-block-size: 44px; min-inline-size: 44px; }
  .langlist button { min-block-size: 44px; min-inline-size: 44px; }
  .brand { min-block-size: 44px; display: inline-flex; align-items: center; }

  /* 3. nothing under 12px */
  .brand__cn, .hero__lbl, .lang__code, .step__no, .wash__tabno, .hot__tag, .btn:not(.btn--sm), .plan bdi, .footer .btn--dark { font-size: max(12px, .78rem); }

  /* 4. overflow guards */
  .dye, .dye__media, .dropx, .dropx__fig, #people, .mosaic { overflow-x: clip; }
  .dye__media, .dye__vid { max-inline-size: 100%; }
  .dropx__water, .dropx svg { max-inline-size: 100%; }

  /* 6. floating inquiry button */
  .mfab {
    position: fixed; z-index: 70; inset-inline-end: max(14px, env(safe-area-inset-right)); inset-block-end: max(14px, calc(env(safe-area-inset-bottom) + 8px));
    display: flex; gap: 8px; opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .3s, translate .3s;
  }
  .mfab.is-on { opacity: 1; translate: 0 0; pointer-events: auto; }
  html.menu-open .mfab, html.tp-open .mfab { opacity: 0; pointer-events: none; }
  .mfab a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 46px; min-inline-size: 46px; padding-inline: 16px;
    border-radius: 999px; background: var(--copper); color: #14161A; font: 600 .9rem/1 var(--sans); text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .55);
  }
  .mfab a.mfab__tel { padding: 0; background: rgba(14, 26, 43, .92); color: var(--copper-hi, #D9A26C); border: 1px solid rgba(217, 162, 108, .5); }
  .mfab svg { inline-size: 18px; block-size: 18px; }
  .footer { padding-block-end: calc(96px + env(safe-area-inset-bottom)); }
  .contact { padding-block-end: calc(96px + env(safe-area-inset-bottom)); }
  html.fab-hide .mfab { opacity: 0; translate: 0 16px; pointer-events: none; }
  .wash__chips li { grid-template-rows: 1fr auto; }
  .wash__chipk { align-self: start; }
  .wash__chipv { align-self: end; }
  /* hero zip hint: one line in every language */
  .hero .zip__hint { white-space: nowrap; inline-size: max-content; max-inline-size: calc(100vw - 24px); letter-spacing: .06em; font-size: .88rem; padding: 11px 16px; }
  [dir="rtl"] .hero .zip__hint { letter-spacing: 0; }
}
@media (max-width: 899.98px) and (prefers-reduced-motion: reduce) { .mfab { transition: none; } }

@media (max-width: 899.98px) { .loupe__z { font-size: .75rem; } }

/* 手机：联系表单不能撑出屏幕 */
@media (max-width: 999.98px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 899.98px) { .form > .field--full { grid-column: 1 / -1; } .form input, .form select, .form textarea { min-inline-size: 0; inline-size: 100%; } }

/* ---------- 手机 M3：顶栏可读 / 数值不折行 / 图上标签 / 联系区收紧 ---------- */
@media (max-width: 899.98px) {
  /* 顶栏：首屏也有深色渐变底，拉链带和缝线从下方穿过时 Logo 仍清楚 */
  .site-header:not(.is-scrolled)::before {
    content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: calc(100% + 18px); z-index: -1; pointer-events: none;
    background: linear-gradient(rgba(8, 16, 28, .94) 0, rgba(8, 16, 28, .88) 62%, rgba(8, 16, 28, 0));
  }
  html.menu-open .site-header::before { display: none; }
  .site-header .brand { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
  /* 水洗规格行 */
  .wash__chipv { white-space: nowrap; font-size: clamp(1.1rem, 5.2vw, 1.5rem); }
  .wash__chips li { padding: 12px 8px; min-inline-size: 0; }
  .wash__chipk { overflow-wrap: anywhere; }
  /* 图上小标签 */
  .dye .kicker, .dye__inner .kicker {
    display: inline-block; padding: 5px 10px; background: rgba(8, 16, 28, .66); color: #F0C48F;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .hangtag, .hangtag--corner { background: rgba(8, 16, 28, .86); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
  .hero__kicker, .hero__scroll, .fx__img .kicker, .fx__panel .kicker { text-shadow: 0 1px 6px rgba(0, 0, 0, .75), 0 0 2px rgba(0, 0, 0, .6); }
  .look__no, .lb__fig .mono, .fx__img figcaption { text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
  /* 联系区收紧 */
  #contact.section { padding-block-start: 24px; }
  #contact .closing { margin-block-end: 14px; }
  #contact .chapter { margin-block-end: 18px; }
  .contact__grid { gap: 28px; }
  .form--tag { padding: 20px 18px; padding-block-start: 30px; }
  .form--tag::before { inset-block-start: 10px; }
}

/* ---------- 手机 M3 验收补丁 ---------- */
/* 阿语里章节编号 N°12 不能被反写成 21 */
.chapter__no { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (max-width: 899.98px) {
  /* 联系表单手机上单列，占位文字不被截断 */
  .form { grid-template-columns: minmax(0, 1fr); }
  .form > .field:not(.field--full) label { min-block-size: 0; }
  [dir="rtl"] .form input[type="email"], [dir="rtl"] .form input[type="tel"] { direction: ltr; text-align: end; }
  /* 联系区顶部别太挤 */
  #contact.section { padding-block-start: 44px; }
  #contact .closing { margin-block-end: 22px; }
  .contact__grid { gap: 32px; }
  /* 图上小标签再大一点 */
  .dye__kicker, [class*="__kicker"] { font-size: max(12.5px, .8rem); }
}
