/*
Theme Name: Ruixing
Theme URI: https://ruixingclothing.com/
Author: Ruixing Apparel
Description: Made-to-order custom jacket manufacturer site (V3 structure) — registry-driven pages (inc/pages.php), dark design system, 3-step Web3Forms project form, SEO/GEO built in.
Version: 2.17.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ruixing
*/

/* Archivo variable font, self-hosted (assets/fonts/OFL.txt). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
}

/* Archivo draws "&" as a stylised glyph that reads like "Ɛ" — use a standard ampersand instead. */
@font-face {
  font-family: "RX Amp";
  src: local("Helvetica Neue"), local("HelveticaNeue"), local("Helvetica"), local("Arial"), local("Roboto"), local("Segoe UI");
  unicode-range: U+0026;
}

/* ==========================================================================
   TOKENS — edit here, not in individual rules.
   Monochrome: near-black base, warm white ink, gray. No amber accents
   (removed 2026-10-09) — "key" markers use the ink color instead.
   ========================================================================== */
:root {
  --bg: #070809;
  --bg-alt: #101214;
  --bg-deep: #070809;
  --surface: #101213;
  --surface-2: #171a1c;
  --ink: #eceae3;
  --ink-2: rgba(236, 234, 227, 0.72);
  --ink-3: rgba(236, 234, 227, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.24);
  --accent: #eceae3;
  --accent-hover: #ffffff;
  --accent-ink: #070809;
  --sage: #9b9b9b;

  --f: "RX Amp", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --narrow: 72%;
  --fs-hero: clamp(40px, 5.2vw, 78px);
  --fs-h2: clamp(30px, 3.8vw, 54px);
  --fs-h3: clamp(18px, 1.5vw, 22px);
  --fs-lede: clamp(17px, 1.3vw, 20px);
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 12.5px;

  --gap: clamp(14px, 1.8vw, 24px);
  --section-y: clamp(64px, 8vw, 116px);
  --header-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: hidden on <html> breaks in-page anchors; use clip where supported (live-site lesson). */
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; width: 100%; background: var(--surface); }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; font-stretch: var(--narrow); text-transform: uppercase; line-height: 0.98; letter-spacing: 0.005em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
h4 { font-size: 17px; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
[hidden] { display: none !important; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.lede { font-size: var(--fs-lede); color: var(--ink-2); max-width: 64ch; }
.kicker { font-size: var(--fs-label); letter-spacing: 0.1em; color: var(--sage); margin-bottom: 12px; font-weight: 600; text-transform: uppercase; }

/* Placeholder for photos not placed yet — an art-direction slot: soft fill, crop marks,
   label bottom-left (what the photo must show), ratio tag top-right. */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
  container-type: inline-size; overflow: hidden; isolation: isolate;
  background: #0c0e0f; color: var(--ink-3); font-size: 12px; line-height: 1.35;
}
.ph-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 85% at 22% 12%, rgba(255, 255, 255, 0.075), transparent 62%),
    linear-gradient(160deg, #15181a, #0d0f10);
}
/* crop marks — four corners drawn with one pseudo-element */
.ph::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none; color: rgba(255, 255, 255, 0.28);
  --l: 14px;
  background:
    linear-gradient(currentColor, currentColor) top left / var(--l) 1px no-repeat,
    linear-gradient(currentColor, currentColor) top left / 1px var(--l) no-repeat,
    linear-gradient(currentColor, currentColor) top right / var(--l) 1px no-repeat,
    linear-gradient(currentColor, currentColor) top right / 1px var(--l) no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / var(--l) 1px no-repeat,
    linear-gradient(currentColor, currentColor) bottom left / 1px var(--l) no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / var(--l) 1px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 1px var(--l) no-repeat;
}
.ph svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; opacity: 0.45; }
.ph > span {
  position: absolute; left: 26px; right: 26px; bottom: 22px; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ph-ratio {
  position: absolute; top: 20px; right: 26px; font-style: normal; font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--ink-3); opacity: 0.7;
}
@container (max-width: 180px) {
  .ph > span { left: 18px; right: 14px; bottom: 13px; font-size: 9.5px; -webkit-line-clamp: 1; }
  .ph-ratio { display: none; }
  .ph::before { inset: 7px; --l: 9px; }
}
@container (max-width: 90px) {
  .ph > span, .ph::before { display: none; }
}
/* Data still to be confirmed by the owner (rx_tbc). */
.tbc { display: inline; padding: 1px 6px; border: 1px dashed var(--ink-3); color: var(--ink); font-size: 0.85em; font-weight: 500; text-transform: none; letter-spacing: 0; font-stretch: 100%; }
/* Industry-typical value label (rx_typical). */
.typical { display: inline-block; margin-left: 4px; padding: 0 6px; border: 1px solid var(--line-2); color: var(--ink-3); font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; font-stretch: 100%; vertical-align: 1px; }
.note { margin: 16px 0 0; padding: 12px 14px; border-left: 2px solid var(--sage); background: rgba(255, 255, 255, 0.06); color: var(--ink-2); font-size: 15px; }
.ico { width: 26px; height: 26px; flex: none; color: var(--ink); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font: 700 14px/1.1 var(--f); font-stretch: 85%; letter-spacing: 0.06em; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-text { min-height: 0; padding: 0 0 4px; color: var(--ink); border-bottom: 1px solid var(--accent); border-radius: 0; }
.btn-text:hover { color: var(--accent-hover); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.sec-ctas { margin-top: clamp(32px, 4vw, 48px); }
.sec-ctas .ctas { margin-top: 0; }

/* ==========================================================================
   HEADER & NAV — white bar (user requirement), hides on scroll down.
   ========================================================================== */
.site-header {
  --ink: #131313; --ink-2: rgba(18, 18, 18, 0.72); --ink-3: rgba(18, 18, 18, 0.5);
  --line: rgba(18, 18, 18, 0.1); --line-2: rgba(18, 18, 18, 0.22); --sage: #666;
  --accent: #121212; --accent-hover: #000; --accent-ink: #fff; --bg-deep: #fff; --surface: #f1f1ee;
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s, transform 0.3s var(--ease); will-change: transform;
}
.site-header.is-scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, 0.18); }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
.header-row { display: flex; align-items: center; gap: 20px; height: 100%; max-width: 1440px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; width: auto; height: 56px; background: none; object-fit: contain; }
.site-footer .brand-logo { height: 64px; }
.site-nav { flex: 1; height: 100%; }
.nav-list { display: flex; align-items: stretch; justify-content: center; height: 100%; gap: 2px; }
.nav-item { display: flex; align-items: center; position: relative; }
.nav-link {
  display: flex; align-items: center; height: 100%; padding: 0 12px; position: relative;
  font-size: 13.5px; font-weight: 650; font-stretch: 85%; letter-spacing: 0.06em; text-decoration: none; color: var(--ink-2); white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--accent); }
.sub-toggle { display: none; }
.header-cta { flex-shrink: 0; min-height: 42px; padding: 10px 18px; }
.burger { display: none; }

