/* ==========================================================================
   XINHUI — Digital Print & Apparel Manufacturing
   Design system · light editorial / industrial
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #f1eee7;
  --ink: #12161a;
  --ink-2: #454c53;
  --ink-3: #79828a;
  --line: rgba(18, 22, 26, 0.13);
  --line-2: rgba(18, 22, 26, 0.07);
  --accent: #a9502b;
  --accent-soft: rgba(169, 80, 43, 0.09);
  --dark: #12161a;
  --dark-2: #1b2127;
  --on-dark: #f2efe9;
  --on-dark-2: rgba(242, 239, 233, 0.62);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Hiragino Kaku Gothic ProN", "Meiryo", "Malgun Gothic", sans-serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --maxw: 1280px;
  --pad: clamp(20px, 5.2vw, 72px);
  --sec-y: clamp(64px, 9vw, 132px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-s: 0 1px 2px rgba(18, 22, 26, 0.05), 0 8px 24px -16px rgba(18, 22, 26, 0.25);
  --shadow-m: 0 2px 6px rgba(18, 22, 26, 0.06), 0 24px 60px -32px rgba(18, 22, 26, 0.35);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
svg { display: block; }

::selection { background: var(--ink); color: var(--bg); }

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

/* ---------- 3. Type ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.5rem, 6.6vw, 5.1rem);
  letter-spacing: -0.038em;
  line-height: 1.02;
  font-weight: 600;
}

.h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -0.032em; }
.h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -0.028em; }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.018em; }
.h4 { font-size: 1.02rem; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow.is-plain::before { display: none; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 62ch;
}

.body-sm { font-size: 0.9rem; line-height: 1.72; color: var(--ink-3); }
.measure { max-width: 60ch; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--paper { background: var(--surface); }
.section--sand { background: var(--surface-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--on-dark); }
.section--dark .lead { color: var(--on-dark-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.sec-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head .lead { padding-bottom: 6px; }
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border-radius: 2px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn:hover { transform: translateY(-1px); --btn-bg: #000; }
.btn:active { transform: translateY(0); }

.btn .arw { transition: transform 0.32s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }

.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: #8f4324; }

.btn--on-dark { --btn-bg: var(--on-dark); --btn-fg: var(--ink); }
.btn--on-dark:hover { --btn-bg: #fff; }

.btn--sm { height: 42px; padding: 0 18px; font-size: 0.8rem; }
.btn--lg { height: 56px; padding: 0 34px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 14px; }
.section--dark .link-arrow { color: var(--on-dark); border-color: rgba(242, 239, 233, 0.28); }
.section--dark .link-arrow:hover { border-color: var(--on-dark); }

/* ---------- 6. Topbar + Header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 36px;
  overflow: hidden;
}
.topbar-list { display: flex; align-items: center; gap: 26px; }
.topbar-list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar-list li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.topbar-list li:first-child::before { display: none; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-right a:hover { color: #fff; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.site-head.is-stuck {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(18, 22, 26, 0.5);
  background: rgba(247, 245, 240, 0.96);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}
.brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav a.is-active::after { transform: scaleX(1); }

.head-act { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lang-btn .chev { transition: transform 0.3s var(--ease); opacity: 0.6; }
.lang.is-open .lang-btn { border-color: var(--ink); color: var(--ink); }
.lang.is-open .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 172px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow-m);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  z-index: 120;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 2px;
  font-size: 0.84rem;
  color: var(--ink-2);
  text-align: left;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-menu button:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu button .code {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.lang-menu button.is-cur { color: var(--ink); font-weight: 600; background: var(--accent-soft); }
.lang-menu button.is-cur .code { color: var(--accent); }

/* burger */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 2px;
  place-items: center;
}
.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after { top: 5.5px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  padding: 96px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0.32s;
}
body.nav-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer a.drawer-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.drawer a.drawer-link .num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.drawer-foot { margin-top: 30px; display: grid; gap: 14px; }
.drawer-meta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--ink-3);
}

