/* ==========================================================================
   BOLTON — brand site stylesheet
   Type: Archivo (display/body) + IBM Plex Mono (labels, numbers)
   ========================================================================== */

:root {
  --ink: #0d0e0f;
  --ink-soft: #15171a;
  --ink-3: #1c1e21;
  --paper: #f4f2ee;
  --paper-2: #eae6de;
  --white: #ffffff;

  --text: #121314;
  --text-inv: #f2f0ec;
  --muted: #6f6d68;
  --muted-inv: #9d9b95;

  --line: rgba(13, 14, 15, 0.14);
  --line-soft: rgba(13, 14, 15, 0.08);
  --line-inv: rgba(255, 255, 255, 0.16);
  --line-inv-soft: rgba(255, 255, 255, 0.08);

  --accent: #a9825a;
  --accent-soft: #c4a785;
  --danger: #b4513f;

  --font-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --pad: clamp(20px, 4.6vw, 64px);
  --max: 1600px;
  --sec: clamp(72px, 9vw, 148px);
  --head: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  padding-block: var(--sec);
  position: relative;
}
.section--dark {
  background: var(--ink);
  color: var(--text-inv);
}
.section--paper2 {
  background: var(--paper-2);
}
.section--flush-top {
  padding-top: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .eyebrow {
  color: var(--muted-inv);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.h1 {
  font-size: clamp(2.7rem, 6.6vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
}
.h2 {
  font-size: clamp(1.95rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 400;
  max-width: 22ch;
}
.h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
}
.lede {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}
.section--dark .lede {
  color: var(--muted-inv);
}
.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .note {
  color: var(--muted-inv);
}

/* section head */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin-bottom: clamp(38px, 5vw, 72px);
}
.sec-head__title {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sec-head__aside {
  max-width: 40ch;
  color: var(--muted);
  font-size: 14.5px;
}
.section--dark .sec-head__aside {
  color: var(--muted-inv);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-line: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 16px 24px;
  border: 1px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.btn--solid {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-line: var(--ink);
}
.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn--light {
  --btn-fg: var(--text-inv);
  --btn-line: rgba(255, 255, 255, 0.4);
}
.btn--light:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
  --btn-line: var(--paper);
}
.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  --btn-line: var(--accent);
}
.btn--accent:hover {
  --btn-bg: #93714d;
  --btn-line: #93714d;
}
.btn--block {
  width: 100%;
}
.btn--sm {
  min-height: 44px;
  padding: 12px 18px;
  font-size: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s, color 0.3s;
}
.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover {
  border-color: currentColor;
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.section--dark .link-arrow {
  border-color: var(--line-inv);
}

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--head);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.4s var(--ease), height 0.4s var(--ease),
    border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(13, 14, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-inv-soft);
  height: 66px;
}
.header__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}
.brand__name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__link {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding-block: 6px;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-inv);
  padding: 8px 10px;
  transition: color 0.3s, border-color 0.3s;
}
.lang:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.lang__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.header .btn {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 10px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: relative;
  z-index: 120;
}
.burger span {
  display: block;
  height: 1px;
  width: 24px;
  background: #fff;
  margin: 6px auto;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  color: var(--text-inv);
  padding: calc(var(--head) + 28px) var(--pad) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  overflow-y: auto;
}
.mmenu.is-open {
  opacity: 1;
  visibility: visible;
}
.mmenu__nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-inv-soft);
}
.mmenu__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-inv-soft);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.mmenu__link .idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-inv);
  letter-spacing: 0.1em;
}
.mmenu__foot {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0b0c0d;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.06);
  animation: heroZoom 2.8s var(--ease) 0.1s forwards;
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(8, 9, 10, 0.72) 0%,
      rgba(8, 9, 10, 0.18) 34%,
      rgba(8, 9, 10, 0.12) 58%,
      rgba(8, 9, 10, 0.78) 100%
    ),
    linear-gradient(90deg, rgba(8, 9, 10, 0.5), rgba(8, 9, 10, 0) 55%);
}
/* the sliding leaf that opens on load */
.hero__leaf {
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(105deg, #101113 0%, #191b1e 46%, #0e0f10 100%);
  border-right: 1px solid rgba(169, 130, 90, 0.5);
  box-shadow: 40px 0 80px rgba(0, 0, 0, 0.55);
  animation: leafOpen 2.1s cubic-bezier(0.76, 0, 0.24, 1) 0.25s forwards;
  z-index: 2;
}
.hero__leaf::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hero__leaf::after {
  content: "";
  position: absolute;
  right: 36px;
  top: 50%;
  width: 2px;
  height: 90px;
  transform: translateY(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    var(--accent-soft) 30%,
    var(--accent-soft) 70%,
    transparent
  );
}
@keyframes leafOpen {
  to {
    transform: translateX(-101%);
  }
}
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--head) + 60px) var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4vw, 44px);
}
.hero__top {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: up 1.1s var(--ease) 1.05s forwards;
}
.hero__top .bar {
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  max-width: 17ch;
  font-size: clamp(2.6rem, 6.4vw, 6.2rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
  font-weight: 400;
  text-wrap: balance;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line > span {
  display: block;
  transform: translateY(102%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span {
  animation-delay: 1.1s;
}
.hero__title .line:nth-child(2) > span {
  animation-delay: 1.22s;
}
.hero__title .line:nth-child(3) > span {
  animation-delay: 1.34s;
}
@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: up 1.2s var(--ease) 1.5s forwards;
}
.hero__sub {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__foot {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-inv);
  opacity: 0;
  animation: up 1.2s var(--ease) 1.65s forwards;
}
.hero__foot-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__foot-inner .scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__foot-inner .scroll-hint::after {
  content: "";
  width: 1px;
  height: 16px;
  background: currentColor;
  animation: scrollPulse 1.8s infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-2px);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

/* ---------- page hero (inner pages) ---------- */
.phero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #0b0c0d;
  overflow: hidden;
  padding-top: var(--head);
}
.phero__media {
  position: absolute;
  inset: 0;
}
.phero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  animation: heroZoom 2.4s var(--ease) forwards;
}
.phero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 10, 0.55) 0%,
    rgba(8, 9, 10, 0.25) 40%,
    rgba(8, 9, 10, 0.85) 100%
  );
}
.phero--soft .phero__media img {
  opacity: 0.5;
}
.phero--soft .phero__media::after {
  background: linear-gradient(
    180deg,
    rgba(8, 9, 10, 0.78) 0%,
    rgba(8, 9, 10, 0.42) 42%,
    rgba(8, 9, 10, 0.88) 100%
  );
}
.phero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(60px, 8vw, 110px) var(--pad) clamp(30px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}
.phero__title {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 20ch;
  margin-top: 14px;
}
.phero__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 6px;
}

