/* ============================================
   PandaX Studio — bespoke stainless steel
   Design language: editorial, minimal, warm-metal
   ============================================ */

:root {
  --bg: #f5f3ee;         /* warm paper */
  --bg-soft: #ede9e1;
  --ink: #17171a;        /* near black */
  --ink-2: #4b4b52;
  --ink-3: #8a8a8f;
  --line: #d8d3c8;
  --steel: #9ea3a8;
  --amber: #b68139;
  --dark: #16181b;
  --dark-2: #1f2226;
  --serif: "Fraunces", "Noto Serif SC", ui-serif, Georgia, serif;
  --serif-cn: "Noto Serif SC", "Songti SC", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", serif;
  --sans: "DM Sans", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
  --max: 1360px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s ease, color .2s ease; }
a:hover { opacity: .6; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(14px, 1.15vw, 17px);
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--amber);
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--amber); }

.h2 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
html[lang="zh-CN"] .h2 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft Yahei", var(--sans);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}
.h2--light { color: #f5f3ee; }

/* Section subtitle — the paragraph that sits under an h2 */
.section__sub {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  margin-top: 18px;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(245, 243, 238, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled {
  background: rgba(245, 243, 238, 0.92);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-size: 15px; letter-spacing: .04em;
  border-radius: 50%;
}
.nav__name { font-family: var(--serif); font-size: 20px; letter-spacing: .02em; }
.nav__name em { font-style: italic; color: var(--ink-2); font-weight: 300; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
.nav__links a:hover { color: var(--ink); opacity: 1; }

.lang {
  background: transparent; border: 1px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em;
  cursor: pointer; color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.lang:hover { background: var(--ink); color: var(--bg); }
.lang__sep { margin: 0 4px; opacity: .4; }
.lang .lang__zh, .lang .lang__en { transition: opacity .2s ease; }
html[lang="zh-CN"] .lang .lang__en { opacity: .35; }
html[lang="en"] .lang .lang__zh { opacity: .35; }

@media (max-width: 900px) {
  .nav__links { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  color: var(--ink);
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%),
    url("assets/hero/main.jpg?v=4") center 45% / cover no-repeat;
  z-index: -2;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.02) 0 2px,
      transparent 2px 6px),
    radial-gradient(circle at 30% 60%, rgba(0,0,0,0.08), transparent 55%);
  mix-blend-mode: overlay;
}
.hero__inner { max-width: var(--max); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 12px 0 28px;
}
html[lang="zh-CN"] .hero__title { font-family: var(--serif-cn); font-weight: 500; }
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: clamp(20px, 8vw, 120px); font-style: italic; color: inherit; }
html[lang="zh-CN"] .hero__title span:nth-child(2) { font-style: normal; }

.hero__lede { max-width: 46ch; color: var(--ink-2); font-size: clamp(15px, 1.4vw, 18px); }
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: 40px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-2);
  writing-mode: vertical-rl;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 30px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: #000; opacity: 1; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.btn--large { padding: 20px 40px; margin-top: 40px; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section--dark {
  max-width: none;
  background: var(--dark);
  color: #fff;
}
.section--dark .section__head,
.section--dark .materials { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--soft { background: var(--bg-soft); max-width: none; }
.section--soft > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: clamp(50px, 7vw, 90px); max-width: var(--max); }
.section__sub { margin-top: 20px; max-width: 60ch; color: var(--ink-2); }

/* Split section (Philosophy) */
.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.split__right p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 800px) {
  .section--split { grid-template-columns: 1fr; }
}

.pill-list {
  list-style: none;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.pill-list li { display: flex; align-items: baseline; gap: 14px; }
.pill-list span {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  min-width: 90px;
}
.pill-list em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Materials ---------- */
.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.material {
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .4s ease, background .4s ease;
}
.material:hover { transform: translateY(-4px); background: rgba(255,255,255,0.06); }
.material__swatch {
  height: 220px;
  margin-bottom: 24px;
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.swatch--amber {
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(255,255,255,0.06) 0 2px, transparent 2px 5px),
    linear-gradient(135deg, #c49b6d 0%, #8a6237 50%, #b78554 100%);
}
.swatch--silver {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.09) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #d9dadd 0%, #a4a7ac 55%, #cbcdd1 100%);
}
.swatch--linen {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.06) 0 2px, transparent 2px 4px),
    linear-gradient(135deg, #b6b8bb 0%, #8a8d92 100%);
}
.material h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; margin-bottom: 6px;
}
html[lang="zh-CN"] .material h3 { font-family: var(--serif-cn); }
.material__code {
  font-size: 11px; letter-spacing: .2em;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.material p:last-child { color: rgba(255,255,255,.75); font-size: 14px; }

@media (max-width: 800px) { .materials { grid-template-columns: 1fr; } }

/* ---------- Craft ---------- */
.craft {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 90px;
  border-bottom: 1px solid var(--line);
}
.craft__item { padding-right: 20px; }
.craft__num {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--amber);
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}
.craft__item h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; margin-bottom: 10px;
}
html[lang="zh-CN"] .craft__item h3 { font-family: var(--serif-cn); }
.craft__item p { color: var(--ink-2); font-size: 14.5px; }