/* ---------- 7. Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 88px); position: relative; overflow: hidden; }
.hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.6);
}
.hero-badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3f8f5f;
  box-shadow: 0 0 0 3px rgba(63, 143, 95, 0.16);
}
.hero-note { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; }

.hero-title { max-width: 15.2em; }

/* Korean breaks on word boundaries only (spaces), never mid-word */
html[lang="ko"] .h-display,
html[lang="ko"] .h1,
html[lang="ko"] .h2,
html[lang="ko"] .h3 { word-break: keep-all; }
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-top: clamp(26px, 3vw, 40px);
}
.hero-desc { display: grid; gap: 26px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure {
  margin-top: clamp(34px, 4.5vw, 60px);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface-2);
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
}
.hero-figure .fig-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(18, 22, 26, 0.82);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
  padding: 13px 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-figure .fig-tag b { color: #fff; font-weight: 600; }

/* ---------- 8. Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 28px) clamp(22px, 3vw, 34px) 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: clamp(14px, 2vw, 28px); }
.stat-val {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.stat-val sup { font-size: 0.42em; font-weight: 600; letter-spacing: 0; top: -0.9em; color: var(--accent); }
.stat-lab {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
}
.section--dark .stats { border-color: rgba(242, 239, 233, 0.16); }
.section--dark .stat { border-right-color: rgba(242, 239, 233, 0.16); }
.section--dark .stat-lab { color: var(--on-dark-2); }

/* ---------- 9. Category cards ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.cat {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.cat:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}
.cat-media { position: relative; overflow: hidden; background: var(--surface-2); }
.cat-media img {
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.cat:hover .cat-media img { transform: scale(1.045); }
.cat-idx {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 5px 9px;
  border-radius: 2px;
}
.cat-body { padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; flex: 1; gap: 12px; }
.cat-body p { font-size: 0.9rem; line-height: 1.7; color: var(--ink-3); }
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag {
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 10px;
  white-space: nowrap;
}
.cat-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-2);
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.cat-foot .go { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; }
.cat:hover .cat-foot .go .arw { transform: translateX(4px); }
.cat-foot .go .arw { transition: transform 0.35s var(--ease); }

/* ---------- 10. Capability list ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
}
.cap {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}
.cap-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 5px;
}
.cap h3 { font-size: 1.02rem; margin-bottom: 7px; letter-spacing: -0.012em; }
.cap p { font-size: 0.885rem; line-height: 1.68; color: var(--ink-3); }
.section--dark .cap { border-color: rgba(242, 239, 233, 0.14); }
.section--dark .cap p { color: var(--on-dark-2); }
.section--dark .cap-grid { border-color: rgba(242, 239, 233, 0.14); }
.section--dark .cap-n { color: #c9a08a; }

/* split media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.split-media {
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.split-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split-body { display: grid; gap: 22px; }
.split-list { display: grid; gap: 14px; }
.split-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.split-list li svg { margin-top: 5px; color: var(--accent); }
.section--dark .split-list li { color: var(--on-dark-2); }
.section--dark .split-list li svg { color: #c9a08a; }

/* ---------- 11. Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: clamp(24px, 2.6vw, 34px) clamp(12px, 1.4vw, 20px) clamp(24px, 3vw, 36px) 0;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.step h3 { margin-top: 16px; }
.step-meta { margin-top: auto; }
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: clamp(12px, 1.4vw, 20px); }
.step-n {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 400;
  color: var(--ink);
  opacity: 0.26;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
}
.step:hover .step-n { opacity: 1; color: var(--accent); }
.step h3 { font-size: 0.98rem; margin: 16px 0 8px; letter-spacing: -0.012em; }
.step p { font-size: 0.85rem; line-height: 1.66; color: var(--ink-3); }
.step-meta {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line-2);
  padding-top: 10px;
}
.step-meta b { color: var(--ink); font-weight: 600; }
.section--dark .steps { border-color: rgba(242, 239, 233, 0.16); }
.section--dark .step { border-right-color: rgba(242, 239, 233, 0.16); }
.section--dark .step-n { color: var(--on-dark); opacity: 0.3; }
.section--dark .step:hover .step-n { color: #c9a08a; opacity: 1; }
.section--dark .step p { color: var(--on-dark-2); }
.section--dark .step-meta { color: var(--on-dark-2); border-color: rgba(242, 239, 233, 0.16); }
.section--dark .step-meta b { color: var(--on-dark); }

/* ---------- 12. Feature grid ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feat {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.4s var(--ease);
}
.feat:hover { background: rgba(255, 255, 255, 0.55); }
.feat-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent);
  margin-bottom: 20px;
  background: var(--surface);
}
.feat h3 { font-size: 1rem; margin-bottom: 9px; letter-spacing: -0.012em; }
.feat p { font-size: 0.875rem; line-height: 1.7; color: var(--ink-3); }

/* ---------- 13. Quality band ---------- */
.quality-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(242, 239, 233, 0.16);
  border: 1px solid rgba(242, 239, 233, 0.16);
  border-radius: 3px;
  overflow: hidden;
  margin-top: clamp(30px, 4vw, 52px);
}
.qb {
  background: var(--dark);
  padding: clamp(20px, 2.4vw, 30px) clamp(16px, 2vw, 24px);
}
.qb-lab {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 10px;
}
.qb-val { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em; }
.qb-sub { font-size: 11.5px; color: var(--on-dark-2); margin-top: 5px; line-height: 1.5; }