@media (min-width: 1101px) {
  .panel {
    position: absolute; left: -10px; top: 100%; margin-top: -1px; z-index: 1; width: max-content; min-width: 230px;
    visibility: hidden; opacity: 0; transform: translateY(-4px); clip-path: inset(0 -40px -60px -40px);
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  }
  .nav-item.has-panel > .nav-link { z-index: 2; }
  .nav-item.has-panel:hover > .panel, .nav-item.has-panel:focus-within > .panel, .nav-item.is-open > .panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .dropdown { background: #fff; border-radius: 0 0 4px 4px; box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.28); overflow: hidden; }
  .dropdown li + li { border-top: 1px solid rgba(18, 18, 18, 0.1); }
  .dropdown a { display: block; padding: 14px 28px 14px 22px; white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 500; color: #2a2d2a; transition: background-color 0.15s; }
  .dropdown li:first-child a { padding-top: 16px; }
  .dropdown a:hover, .dropdown a:focus-visible { background: #f4f4f1; color: #000; }
  .dropdown a[aria-current] { color: #000; font-weight: 650; }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
#main {
  position: relative; background-color: var(--bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 112px 112px;
}
.sec { position: relative; padding: var(--section-y) 0; }
.sec--base, .sec--deep { background: transparent; }
.sec--alt { --surface: #181b1e; --surface-2: #1f2326; background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%), #101214; }
.sec + .sec, .hero + .sec, .sec + .cta-band { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.sec-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 880px; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head .lede { margin: 16px 0 0; }
.sec-text { color: var(--ink-2); max-width: 72ch; font-size: 17px; margin-bottom: 28px; }

/* Shared small lists */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.tags li { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.tags--lg li { font-size: 14px; padding: 7px 14px; color: var(--ink); }
.ticks li { position: relative; padding: 7px 0 7px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 2px; background: var(--accent); }
.checks { columns: 2; column-gap: 24px; }
.checks li { break-inside: avoid; position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--line); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.mini-dl > div { padding: 8px 0; border-top: 1px solid var(--line); }
.mini-dl dt { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 2px; }
.mini-dl dd { font-size: 14.5px; color: var(--ink-2); }
.mini-ol { counter-reset: mo; }
.mini-ol li { counter-increment: mo; }
.mini-ol li::before { content: counter(mo) ". "; color: var(--ink-3); }
.card-cta { display: inline-flex; gap: 6px; margin-top: auto; padding-top: 14px; font-weight: 700; font-stretch: 85%; font-size: 13.5px; letter-spacing: 0.08em; text-decoration: none; }
.card-cta:hover span[aria-hidden] { transform: translateX(3px); }
.card-cta span[aria-hidden] { transition: transform 0.2s; }

/* ---------- HERO ---------- */
.hero { padding: clamp(36px, 5vw, 76px) 0 clamp(52px, 6vw, 92px); }
.hero--split .wrap { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.hero--text .hero-copy { max-width: 920px; }
.hero h1 { font-size: var(--fs-hero); }
.hero-sub { font-size: clamp(19px, 1.7vw, 25px); font-weight: 600; line-height: 1.3; margin: 20px 0 0; max-width: 40ch; }
.hero .lede { margin: 16px 0 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
.hero-note { margin: 22px 0 0; font-size: 14px; color: var(--ink-3); }
.hero-media { position: relative; }
/* main visual + a column of detail crops (bento), no overlap */
.hero-media.has-details { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.hero-main > .ph, .hero-main > img { max-height: min(72vh, 640px); min-height: 280px; }
.has-details .hero-main > .ph, .has-details .hero-main > img { height: 100%; }
.hero-details { display: flex; flex-direction: column; gap: 10px; }
.hero-details > * { width: 100%; flex: 1 1 0; aspect-ratio: auto !important; min-height: 0; }
.hero-media.has-details.n1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-details .ph-ratio, .case-media .is-lead .ph-ratio { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: 13px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- PROOF strip ---------- */
.proof { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.proof li { display: flex; flex-direction: column; gap: 6px; padding: 26px 18px 24px; }
.proof li + li { border-left: 1px solid var(--line); }
.proof strong { font-weight: 800; font-stretch: 78%; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.1; text-transform: uppercase; margin-top: 8px; }
.proof span { color: var(--sage); font-size: 13.5px; line-height: 1.4; }
.proof-note { margin: 18px 0 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- CATEGORY cards ---------- */
.catcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.catcard { display: flex; flex-direction: column; background: var(--surface); border-top: 2px solid transparent; transition: border-color 0.2s; }
.catcard:hover { border-top-color: var(--accent); }
.catcard-media, .card-media { display: block; text-decoration: none; }
/* Hover: the photo zooms inside a fixed frame — the card itself never moves (user request 2026-10-10). */
.catcard-media { overflow: hidden; }
.catcard-media img { display: block; width: 100%; transition: transform 0.7s var(--ease); }
.catcard:hover .catcard-media img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .catcard:hover .catcard-media img { transform: none; } }
/* Hover: the text panel turns light — white card, black text (user request 2026-10-10, v2.9.3). */
.catcard-body, .catcard-body * { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.catcard:hover .catcard-body, .catcard:focus-within .catcard-body {
  --ink: #131313; --ink-2: rgba(18, 18, 18, 0.72); --ink-3: rgba(18, 18, 18, 0.5);
  --line: rgba(18, 18, 18, 0.1); --line-2: rgba(18, 18, 18, 0.22); --sage: #666;
  background: #f5f4f0; color: var(--ink);
}
.catcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.catcard-body h3 { font-size: clamp(20px, 1.8vw, 25px); margin-bottom: 10px; }
.catcard-body h3 a { text-decoration: none; }
.catcard-body > p { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.catcard .mini-dl { margin-bottom: 4px; }

/* ---------- CLIENTS ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.client { position: relative; padding: 26px 24px 20px; background: var(--surface); border-top: 2px solid var(--line-2); }
.client-num { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 14px; }
.client h3 { margin-bottom: 14px; min-height: 2.3em; }
/* Client cards: dark at rest, turn white with dark text on hover / focus — same as the category cards (v2.9.10). */
.client, .client * { transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.client:hover, .client:focus-within {
  --ink: #131313; --ink-2: rgba(18, 18, 18, 0.72); --ink-3: rgba(18, 18, 18, 0.5);
  --line: rgba(18, 18, 18, 0.1); --line-2: rgba(18, 18, 18, 0.22); --sage: #666;
  background: #f5f4f0; color: var(--ink);
}

/* ---------- ANATOMY ---------- */
.anatomy { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.2fr) minmax(140px, 0.8fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.anatomy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-self: center; }
.anatomy-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 600; cursor: default; transition: color 0.15s; }
.anatomy-list li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink-3); font-size: 11.5px; flex: none; }
.anatomy-list li.is-brand span { border-style: dashed; border-color: var(--ink); color: var(--ink); }
.anatomy-list li.is-on { color: #fff; }
.anatomy-list li.is-on span { background: var(--ink); color: var(--accent-ink); border-color: var(--ink); }
.anatomy-figure { position: relative; }
.anatomy-legend { display: flex; justify-content: center; gap: 20px; margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }
.anatomy-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink-3); margin-right: 6px; vertical-align: 0; }
.anatomy-legend .lg-brand::before { border-style: dashed; border-color: var(--ink); }
.anatomy-details { display: grid; gap: 12px; }
.jacket-svg { display: block; width: 100%; height: auto; max-height: 620px; overflow: visible; }
.jacket-svg path, .jacket-svg rect { fill: none; stroke: rgba(236, 234, 227, 0.75); stroke-width: 2; stroke-linejoin: round; }
.jacket-svg .j-body { fill: rgba(255, 255, 255, 0.03); }
.jacket-svg .j-sleeve { fill: rgba(255, 255, 255, 0.06); }
.jacket-svg .j-rib { stroke-width: 1.6; }
.jacket-svg .rib-line { stroke: rgba(236, 234, 227, 0.35); stroke-width: 1; }
.jacket-svg .j-ghost { stroke-dasharray: 6 6; stroke: rgba(236, 234, 227, 0.4); }
.jacket-svg .j-lining { fill: rgba(236, 234, 227, 0.14); stroke-width: 1.2; }
.jacket-svg .j-label { fill: rgba(236, 234, 227, 0.6); stroke: none; }
.jacket-svg .j-seam { stroke-dasharray: 3 5; stroke-width: 1.3; stroke: rgba(236, 234, 227, 0.5); }
.jacket-svg .j-zip { stroke-dasharray: 2 3; stroke-width: 3; }
.jacket-svg .j-puller { fill: rgba(236, 234, 227, 0.75); stroke: none; }
.jacket-svg .j-pocket { stroke-width: 6; stroke: rgba(236, 234, 227, 0.32); stroke-linecap: round; }
.jacket-svg .j-zip-s { stroke-dasharray: 2 2; stroke-width: 2; }
.jacket-svg .j-art { stroke-dasharray: 4 3; stroke: var(--ink); }
.jacket-svg .j-measure { stroke-width: 1.2; stroke: rgba(236, 234, 227, 0.45); stroke-dasharray: 5 4; }
.jacket-svg .j-pack path { stroke: rgba(236, 234, 227, 0.7); stroke-width: 1.6; stroke-dasharray: 4 3; }
.jacket-svg .mk circle { fill: #070809; stroke: var(--ink); stroke-width: 1.6; transition: fill 0.15s; }
.jacket-svg .mk text { fill: var(--ink); font: 700 13px/1 var(--f); text-anchor: middle; pointer-events: none; }
.jacket-svg .mk { cursor: default; }
.jacket-svg .mk[data-n="14"] circle, .jacket-svg .mk[data-n="15"] circle, .jacket-svg .mk[data-n="16"] circle { stroke-dasharray: 3.5 2.5; stroke-width: 2; }
.jacket-svg .mk.is-on circle { fill: var(--ink); }
.jacket-svg .mk.is-on text { fill: #070809; }
.anatomy-photo { position: relative; max-width: 640px; margin: 0 auto; }
.anatomy-photo img { display: block; width: 100%; height: auto; background: none; }
.anatomy-photo .jacket-svg { position: absolute; inset: 0; height: 100%; max-height: none; }
.anatomy-photo .j-measure { stroke: rgba(255, 255, 255, 0.7); }
.anatomy-photo .mk circle { stroke-width: 2; }
.anatomy-photo[hidden] { display: none; }
.anatomy-photo.has-pack { padding-bottom: 16.667%; } /* room for the packaging photo row (100 / 600) */
.anatomy-views { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; }
.anatomy-views button { padding: 6px 16px; border: 1px solid var(--line); background: none; color: var(--ink-3); font: 600 12.5px/1 var(--f); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.anatomy-views button.is-on { border-color: var(--ink); color: var(--ink); }
/* JS-aligned to the dashed measure line (desktop): last caption hangs below the bottom tick. */
.anatomy-details.is-aligned { align-self: start; display: flex; flex-direction: column; justify-content: space-between; }
.anatomy-details.is-aligned figure:last-child { position: relative; }
.anatomy-details.is-aligned figure:last-child figcaption { position: absolute; top: 100%; left: 0; right: 0; }
.anatomy-details figcaption { margin-top: 6px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.mfg-video-el { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.checklist { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vw, 56px); }
.checklist h3 { margin-bottom: 12px; }
.checklist-col:last-child .checks { columns: 1; }
.entry-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(36px, 5vw, 56px); }
.entry-card { padding: 28px; background: var(--surface); border-top: 2px solid var(--accent); }
.entry-card h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
.entry-card p { color: var(--ink-2); }
.entry-card .tags { margin-bottom: 22px; }

/* ---------- CASES ---------- */
.cases { display: grid; gap: clamp(28px, 4vw, 44px); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.case-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.case-media .is-lead { grid-column: 1 / -1; }
.case-copy h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 16px; }
.case-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.case-dl > div { padding: 9px 0; border-top: 1px solid var(--line); }
.case-dl dt { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.case-dl dd { font-size: 14.5px; line-height: 1.45; }
/* Desktop: copy column matches the photo block height, CTAs sit on the photos' bottom edge. */
.cases:not(.cases--compact) .case-copy { display: flex; flex-direction: column; }
.cases:not(.cases--compact) .case-copy > .ctas { margin-top: auto; padding-top: 18px; }
.cases--compact { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cases--compact .case { grid-template-columns: 1fr; padding: 0 0 22px; border-top: 0; background: var(--surface); }
.cases--compact .case-copy { padding: 0 20px; }
.cases--compact .case-media { grid-template-columns: 1fr 1fr; }
.cases--compact .case-dl { grid-template-columns: 1fr; }
.cases--compact .ctas { flex-direction: column; align-items: flex-start; }

/* ---------- MATERIALS & TECHNIQUES (home) ---------- */
.mt-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.mt-col { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--surface); }
.mt-col .btn { align-self: flex-start; margin-top: auto; }
.mt-head { display: flex; align-items: baseline; gap: 12px; margin: 0; font-weight: 800; font-stretch: var(--narrow); font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; line-height: 1; }
.mt-head span { font-size: 13px; color: var(--ink-3); font-stretch: 100%; }
.mt-list li + li { border-top: 1px solid var(--line); }
.mt-list a { display: grid; grid-template-columns: minmax(130px, 0.8fr) 2fr; gap: 14px; padding: 10px 0; text-decoration: none; }
.mt-list strong { font-size: 15px; }
.mt-list span { color: var(--ink-2); font-size: 14px; }
.mt-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.combos-mini { margin-top: 28px; }
.combos-mini ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.combos-mini li { padding: 18px; border: 1px solid var(--line-2); }
.combos-mini strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 6px; }
.combos-mini span { font-weight: 700; font-size: 16px; line-height: 1.35; }

/* ---------- STEPS (home 6) ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: st; border-top: 2px solid var(--line-2); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 16px 0 0; }
.steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.step-num { font-size: 12.5px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.1em; }
.steps strong { font-weight: 800; font-stretch: 78%; font-size: 19px; text-transform: uppercase; line-height: 1.1; }
.steps li > span:last-child { color: var(--ink-2); font-size: 14.5px; }

/* ---------- MANUFACTURING (home 9) ---------- */
.mfg-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.standard { display: flex; flex-direction: column; justify-content: center; padding: 28px; border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.06); }
.standard-eq { font-weight: 800; font-stretch: var(--narrow); font-size: clamp(26px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; margin-bottom: 16px; }
.standard-eq span { color: var(--sage); padding: 0 4px; }
.standard p:last-child { color: var(--ink-2); margin: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.process-grid strong { display: flex; gap: 8px; margin-top: 10px; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.03em; }
.process-grid strong span { color: var(--ink-3); }
.process-grid em { display: block; font-style: normal; color: var(--ink-3); font-size: 13.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(28px, 3vw, 40px); }
.stats.n5 { grid-template-columns: repeat(5, 1fr); }
.sec-head + .stats { margin-top: 0; }
.stat { background: var(--bg); padding: 26px 22px; }
.sec--alt .stat { background: #101214; }
.stat-label { font-size: var(--fs-label); color: var(--sage); letter-spacing: 0.08em; font-weight: 600; margin: 0 0 10px; text-transform: uppercase; }
.stat-value { font-weight: 800; font-stretch: 72%; font-size: clamp(28px, 2.8vw, 42px); line-height: 1; margin: 0 0 10px; }
.stat-note { color: var(--ink-2); font-size: 13.5px; margin: 0; }
.cert-row { display: flex; gap: 16px; margin-top: 24px; }
.cert-row figure { width: 150px; }
.cert-row figcaption { margin-top: 8px; font-size: 13px; font-weight: 600; }
.cert-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); background: #fff; cursor: zoom-in; overflow: hidden; }
.cert-open img { display: block; transition: transform .3s ease; }
.cert-open:hover img { transform: scale(1.04); }
.cert-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- SHIPMAP ---------- */
.shipmap-grid { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.shipmap { position: relative; aspect-ratio: 360 / 136; }
.shipmap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-origin, .map-label { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.map-origin i, .map-label i { display: block; width: 10px; height: 10px; border-radius: 50%; margin: 0 auto; }
.map-origin i { width: 14px; height: 14px; background: var(--ink); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18), 0 0 24px rgba(255, 255, 255, 0.45); }
.map-origin b { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; color: var(--ink); }
.map-origin em { position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%); font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.map-label i { background: var(--ink); }
.map-label b { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-weight: 800; font-stretch: 72%; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; }
.map-label > span { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 600; text-align: center; }
.map-label em { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--ink-3); }
.map-label.is-lead b { font-size: clamp(32px, 3.6vw, 52px); }
.map-label--southeast-asia b { left: auto; right: 14px; bottom: 6px; transform: none; font-size: clamp(18px, 1.8vw, 26px); }
.map-label--southeast-asia > span { left: auto; right: 14px; top: 12px; transform: none; }
.map-label--oceania b { font-size: clamp(18px, 1.8vw, 26px); }
.map-copy { font-size: 17px; color: var(--ink-2); }
.regions li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.region-share { font-weight: 800; font-stretch: 72%; font-size: 30px; line-height: 1; }
.regions strong { font-size: 15px; }
.regions strong em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.regions p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.map-note { margin: 20px 0 0; font-size: 14px; color: var(--ink-3); }
.market-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.market-cards li { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--surface); }
.market-share { font-weight: 800; font-stretch: 72%; font-size: clamp(40px, 4vw, 60px); line-height: 1; }
.market-cards em { font-style: normal; font-size: 13.5px; color: var(--ink-3); }
.market-bar { display: block; height: 3px; margin-top: auto; padding-top: 0; background: linear-gradient(90deg, var(--ink) calc(var(--share) * 2%), var(--line) 0); }
.market-cards strong { margin-bottom: 14px; }

/* ---------- WHY + REVIEWS ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { padding: 26px 24px; background: var(--bg); }
.sec--alt .why-item { background: #101214; }
.why-item h3 { margin: 14px 0 8px; }
.why-item p { color: var(--ink-2); font-size: 15px; margin: 0; }
.reviews-head { margin: clamp(48px, 6vw, 72px) 0 24px; }
.reviews-head h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.reviews-head p { color: var(--ink-2); margin: 0; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.review { display: flex; flex-direction: column; padding: 20px; background: var(--surface); }
/* White review cards, dark text (user request 2026-10-10, v2.9.5) — home marquee + About carousel. */
.review, .rv-track .review {
  --ink: #131313; --ink-2: rgba(18, 18, 18, 0.72); --ink-3: rgba(18, 18, 18, 0.5);
  --line: rgba(18, 18, 18, 0.1); --line-2: rgba(18, 18, 18, 0.22); --sage: #666; --surface: #ecebe6;
  background: #f5f4f0; color: var(--ink);
}
.review-tag { align-self: flex-start; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-2); color: var(--ink-2); margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; flex: 1; }
.review blockquote p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.review figcaption { display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption .ph { width: 48px; flex: none; padding: 4px; font-size: 0; gap: 0; }
.review figcaption .ph span { display: none; }
.review figcaption > span { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.35; }
.review figcaption > span > span { color: var(--ink-2); }
.review figcaption em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.quote-proof { position: relative; flex: 0 0 52px; width: 52px; height: 52px; padding: 0; border: 1px solid var(--line-2); overflow: hidden; background: #fff; cursor: zoom-in; }
.quote-proof img { width: 100%; height: 100%; object-fit: cover; object-position: 26% 55%; display: block; }
.quote-proof img[src*="-thumb"] { object-position: center; }
.quote-proof:hover { border-color: var(--ink-2); }
.quote-proof:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.proof-dialog { max-width: min(1000px, 94vw); max-height: 92vh; padding: 0; border: 0; background: #fff; color: #131313; overflow: auto; }
.proof-dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
.proof-dialog img { display: block; width: 100%; height: auto; }
.proof-dialog.is-doc img { width: auto; max-width: 100%; max-height: calc(92vh - 48px); margin-inline: auto; }
.proof-title { margin: 0; padding: 12px 18px; font-size: 14px; font-weight: 600; border-top: 1px solid #e6e6e6; }
.proof-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.review-groups { display: grid; gap: clamp(32px, 4vw, 48px); }
/* Home reviews — infinite marquee (pauses on hover / focus; static swipe row under reduced motion). */
.marquee { --card: 440px; --gap-m: 16px; overflow: hidden; margin-inline: calc(50% - 50vw); padding-inline: max(16px, calc(50vw - 50%)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; animation: rx-marquee calc(var(--n) * 7s) linear infinite; }
.marquee-set { display: flex; gap: var(--gap-m); padding-right: var(--gap-m); }
.marquee .review { width: var(--card); flex: none; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes rx-marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marquee { --card: 300px; --gap-m: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-set[aria-hidden] { display: none; }
  .marquee .review { scroll-snap-align: start; }
}
.review-group h3 { margin-bottom: 16px; }
/* About reviews — carousel: wide dashed cards bleeding to the viewport edges, dots + round arrows below. */
.rv-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-inline: calc(50% - 50vw); --rv-gut: calc(max(0px, (100vw - 1320px) / 2) + clamp(16px, 4vw, 40px)); padding-inline: var(--rv-gut); scroll-padding-inline: var(--rv-gut); /* = .wrap content edge, vw-only (scroll-padding % would resolve against the track) */ outline-offset: -2px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-track .review { flex: none; width: min(440px, 80vw); min-height: 300px; padding: clamp(20px, 2.2vw, 28px); background: none; border: 1px dashed var(--line-2); scroll-snap-align: start; }
.rv-track .review { background: #f5f4f0; border-color: transparent; } /* white cards (v2.9.6) — must follow the base rv-track rule */
.rv-track .review-tag { margin-bottom: 14px; }
.rv-track .review blockquote p { font-size: clamp(15px, 1.15vw, 17px); font-weight: 500; line-height: 1.45; }
.rv-track .review figcaption { border-top: 0; padding-top: 0; }
.rv-track .review figcaption .ph { width: 44px; }
.rv-track .review figcaption > span > span, .rv-track .review figcaption em { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.rv-track .review figcaption strong { font-size: 14px; }
.rv-nav { position: relative; display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 18px; }
.rv-dots { display: flex; gap: 5px; align-items: center; }
.rv-dots button { box-sizing: content-box; width: 3px; height: 10px; padding: 0; border: 0 solid transparent; border-width: 8px 4px; background: var(--line-2); background-clip: padding-box; cursor: pointer; transition: height 0.2s, background-color 0.2s; } /* tiny bar, larger hit area via transparent border */
.rv-dots button[aria-current="true"] { height: 18px; background-color: var(--ink); }
.rv-arrows { position: absolute; right: 0; display: flex; gap: 10px; }
.rv-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: background 0.15s, color 0.15s, opacity 0.15s; }
.rv-arrows button:hover { background: var(--ink); color: var(--accent-ink); }
.rv-arrows button:disabled { opacity: 0.3; cursor: default; background: none; color: var(--ink); }
@media (max-width: 640px) { .rv-track .review { min-height: 0; } .rv-nav { justify-content: space-between; } .rv-arrows { position: static; } }

/* ---------- FAQ ---------- */
.faq { max-width: 980px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 48px 20px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; font-weight: 300; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a p { color: var(--ink-2); margin: 0 0 22px; max-width: 72ch; }

/* ---------- START (home 13) ---------- */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.start-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 28px; }
.start-num { font-size: 12px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 8px; }
.start-cols h3 { margin-bottom: 10px; }

/* ---------- GRID ---------- */
.grid { display: grid; gap: var(--gap); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-item { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border-top: 2px solid var(--line-2); transition: border-color 0.2s; }
.grid-item:hover { border-top-color: var(--accent); }
.grid-media { margin: -24px -24px 20px; }
.grid-item .ico { margin-bottom: 14px; }
.grid-item h3 { margin-bottom: 10px; }
.grid-item p { color: var(--ink-2); font-size: 15px; margin: 0; }
.grid-item p + p { margin-top: 0.6em; }
.grid-item .tags { margin-top: 14px; }

/* ---------- ROWS ---------- */
.rows { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row:nth-child(even) .row-media { order: -1; }
.row-num { display: block; font-size: 12.5px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; }
.row h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 14px; }
.row-copy > p { color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.row .tags { margin-top: 6px; }
.row-opts { display: grid; margin: 18px 0 4px; border-top: 1px solid var(--line); }
.row-opts > div { display: grid; grid-template-columns: minmax(150px, 0.38fr) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row-opts dt { font-weight: 700; font-size: 15px; }
.row-opts dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.row-group { margin-top: 16px; }
.row-label { margin: 0 0 6px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.row-set { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-self: start; }
.row-set figure { margin: 0; }
.row-set figure:first-child { grid-column: 1 / -1; }
.row-set img { display: block; width: 100%; height: auto; object-fit: cover; }
.row-set figcaption { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.steps.n5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- STAGES (CU 03) ---------- */
.stage-visuals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-bottom: 32px; }
.stage-visuals li { position: relative; }
.stage-visuals li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 40%; color: var(--ink-3); }
.stage-visuals > li > span { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.stage-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stage-fields li { padding: 20px; background: var(--bg); }
.sec--alt .stage-fields li { background: #101214; }
.stage-fields span { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.stage-fields strong { display: block; margin: 6px 0 6px; font-size: 16px; text-transform: uppercase; font-stretch: 85%; }
.stage-fields p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.stage-fields li:last-child { background: rgba(255, 255, 255, 0.08); }

/* ---------- TABLES ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.xtable, .matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.xtable th, .xtable td, .matrix th, .matrix td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.xtable thead th, .matrix thead th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.xtable tbody th { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 15px; min-width: 170px; }
.xtable tbody th a { text-decoration: none; }
.xtable tbody th a:hover { text-decoration: underline; }
.xtable td { color: var(--ink-2); min-width: 170px; }
.xtable tbody tr:hover, .matrix tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.matrix td { text-align: center; }
.matrix tbody th { white-space: nowrap; font-weight: 700; }
.mx { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; }
.mx-R { background: var(--ink); }
.mx-C { border: 2px solid var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
.mx-N { border: 1.5px dashed var(--ink-3); }
.mx-text { display: block; font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.matrix-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; font-size: 14px; }
.matrix-legend li { display: flex; align-items: center; gap: 8px; }

/* ---------- COMBOS ---------- */
.combos { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.combo { background: var(--surface); }
.combo-body { padding: 20px; }
.combo h3 { font-size: 24px; margin-bottom: 12px; }

/* ---------- PHASE (How It Works, V6 four phases / ten steps) ---------- */
.phase { display: grid; gap: 12px; }
.phase-step { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 26px 28px; background: var(--surface); border-left: 2px solid var(--line-2); scroll-margin-top: calc(var(--header-h) + 24px); }
.phase-step.is-key { border-left-color: var(--ink); background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), var(--surface) 60%); }
.phase-num { font-weight: 800; font-stretch: 72%; font-size: 44px; line-height: 1; color: var(--ink-3); }
.phase-step.is-key .phase-num { color: var(--ink); }
.phase-body h3 { font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 10px; }
.phase-body > p:not(.phase-label) { color: var(--ink-2); max-width: 760px; }
.phase-label { margin: 16px 0 6px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.phase-check { margin-top: clamp(32px, 4vw, 48px); }
.phase-check h3 { font-size: clamp(18px, 1.6vw, 22px); margin-bottom: 14px; }
.phase-check .xtable th[scope="row"] { width: 28%; white-space: nowrap; }
.phase-standard { margin-top: 24px; padding: 24px 28px; border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.06); }
.phase-standard strong { display: block; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; }
.phase-standard p { margin: 0; color: var(--ink-2); }
.sec-head .tags { margin-top: 18px; }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.module.is-solo .module-main { display: none; }
.module.is-solo .module-visual { max-width: 720px; }

/* ---------- FLOW (MF 03) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px var(--gap); counter-reset: fl; }
.flow li > div { padding-top: 12px; }
.flow-num { font-size: 12px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.1em; }
.flow strong { display: block; margin: 4px 0 4px; text-transform: uppercase; font-size: 16px; font-stretch: 85%; }
.flow p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ---------- COMPARE (MF 04) ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.compare figcaption { margin-top: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-eq { font-size: 48px; font-weight: 300; color: var(--sage); }
.compare-refs { margin-top: 28px; }
.compare-set { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.compare-set figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-plus { font-size: 32px; font-weight: 300; color: var(--sage); }

/* ---------- V5 additions: 10-step flow, 5-stage story, keep/change/rebuild, handoff row ---------- */
.flow.n10 { grid-template-columns: repeat(5, 1fr); }
.stage-fields.n5 { grid-template-columns: repeat(5, 1fr); }
.decisions { margin-top: 32px; padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.decision-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 12px 0 18px; background: var(--line); border: 1px solid var(--line); }
.decision-cols > div { padding: 16px 18px; background: var(--surface); }
.decision-cols strong { display: block; text-transform: uppercase; font-stretch: 85%; font-size: 17px; color: var(--ink); }
.decision-cols p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.gallery.n5 { grid-template-columns: repeat(5, 1fr); }
.row--handoff { padding: 28px; border: 1px solid var(--ink); background: rgba(255, 255, 255, 0.06); }
.row--handoff .ctas, .row-copy .ctas { margin-top: 18px; }

/* ---------- GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery.n2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.gallery figcaption { margin-top: 8px; font-size: 13.5px; font-weight: 600; }

/* ---------- TIMELINE ---------- */
.timeline { max-width: 900px; border-left: 2px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 0 0 32px 28px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--accent); }
.tl-year { font-weight: 800; font-stretch: 72%; font-size: 30px; line-height: 1; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--ink-2); margin: 0; }

/* ---------- FABRIC LIBRARY ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.jump a { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.jump a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- TECHNIQUE GROUPS ---------- */
.tgroup { padding: 40px 0; border-top: 1px solid var(--line); }
.tgroup-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.tgroup-head h3 { font-size: clamp(26px, 2.6vw, 38px); }
.tgroup-head p { margin: 0; color: var(--ink-2); }
.tcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.tcard { background: var(--surface); padding-bottom: 14px; }
.tcard h4 { padding: 16px 18px 6px; }
.tcard .mini-dl { padding: 0 18px; }

/* ---------- CATEGORY MODULES ---------- */
.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px var(--gap); }
.styles.n4, .styles.n7 { grid-template-columns: repeat(4, 1fr); }
.style h3 { margin: 14px 0 6px; }
.style p { color: var(--ink-2); font-size: 15px; margin: 0; }
.module.has-visual { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.module:not(.has-visual) .opt-grid { grid-template-columns: repeat(3, 1fr); }
.opt-grid li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--bg); }
.sec--alt .opt-grid li { background: #101214; }
.opt-grid strong { font-size: 15.5px; }
.opt-grid li > span { color: var(--ink-2); font-size: 14.5px; }
.opt-link { display: inline-block; margin-left: 4px; font-size: 13px; color: var(--ink); white-space: nowrap; }
.module-visual { position: sticky; top: calc(var(--header-h) + 24px); }
.placement { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.placement figure { padding: 12px; background: var(--surface); }
.placement figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.placement figcaption strong { color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; margin-bottom: 4px; }
.placement b { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink-3); font-size: 10.5px; margin-right: 4px; }
.module.has-diagram { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.opt-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.module:not(.has-visual) .opt-grid li:last-child:nth-child(odd) { grid-column: auto; }
.module:not(.has-visual) .opt-grid li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.module:not(.has-visual) .opt-grid li:last-child:nth-child(3n+2) { grid-column: span 2; }
.wash-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 24px; }
.wash-flow li { padding: 18px 20px; background: var(--bg); }
.sec--alt .wash-flow li { background: #101214; }
.wash-flow span { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.wash-flow strong { display: block; margin: 4px 0; text-transform: uppercase; font-stretch: 85%; }
.wash-flow p { margin: 0; color: var(--ink-2); font-size: 14px; }
.wash-flow li:last-child { background: rgba(255, 255, 255, 0.08); }
.type-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.type-block { display: flex; flex-direction: column; gap: 16px; padding: 0 0 20px; background: var(--surface); }
.type-block > div { padding: 0 20px; }
.type-block h3 { margin-bottom: 8px; }
.type-block p { color: var(--ink-2); font-size: 15px; }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.example-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.example-row li { position: relative; }
.example-row li:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 40%; color: var(--ink-3); }
.example-row > li > span { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.prodinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.prodinfo > div { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px; background: var(--bg); }
.sec--alt .prodinfo > div { background: #101214; }
.prodinfo dt { margin-top: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.prodinfo dd strong { display: block; font-weight: 800; font-stretch: 78%; font-size: 21px; line-height: 1.15; text-transform: uppercase; margin-bottom: 6px; }
.prodinfo dd span { color: var(--ink-2); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(72px, 9vw, 130px) 0; background: radial-gradient(ellipse 60% 80% at 15% 50%, rgba(255, 255, 255, 0.06), transparent), #050606; }
.cta-band.has-visual .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.cta-band h2 { font-size: clamp(38px, 5vw, 76px); max-width: 16ch; }
.cta-band .lede { margin-top: 18px; }
.cta-band .tags { margin-top: 14px; }
.cta-band.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: #050606; }
/* Full-height photo pinned right; its empty left edge fades into the band so the copy sits on solid dark. */
.cta-bg img { position: absolute; top: 0; right: 0; width: auto; max-width: 62%; height: 100%; object-fit: cover; object-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%); }
.cta-band.has-bg .cta-copy { max-width: 600px; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050606 0%, rgba(5, 6, 6, 0.6) 38%, rgba(5, 6, 6, 0.1) 58%, rgba(5, 6, 6, 0) 100%); } /* lighter (user 2026-10-13) */
@media (max-width: 1200px) {
  .cta-band.has-bg .cta-copy { max-width: 720px; }
  .cta-bg img { width: 100%; max-width: none; object-fit: cover; object-position: 70% 30%; -webkit-mask-image: none; mask-image: none; }
  .cta-bg::after { background: linear-gradient(90deg, rgba(5, 6, 6, 0.78), rgba(5, 6, 6, 0.4)); }
}

/* ==========================================================================
   PROJECT FORM
   ========================================================================== */
.form-grid { display: grid; grid-template-columns: 36fr 64fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-side h2 { font-size: clamp(36px, 4.4vw, 64px); }
.form-side .lede { margin-top: 18px; }
.contact-lines { margin-top: 24px; font-size: 15px; color: var(--ink-2); }
.contact-lines li { padding: 3px 0; }
.next-steps { counter-reset: ns; margin-top: 24px; }
.next-steps li { counter-increment: ns; position: relative; padding: 10px 0 10px 36px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: 9px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--accent); font-size: 13px; font-weight: 700; }
.next-steps strong { color: var(--ink); }
.form-main { background: var(--surface); padding: clamp(22px, 3vw, 40px); border-top: 2px solid var(--accent); }
.qform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qlegend { padding: 0; margin-bottom: 20px; font-weight: 800; font-stretch: var(--narrow); font-size: 24px; text-transform: uppercase; }
.qform.is-stepped .qstep { display: none; }
.qform.is-stepped .qstep.is-active { display: block; }
.qform.is-stepped .qlegend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.qform:not(.is-stepped) .qsteps { display: none; }
.qform:not(.is-stepped) .qstep + .qstep { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.qsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; counter-reset: qs; }
.qsteps li { counter-increment: qs; padding-top: 10px; border-top: 3px solid var(--line-2); font-size: 13px; color: var(--ink-3); font-weight: 600; }
.qsteps li::before { content: counter(qs) ". "; }
.qsteps li.is-active { border-top-color: var(--accent); color: var(--ink); }
.qsteps li.is-done { border-top-color: var(--sage); color: var(--ink-2); }
.qfield { margin-bottom: 22px; }
.qlabel { display: block; font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.qlabel em { font-style: normal; color: var(--ink); }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.qform input[type="text"], .qform input[type="email"], .qform input[type="tel"], .qform input[type="url"], .qform input[type="date"], .qform select, .qform textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius); font: inherit; font-size: 16px; color-scheme: dark;
}
.qform textarea { resize: vertical; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: none; border-color: var(--accent); }
.qmt { margin-top: 10px; }
.check { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: #eceae3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 10px 14px; border: 1px solid var(--line-2); font-size: 14.5px; color: var(--ink-2); transition: border-color 0.15s, background-color 0.15s; }
.chip:hover span { border-color: var(--ink-3); color: var(--ink); }
.chip input:checked + span { border-color: var(--accent); background: rgba(255, 255, 255, 0.14); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qhint { font-size: 13.5px; color: var(--ink-3); margin: 8px 0 0; }
.qhint--box { margin: -6px 0 22px; padding: 10px 14px; border: 1px dashed var(--line-2); }
.qerror { color: #fff; font-weight: 600; margin: 0 0 16px; padding: 10px 14px; border-left: 2px solid var(--ink); background: rgba(255, 255, 255, 0.08); }
.qnav { display: flex; gap: 12px; justify-content: space-between; }
.qnav .qnext, .qnav .qsubmit { margin-left: auto; }
.hp { position: absolute; left: -9999px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #040505; border-top: 1px solid var(--line-2); padding-top: 72px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px; }
.footer-brand p { color: var(--ink-2); margin: 16px 0 0; max-width: 30ch; }
.footer-brand .btn { margin-top: 24px; }
.footer-head { font-weight: 800; font-stretch: 80%; letter-spacing: 0.04em; margin-bottom: 14px; text-transform: uppercase; font-size: 14px; }
.footer-head a { text-decoration: none; }
.footer-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col a { display: inline-block; padding: 4px 0; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 56px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }

/* ==========================================================================
   BLOG
   ========================================================================== */
.cards { display: grid; gap: var(--gap); }
.card { display: flex; flex-direction: column; background: var(--surface); border-top: 2px solid transparent; transition: border-color 0.2s; }
.card:hover { border-top-color: var(--accent); }
.card-media { display: block; overflow: hidden; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body h3 a { text-decoration: none; }
.card-body p { color: var(--ink-2); font-size: 15px; }
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { font-size: 32px; margin: 1.6em 0 0.6em; }
.prose h3 { margin: 1.4em 0 0.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.pager { margin-top: 48px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line-2); text-decoration: none; }
.pager .current { border-color: var(--accent); }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.blog-filters a { padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 650; letter-spacing: 0.04em; text-decoration: none; color: var(--ink-2); transition: border-color 0.2s, color 0.2s, background 0.2s; }
.blog-filters a:hover { border-color: var(--ink); color: var(--ink); }
.blog-filters a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.post-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--surface); margin-bottom: var(--gap); border-top: 2px solid transparent; transition: border-color 0.2s; }
.post-feature:hover { border-top-color: var(--accent); }
.post-feature-media { display: block; overflow: hidden; }
.post-feature-media img { height: 100%; }
.post-feature-body { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.post-feature-body h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.post-feature-body h2 a, .post-card h3 a { text-decoration: none; }
.post-feature-body .ctas { margin-top: 26px; }
.post-card .kicker, .post-feature .kicker, .post-hero .kicker { color: var(--ink-2); letter-spacing: 0.06em; }
.blog-empty { padding: 64px 0; text-align: center; }
.blog-empty .lede { margin: 12px auto 24px; }
.blog-empty .ctas { justify-content: center; }

.post-hero .hero-copy { max-width: 880px; margin: 0 auto; text-align: center; }
.post-hero .crumbs ol { justify-content: center; }
.post-hero .lede { margin: 16px auto 0; }
.post-section { padding-top: 0; }
.post-lead { margin-bottom: 56px; }
.post-lead img, .post-lead .ph { width: 100%; max-height: 560px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 64px; }
.post-layout.has-toc { grid-template-columns: 240px minmax(0, 760px); }
.post-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.post-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-2); }
.post-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.post-toc a:hover, .post-toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.post-body { max-width: none; }
.post-body h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body a:not(.btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post-body ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.post-body li { margin-bottom: 6px; }
.post-body table { width: 100%; margin: 8px 0 28px; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.post-body th, .post-body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post-body th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); border-bottom-color: var(--line-2); }
.post-body td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ink); font-size: 19px; color: var(--ink); }
.post-body figure { margin: 28px 0; }
.post-body figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.post-cta { margin-top: 56px; padding: 36px; background: var(--surface); border-top: 2px solid var(--accent); }
.post-cta h3 { margin: 0 0 8px; }
.post-cta .ctas { margin-top: 20px; }
.post-body .post-cta a { text-decoration: none; }
.post-more .sec-head { margin-bottom: 32px; }
.post-products { margin-top: 56px; }
.post-products-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post-products-list a { display: flex; align-items: center; gap: 16px; padding: 12px; background: var(--surface); text-decoration: none; font-weight: 650; transition: background 0.2s; }
.post-products-list a:hover { background: var(--surface-2); }
.post-products-list img, .post-products-list .ph { width: 72px; flex: none; }
@media (max-width: 1000px) {
  .post-feature { grid-template-columns: 1fr; }
  .post-feature-body { padding: 28px 22px 32px; }
  .post-layout.has-toc { grid-template-columns: minmax(0, 760px); }
  .post-toc { display: none; }
  .post-products-list { grid-template-columns: 1fr; }
  .post-lead { margin-bottom: 36px; }
  .post-cta { padding: 26px 22px; }
}
@media (max-width: 760px) {
  .cards.post-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-link { padding: 0 8px; font-size: 12.5px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .proof { grid-template-columns: repeat(3, 1fr); }
  .proof li:nth-child(4) { border-left: 0; }
  .proof li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .anatomy { grid-template-columns: minmax(170px, 1fr) minmax(0, 2fr); }
  .anatomy-details { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .tcards { grid-template-columns: repeat(3, 1fr); }
  .stats.n5 { grid-template-columns: repeat(3, 1fr); }
  .combos { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile navigation: full-screen accordion */
@media (max-width: 1100px) {
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; margin-left: 4px; background: none; border: 0; cursor: pointer; }
  .burger span:not(.sr-only) { display: block; height: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .nav-open .burger span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(3) { opacity: 0; }
  .nav-open .burger span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .header-row { justify-content: space-between; }
  .header-cta { margin-left: auto; }
  /* The header carries a transform (hide-on-scroll) → it contains this fixed drawer; size it to the viewport. */
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; overflow-y: auto; padding: 8px 0 40px;
    visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s linear 0.2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav-open body { overflow: hidden; }
  .nav-list { flex-direction: column; height: auto; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 0 clamp(16px, 4vw, 40px); }
  .nav-link { flex: 1; height: 58px; padding: 0; font-size: 17px; color: var(--ink); }
  .nav-link[aria-current]::after { left: 0; right: auto; width: 24px; bottom: 12px; }
  .sub-toggle { display: grid; place-items: center; width: 48px; height: 58px; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .sub-toggle::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; }
  .nav-item.is-open .sub-toggle::after { transform: rotate(-135deg) translateX(-3px); }
  .panel { display: none; width: 100%; }
  .nav-item.is-open > .panel { display: block; }
  .dropdown { margin: 0 0 14px; }
  .dropdown a { display: block; padding: 10px 0 10px 14px; border-left: 2px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 16px; }
  .dropdown a:hover, .dropdown a[aria-current] { color: var(--ink); border-left-color: var(--ink); }
  .admin-bar .site-nav { top: calc(var(--header-h) + 32px); }
}

@media (max-width: 960px) {
  .hero--split .wrap, .row, .form-grid, .case, .mfg-top, .shipmap-grid, .start-grid, .module.has-visual, .cta-band.has-visual .wrap, .type-blocks, .checklist { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-media { order: 0; }
  .catcards, .clients, .reviews, .why-grid, .cols-3, .cols-4, .styles, .styles.n4, .styles.n7, .tcards, .cases--compact, .examples { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.n5 { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .process-grid, .flow, .gallery, .market-cards, .prodinfo, .stats, .stats.n5, .combos-mini ul { grid-template-columns: repeat(2, 1fr); }
  .stage-visuals { grid-template-columns: repeat(3, 1fr); }
  .stage-fields { grid-template-columns: repeat(2, 1fr); }
  .flow.n10, .gallery.n5 { grid-template-columns: repeat(2, 1fr); }
  .stage-fields.n5 { grid-template-columns: repeat(2, 1fr); }
  .compare-set { grid-template-columns: 1fr 1fr; }
  .compare-plus { display: none; }
  .cols-5 { grid-template-columns: repeat(3, 1fr); }
  .module-visual { position: static; }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy-list { grid-template-columns: repeat(4, 1fr); order: 2; }
  .anatomy-details { order: 3; }
  .compare { grid-template-columns: 1fr; }
  .compare-eq { justify-self: center; transform: rotate(90deg); }
  .mt-cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header .brand-logo { height: 46px; }
  .header-cta { display: none; }
  .catcards, .clients, .reviews, .why-grid, .cols-2, .cols-3, .cols-4, .styles, .styles.n4, .styles.n7, .tcards, .cases--compact, .examples, .entry-cards, .combos, .market-cards, .prodinfo, .qgrid, .start-cols, .stage-fields, .stage-fields.n5, .decision-cols, .wash-flow, .opt-grid, .module:not(.has-visual) .opt-grid { grid-template-columns: 1fr; }
  .styles { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .style p { font-size: 14px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof li:nth-child(odd) { border-left: 0; }
  .proof li:nth-child(4) { border-left: 1px solid var(--line); }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps, .steps.n5 { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--line-2); padding-left: 20px; }
  .steps li { padding: 0 0 6px; }
  .steps li::before { left: -26px; top: 4px; }
  .anatomy-list { grid-template-columns: repeat(2, 1fr); }
  .checks { columns: 1; }
  .case-dl { grid-template-columns: 1fr; }
  .cols-5 { grid-template-columns: 1fr; }
  .phase-step { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .row-opts > div { grid-template-columns: 1fr; gap: 2px; }
  .phase-num { font-size: 32px; }
  .phase-check .xtable th[scope="row"] { white-space: normal; }
  .stage-visuals { grid-template-columns: repeat(2, 1fr); }
  .stage-visuals li::after, .example-row li::after { display: none; }
  .gallery, .gallery.n2, .process-grid, .flow { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .qsteps li { font-size: 12px; }
  .mt-list a { grid-template-columns: 1fr; gap: 2px; }
  .placement { grid-template-columns: 1fr 1fr; }
  /* Comparison table → stacked cards */
  .xtable thead { display: none; }
  .xtable, .xtable tbody, .xtable tr, .xtable th, .xtable td { display: block; }
  .xtable tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .xtable th, .xtable td { padding: 4px 0; border: 0; min-width: 0; }
  .xtable td::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
  .table-wrap { overflow: visible; }
  .matrix-wrap, .table-wrap:has(.matrix) { overflow-x: auto; }
  .matrix .mx-text { display: none; }
  /* Map: on-map region names give way to the region list below; percentages stay. */
  .map-label > span, .map-origin em { display: none; }
  .map-label b, .map-label.is-lead b { font-size: 18px; bottom: 10px; }
  .map-label--southeast-asia b { bottom: 4px; right: 8px; }
  .map-origin b { display: none; }
  .map-origin i { width: 10px; height: 10px; }
  #main { background-size: 62px 62px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* V3 audit additions (2026-10-04) */
.steps li > .ico { margin-bottom: 4px; }
.client-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.client-top .client-num { margin: 0; }
.mt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.opt-cards li { display: flex; flex-direction: column; gap: 4px; }
.opt-cards strong { margin-top: 10px; font-size: 15.5px; }
.opt-cards li > span { color: var(--ink-2); font-size: 14px; }
.start-files { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0 0; padding: 14px 16px; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .opt-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .opt-cards { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   IMAGE LAYOUT SYSTEM (v2.2.0; motion removed in v2.2.2)
   Ratios: 4:5 garments · 4:3 scenes / process · 1:1 details · 16:9 banners.
   ========================================================================== */

/* ---------- Cases: fixed bento — lead 2×2, two crops beside it, three below ---------- */
.cases:not(.cases--compact) .case-media { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cases:not(.cases--compact) .case-media .is-lead { grid-column: span 2; grid-row: span 2; }
.cases:not(.cases--compact) .case-media .is-lead > .ph,
.cases:not(.cases--compact) .case-media .is-lead > img,
.cases:not(.cases--compact) .case-media .is-lead > .zoom,
.cases:not(.cases--compact) .case-media .is-lead > .zoom > img { aspect-ratio: auto !important; height: 100%; }
.cases--compact .case-media { gap: 6px; margin-bottom: 6px; }

/* ---------- Rows: image column ≈ 40%, alternating sides ---------- */
.row { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.row:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.row--handoff, .row:not(:has(.row-media)) { grid-template-columns: 1fr; }

/* ---------- Grids: one rhythm for figure + caption ---------- */
.gallery, .flow, .compare-set, .stage-visuals { gap: var(--gap); }
.gallery figcaption, .compare-set figcaption { margin-top: 10px; }
.styles { gap: 32px var(--gap); }
.style h3 { margin-top: 16px; }
.type-block > .ph, .type-block > .zoom, .combo > .ph, .tcard > .ph, .grid-media > .ph { border-bottom: 1px solid var(--line); }
.cta-visual > .ph, .cta-visual > img, .start-visual > .ph, .start-visual > img { max-height: 460px; }
.post-lead .ph, .post-lead img { max-height: 480px; }

/* ---------- Swipe strips (phones): galleries scroll sideways instead of stacking ---------- */
.hs-dots { display: none; }
@media (max-width: 960px) {
  .hero-media.has-details { grid-template-columns: 1fr; }
  .hero-media.has-details.n1 { grid-template-columns: 1fr; }
  .hero-details { flex-direction: row; }
  .hero-details > * { flex: 1; aspect-ratio: 1 / 1 !important; }
  .hero-main > .ph, .hero-main > img { aspect-ratio: 4 / 3 !important; min-height: 0; }
  .row, .row:nth-child(even) { grid-template-columns: 1fr; }
  .row-media { order: -1; }
  .row-media > .ph, .row-media > img { aspect-ratio: 16 / 9 !important; }
}
@media (max-width: 640px) {
  .catcards, .styles, .styles.n4, .styles.n7, .flow, .flow.n10, .stage-visuals, .gallery, .gallery.n2, .gallery.n5,
  .compare-set, .tcards, .type-blocks, .opt-cards, .cases--compact {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
  }
  .catcards, .styles, .styles.n4, .styles.n7, .type-blocks, .cases--compact { grid-auto-columns: 82%; }
  .catcards::-webkit-scrollbar, .styles::-webkit-scrollbar, .flow::-webkit-scrollbar, .stage-visuals::-webkit-scrollbar,
  .gallery::-webkit-scrollbar, .compare-set::-webkit-scrollbar, .tcards::-webkit-scrollbar, .type-blocks::-webkit-scrollbar,
  .opt-cards::-webkit-scrollbar, .cases--compact::-webkit-scrollbar { display: none; }
  /* positioned so absolutely placed children (e.g. .sr-only) stay inside the scroller */
  .catcards > *, .styles > *, .flow > *, .stage-visuals > *, .gallery > *, .compare-set > figure, .tcards > *,
  .type-blocks > *, .opt-cards > *, .cases--compact > * { position: relative; scroll-snap-align: start; min-width: 0; }
  .hs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
  .hs-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-2); transition: width 0.3s var(--ease), background 0.3s; }
  .hs-dots i.is-on { width: 18px; background: var(--ink); }
}

/* ==========================================================================
   JACKET FABRICS — spec-sheet cards (v2.2.1)
   ========================================================================== */
.jump--sticky {
  position: sticky; top: var(--header-h); z-index: 20; margin: 0 0 clamp(28px, 4vw, 48px);
  padding: 10px 0; background: rgba(7, 8, 9, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: top 0.3s var(--ease);
}
html:has(.site-header.is-hidden) .jump--sticky { top: 0; }
.jump-track { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.jump-track::-webkit-scrollbar { display: none; }
.jump--sticky a { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; white-space: nowrap; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.jump--sticky a span { font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-3); }
.jump--sticky a:hover { color: var(--ink); border-color: var(--line-2); }
.jump--sticky a.is-active { color: var(--ink); border-color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.jump--sticky a.is-active span { color: var(--ink); }

.fabs { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.fab {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.5vw, 56px);
  padding: clamp(20px, 2.4vw, 32px); background: var(--surface); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 76px);
}
.fab:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fab:nth-child(even) .fab-media { order: 2; }
.fab-media { position: sticky; top: calc(var(--header-h) + 88px); align-self: start; display: grid; gap: 10px; }
.fab-media figure { position: relative; margin: 0; }
.fab-media figcaption { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 9px; background: rgba(7, 8, 9, 0.78); font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.fab-media .ph-ratio, .fab-media .ph > span { display: none; }

.fab-head { display: flex; gap: clamp(14px, 2vw, 24px); align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.fab-idx { flex: none; font-weight: 800; font-stretch: 78%; font-size: clamp(44px, 4.6vw, 68px); line-height: 0.85; color: transparent; -webkit-text-stroke: 1px var(--sage); }
.fab-idx small { font-size: 0.3em; -webkit-text-stroke: 0; color: var(--ink-3); margin-left: 4px; letter-spacing: 0.06em; }
.fab-head h3 { font-size: clamp(26px, 2.6vw, 38px); }
.fab-focus { margin: 8px 0 0; color: var(--ink-2); font-size: 16.5px; max-width: 56ch; }

.fab-specs { margin: 0; }
.fab-specs dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 6px; }
.fab-specs dd { margin: 0; font-size: 15px; color: var(--ink); }
.fab-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fab-row:last-child { border-bottom: 0; }
.fab-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 16px 0; background: var(--line); border: 1px solid var(--line); }
.fab-tiles > div { padding: 14px 16px; background: var(--bg); }
.fab-tiles dd { font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.fab-tiles .typical { display: block; width: fit-content; margin: 6px 0 0; font-weight: 500; }
.fab-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.fab-chip { display: inline-flex; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.fab-chip span { transition: transform 0.2s; }
.fab-chip:hover { border-color: var(--ink); color: var(--ink); }
.fab-chip:hover span { transform: translateX(3px); }
.fab-season { display: block; color: var(--ink-2); font-size: 14px; }
.fab-row .tags { margin: 0; }
.fab-note { margin-top: 12px; padding: 14px 16px; border: 0; border-left: 2px solid var(--ink); background: rgba(255, 255, 255, 0.06); }
.fab-note dd { color: var(--ink-2); }

@media (max-width: 960px) {
  .fab, .fab:nth-child(even) { grid-template-columns: 1fr; }
  .fab:nth-child(even) .fab-media { order: 0; }
  .fab-media { position: static; grid-template-columns: 1fr 1fr; }
  .fab-media .ph { aspect-ratio: 1 / 1 !important; }
}
@media (max-width: 1300px) {
  .jump--sticky a span { display: none; }
}
@media (max-width: 640px) {
  .fab { padding: 16px; }
  .fab-tiles { grid-template-columns: 1fr; }
  .jump--sticky { margin-inline: -16px; padding-inline: 16px; }
}

/* ==========================================================================
   POSTER HERO — full-bleed background photo with copy on top (Home, v2.2.4)
   ========================================================================== */
.hero--poster { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(90vh, 880px); padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 84px); overflow: hidden; background: #070809; }
.hero-poster { position: absolute; inset: 0; z-index: -1; }
.hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-poster::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(7, 8, 9, 0.72) 0%, rgba(7, 8, 9, 0.45) 34%, rgba(7, 8, 9, 0.1) 62%, rgba(7, 8, 9, 0) 100%),
    radial-gradient(60% 55% at 50% 78%, rgba(7, 8, 9, 0.25), transparent 70%);
}
/* centered copy in the lower part of the poster — faces stay visible above it */
.hero--poster { align-items: flex-end; }
.hero--poster .wrap { width: 100%; }
.hero--poster .hero-copy { max-width: 860px; margin: 0 auto; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 1px 14px rgba(0, 0, 0, 0.55); }
.hero--poster .ctas, .hero--poster .hero-proof { text-shadow: none; }
.hero--poster .hero-sub, .hero--poster .lede { margin-left: auto; margin-right: auto; }
.hero--poster .hero-proof, .hero--poster .ctas { justify-content: center; }
.hero--poster .hero-sub { color: #fff; }
.hero--poster .lede { color: rgba(255, 255, 255, 0.82); }
.hero--poster .kicker { color: rgba(255, 255, 255, 0.78); }
.hero--poster .hero-proof li { border-color: rgba(255, 255, 255, 0.32); background: rgba(7, 8, 9, 0.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@media (max-width: 960px) {
  .hero--poster { min-height: 0; align-items: flex-end; padding-top: clamp(240px, 52vw, 380px); }
  .hero-poster img { object-position: 58% 20%; height: 72%; }
  .hero-poster::after { background: linear-gradient(0deg, #070809 28%, rgba(7, 8, 9, 0.45) 45%, rgba(7, 8, 9, 0) 72%); }
}
/* Hub pages (Custom Jackets, Customization, How It Works, Manufacturing): shorter poster + breadcrumb on photo */
.hero--poster-sub { min-height: min(72vh, 680px); }
/* copy sits mid-image on hub pages → even darkening across the whole poster, deeper in the centre */
.hero--poster-sub .hero-poster::after {
  background:
    radial-gradient(70% 70% at 50% 55%, rgba(7, 8, 9, 0.35), rgba(7, 8, 9, 0.05) 75%),
    linear-gradient(0deg, rgba(7, 8, 9, 0.65) 0%, rgba(7, 8, 9, 0.22) 40%, rgba(7, 8, 9, 0.18) 100%);
}
.hero--poster .crumbs ol { font-weight: 600; }
.hero--poster .crumbs ol { justify-content: center; color: rgba(255, 255, 255, 0.7); }
.hero--poster .crumbs a:hover { color: #fff; }
.hero--poster .hero-note { color: rgba(255, 255, 255, 0.66); }

/* ==========================================================================
   HOME — pre-V3 header behaviour (user request 2026-10-08): the poster runs
   full-screen under the bar; at the top the bar is clear (white logo + links
   over the photo), it turns white once scrolled — or while a dropdown, the
   mobile menu or keyboard focus is in it. Scroll down hides it, scroll up shows it.
   ========================================================================== */
.home .hero--poster { margin-top: calc(-1 * var(--header-h)); min-height: 100svh; }
.home .hero-poster::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0)); pointer-events: none; }
html:not(.nav-open) .home .site-header:not(.is-scrolled):not(:has(.nav-item:hover, .nav-item.is-open, :focus-visible)) {
  --ink: #ffffff; --ink-2: rgba(255, 255, 255, 0.86); --accent: #fff; --accent-hover: #f1f1ee; --accent-ink: #121212;
  background: transparent; border-bottom-color: transparent; box-shadow: none;
}
html:not(.nav-open) .home .site-header:not(.is-scrolled):not(:has(.nav-item:hover, .nav-item.is-open, :focus-visible)) .brand-mark { color: #fff; }
html:not(.nav-open) .home .site-header:not(.is-scrolled):not(:has(.nav-item:hover, .nav-item.is-open, :focus-visible)) .nav-link { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.home .site-header { transition: background-color 0.25s, box-shadow 0.25s, border-color 0.25s, transform 0.3s var(--ease); }

/* Split poster (MT 01): two photos side by side behind the centred copy. */
.hero-poster.is-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #070809; }
.hero-poster.is-split img { object-position: center; }
@media (max-width: 960px) { .hero-poster.is-split img { height: 72%; } }


/* ==========================================================================
   MODULE SPLIT — category module with a real photo board (v2.8.2):
   head + options on one side, the large board on the other, top-aligned with the kicker.
   ========================================================================== */
.module-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
.sec--split.is-flip .module-copy { order: 2; }
.module-copy .sec-head { max-width: none; margin-bottom: clamp(24px, 3vw, 36px); }
.module-copy .opt-grid { grid-template-columns: repeat(2, 1fr); }
.module-copy .wash-flow { grid-template-columns: repeat(2, 1fr); }
.module-split .module-visual { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.module-split .module-visual .zoom { border: 1px solid var(--line); }
.module-split .module-visual img { display: block; }
@media (max-width: 960px) {
  .module-split { grid-template-columns: 1fr; }
  .sec--split.is-flip .module-copy { order: 0; }
  .module-split .module-visual { position: static; }
}
@media (max-width: 700px) {
  .module-copy .opt-grid, .module-copy .wash-flow { grid-template-columns: 1fr; }
}

/* Development examples — title + project facts under the Reference → Sample → Final row (v2.8.3). */
.example > .kicker { margin-bottom: 6px; }
.example > h3 { font-size: clamp(18px, 1.6vw, 22px); margin: 0 0 16px; }
.example-dl { grid-template-columns: 1fr; margin-top: 20px; }
.example-dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
@media (max-width: 700px) { .example-dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* "More Styles" card — fills the empty slot in a category's style grid (v2.8.4). */
.style--more { display: block; color: inherit; text-decoration: none; }
.style-more-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; border: 1px dashed rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.03); transition: border-color 0.2s, background 0.2s; }
.style-more-plus { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; font-size: 40px; font-weight: 300; line-height: 1; color: var(--ink); transition: transform 0.2s; }
.style-more-cta { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); }
.style--more:hover .style-more-box, .style--more:focus-visible .style-more-box { border-color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.style--more:hover .style-more-plus { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .style--more:hover .style-more-plus { transform: none; } }

/* ==========================================================================
   START A PROJECT — user redesign (RUIXING_Start_A_Project_Redesign.html, v2.9.0):
   intro + contacts left (43%), light 3-step panel right (57%), WhatsApp band below.
   ========================================================================== */
.sap { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); background: #101214; }
.sap-grid { display: grid; grid-template-columns: 43fr 57fr; gap: 52px; align-items: start; }
.sap-eyebrow { margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.17em; color: #a5abb0; }
.sap-intro h1 { margin: 0 0 28px; font-size: clamp(45px, 5vw, 75px); line-height: 1.03; letter-spacing: -0.02em; text-transform: none; }
.sap-lede { max-width: 420px; margin: 0; font-size: 17px; line-height: 1.75; color: #bec2c3; }
.sap-rule { max-width: 390px; height: 1px; margin: 48px 0 32px; background: #3b3e40; }
.sap-contact { display: grid; gap: 22px; }
.sap-ctitle { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8c9396; }
.sap-contact a { font-size: 16px; color: #fff; text-decoration: none; border-bottom: 1px solid #737778; }
.sap-contact a:hover { border-bottom-color: #fff; }
.sap-hint { max-width: 390px; margin: 48px 0 0; font-size: 13px; line-height: 1.75; color: #9da3a5; }
.sap-hint strong { color: #f5f4f0; }

.sap-panel { padding: 44px 44px 36px; background: #f5f4f0; color: #202427; border-radius: 2px; box-shadow: 0 28px 70px rgba(5, 5, 5, 0.25); }
.sap-panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.sap-panel h2 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; text-transform: none; color: #202427; }
.sap-count { font-size: 12px; white-space: nowrap; color: #747c80; letter-spacing: 0.04em; }
.sap-sub { margin: 12px 0 28px; font-size: 14px; line-height: 1.6; color: #747b7f; }

.sap-panel .qsteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 30px; counter-reset: none; }
.sap-panel .qsteps li { padding-top: 9px; border-top: 3px solid #cbcfce; font-size: 12px; font-weight: 500; color: #8a8f90; }
.sap-panel .qsteps li::before { content: none; }
.sap-panel .qsteps li.is-active { border-top-color: #202426; color: #202426; font-weight: 700; }
.sap-panel .qsteps li.is-done { border-top-color: #697173; color: #4c5457; }
.sap-panel .qfield { display: grid; gap: 8px; margin: 0 0 20px; }
.sap-panel .qlabel { margin: 0; font-size: 13px; font-weight: 700; color: #202427; }
.sap-panel .qlabel em { color: #202427; }
.qopt { font-weight: 400; color: #81898a; }
.sap-panel .qgrid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sap-panel .qform input[type="text"], .sap-panel .qform input[type="email"], .sap-panel .qform input[type="tel"], .sap-panel .qform input[type="url"], .sap-panel .qform select, .sap-panel .qform textarea {
  width: 100%; padding: 15px; font: inherit; font-size: 14px; color: #202426; background: #fff; border: 1px solid #d3d6d4; border-radius: 2px;
}
.sap-panel .qform select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23202426' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.sap-panel .qform ::placeholder { color: #9aa0a2; }
.sap-panel .qform input:focus, .sap-panel .qform select:focus, .sap-panel .qform textarea:focus { outline: none; border-color: #17191b; box-shadow: 0 0 0 2px rgba(23, 25, 27, 0.09); }
.sap-panel .qform textarea { min-height: 106px; resize: vertical; }
.sap-panel .qhint { margin: 0; font-size: 12px; line-height: 1.5; color: #747b7f; }
.qdrop { display: block; padding: 22px; text-align: center; text-decoration: none; color: #202427; background: #ecedea; border: 1px dashed #929b9f; transition: border-color 0.15s, background 0.15s; }
.qdrop:hover, .qdrop:focus-visible { border-color: #17191b; background: #e4e6e2; }
.qdrop b { display: block; margin-bottom: 6px; font-size: 14px; }
.qdrop small { font-size: 12px; color: #6b7476; }
.sap-panel .qerror { margin: 0 0 16px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: #a23b39; background: #f6e7e5; border-left: 2px solid #a23b39; }
.sap-panel .qnav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; }
.qbtn { cursor: pointer; padding: 16px 25px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; color: #fff; background: #17191b; border: 1px solid #17191b; border-radius: 0; transition: background 0.15s; }
.qbtn:hover { background: #33373a; }
.qbtn:disabled { opacity: 0.6; cursor: wait; }
.qbtn--ghost { padding: 15px 23px; font-weight: 500; color: #202426; background: transparent; border-color: #7e8587; }
.qbtn--ghost:hover { background: rgba(0, 0, 0, 0.05); }
.sap-panel .qnav .qnext, .sap-panel .qnav .qsubmit { margin-left: auto; }
.qprivacy { margin: 19px 0 0; font-size: 11px; line-height: 1.6; color: #858b8c; }
.qprivacy a { color: #5c6467; }
.sap-panel .qform:not(.is-stepped) .qstep + .qstep { border-top-color: #d7d7d3; }

.sap-below { padding: 38px 0; background: #f5f4f0; color: #222; border-top: 1px solid #d5d5d0; }
.sap-below-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sap-below h2 { margin: 0 0 9px; font-size: 23px; line-height: 1.15; text-transform: none; letter-spacing: -0.01em; color: #222; }
.sap-below p { margin: 0; font-size: 14px; color: #687073; }
.sap-below a { flex: none; font-weight: 600; color: #222; text-decoration: none; border-bottom: 1px solid #222; }

@media (max-width: 900px) {
  .sap-grid { display: block; }
  .sap-intro { margin-bottom: 46px; }
  .sap-intro h1 { font-size: 52px; }
  .sap-lede { font-size: 15px; }
  .sap-rule { margin: 28px 0; }
  .sap-contact { grid-template-columns: 1fr 1fr; }
  .sap-hint { margin-top: 24px; }
  .sap-panel { padding: 30px 24px; }
  .sap-below-inner { display: block; }
  .sap-below a { display: inline-block; margin-top: 18px; }
}
@media (max-width: 550px) {
  .sap-intro h1 { font-size: 44px; }
  .sap-contact { grid-template-columns: 1fr; }
  .sap-contact a { word-break: break-all; }
  .sap-panel { padding: 25px 17px; }
  .sap-panel h2 { font-size: 25px; }
  .sap-panel-top { display: block; }
  .sap-count { display: block; margin-top: 8px; }
  .sap-panel .qgrid { grid-template-columns: 1fr; }
  .sap-panel .qsteps { gap: 5px; }
  .sap-panel .qsteps li { font-size: 10px; }
  .sap-panel .qnav { gap: 8px; }
  .qbtn { padding: 14px 16px; }
}

/* ============ HOVER ZOOM (v2.9.2) — product photos zoom inside a fixed frame; frame/card never moves ============ */
.zoom { display: block; overflow: hidden; }
.zoom img { display: block; width: 100%; transition: transform 0.7s var(--ease); }
.style:hover .zoom img, .opt-cards li:hover .zoom img, .type-block:hover .zoom img, .example-row li:hover .zoom img,
.case-media figure:hover .zoom img, .module-visual:hover .zoom img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .zoom img { transition: none; transform: none !important; } }

/* ==========================================================================
   HEADER LOGO — flapping butterfly (v2.15.0)
   logo-white.png split into alpha masks: logo-text (RUI/ING, static),
   logo-wings (big X wings, flaps via scaleX), logo-wings-keep (static
   knockout of the letter outlines + the small centre butterfly).
   Painted with currentColor so one mark serves white and dark headers.
   ========================================================================== */
.brand-mark { position: relative; display: block; height: 56px; aspect-ratio: 401 / 241; color: #000; }
.brand-mark > span, .bm-wings > i { position: absolute; inset: 0; }
.bm-text, .bm-wings > i { background: currentColor; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.bm-text { --m: url(assets/images/logo-text.png); }
.bm-wings { -webkit-mask: url(assets/images/logo-wings-keep.png) center / 100% 100% no-repeat; mask: url(assets/images/logo-wings-keep.png) center / 100% 100% no-repeat; }
.bm-wings > i { --m: url(assets/images/logo-wings.png); transform-origin: 49.9% 50%; animation: rx-flap 4s ease-in-out infinite; }
.brand:hover .bm-wings > i, .brand:focus-visible .bm-wings > i { animation: rx-flap-fast 0.5s ease-in-out infinite; }
@keyframes rx-flap {
  0%, 30%, 100% { transform: scaleX(1); }
  7.5%, 22.5% { transform: scaleX(0.35); }
  15% { transform: scaleX(1); }
}
@keyframes rx-flap-fast { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.35); } }
@media (prefers-reduced-motion: reduce) { .bm-wings > i { animation: none !important; } }

/* BLOG — in-article image slots ([rx_figure], v2.16.0) */
.post-body .post-fig { margin: 28px 0 32px; }
.post-body .post-fig img, .post-body .post-fig .ph { width: 100%; display: block; }
.post-body h3 + p { margin-top: 0; }