.compare {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.compare__col {
  padding: clamp(40px, 5vw, 70px);
  background: var(--bg-soft);
}
.compare__col--dark {
  background: var(--dark);
  color: #fff;
}
.compare__col .tag {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 20px;
}
.compare__col .tag--light { color: rgba(255,255,255,.55); }
.compare__col h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 20px;
}
html[lang="zh-CN"] .compare__col h3 { font-family: var(--serif-cn); }
.compare__col p { color: var(--ink-2); max-width: 42ch; }
.compare__col--dark p { color: rgba(255,255,255,.78); }

@media (max-width: 800px) {
  .craft { grid-template-columns: 1fr 1fr; gap: 30px; }
  .compare { grid-template-columns: 1fr; }
}

/* ---------- Doors ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.door { cursor: default; }
.door__img {
  aspect-ratio: 4/5;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .5s ease;
}
.door:hover .door__img { transform: scale(1.02); }
.door h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 6px; }
html[lang="zh-CN"] .door h3 { font-family: var(--serif-cn); }
.door p { color: var(--ink-2); font-size: 13.5px; }

.door__img--wf { background: linear-gradient(160deg, #efe9dd 0%, #c9b48d 60%, #7d6039 100%); }
.door__img--jd { background: linear-gradient(160deg, #f4f2ee 0%, #8b1c1c 60%, #2a0808 100%); }
.door__img--kq { background: linear-gradient(160deg, #d8e0e5 0%, #4d6068 60%, #1a2429 100%); }
.door__img--js {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 4px),
    linear-gradient(160deg, #d1d3d6 0%, #8a8e93 100%);
}
.door__img--sd { background: linear-gradient(160deg, #d9c39a 0%, #7d5a30 60%, #3a2812 100%); }
.door__img--gm { background: linear-gradient(160deg, #b98d5c 0%, #6b4321 60%, #2f1c0a 100%); }
.door__img--yb { background: linear-gradient(160deg, #333 0%, #0e0e10 100%); }
.door__img--jz {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.28), transparent 55%),
    linear-gradient(160deg, #3d5647 0%, #16261d 100%);
}
.door__img--tj {
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(160deg, #e9e5db 0%, #a49f92 100%);
}

@media (max-width: 900px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Countertop ---------- */
.counter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.counter__feat h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; margin-bottom: 10px;
}
html[lang="zh-CN"] .counter__feat h4 { font-family: var(--serif-cn); }
.counter__feat p { color: var(--ink-2); font-size: 14px; }