/* ---------- 14. Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.quote {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote .stars { display: flex; gap: 3px; color: var(--accent); }
.quote blockquote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.quote figcaption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.q-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  flex: 0 0 auto;
  letter-spacing: 0.02em;
}
.q-name { font-size: 0.86rem; font-weight: 600; }
.q-role { font-size: 11.5px; color: var(--ink-3); }

/* ---------- 15. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  cursor: pointer;
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .pm {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}
.faq summary .pm::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq details p {
  padding-bottom: clamp(20px, 2.4vw, 28px);
  max-width: 78ch;
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--ink-3);
}

/* ---------- 16. CTA band ---------- */
.cta-band {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 3px;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 80, 43, 0.28), transparent 68%);
  pointer-events: none;
}
.cta-band h2 { color: var(--on-dark); max-width: 24ch; }
.cta-band p { color: var(--on-dark-2); margin-top: 14px; max-width: 46ch; font-size: 0.95rem; }
.cta-acts { display: flex; flex-direction: column; gap: 12px; align-items: stretch; position: relative; z-index: 1; }
.cta-band .btn--ghost {
  color: var(--on-dark);
  border-color: rgba(242, 239, 233, 0.3);
}
.cta-band .btn--ghost:hover {
  color: #fff;
  border-color: rgba(242, 239, 233, 0.65);
  --btn-bg: transparent;
}
.cta-act-note { font-size: 11.5px; color: var(--on-dark-2); text-align: center; letter-spacing: 0.03em; }

/* ---------- 17. Footer ---------- */
.site-foot {
  background: var(--dark);
  color: var(--on-dark-2);
  padding-top: clamp(52px, 6vw, 80px);
  font-size: 0.875rem;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(36px, 4vw, 56px);
}
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .brand-mark { background: var(--on-dark); color: var(--dark); }
.foot-brand .brand-name { color: var(--on-dark); }
.foot-brand .brand-sub { color: var(--on-dark-2); }
.foot-brand p { font-size: 0.86rem; line-height: 1.75; max-width: 34ch; }
.foot-col h4 {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 18px;
  font-weight: 600;
}
.foot-col li { margin-bottom: 11px; }
.foot-col a { transition: color 0.22s var(--ease); }
.foot-col a:hover { color: #fff; }
.foot-contact li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; margin-bottom: 13px; line-height: 1.6; }
.foot-contact svg { margin-top: 4px; opacity: 0.55; }
.foot-bottom {
  border-top: 1px solid rgba(242, 239, 233, 0.14);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.03em;
}
.foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal a:hover { color: #fff; }

/* ---------- 18. Page hero (sub pages) ---------- */
.page-hero {
  padding-top: clamp(36px, 5vw, 68px);
  padding-bottom: clamp(30px, 4.5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: clamp(22px, 3vw, 34px);
  flex-wrap: wrap;
}
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: 0.45; }
.page-hero .h-display { max-width: 22ch; }
.page-hero-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: end;
  margin-top: clamp(22px, 3vw, 34px);
}

/* ---------- 19. Product detail rows ---------- */
.prow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4.5vw, 64px);
  align-items: stretch;
  padding-block: clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.prow:first-child { padding-top: 0; }
.prow:last-child { border-bottom: 0; padding-bottom: 0; }
.prow--rev .prow-media { order: 2; }
.prow-media {
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface-2);
  align-self: stretch;
  min-height: 320px;
}
.prow-media img { width: 100%; height: 100%; object-fit: cover; }
.prow-body { display: grid; gap: 20px; align-content: center; }
.prow-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.855rem;
}
.spec tr { border-bottom: 1px solid var(--line-2); }
.spec th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-3);
  padding: 11px 16px 11px 0;
  width: 38%;
  vertical-align: top;
  letter-spacing: 0.01em;
}
.spec td { padding: 11px 0; color: var(--ink-2); }

/* ---------- 20. About page ---------- */
.entity {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.entity-logo {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--surface);
  color: var(--ink);
}
.entity h3 { font-size: 1.08rem; margin-bottom: 6px; }
.entity .ent-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.entity p { font-size: 0.9rem; line-height: 1.72; color: var(--ink-3); max-width: 66ch; }

.timeline { border-top: 1px solid var(--line); }
.tl {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(18px, 2.4vw, 26px) 0;
  border-bottom: 1px solid var(--line);
}
.tl-year {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  padding-top: 2px;
}
.tl-body h3 { font-size: 0.98rem; margin-bottom: 6px; }
.tl-body p { font-size: 0.875rem; line-height: 1.7; color: var(--ink-3); }