/* ---------- capability strip ---------- */
.caps {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.caps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cap {
  padding: 34px 26px 38px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cap:first-child {
  border-left: 0;
  padding-left: 0;
}
.cap__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.cap__title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cap__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- product cards ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px) clamp(16px, 2vw, 28px);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: var(--paper-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(13, 14, 15, 0.62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.card__name {
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 5px;
  max-width: 34ch;
}
.card__meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
  padding-top: 4px;
}
.card__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.card__go svg {
  width: 12px;
  height: 12px;
  transition: transform 0.4s var(--ease);
}
.card:hover .card__go {
  color: var(--accent);
}
.card:hover .card__go svg {
  transform: translateX(3px);
}
.card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ---------- performance ---------- */
.perf {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.perf__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
}
.perf__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.perf__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--accent);
  color: #fff;
  padding: 16px 20px;
  font-family: var(--font-mono);
  line-height: 1.2;
}
.perf__badge strong {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: block;
}
.perf__badge span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.meter {
  border-top: 1px solid var(--line-inv);
  padding: 20px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 20px;
  align-items: baseline;
}
.meter__name {
  font-size: 15px;
  font-weight: 500;
}
.meter__val {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-inv);
  text-transform: uppercase;
}
.meter__track {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line-inv);
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
.meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent);
  transition: width 1.4s var(--ease);
}
.meter.is-in .meter__fill {
  width: var(--v, 70%);
}