.counter__gallery {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cg {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: flex; align-items: flex-end; padding: 20px;
  color: #fff;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .04em;
  transition: transform .5s ease;
}
.cg:hover { transform: scale(1.01); }
.cg span { position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.cg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%); z-index: 0; }
.cg--1 { background: linear-gradient(135deg, #c3c0b7, #7f7c72); }
.cg--2 { background: linear-gradient(135deg, #d8ceb6, #7a6a48); }
.cg--3 { background: linear-gradient(135deg, #c49b6d, #6b4a25); }
.cg--4 { background: linear-gradient(135deg, #d5d7da, #7a7c80); }
.cg--5 { background: linear-gradient(135deg, #a1a4a8, #3f4145); }
.cg--6 {
  background:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #fff, transparent),
    radial-gradient(1px 1px at 80% 20%, #fff, transparent),
    linear-gradient(135deg, #363842, #14161c);
}

@media (max-width: 900px) {
  .counter { grid-template-columns: repeat(2, 1fr); }
  .counter__gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .counter { grid-template-columns: 1fr; }
  .counter__gallery { grid-template-columns: 1fr; }
}

/* ---------- Care ---------- */
.care {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.care__col {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
}
.care__col h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; margin-bottom: 12px;
}
html[lang="zh-CN"] .care__col h4 { font-family: var(--serif-cn); }
.care__col p { color: var(--ink-2); font-size: 14.5px; }

@media (max-width: 800px) { .care { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.section--contact {
  background: var(--ink);
  color: #fff;
  max-width: none;
  padding: clamp(80px, 12vw, 160px) var(--pad);
}
.contact {
  max-width: var(--max);
  margin: 0 auto;
}
.section--contact .h2 { color: #fff; }
.section--contact .eyebrow { color: rgba(255,255,255,0.55); }
.contact__lede {
  color: rgba(255,255,255,0.7);
  max-width: 56ch;
  margin: 24px 0 60px;
  font-size: 17px;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.contact__label {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.contact__grid a, .contact__grid span {
  font-family: var(--serif);
  font-size: 22px;
  color: #fff;
}
html[lang="zh-CN"] .contact__grid span { font-family: var(--serif-cn); }

.section--contact .btn--dark {
  background: #fff; color: var(--ink);
}
.section--contact .btn--dark:hover { background: var(--amber); color: #fff; }

@media (max-width: 700px) {
  .contact__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Footer ---------- */
.foot {
  background: var(--dark);
  color: rgba(255,255,255,0.55);
  padding: 30px var(--pad);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.foot__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .08em;
}
.foot__brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--serif); }
.foot__meta { color: rgba(255,255,255,0.4); }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--bg-soft);
  padding: clamp(30px, 3.5vw, 50px);
  transition: background .3s ease;
  position: relative;
}
.service:hover { background: #fff; }
.service--feature { background: var(--ink); color: #fff; }
.service--feature:hover { background: #000; }
.service__num {
  font-family: var(--serif);
  font-size: 34px; line-height: 1;
  color: var(--amber);
  margin-bottom: 24px;
}
.service h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; margin-bottom: 12px;
}
html[lang="zh-CN"] .service h3 { font-family: var(--serif-cn); }
.service p { color: var(--ink-2); font-size: 14.5px; }
.service--feature p { color: rgba(255,255,255,.75); }
.service__link {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber);
}
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 30px);
}
.project { display: block; cursor: pointer; }
.project--wide { grid-column: span 2; }
.project__img {
  aspect-ratio: 4/5;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
  transition: transform .5s ease;
}
.project--wide .project__img { aspect-ratio: 16/10; }
.project:hover .project__img { transform: scale(1.015); }
.project__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25) 100%);
}
.project__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.project__type {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
}
.project h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}
html[lang="zh-CN"] .project h3 { font-family: var(--serif-cn); }

.project__img--1 { background: linear-gradient(135deg, #b9a789 0%, #6b5a3f 55%, #2a2216 100%); }
.project__img--2 { background: linear-gradient(135deg, #d8d1c1 0%, #8a7f68 55%, #3b3423 100%); }
.project__img--3 { background: linear-gradient(135deg, #e2ddd0 0%, #a89c82 55%, #4b4231 100%); }
.project__img--4 { background: linear-gradient(135deg, #c7c4bd 0%, #706e68 55%, #1e1d1a 100%); }
.project__img--5 {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, #7c7873 0%, #3b3936 100%);
}

.projects__note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .projects { grid-template-columns: 1fr; }
  .project--wide { grid-column: span 1; }
}

/* ---------- Product Systems (three brands) ---------- */
.systems {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 60px);
}
.system {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.system:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.system:nth-child(even) .system__img { order: 2; }
.system:nth-child(even) .system__body { order: 1; }
.system--dark { background: var(--dark); color: #fff; border-color: var(--dark); }

.system__img {
  display: block;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg-soft);
  transition: transform .5s ease;
  cursor: pointer;
}
.system__img:hover { opacity: 1; }
.system:hover .system__img { transform: scale(1.01); }
.system__img--hesheng   { background-image: url("assets/brands/web/hesheng.jpg"); }
.system__img--youjubang { background-image: url("assets/brands/web/youjubang.jpg"); }
.system__img--rumusan   { background-image: url("assets/brands/web/rumusan.jpg"); }

.system__body {
  padding: clamp(36px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.system__brand {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--amber);
}
.system--dark .system__brand { color: var(--amber); }
.system__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}
html[lang="zh-CN"] .system__title { font-family: var(--serif-cn); }
.system__lede {
  font-size: 15.5px;
  color: var(--ink-2);
  max-width: 46ch;
}
.system--dark .system__lede { color: rgba(255,255,255,0.75); }

.system__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 8px 0 4px;
}
.system--dark .system__facts { border-color: rgba(255,255,255,0.12); }
.system__facts li { display: flex; flex-direction: column; gap: 4px; }
.system__facts span {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
}
html[lang="zh-CN"] .system__facts span { font-family: var(--serif-cn); }
.system--dark .system__facts span { color: #fff; }
.system__facts em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.system--dark .system__facts em { color: rgba(255,255,255,0.55); }

.system__tag {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: .01em;
  line-height: 1.7;
}
.system--dark .system__tag { color: rgba(255,255,255,0.5); }

.system__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber);
}

@media (max-width: 900px) {
  .system,
  .system:nth-child(even) { grid-template-columns: 1fr; }
  .system:nth-child(even) .system__img { order: 0; }
  .system:nth-child(even) .system__body { order: 0; }
  .system__img { min-height: 260px; }
  .system__facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Case Study (Featured Project) ---------- */
.case {
  border: 1px solid var(--line);
  background: #fff;
}
.case__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  align-items: stretch;
}
.case__hero {
  min-height: 480px;
  background:
    linear-gradient(120deg, rgba(20,15,10,0.05) 0%, transparent 50%),
    url("assets/case-huang/web/page-09.jpg") center/cover no-repeat, #efe6d7;
  position: relative;
}
.case__hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.15) 100%);
}
.case__intro {
  padding: clamp(40px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.case__tag {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-3);
}
.case__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
}
html[lang="zh-CN"] .case__title { font-family: var(--serif-cn); }
.case__subtitle {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 40ch;
}
.case__facts {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case__facts dt {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.case__facts dd {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}
html[lang="zh-CN"] .case__facts dd { font-family: var(--serif-cn); }

.case__rooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.room {
  background: #fff;
  padding: 0 0 32px;
  display: flex; flex-direction: column;
}
.room__img {
  aspect-ratio: 1/1;
  margin-bottom: 24px;
  transition: transform .5s ease;
  overflow: hidden;
}
.room:hover .room__img { transform: scale(1.015); }
.room__label {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 28px 10px;
}
.room__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 28px;
  overflow: visible;
}
html[lang="zh-CN"] .room__quote { font-family: var(--serif-cn); font-style: normal; }

.room__img { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: #efe6d7; }
.room__img--foyer    { background-image: url("assets/case-huang/web/page-05.jpg"); }
.room__img--kitchen  { background-image: url("assets/case-huang/web/page-06.jpg"); }
.room__img--dining   { background-image: url("assets/case-huang/web/page-07.jpg"); }
.room__img--living   { background-image: url("assets/case-huang/web/page-09.jpg"); }
.room__img--corridor { background-image: url("assets/case-huang/web/page-11.jpg"); }
.room__img--hall     { background-image: url("assets/case-huang/web/page-12.jpg"); }
.room__img--master   { background-image: url("assets/case-huang/web/page-13.jpg"); }
.room__img--bath     { background-image: url("assets/case-huang/web/page-16.jpg"); }

@media (max-width: 1000px) {
  .case__head { grid-template-columns: 1fr; }
  .case__hero { min-height: 340px; }
}
@media (max-width: 560px) {
  .case__facts { grid-template-columns: 1fr; }
}

/* ---------- Signature (dark section rhythm) ---------- */
.section__sub--light { color: rgba(255,255,255,0.65); }
.sig-block { margin-top: clamp(60px, 8vw, 110px); max-width: var(--max); margin-left: auto; margin-right: auto; }
.sig-block:first-of-type { margin-top: 0; }
.sig-block__label {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding-bottom: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.doors--dark h3 { color: #fff; }
.doors--dark p { color: rgba(255,255,255,0.6); }
.section--dark .craft__item h3 { color: #fff; }
.section--dark .craft__item p { color: rgba(255,255,255,0.7); }
.section--dark .craft { border-bottom-color: rgba(255,255,255,0.12); padding-bottom: 0; }

@media (max-width: 900px) {
  .doors--dark { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .doors--dark { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process li {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background .3s ease;
}
.process li:hover { background: var(--bg-soft); }
.process__num {
  font-family: var(--serif);
  font-size: 34px; line-height: 1;
  color: var(--amber);
  display: block;
  margin-bottom: 20px;
}
.process h4 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; margin-bottom: 10px;
}
html[lang="zh-CN"] .process h4 { font-family: var(--serif-cn); }
.process p { color: var(--ink-2); font-size: 14px; }

@media (max-width: 800px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   Landing pages (systems/*)
   ============================================ */
.lp-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #f5f3ee;
  padding: 120px var(--pad) 80px;
  background-color: #16181b;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%), var(--lp-hero-img);
}
.lp-hero__inner { max-width: var(--max); width: 100%; margin: 0 auto; }
.lp-hero .eyebrow { color: rgba(245,243,238,.7); }
.lp-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(42px, 6.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 16px 0 22px;
  max-width: 15ch;
  color: #f5f3ee;
}
html[lang="zh-CN"] .lp-hero h1 {
  font-family: "Noto Sans SC", "PingFang SC", var(--sans);
  font-weight: 900;
  letter-spacing: 0;
}
.lp-hero__lede {
  max-width: 60ch;
  color: rgba(245,243,238,.82);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
}

.lp-section { padding: clamp(64px, 8vw, 120px) var(--pad); }
.lp-section--soft { background: var(--bg-soft); }
.lp-section--dark { background: var(--dark); color: #e9e7e0; }
.lp-section--dark .h2 { color: #f5f3ee; }
.lp-section--dark .section__sub { color: rgba(233,231,224,.7); }

.lp-container { max-width: var(--max); margin: 0 auto; }

.lp-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}
.lp-intro h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.lp-intro p {
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 16px);
  line-height: 1.85;
}
.lp-intro p + p { margin-top: 1em; }
@media (max-width: 860px) {
  .lp-intro { grid-template-columns: 1fr; gap: 24px; }
}

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.lp-card {
  background: var(--bg);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  transition: transform .4s ease, border-color .3s;
}
.lp-section--dark .lp-card {
  background: var(--dark-2);
  border-color: rgba(255,255,255,.08);
  color: #e9e7e0;
}
.lp-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.lp-card__num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--amber);
  font-weight: 400;
  display: block;
  margin-bottom: 12px;
}
.lp-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.lp-card__desc {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.lp-section--dark .lp-card__desc { color: rgba(233,231,224,.7); }

.lp-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  max-width: var(--max);
  margin: 0 auto;
}
.lp-gallery__item {
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.lp-gallery__item--big  { grid-column: span 8; aspect-ratio: 16 / 10; }
.lp-gallery__item--tall { grid-column: span 4; aspect-ratio: 4 / 5; }
.lp-gallery__item--wide { grid-column: span 12; aspect-ratio: 21 / 9; }
.lp-gallery__item--half { grid-column: span 6; }
@media (max-width: 860px) {
  .lp-gallery__item,
  .lp-gallery__item--big,
  .lp-gallery__item--tall,
  .lp-gallery__item--wide,
  .lp-gallery__item--half { grid-column: span 12; aspect-ratio: 4 / 3; }
}

.lp-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
}
.lp-related a {
  display: block;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: background .3s, border-color .3s;
}
.lp-related a:hover { background: var(--dark); color: #f5f3ee; border-color: var(--dark); opacity: 1; }
.lp-related__eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.lp-related__title { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; }
.lp-related__arrow { display: block; margin-top: 18px; font-size: 22px; }
@media (max-width: 720px) { .lp-related { grid-template-columns: 1fr; } }

.lp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}

.lp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.lp-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
}
.lp-section--dark .lp-list li { border-color: rgba(255,255,255,.1); }
.lp-list__label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--amber);
}
.lp-list__text {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.75;
}
.lp-section--dark .lp-list__text { color: rgba(233,231,224,.75); }
@media (max-width: 600px) {
  .lp-list li { grid-template-columns: 1fr; gap: 8px; }
}

/* Hero — text overlaid directly on image, meerkathome-style */
.hero {
  align-items: flex-end;
  color: #f5f3ee;
  min-height: 92vh;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  background: transparent;
  padding: 0;
  box-shadow: none;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.hero .eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
  font-size: clamp(15px, 1.3vw, 19px);
  text-transform: none;
  letter-spacing: 0.005em;
  margin-bottom: 18px;
}
.hero__title {
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  max-width: 20ch;
  /* Soft, subtle — no outline, just a whisper of shadow so it doesn't disappear on bright areas */
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
html[lang="zh-CN"] .hero__title {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft Yahei", var(--sans);
  font-weight: 900;
  letter-spacing: 0;
}

/* Hide the SCROLL indicator — reads as a watermark against wood floor */
.hero__scroll { display: none !important; }
.hero__lede { color: rgba(245,243,238,0.92); max-width: 52ch; font-size: clamp(15px, 1.1vw, 17px); }
.hero__scroll { color: rgba(245,243,238,0.75); }
.hero .btn--dark { background: #f5f3ee; color: #16181b; border-color: #f5f3ee; }
.hero .btn--dark:hover { background: #ffffff; color: #000; opacity: 1; }
.hero .btn--ghost { color: #f5f3ee; border-color: rgba(245,243,238,0.7); }
.hero .btn--ghost:hover { background: rgba(245,243,238,0.15); opacity: 1; }
@media (max-width: 720px) {
  .hero { padding: 100px 20px 60px; min-height: 88vh; }
}

/* Softer, warmer typography rules */
body { font-feature-settings: "ss01","kern","liga"; letter-spacing: 0.005em; }
.h2, .hero__title, h1, h2, h3 {
  font-variation-settings: "opsz" 96, "SOFT" 100;
  font-feature-settings: "ss01", "liga", "kern";
}
.hero__title { font-weight: 350; letter-spacing: -0.025em; line-height: 1.0; }
.h2 { font-weight: 350; letter-spacing: -0.015em; }
.eyebrow { letter-spacing: 0.14em; font-weight: 400; }
.nav__links a { letter-spacing: 0.08em; font-weight: 400; }

/* Services & Process — feature banner image (breaks text-heavy grids) */
.section-banner {
  height: clamp(280px, 40vw, 480px);
  margin: 0 auto clamp(48px, 6vw, 96px);
  max-width: var(--max);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  position: relative;
}
.section-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

/* Service card feature-image variant (used on featured card only) */
.service--image {
  padding: 0;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  color: #f5f3ee;
  position: relative;
  overflow: hidden;
}
.service--image > * { position: relative; z-index: 1; }
.service--image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
  z-index: 0;
}
.service--image .service__num,
.service--image h3,
.service--image p,
.service--image .service__link {
  padding-left: clamp(30px,3.5vw,50px);
  padding-right: clamp(30px,3.5vw,50px);
  color: inherit;
}
.service--image .service__num { padding-top: clamp(30px,3.5vw,50px); margin-bottom: 12px; }
.service--image .service__link { padding-bottom: clamp(30px,3.5vw,50px); color: #f5f3ee; opacity: .9; }
.service--image p { color: rgba(245,243,238,.85); }
.service--image h3 { margin-bottom: 8px; }

/* Studio section image */
.studio__media {
  min-height: 460px;
  background: url("assets/systems/veneer/foyer.jpg?v=3") center / cover no-repeat;
  background-color: var(--bg-soft);
}
@media (max-width: 800px) { .studio__media { min-height: 300px; } }

.system--dark .system__brand { color: rgba(245,243,238,.85); }

/* Studio section image */
.studio__media {
  min-height: 460px;
  background: url("assets/systems/veneer/foyer.jpg") center / cover no-repeat;
  background-color: var(--bg-soft);
}
@media (max-width: 800px) { .studio__media { min-height: 300px; } }

/* Highlighted "signature" system card variant (Steel now leads) */
.system__brand:has-text { }
.system--dark .system__brand { color: rgba(245,243,238,.85); }

/* ============================================
   Dark section variant (Meerkat-style rhythm)
   ============================================ */
.section--ink {
  background: #17171a;
  color: #e9e7e0;
}
.section--ink .h2 { color: #f5f3ee; }
.section--ink .eyebrow { color: var(--amber); }
.section--ink .section__sub { color: rgba(233,231,224,0.72); }

/* Systems in dark mode — cards need dark surface */
.section--ink .system {
  background: #1f2226;
  border: 1px solid rgba(255,255,255,0.06);
}
.section--ink .system__body { color: #e9e7e0; }
.section--ink .system__title { color: #f5f3ee; }
.section--ink .system__lede { color: rgba(233,231,224,0.72); }
.section--ink .system__facts li em { color: rgba(233,231,224,0.55); }
.section--ink .system__facts li span { color: #f5f3ee; }
.section--ink .system__brand { color: rgba(233,231,224,0.6); }
.section--ink .system__link { color: var(--amber); }
.section--ink .system.system--dark { background: #0d0e10; }

/* Process in dark mode */
.section--ink .process li {
  background: #1f2226;
  border-color: rgba(255,255,255,0.05);
}
.section--ink .process h4 { color: #f5f3ee; }
.section--ink .process p { color: rgba(233,231,224,0.65); }
.section--ink .process__num { color: var(--amber); }

/* Feature banner in dark mode has a light gradient */
.section--ink .section-banner::after {
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
}