/* ---------- 21. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-s);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23454c53' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); opacity: 0.75; }
.form-note { font-size: 11.5px; color: var(--ink-3); line-height: 1.6; margin-top: 14px; }
.form-ok {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(63, 143, 95, 0.35);
  background: rgba(63, 143, 95, 0.08);
  border-radius: 2px;
  font-size: 0.86rem;
  color: #2f6f4a;
}
.form-ok.show { display: flex; }

.info-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.info-row svg { margin-top: 4px; color: var(--accent); }
.info-row .k {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.info-row .v { font-size: 0.92rem; line-height: 1.6; color: var(--ink); }
.info-row .v a:hover { color: var(--accent); }

.map-embed {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.map-embed .map-inner { display: grid; gap: 8px; justify-items: center; color: var(--ink-3); font-size: 0.82rem; }
.map-embed strong { color: var(--ink); font-size: 0.95rem; font-weight: 600; }

/* ---------- 22. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: 0.82rem; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:last-child { border-bottom: 0; }
  .section--dark .step { border-bottom-color: rgba(242, 239, 233, 0.16); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .quality-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  .head-act .btn--quote { display: none; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-title { max-width: none; }
  .cats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; align-items: start; }
  .prow--rev .prow-media { order: 0; }
  .prow-media { min-height: 0; }
  .prow-media img { height: auto; aspect-ratio: 4 / 3.1; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .page-hero-foot { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section--dark .stat:nth-child(n + 3) { border-top-color: rgba(242, 239, 233, 0.16); }
  .cap-grid { grid-template-columns: 1fr; }
  .topbar-list li:nth-child(n + 3) { display: none; }
  .hero-figure img { aspect-ratio: 16 / 9.6; }
}

@media (max-width: 640px) {
  :root { --sec-y: 56px; }
  html { scroll-padding-top: 74px; }
  .nav-wrap { height: 64px; }
  .topbar .wrap { height: 32px; }
  .topbar-right { display: none; }
  .brand-mark { width: 30px; height: 30px; font-size: 11px; }
  .brand-name { font-size: 1.02rem; letter-spacing: 0.09em; }
  .brand-sub { font-size: 7.5px; letter-spacing: 0.14em; }
  .h-display { font-size: clamp(2rem, 9.4vw, 2.8rem); letter-spacing: -0.03em; }
  .hero-badge { height: 26px; font-size: 10px; letter-spacing: 0.1em; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-left: 0 !important; }
  .feats { grid-template-columns: 1fr; }
  .quality-band { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .entity { grid-template-columns: 64px 1fr; }
  .entity-logo { width: 64px; height: 64px; font-size: 1rem; }
  .tl { grid-template-columns: 62px 1fr; }
  .cta-band { padding: 34px 22px; }
  .hero-acts { width: 100%; }
  .hero-acts .btn { flex: 1 1 100%; }
  .lang-btn { padding: 0 9px; height: 36px; font-size: 0.72rem; }
  .btn--quote-m { display: inline-flex !important; }
  .drawer { padding-top: 82px; }
}

/* keep nav CTA visible on tablet */
@media (min-width: 901px) and (max-width: 1180px) {
  .head-act .btn--quote { height: 42px; padding: 0 16px; font-size: 0.78rem; }
}

/* ---------- 24. Hero extras ---------- */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-bottom: 4px;
}
.hero-tags li {
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.fig-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
  animation: xh-pulse 2.4s ease-in-out infinite;
}
@keyframes xh-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@media (max-width: 900px) {
  .hero-tags { justify-content: flex-start; }
}

