/* ==========================================================================
   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; }
}