/* ---------- factory rail ---------- */
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: thin;
  cursor: grab;
}
.rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.rail::-webkit-scrollbar {
  height: 3px;
}
.rail::-webkit-scrollbar-thumb {
  background: var(--line-inv);
}
.rail__item {
  flex: 0 0 clamp(260px, 30vw, 420px);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
}
.rail__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.8s var(--ease);
}
.rail__item:hover img {
  transform: scale(1.04);
}
.rail__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(13, 14, 15, 0.88), transparent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- scenes / cases ---------- */
.grid-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: #fff;
  display: flex;
  align-items: flex-end;
}
.scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.scene:hover img {
  transform: scale(1.05);
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 9, 10, 0.82), rgba(8, 9, 10, 0) 62%);
}
.scene__body {
  position: relative;
  z-index: 2;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.scene__idx {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}
.scene__title {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.scene__text {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
}
.scene:hover .scene__text {
  max-height: 120px;
  opacity: 1;
  margin-top: 4px;
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.step {
  padding: 30px 26px 34px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.4s;
}
.step:first-child {
  border-left: 0;
  padding-left: 0;
}
.step:hover {
  background: rgba(169, 130, 90, 0.06);
}
.step__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.step__name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.section--dark .step {
  border-color: var(--line-inv);
}
.section--dark .step__text {
  color: var(--muted-inv);
}
.section--dark .steps {
  border-color: var(--line-inv);
}

/* ---------- inquiry split ---------- */
.inquiry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.inquiry__aside {
  position: sticky;
  top: calc(var(--head) + 30px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.inquiry__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line-inv);
  padding-top: 20px;
}
.inquiry__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted-inv);
}
.inquiry__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 9px;
  background: var(--accent);
  flex: none;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--dark .field label {
  color: var(--muted-inv);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea {
  color: var(--text-inv);
  border-bottom-color: var(--line-inv);
}
.section--dark .field input::placeholder,
.section--dark .field textarea::placeholder {
  color: rgba(242, 240, 236, 0.35);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.field select option {
  color: #111;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-bottom-color: var(--danger);
}
.field__err {
  font-size: 11px;
  color: var(--danger);
  min-height: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.field.has-error .field__err {
  opacity: 1;
}
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 6px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 42ch;
}
.section--dark .check {
  color: var(--muted-inv);
}
.check input {
  width: 15px;
  height: 15px;
  margin: 3px 0 0;
  accent-color: var(--accent);
  flex: none;
}
.form-success {
  grid-column: 1 / -1;
  border: 1px solid var(--accent);
  padding: 26px;
  display: none;
  gap: 12px;
  flex-direction: column;
}
.form-success.is-on {
  display: flex;
}
.form-success h4 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.form-success p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.section--dark .form-success p {
  color: var(--muted-inv);
}
.form-error-global {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--danger);
  display: none;
}
.form-error-global.is-on {
  display: block;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--text-inv);
  padding-top: clamp(60px, 8vw, 100px);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-inv-soft);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 36ch;
}
.footer__brand .brand__name {
  font-size: 22px;
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-inv);
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a,
.footer__col li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s;
}
.footer__col a:hover {
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  padding: 22px 0 28px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}
.footer__bottom .lang {
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- whatsapp float ---------- */
.wa {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #128c7e;
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.wa:hover {
  transform: translateY(-3px);
  background: #0f7a6d;
}
.wa svg {
  width: 17px;
  height: 17px;
}
.wa[hidden] {
  display: none;
}

/* ---------- page specific ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-inv);
}
.stat {
  padding: 26px 20px 8px;
  border-left: 1px solid var(--line-inv);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat:first-child {
  border-left: 0;
  padding-left: 0;
}
.stat b {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-inv);
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  position: sticky;
  top: 66px;
  background: var(--paper);
  z-index: 20;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.3s;
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--text);
  color: var(--text);
}
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filterbar__count {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.color-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
}
.swatch-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  flex: none;
  position: relative;
  transition: transform 0.2s;
}
.swatch-btn:hover {
  transform: scale(1.12);
}
.swatch-btn.is-on {
  outline: 1px solid var(--text);
  outline-offset: 3px;
}

.empty-state {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  display: none;
}
.empty-state.is-on {
  display: block;
}

/* series detail */
.series-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 0;
  min-height: 70vh;
  background: var(--ink);
  color: var(--text-inv);
  padding-top: var(--head);
}
.series-hero__media {
  position: relative;
  overflow: hidden;
}
.series-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}
.series-hero__body {
  padding: clamp(34px, 4vw, 64px) var(--pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.series-hero__body h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.series-hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--line-inv);
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.72);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table tr {
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  padding: 15px 16px 15px 0;
  width: 38%;
  vertical-align: top;
}
.spec-table td {
  padding: 15px 0;
  vertical-align: top;
}
.series-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.series-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.series-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.colour-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.colour {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 84px;
  text-align: center;
}
.colour i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  display: block;
}
.colour span {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.series-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: rgba(13, 14, 15, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-inv);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.series-bar.is-on {
  transform: translateY(0);
}
.series-bar__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.series-bar__name {
  font-size: 14px;
  font-weight: 500;
}
.series-bar__name span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted-inv);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 3px;
}