/* ---------- 25. Process stages ---------- */
.stage {
  display: grid;
  grid-template-columns: 92px 1.15fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.stage-n {
  font-family: var(--mono);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
  opacity: 0.3;
  letter-spacing: -0.04em;
}
.stage-main h2 {
  font-size: clamp(1.22rem, 2vw, 1.58rem);
  margin: 10px 0 12px;
  letter-spacing: -0.022em;
}
.stage-main p { font-size: 0.92rem; line-height: 1.74; color: var(--ink-3); }
.stage-lab {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.stage-list { display: grid; gap: 12px; padding-top: 26px; }
.stage-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  font-size: 0.865rem;
  line-height: 1.62;
  color: var(--ink-2);
}
.stage-list svg { margin-top: 4px; color: var(--accent); flex: 0 0 auto; }

.wide-fig {
  border-radius: 3px;
  overflow: hidden;
  margin-block: clamp(30px, 4vw, 56px);
  background: var(--surface-2);
}
.wide-fig img { width: 100%; aspect-ratio: 16 / 6.4; object-fit: cover; }

.spec--wide th { width: 30%; }
.spec--wide th,
.spec--wide td { padding-block: 14px; font-size: 0.885rem; }

@media (max-width: 900px) {
  .stage { grid-template-columns: 1fr; gap: 14px; }
  .stage-n { font-size: 1.5rem; opacity: 0.3; }
  .stage-list { padding-top: 4px; }
  .wide-fig img { aspect-ratio: 16 / 9; }
}

/* print */
@media print {
  .site-head, .topbar, .drawer, .cta-band, .site-foot { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   13 · PRODUCT RANGE GRID  ·  CRAFT MATRIX  ·  SAMPLE LIBRARY
   ========================================================================== */

.page-hero-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* ---------- eight product families ---------- */
.range {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pcat {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transition: background 0.35s var(--ease);
}
.pcat:hover { background: var(--surface); }

.pcat-media {
  display: block;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1 / 1;
}
.pcat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.pcat:hover .pcat-media img { transform: scale(1.045); }

.pcat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 18px clamp(14px, 1.5vw, 22px) 20px;
}
.pcat-idx {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.pcat-body h3 {
  font-size: clamp(0.92rem, 1.15vw, 1.04rem);
  letter-spacing: -0.015em;
  line-height: 1.32;
}
.pcat-body p {
  font-size: 0.815rem;
  line-height: 1.6;
  color: var(--ink-3);
}
.pcat-tag {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.85;
}
html[lang="ko"] .pcat-body h3,
html[lang="ja"] .pcat-body h3 { word-break: keep-all; }

/* ---------- ten decoration methods ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(242, 239, 233, 0.15);
  border-left: 1px solid rgba(242, 239, 233, 0.15);
}
.craft {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: clamp(16px, 1.8vw, 26px);
  border-right: 1px solid rgba(242, 239, 233, 0.15);
  border-bottom: 1px solid rgba(242, 239, 233, 0.15);
  transition: background 0.32s var(--ease);
}
.craft:hover { background: rgba(255, 255, 255, 0.045); }
.craft-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #c9a08a;
}
.craft h3 {
  font-size: clamp(0.86rem, 1vw, 0.95rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.craft p {
  font-size: 0.785rem;
  line-height: 1.62;
  color: var(--on-dark-2);
}
html[lang="ko"] .craft h3,
html[lang="ja"] .craft h3 { word-break: keep-all; }

/* ---------- sample library: filter bar ---------- */
.gal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.4vw, 30px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  height: 34px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.775rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease),
    background 0.22s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-count {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- sample library: grid ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(9px, 1.3vw, 16px);
}
.gtile {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  cursor: zoom-in;
  -webkit-appearance: none;
  appearance: none;
}
.gtile img {
  display: block;
  width: 100%;
  height: 100%;
  /* contain, not cover — a sample library must never crop the garment */
  object-fit: contain;
  transition: transform 0.55s var(--ease);
}
.gtile:hover img { transform: scale(1.05); }
.gtile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.gtile-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 14px 12px;
  font-size: 0.715rem;
  line-height: 1.45;
  text-align: left;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(10, 13, 16, 0.88),
    rgba(10, 13, 16, 0.42) 55%,
    rgba(10, 13, 16, 0)
  );
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gtile:hover .gtile-cap,
.gtile:focus-visible .gtile-cap { opacity: 1; transform: none; }

/* touch devices have no hover — keep the caption visible */
@media (hover: none) {
  .gtile-cap { opacity: 1; transform: none; padding-top: 26px; }
}

.gtile.is-hidden { display: none; }

.gal-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--ink-3);
}
.gal-hint svg { color: var(--accent); }

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 60px);
  background: rgba(7, 9, 12, 0.975);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}
.lb.is-open { opacity: 1; visibility: visible; }

.lb-fig {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0;
  max-width: 100%;
}
.lb-fig img {
  width: auto;
  height: auto;
  max-width: min(86vw, 820px);
  max-height: 74vh;
  object-fit: contain;
  background: #fff;
}
.lb-fig figcaption {
  max-width: 62ch;
  font-size: 0.795rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: center;
  color: rgba(242, 239, 233, 0.76);
}

.lb-x {
  position: absolute;
  top: clamp(12px, 2vw, 22px);
  right: clamp(12px, 2vw, 22px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 239, 233, 0.26);
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.lb-x:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.1); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 239, 233, 0.22);
  border-radius: 50%;
  background: rgba(7, 9, 12, 0.6);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.lb-nav:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.12); }
.lb-prev { left: clamp(8px, 2vw, 26px); }
.lb-next { right: clamp(8px, 2vw, 26px); }

/* ---------- homepage sample strip ---------- */
.gal-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(7px, 1vw, 12px);
}
.gal-strip a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-2);
}
.gal-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.gal-strip a:hover img { transform: scale(1.06); opacity: 0.92; }

.cat-all {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 34px);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .craft-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-strip { grid-template-columns: repeat(4, 1fr); }
  .gal-strip a:nth-child(n + 9) { display: none; }
}

@media (max-width: 900px) {
  .range { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-acts { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .pcat-body { padding: 14px 13px 16px; }
  .pcat-body p { font-size: 0.775rem; line-height: 1.55; }
  .pcat-tag { display: none; }
  .craft-grid { grid-template-columns: 1fr; }
  .lb-fig img { max-width: 92vw; max-height: 66vh; }
  .lb-nav { width: 40px; height: 40px; }
  .gal-strip { grid-template-columns: repeat(4, 1fr); }
  .gal-strip a:nth-child(n + 5) { display: none; }
}

@media print {
  .lb, .chips, .gal-hint { display: none !important; }
}

/* ==========================================================================
   14 · WHATSAPP QUICK CHAT
   Fixed action button + brand mark used in the footer / contact list
   ========================================================================== */

.wa-fab {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(18, 22, 26, 0.45), 0 2px 8px rgba(18, 22, 26, 0.14);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.wa-fab:hover {
  background: #1fbe5b;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(18, 22, 26, 0.5), 0 3px 10px rgba(18, 22, 26, 0.16);
}
.wa-fab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.wa-fab svg { display: block; width: 29px; height: 29px; }

/* label that slides out on hover — desktop only */
.wa-txt {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(8px, -50%);
  padding: 8px 13px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 0.775rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.wa-txt::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -4px;
  border: 4px solid transparent;
  border-left-color: var(--ink);
}
.wa-fab:hover .wa-txt,
.wa-fab:focus-visible .wa-txt { opacity: 1; transform: translate(0, -50%); }

/* keep the brand green at full strength where list icons are dimmed */
.foot-contact svg.wa-i,
.info-row svg.wa-i { opacity: 1; }

@media (hover: none) {
  .wa-txt { display: none; }
}

@media (max-width: 640px) {
  .wa-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-txt { display: none; }
}

@media print {
  .wa-fab { display: none !important; }
}


/* ==========================================================================
   24. Primary navigation with dropdowns  (added 2026-11-07)
   ========================================================================== */
html { scroll-padding-top: 96px; }

.nav { gap: clamp(14px, 1.32vw, 22px); }
.nav > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  white-space: nowrap;
}
.nav-item { position: relative; display: flex; align-items: center; }

/* invisible bridge so the pointer can travel from the link into the panel */
.nav-item::before {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  top: 100%;
  height: 18px;
  pointer-events: none;
}

.dchev {
  flex: 0 0 auto;
  opacity: 0.42;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}
.nav-item:hover .dchev,
.nav-item:focus-within .dchev { transform: rotate(180deg); opacity: 0.9; }

.nav-drop {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  min-width: 262px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px -28px rgba(18, 22, 26, 0.42), 0 2px 10px rgba(18, 22, 26, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  z-index: 92;
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop a {
  display: block;
  padding: 9px 13px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-drop a::after { display: none; }
.nav-drop a:hover,
.nav-drop a:focus-visible { background: rgba(18, 22, 26, 0.045); color: var(--ink); }

@media (max-width: 1360px) {
  .nav { gap: 8px; }
  .nav > a,
  .nav-item > a { font-size: 0.76rem; gap: 4px; }
  .nav-drop { min-width: 244px; }
  .nav-drop a { font-size: 0.77rem; }
}

/* ==========================================================================
   25. Mobile drawer with collapsible groups
   ========================================================================== */
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-group { position: relative; border-bottom: 1px solid var(--line-2); }
.drawer-group > a.drawer-link { border-bottom: 0; padding-right: 46px; }

.drawer-tog {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  border-radius: 50%;
  transition: color 0.2s var(--ease), transform 0.3s var(--ease);
}
.drawer-tog svg { transition: transform 0.3s var(--ease); }
.drawer-tog:hover { color: var(--ink); }
.drawer-group.is-open .drawer-tog svg { transform: rotate(180deg); }
.drawer-group.is-open .drawer-tog { color: var(--accent); }

.drawer-sub { display: none; padding: 0 0 14px 34px; }
.drawer-group.is-open .drawer-sub { display: grid; gap: 1px; }
.drawer-sub a {
  display: block;
  padding: 9px 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.drawer-sub a:last-child { border-bottom: 0; }
.drawer-sub a:hover { color: var(--accent); }

@media (max-width: 1180px) {
  /* the eight top-level items stop fitting: hand over to the drawer */
  .nav { display: none; }
  .burger { display: grid; }
}

/* ==========================================================================
   26. Development cases (works.html)
   ========================================================================== */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 54px;
  border-top: 1px solid var(--line);
}
.case {
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line-2);
}
.case-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.case h3 {
  margin: 11px 0 9px;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.case p {
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 46ch;
}
.case-foot {
  margin-top: 46px;
  padding: 34px 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.case-foot h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; }
.case-foot p { margin-top: 7px; color: var(--ink-2); font-size: 0.9rem; }

/* ==========================================================================
   27. Resource links (resources.html)
   ========================================================================== */
.guide-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  border-bottom: 1px solid var(--line-2);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.24s var(--ease), padding-left 0.24s var(--ease);
}
.guide-list a:hover { color: var(--accent); padding-left: 8px; }
.guide-list svg { flex: 0 0 auto; opacity: 0.5; }

@media (max-width: 900px) {
  .cases { grid-template-columns: 1fr; gap: 0; }
  .case-foot { padding: 26px 22px; }
}

/* references note (works.html) */
.ref-note {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
}
.ref-note h3 { font-size: 0.96rem; font-weight: 600; letter-spacing: -0.01em; }
.ref-note p { color: var(--ink-2); font-size: 0.89rem; line-height: 1.7; max-width: 72ch; }
@media (max-width: 640px) { .ref-note { grid-template-columns: 1fr; gap: 10px; } }


/* ==========================================================================
   28. Homepage — seven-block framework (2026-11-07)
   ========================================================================== */
.center-act { display: flex; justify-content: center; margin-top: 42px; }

/* 02 · key business numbers */
.kpi-head { margin-bottom: 22px; }
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.kpi {
  padding: 30px 20px 28px 0;
  border-right: 1px solid var(--line-2);
}
.kpi:not(:first-child) { padding-left: 22px; }
.kpi:last-child { border-right: 0; }
.kpi-val {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}
.kpi-val sup {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 3px;
  color: var(--accent);
  vertical-align: super;
}
.kpi-lab {
  margin-top: 12px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--ink-2);
}

/* 03 · six core products */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.pcard:hover {
  border-color: var(--line);
  box-shadow: 0 18px 36px -26px rgba(18, 22, 26, 0.4);
  transform: translateY(-3px);
}
.pcard-media { aspect-ratio: 1 / 1; background: var(--surface); overflow: hidden; }
.pcard-media img {
  width: 100%; height: 100%;
  object-fit: contain;              /* sample photos are never cropped */
  transition: transform 0.55s var(--ease);
}
.pcard:hover .pcard-media img { transform: scale(1.045); }
.pcard-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px clamp(14px, 1.5vw, 22px) 18px;
  border-top: 1px solid var(--line-2);
}
.pcard-n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--accent); }
.pcard-body h3 {
  flex: 1;
  font-size: clamp(0.94rem, 1.1vw, 1.06rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.pcard-go { color: var(--ink-3); transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.pcard:hover .pcard-go { color: var(--accent); transform: translateX(3px); }

/* 04 · OEM & ODM services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc { padding: 28px 26px 30px 0; border-right: 1px solid var(--line-2); }
.svc:not(:first-child) { padding-left: 26px; }
.svc:last-child { border-right: 0; }
.svc-n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
.svc h3 { margin-top: 14px; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.svc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-2); flex-wrap: wrap;
}
.svc-foot p { max-width: 60ch; color: var(--ink-2); font-size: 0.94rem; line-height: 1.6; }

/* 05 · custom techniques */
.tec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tec { margin: 0; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.09); }
.tec-media { aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.tec-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.55s var(--ease); }
.tec:hover .tec-media img { transform: scale(1.04); }
.tec figcaption {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px 15px;
  font-size: 0.86rem; font-weight: 500;
  color: inherit;
}
.tec-n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; opacity: 0.6; }

/* 06 · cooperation flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.flow-step { position: relative; padding: 30px 22px 32px 0; border-right: 1px solid var(--line-2); }
.flow-step:not(:first-child) { padding-left: 22px; }
.flow-step:last-child { border-right: 0; }
.flow-n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); }
.flow-step h3 { margin-top: 13px; font-size: 0.98rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.4; }
.flow-step::after {
  content: "";
  position: absolute;
  right: -5px; top: 34px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  transform: rotate(45deg);
  background: var(--bg);
}
.flow-step:last-child::after { display: none; }

/* 07 · about XINHUI */
.ab-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.ab-txt .h2 { margin-top: 14px; }
.ab-txt .lead { margin: 18px 0 28px; }
.ab-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ab-imgs figure { margin: 0; position: relative; }
.ab-imgs figure:first-child { grid-column: 1 / -1; }
.ab-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16 / 9; }
.ab-imgs figure:not(:first-child) img { aspect-ratio: 4 / 3; }
.ab-imgs figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 7px 12px;
  background: rgba(18, 22, 26, 0.78);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