/* factory */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fac {
  background: var(--paper);
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.35s;
}
.fac:hover {
  background: #fff;
}
.fac__media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.fac__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.7s var(--ease);
}
.fac:hover .fac__media img {
  transform: scale(1.04);
}
.fac__name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
}
.fac__en {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.chain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-inv);
}
.chain__item {
  padding: 24px 16px 28px;
  border-left: 1px solid var(--line-inv);
  position: relative;
}
.chain__item:first-child {
  border-left: 0;
  padding-left: 0;
}
.chain__item b {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 10px;
}
.chain__item span {
  font-size: 13.5px;
  line-height: 1.45;
}

/* quality timeline */
.timeline {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.tl {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.tl__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 3px;
}
.tl__name {
  font-size: 16px;
  font-weight: 500;
}
.tl__text {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* about */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.split__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prose {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 56ch;
}
.prose p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.section--dark .prose p {
  color: var(--muted-inv);
}
.material-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-inv);
  border: 1px solid var(--line-inv);
}
.mat {
  background: var(--ink);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mat b {
  font-size: 14px;
  font-weight: 500;
}
.mat span {
  font-size: 12.5px;
  color: var(--muted-inv);
  line-height: 1.55;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.contact-card {
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 400;
}
.contact-card p,
.contact-card a {
  font-size: 15px;
  line-height: 1.5;
}
.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal][data-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav {
    gap: 20px;
  }
  .nav__link {
    font-size: 12px;
  }
  .header .btn {
    display: none;
  }
  .fac-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .header__actions {
    margin-left: auto;
  }
  .brand__mark {
    width: 26px;
    height: 26px;
  }
  .hero__title {
    max-width: 20ch;
  }
  .caps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cap:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .cap {
    border-top: 1px solid var(--line);
    padding: 26px 20px 28px;
  }
  .cap:nth-child(1),
  .cap:nth-child(2) {
    border-top: 0;
  }
  .grid-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .perf {
    grid-template-columns: 1fr;
  }
  .perf__media {
    aspect-ratio: 16 / 10;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .step:nth-child(1),
  .step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .section--dark .step:nth-child(1),
  .section--dark .step:nth-child(2) {
    border-bottom-color: var(--line-inv);
  }
  .inquiry,
  .contact-grid,
  .intro-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .inquiry__aside {
    position: static;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .series-hero {
    grid-template-columns: 1fr;
  }
  .series-hero__media {
    aspect-ratio: 16 / 10;
  }
  .series-hero__media img {
    min-height: 0;
  }
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chain {
    grid-template-columns: repeat(3, 1fr);
  }
  .chain__item:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
  .chain__item:nth-child(1),
  .chain__item:nth-child(2),
  .chain__item:nth-child(3) {
    border-bottom: 1px solid var(--line-inv);
  }
  .tl {
    grid-template-columns: 44px 1fr;
    gap: 10px 18px;
  }
  .tl__text {
    grid-column: 2 / -1;
  }
  .grid-scenes {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line-inv);
  }
}

@media (max-width: 640px) {
  :root {
    --sec: 64px;
    --head: 64px;
  }
  body {
    font-size: 15px;
  }
  .hero {
    min-height: 100svh;
  }
  .hero__inner {
    padding-bottom: 24px;
    gap: 22px;
  }
  .hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .hero__ctas .btn {
    flex: 1;
    justify-content: space-between;
    min-height: 50px;
    padding: 13px 16px;
  }
  .hero__foot-inner {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
  .hero__foot-inner .hide-sm {
    display: none;
  }
  .grid-products {
    grid-template-columns: 1fr;
  }
  .grid-scenes {
    grid-template-columns: 1fr;
  }
  .scene {
    aspect-ratio: 4 / 3.4;
  }
  .scene__text {
    max-height: 120px;
    opacity: 1;
    margin-top: 4px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-left: 0 !important;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .section--dark .step {
    border-bottom-color: var(--line-inv);
  }
  .form {
    grid-template-columns: 1fr;
  }
  .filterbar {
    top: 60px;
    gap: 12px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filterbar__count {
    display: none;
  }
  .fac-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .fac {
    padding: 14px 12px 16px;
  }
  .fac__name {
    font-size: 12px;
  }
  .fac__en {
    display: none;
  }
  .chain {
    grid-template-columns: 1fr 1fr;
  }
  .chain__item:nth-child(3),
  .chain__item:nth-child(5) {
    border-left: 0;
    padding-left: 0;
  }
  .chain__item {
    border-bottom: 1px solid var(--line-inv);
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .series-bar__inner {
    padding: 10px var(--pad);
  }
  .series-bar .btn {
    min-height: 44px;
    padding: 11px 14px;
  }
  .series-gallery {
    grid-template-columns: 1fr;
  }
  .series-gallery img:first-child {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
  .wa {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
    font-size: 9px;
  }
  .wa span {
    display: none;
  }
  .wa svg {
    width: 20px;
    height: 20px;
  }
  .phero {
    min-height: 46vh;
  }
  .material-list {
    grid-template-columns: 1fr;
  }
  .perf__media {
    aspect-ratio: 4 / 3.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__leaf {
    display: none;
  }
  .hero__top,
  .hero__row,
  .hero__foot {
    opacity: 1;
    animation: none;
  }
  .hero__title .line > span {
    transform: none;
    animation: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* QA helper: ?noanim disables entrance animation so sections can be captured */
html.no-anim {
  scroll-behavior: auto;
}
html.no-anim .hero__leaf {
  display: none;
}
html.no-anim .hero__img {
  animation: none;
  transform: none;
}
html.no-anim .hero__top,
html.no-anim .hero__row,
html.no-anim .hero__foot,
html.no-anim .phero__media img {
  opacity: 1;
  animation: none;
}
html.no-anim .hero__title .line > span {
  transform: none;
  animation: none;
}
html.no-anim [data-reveal] {
  opacity: 1;
  transform: none;
}
html.no-anim .meter__fill {
  width: var(--v, 70%);
}

/* ---------- process detail / extended pages ---------- */
.pstep {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 70px);
  padding: clamp(30px, 4vw, 46px) 0;
  border-top: 1px solid var(--line);
}
.pstep__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.pstep__label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ticks li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--accent);
}
.section--dark .ticks li {
  color: var(--muted-inv);
}
.contact-card[hidden] {
  display: none;
}
@media (max-width: 980px) {
  .pstep {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .pstep__body {
    grid-template-columns: 1fr;
  }
}


/* ---------- anchor landing below the fixed header ---------- */
section[id] {
  scroll-margin-top: clamp(64px, 8vh, 96px);
}

/* ---------- Chinese type scale ----------
   CJK glyphs are square and roughly twice as wide per character as Latin,
   so the Latin display sizes read oversized and break the layout. */
html:lang(zh) .hero__title {
  font-size: clamp(1.6rem, 3.6vw, 3.15rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 14em;
  font-weight: 500;
}
html:lang(zh) .phero__title {
  font-size: clamp(1.6rem, 3.2vw, 2.9rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
  max-width: 16em;
  font-weight: 500;
}
html:lang(zh) .h1 {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
}
html:lang(zh) .h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.38;
  letter-spacing: 0.01em;
  max-width: 24em;
}
html:lang(zh) .h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  letter-spacing: 0;
}
html:lang(zh) .lede,
html:lang(zh) .hero__sub,
html:lang(zh) .note,
html:lang(zh) .sec-head__aside {
  letter-spacing: 0;
  line-height: 1.85;
}

/* ==========================================================================
   Catalogue plates
   ========================================================================== */
.cat-jump {
  position: sticky;
  top: var(--head);
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.cat-jump__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-jump__inner::-webkit-scrollbar {
  display: none;
}
.cat-jump__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 620px) {
  .cat-jump__count {
    display: none;
  }
}
#windows,
#doors,
#special {
  scroll-margin-top: calc(var(--head) + 58px);
}
.cat-serie {
  margin-top: clamp(48px, 5.5vw, 80px);
}
.cat-serie:first-of-type {
  margin-top: 0;
}
.cat-serie__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(18px, 2vw, 28px);
}
.cat-serie__title {
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.cat-serie__meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 7px;
}
.cat-serie__link {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.3s;
}
.cat-serie__link:hover {
  color: var(--accent);
}
.cat-plates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 22px);
}
.cat-plate {
  margin: 0;
}
.cat-plate img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}
.cat-plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 8.8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.cat-plate__craft {
  color: var(--muted);
  text-align: right;
}
.inquiry__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: center;
}
.fac--w2 {
  grid-column: span 2;
}
.fac--w2 .fac__media {
  aspect-ratio: 2 / 1;
}
@media (max-width: 1024px) {
  .cat-plates {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .cat-plates {
    grid-template-columns: 1fr;
  }
  .fac--w2 .fac__media {
    aspect-ratio: 16 / 9;
  }
}

/* room doors: portrait plates */
.cat-plates--doors {
  grid-template-columns: repeat(4, 1fr);
}
.cat-plate--tall img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .cat-plates--doors {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .cat-plates--doors {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cat-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: 40px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
@media (max-width: 620px) {
  .cat-callout {
    padding: 22px 20px;
  }
}