/* responsive */
@media (max-width: 1080px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi:nth-child(3) { border-right: 0; }
  .kpi:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
  .pgrid, .tec-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-step:nth-child(3) { border-right: 0; }
  .flow-step:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
  .flow-step:nth-child(3)::after { display: none; }
  .ab-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:not(:first-child) { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .svc:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-right: 1px solid var(--line-2); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .kpi:not(:first-child) { padding-left: 0; }
  .kpi:nth-child(2n) { padding-left: 16px; }
  .pgrid, .tec-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step, .flow-step:not(:first-child) { padding-left: 0; border-right: 0; border-top: 1px solid var(--line-2); }
  .flow-step:first-child { border-top: 0; }
  .flow-step::after { right: auto; left: 0; top: auto; bottom: -5px; transform: rotate(135deg); }
  .center-act { margin-top: 30px; }
}

/* ==========================================================================
   29 · REAL TECHNIQUE PHOTO GALLERY (workshop close-ups)
   ========================================================================== */
.tg-head { margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.tg-head .h3 { margin: 10px 0 8px; font-size: clamp(1.15rem, 1.7vw, 1.55rem); font-weight: 600; letter-spacing: -.02em; }
.tg-head .lead { max-width: 720px; color: rgba(255,255,255,.66); font-size: .92rem; line-height: 1.65; }
.tech-gal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 26px; }
.tg { margin: 0; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); }
.tg-media { display: block; background: #f2f0eb; }
.tg-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; transition: transform .4s var(--ease); }
.tg:hover .tg-media img { transform: scale(1.045); }
.tg figcaption { display: flex; align-items: baseline; gap: 8px; padding: 10px 11px 12px; font-size: .76rem; line-height: 1.4; color: rgba(255,255,255,.88); }
.tg-n { flex: none; font-size: .64rem; letter-spacing: .06em; color: rgba(255,255,255,.42); }
.section--dark .tec-media { background: #f2f0eb; }
@media (max-width: 1180px) { .tech-gal { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .tech-gal { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .tech-gal { grid-template-columns: repeat(2, 1fr); } .tg figcaption { font-size: .7rem; } }

/* ==========================================================================
   30 · CATEGORY LANDING PAGES
   ========================================================================== */
.cat-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 30px; }
.cat-hero-media { margin: 0; background: var(--surface); }
.cat-hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
.cat-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.opt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.opt { padding: 22px 20px 24px; background: var(--bg); border: 1px solid var(--line-2); }
.opt-n { display: block; font-size: .66rem; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.opt h3 { font-size: 1rem; font-weight: 600; margin: 0 0 10px; letter-spacing: -.01em; }
.opt p { font-size: .85rem; line-height: 1.7; color: var(--ink-2); margin: 0; }
.cat-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tech figure { margin: 0; border: 1px solid var(--line-2); background: var(--bg); }
.cat-tech img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; background: #f2f0eb; }
.cat-tech figcaption { display: flex; gap: 9px; align-items: baseline; padding: 11px 13px 13px; font-size: .82rem; }
.cat-tech figcaption span:first-child { flex: none; font-size: .66rem; letter-spacing: .06em; color: var(--accent); }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rel { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid var(--line-2); font-size: .92rem; font-weight: 500; transition: background .25s var(--ease), border-color .25s var(--ease); }
.rel:hover { background: var(--surface-2); border-color: var(--accent); }
.rel .arw { flex: none; color: var(--accent); }
@media (max-width: 1100px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .cat-hero-grid { grid-template-columns: 1fr; }
  .cat-tech, .rel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .opt-grid, .cat-tech, .rel-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   31 · 404 PAGE
   ========================================================================== */
.nf { padding: clamp(70px, 10vw, 130px) 0 clamp(90px, 13vw, 170px); }
.nf-inner { max-width: 760px; }
.nf-code { display: block; font-size: clamp(5rem, 14vw, 10rem); font-weight: 700; line-height: .9; letter-spacing: -.06em; color: var(--line); }
.nf-inner .eyebrow { display: block; margin-top: 26px; }
.nf-inner .h-display { margin: 12px 0 18px; }
.nf-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 22px; }
.nf-hint { font-size: .85rem; line-height: 1.7; color: var(--ink-3); }


/* ---------- 32. Inquiry form — trimmed + real submit (step16) ---------- */
/* Honeypot: off-screen, never focusable, invisible to real visitors. */
.hp {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
  pointer-events: none;
}
.form-required {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0 0 14px;
}
.field--req label::after { content: " *"; color: var(--accent); }
.opt-tag {
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-left: 8px;
}
.form-hint {
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.6;
  margin: 8px 0 0;
}
.form-opt {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.form-opt > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.form-opt > summary::-webkit-details-marker { display: none; }
.form-opt > summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px; height: 17px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  line-height: 1;
  color: var(--accent);
}
.form-opt[open] > summary::before { content: "-"; }
.form-opt > .form-hint { margin-top: 10px; }
.form-opt .form-grid { margin-top: 16px; }

.sb-busy { display: none; }
#inquiry-form.is-busy .sb-idle { display: none; }
#inquiry-form.is-busy .sb-busy { display: inline; }
#inquiry-form.is-busy #f-submit { opacity: 0.65; cursor: progress; }

.form-err {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(169, 80, 43, 0.4);
  background: rgba(169, 80, 43, 0.07);
  border-radius: 2px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #8a3d1c;
}
.form-err.show { display: block; }
.form-alt { display: block; margin-top: 8px; }
.form-alt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 700px) {
  .form-opt > summary { font-size: 11px; }
}

/* --- brand mark: gold "n" + rainbow sash (replaces the placeholder XH tile) --- */
img.brand-mark,
.foot-brand img.brand-mark {
  background: none;
  border-radius: 0;
  object-fit: contain;
}
.foot-brand img.brand-mark { filter: none; }
