/* ==========================================================================
   VANDRIEL — Design System
   Warm gallery palette · serif display · editorial spacing
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette (extracted from reference aesthetic) */
  --cream:        #F3EFE9;
  --cream-2:      #FAF8F5;
  --cream-3:      #EFEAE2;
  --sand:         #E5DDD3;
  --gold:         #B8975A;
  --gold-dark:    #9C7F45;
  --gold-soft:    #D9C39A;
  --gold-wash:    #F0E7D8;
  --ink:          #2C2825;
  --ink-2:        #3D3530;
  --mocha:        #5C4A3A;
  --muted:        #8C7E73;
  --muted-2:      #A79C93;
  --white:        #FFFFFF;
  --line:         rgba(44, 40, 37, 0.10);
  --line-soft:    rgba(44, 40, 37, 0.06);
  --line-gold:    rgba(184, 151, 90, 0.35);

  /* Type */
  --font-display: "Cormorant Garamond", "Songti SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 860px;
  --gutter: 32px;
  --section-y: 104px;
  --header-h: 84px;

  /* Effects */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 10px rgba(44, 40, 37, 0.05);
  --shadow-md: 0 14px 40px rgba(44, 40, 37, 0.09);
  --shadow-lg: 0 30px 70px rgba(44, 40, 37, 0.14);
  --radius: 2px;
  --radius-lg: 4px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
svg { display: block; }
:lang(zh) body, body[data-lang="zh"] { font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", var(--font-body); }
body[data-lang="zh"] h1,
body[data-lang="zh"] h2,
body[data-lang="zh"] h3,
body[data-lang="zh"] h4 { font-family: "Songti SC", "Noto Serif SC", "SimSun", var(--font-display); letter-spacing: 0.01em; }

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

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: 68px 0; }
.section--cream { background: var(--cream); }
.section--cream2 { background: var(--cream-2); }
.section--sand { background: var(--cream-3); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--cream-2); }

.grid { display: grid; gap: 32px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 4. Typography utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .6; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .6; }
.section--ink .eyebrow { color: var(--gold-soft); }

.h-display { font-size: clamp(2.5rem, 5.2vw, 4.15rem); }
.h-1 { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.h-2 { font-size: clamp(1.75rem, 3.1vw, 2.6rem); }
.h-3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
.h-4 { font-size: 1.15rem; }

.lede { font-size: 1.0625rem; line-height: 1.8; color: var(--muted); }
.lede--light { color: rgba(243, 239, 233, 0.72); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: all .35s var(--ease); white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--dark { background: var(--ink); color: var(--cream-2); border-color: var(--ink); }
.btn--dark:hover { background: var(--mocha); border-color: var(--mocha); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-wash); }
.btn--ghost-light { border-color: rgba(243, 239, 233, 0.4); color: var(--cream-2); background: transparent; }
.btn--ghost-light:hover { background: rgba(243, 239, 233, 0.12); border-color: var(--cream-2); }
.btn--sm { padding: 11px 22px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-dark);
  border-bottom: 1px solid var(--line-gold); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--ink); border-color: var(--ink); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--header-h); display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--line); opacity: 0; transition: opacity .4s var(--ease);
}
.header.is-solid { background: rgba(250, 248, 245, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 72px; }
.header.is-solid::after { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: 0.09em; }
.brand__sub { font-size: 8.5px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative; font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.11em; text-transform: uppercase; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--gold-dark); }

.header__actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

/* header on transparent (over dark hero) */
.header--transparent:not(.is-solid) { color: var(--cream-2); }
.header--transparent:not(.is-solid) .brand__name { color: var(--cream-2); }
.header--transparent:not(.is-solid) .nav a::after { background: var(--gold-soft); }
.header--transparent:not(.is-solid) .btn--outline { border-color: rgba(243,239,233,.45); color: var(--cream-2); }
.header--transparent:not(.is-solid) .btn--outline:hover { background: rgba(243,239,233,.12); border-color: var(--cream-2); color: var(--cream-2); }
.header--transparent:not(.is-solid) .lang-switch { border-color: rgba(243,239,233,.3); }
.header--transparent:not(.is-solid) .lang-switch button { color: rgba(243,239,233,.6); }
.header--transparent:not(.is-solid) .lang-switch button.is-on { color: var(--cream-2); background: rgba(243,239,233,.14); }
.header--transparent:not(.is-solid) .burger span { background: var(--cream-2); }

.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.lang-switch button {
  padding: 5px 13px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  border-radius: 999px; color: var(--muted); transition: all .3s var(--ease);
}
.lang-switch button.is-on { background: var(--ink); color: var(--cream-2); }

.burger { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 1.5px; width: 22px; background: var(--ink); margin-left: auto; transition: all .3s var(--ease); }
.burger span:nth-child(2) { width: 15px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 950; background: var(--ink);
  padding: 34px var(--gutter); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease-out); overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.drawer__close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(243,239,233,.24); border-radius: 999px; }
.drawer__close svg { width: 16px; height: 16px; stroke: var(--cream-2); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer nav a {
  font-family: var(--font-display); font-size: 2rem; color: var(--cream-2);
  padding: 12px 0; border-bottom: 1px solid rgba(243,239,233,.1);
}
.drawer nav a:hover { color: var(--gold-soft); padding-left: 10px; }
.drawer__foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.drawer__foot .lang-switch { align-self: flex-start; border-color: rgba(243,239,233,.3); }
.drawer__foot .lang-switch button { color: rgba(243,239,233,.6); }
.drawer__foot .lang-switch button.is-on { background: var(--gold); color: var(--white); }
.drawer__foot a { color: rgba(243,239,233,.7); font-size: 13.5px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 72px; overflow: hidden;
}
.hero--page { min-height: 62vh; padding: calc(var(--header-h) + 80px) 0 84px; }
.hero--compact { min-height: 46vh; padding: calc(var(--header-h) + 64px) 0 64px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--page .hero__bg img, .hero--compact .hero__bg img { object-position: center 40%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,24,21,.86) 0%, rgba(28,24,21,.62) 45%, rgba(28,24,21,.34) 100%);
}
.hero--page .hero__bg::after, .hero--compact .hero__bg::after {
  background: linear-gradient(100deg, rgba(28,24,21,.84) 0%, rgba(28,24,21,.58) 60%, rgba(28,24,21,.42) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero--page .hero__inner, .hero--compact .hero__inner { max-width: 820px; }
.hero h1 { color: var(--cream-2); margin-bottom: 26px; }
.hero__lede { font-size: 1.0625rem; line-height: 1.82; color: rgba(243,239,233,.78); max-width: 620px; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  background: linear-gradient(to top, rgba(28,24,21,.55), transparent);
}
.hero__strip-inner { display: flex; flex-wrap: wrap; gap: 0; }
.hero__strip-item {
  flex: 1 1 200px; padding: 22px 24px 26px 0;
}
.hero__strip-item:last-child { padding-right: 0; }
.hero__strip-item .n { font-family: var(--font-display); font-size: clamp(2.1rem, 2.6vw, 2.7rem); color: var(--gold-soft); line-height: 1; display: block; }
.hero__strip-item .l { display: block; margin-top: 9px; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,239,233,.72); }

.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243,239,233,.55); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span.sep { opacity: .5; }

/* ---------- 8. Cards ---------- */
/* Category card */
.cat-card { position: relative; display: block; background: var(--cream-2); overflow: hidden; border: 1px solid var(--line-soft); transition: all .45s var(--ease); }
.cat-card:hover { box-shadow: var(--shadow-md); border-color: var(--line); transform: translateY(-4px); }
.cat-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { padding: 26px 26px 30px; }
.cat-card h3 { margin-bottom: 10px; }
.cat-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.cat-card__meta { display: flex; align-items: center; justify-content: space-between; }
.cat-card__count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.cat-card__go { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; transition: all .35s var(--ease); }
.cat-card__go svg { width: 14px; height: 14px; }
.cat-card:hover .cat-card__go { background: var(--gold); border-color: var(--gold); }
.cat-card:hover .cat-card__go svg { stroke: var(--white); }

/* Product card */
.p-card { display: block; background: transparent; }
.p-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-2); margin-bottom: 20px; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.05); }
.p-card__badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 11px;
  background: rgba(250,248,245,.94); font-size: 9.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark);
}
.p-card__badge--dark { background: var(--ink); color: var(--gold-soft); }
.p-card__hover {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center;
  padding: 24px; background: linear-gradient(to top, rgba(28,24,21,.72), transparent 55%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.p-card:hover .p-card__hover { opacity: 1; }
.p-card__hover span {
  padding: 11px 24px; background: var(--cream-2); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.p-card__material { font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.p-card h3 { font-size: 1.22rem; margin-bottom: 7px; }
.p-card__sizes { font-size: 13px; color: var(--muted); }
.p-card__price { font-size: 12px; color: var(--muted-2); margin-top: 8px; }

/* Stat block */
.stat { padding: 30px 0; }
.stat__n { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.5rem); line-height: 1; color: var(--gold); }
.stat__n sup { font-size: .45em; vertical-align: super; margin-left: 2px; }
.stat__label { margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.stat__desc { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.section--ink .stat__desc { color: rgba(243,239,233,.55); }
.stat--bordered { border-left: 1px solid var(--line); padding-left: 28px; }
.section--ink .stat--bordered { border-left-color: rgba(243,239,233,.14); }

/* Feature / capability card */
.f-card { padding: 34px 30px; background: var(--cream-2); border: 1px solid var(--line-soft); transition: all .4s var(--ease); }
.f-card:hover { border-color: var(--gold); background: var(--white); }
.f-card__icon { width: 42px; height: 42px; margin-bottom: 22px; stroke: var(--gold); }
.f-card h3 { font-size: 1.24rem; margin-bottom: 12px; }
.f-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.f-card__num { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; display: block; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__body { max-width: 520px; }
.split--reverse .split__body { margin-left: auto; }
.split h2 { margin-bottom: 22px; }
.split p { color: var(--muted); margin-bottom: 18px; }
.section--ink .split p { color: rgba(243,239,233,.66); }
.check-list { display: flex; flex-direction: column; gap: 13px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 13px; font-size: 14.5px; line-height: 1.7; }
.check-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; stroke: var(--gold); }

/* Cert badge */
.certs-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.cert { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px 16px; border: 1px solid var(--line); background: var(--cream-2); transition: all .4s var(--ease); }
.cert:hover { border-color: var(--gold); background: var(--white); }
.cert__mark { width: 40px; height: 40px; margin-bottom: 4px; }
.cert__name { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cert__sub { font-size: 10.5px; color: var(--muted-2); letter-spacing: .06em; }

/* Testimonial */
.quote { padding: 38px 34px; background: var(--cream-2); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: .7; color: var(--gold-soft); margin-bottom: 18px; }
.quote p { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.62; color: var(--ink-2); flex: 1; margin-bottom: 24px; }
.quote__by { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.quote__avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--sand); display: grid; place-items: center; font-family: var(--font-display); font-size: 1rem; color: var(--mocha); flex-shrink: 0; }
.quote__name { font-size: 13.5px; font-weight: 600; }
.quote__role { font-size: 12px; color: var(--muted); }

/* Scene / gallery tile */
.scene { position: relative; display: block; overflow: hidden; background: var(--ink); }
.scene img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,24,21,.68), transparent 58%); opacity: .8; transition: opacity .5s var(--ease); }
.scene:hover img { transform: scale(1.06); }
.scene:hover::after { opacity: 1; }
.scene__cap { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: var(--cream-2); }
.scene__cat { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 7px; }
.scene__title { display: block; font-family: var(--font-display); font-size: 1.35rem; }

/* Masonry-ish gallery — uniform row unit so every row lines up perfectly */
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
  grid-auto-rows: clamp(148px, 16.6vw, 240px);
}
.gallery-grid .scene { aspect-ratio: auto; }
.gallery-grid .scene:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-grid .scene:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .scene:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .scene:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-grid .scene:nth-child(5) { grid-column: span 3; grid-row: span 2; }
.gallery-grid .scene:nth-child(6) { grid-column: span 3; grid-row: span 2; }
.gallery-grid .scene:nth-child(n+7) { grid-column: span 2; grid-row: span 2; }

/* ---------- 9. Filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; border: 1px solid var(--line); color: var(--muted);
  background: transparent; transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream-2); }
.filter-bar__right { display: flex; align-items: center; gap: 18px; }
.result-count { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.select {
  padding: 10px 38px 10px 16px; font-size: 12.5px; border: 1px solid var(--line);
  background: var(--cream-2) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C7E73' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; color: var(--ink); cursor: pointer;
}
.select:focus { outline: none; border-color: var(--gold); }

/* ---------- 10. Size & finish library / product detail ---------- */
.szlib { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.szlib__h { font-size: 1.45rem; margin-bottom: 22px; }
.szlib__tbl { min-width: 0; }
.szlib__tbl td:first-child { width: 46%; }
.fin-group { margin-bottom: 28px; }
.fin-group:last-of-type { margin-bottom: 0; }
.fin-group h4 {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px;
}
.fin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 11px 18px; }
.fin { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.fin i {
  width: 21px; height: 21px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid rgba(44,40,37,.16); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.fin--tag {
  background: var(--cream-3);
  box-shadow: none;
  border-radius: 4px;
}

.pd-figure { border: 1px solid var(--line); background: var(--cream-2); padding: 14px; }
.pd-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pd-facts { border-top: 1px solid var(--line); }
.pd-block { margin-top: 56px; }
.pd-block__h { font-size: 1.35rem; margin-bottom: 20px; }
.pd-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 11px 18px; }
.pd-block .check-list { margin: 0; }

/* ---------- 11. Tabs ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 34px; flex-wrap: wrap; }
.tabs button {
  padding: 15px 26px; font-size: 12px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all .3s var(--ease);
}
.tabs button:hover { color: var(--ink); }
.tabs button.is-on { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { display: none; animation: fade .5s var(--ease); }
.tab-panel.is-on { display: block; }

/* ---------- 12. Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--cream-2); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
table.tbl th {
  text-align: left; padding: 15px 20px; font-size: 11px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
  background: var(--cream-3); border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tbl td { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover td { background: var(--white); }
table.tbl td strong { font-weight: 600; }

/* ---------- 13. Timeline ---------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 40px 68px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__dot {
  position: absolute; left: 0; top: 2px; width: 43px; height: 43px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line-gold);
  font-family: var(--font-display); font-size: 1rem; color: var(--gold-dark);
}
.tl-item h3 { font-size: 1.24rem; margin-bottom: 9px; }
.tl-item p { font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.tl-item__time { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ---------- 14. Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; text-align: left; font-family: var(--font-display);
  font-size: 1.15rem; color: var(--ink); transition: color .3s var(--ease);
}
.acc__q:hover { color: var(--gold-dark); }
.acc__ic { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; background: var(--gold); transition: transform .35s var(--ease); }
.acc__ic::before { left: 50%; top: 4px; bottom: 4px; width: 1.5px; transform: translateX(-50%); }
.acc__ic::after { top: 50%; left: 4px; right: 4px; height: 1.5px; transform: translateY(-50%); }
.acc__item.is-open .acc__ic::before { transform: translateX(-50%) scaleY(0); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc__a p { font-size: 14.5px; color: var(--muted); padding-bottom: 24px; max-width: 720px; }

/* ---------- 15. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  padding: 14px 16px; border: 1px solid var(--line); background: var(--cream-2);
  font-size: 14px; transition: all .3s var(--ease); border-radius: var(--radius); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238C7E73' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form-note { font-size: 12px; color: var(--muted-2); line-height: 1.7; }
.form-ok {
  display: none; padding: 16px 18px; background: var(--gold-wash);
  border: 1px solid var(--line-gold); font-size: 13.5px; color: var(--mocha);
}
.form-ok.is-on { display: block; }

/* Contact info card */
.info-card { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.info-card:first-child { padding-top: 0; }
.info-card__ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; }
.info-card__ic svg { width: 17px; height: 17px; stroke: var(--gold); }
.info-card h4 { font-size: 1.02rem; margin-bottom: 5px; font-family: var(--font-body); font-weight: 600; }
.info-card p, .info-card a { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.info-card a:hover { color: var(--gold-dark); }

/* ---------- 16. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 96px 0; background: var(--ink); }
.cta-band__bg { position: absolute; inset: 0; opacity: .26; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--ink) 0%, rgba(44,40,37,.72) 60%, rgba(44,40,37,.5) 100%); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.cta-band h2 { color: var(--cream-2); margin-bottom: 18px; }
.cta-band p { color: rgba(243,239,233,.68); max-width: 520px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }

/* ---------- 17. Footer ---------- */
.footer { background: var(--ink); color: rgba(243,239,233,.62); padding: 84px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 60px; }
.footer .brand__name { color: var(--cream-2); }
.footer__blurb { font-size: 13.5px; line-height: 1.8; margin: 22px 0 24px; }
.footer h4 { font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 22px; }
.footer li { margin-bottom: 12px; }
.footer li a { font-size: 13.5px; }
.footer li a:hover { color: var(--gold-soft); }
.footer__contact li { display: flex; gap: 11px; font-size: 13.5px; line-height: 1.7; }
.footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; stroke: var(--gold); }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(243,239,233,.18); border-radius: 999px; transition: all .3s var(--ease); }
.footer__socials a:hover { background: var(--gold); border-color: var(--gold); }
.footer__socials svg { width: 16px; height: 16px; stroke: rgba(243,239,233,.72); }
.footer__socials a:hover svg { stroke: var(--white); }
.footer__bottom { border-top: 1px solid rgba(243,239,233,.12); padding: 26px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.footer__bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--gold-soft); }

/* ---------- 18. Floating actions ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 800;
  height: 56px; border-radius: 999px; background: #25D366;
  display: flex; align-items: center; gap: 10px; padding-right: 22px;
  box-shadow: 0 10px 30px rgba(37,211,102,.36);
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.wa-float:hover { transform: scale(1.04); background: #1FB958; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; margin-left: 15px; flex-shrink: 0; }
.wa-float__label {
  white-space: nowrap; font-size: 13px; font-weight: 600;
  letter-spacing: .02em; color: #fff;
}

.to-top {
  position: fixed; right: 24px; bottom: 90px; z-index: 800;
  width: 44px; height: 44px; border-radius: 999px; background: var(--ink);
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: all .4s var(--ease);
}
.to-top.is-on { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--gold); }
.to-top svg { width: 16px; height: 16px; stroke: var(--cream-2); }

/* ---------- 19. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 20. Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.gold-rule { width: 54px; height: 1px; background: var(--gold); margin: 26px 0; }
.gold-rule--center { margin-left: auto; margin-right: auto; }
.badge-pill {
  display: inline-block; padding: 7px 15px; border: 1px solid var(--line-gold);
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--gold-wash);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 13px; background: var(--cream-3); font-size: 11.5px; color: var(--mocha); letter-spacing: .03em; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.spec-list__row { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.spec-list__k { color: var(--muted); }
.spec-list__v { font-weight: 500; text-align: right; }
.empty-state { padding: 80px 0; text-align: center; color: var(--muted); }

.article-card { display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--line-soft); overflow: hidden; transition: all .45s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.article-card__media { aspect-ratio: 16/10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; gap: 14px; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.article-card h3 { font-size: 1.24rem; margin-bottom: 12px; }
.article-card p { font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; }
.article-card__more { margin-top: 20px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 1.7rem; margin: 44px 0 18px; }
.article-body h3 { font-size: 1.28rem; margin: 34px 0 14px; }
.article-body p { font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.article-body ul { margin: 0 0 22px; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 11px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 1px; background: var(--gold); }
.article-body img { margin: 34px 0; }
.article-body blockquote { margin: 34px 0; padding: 24px 30px; border-left: 2px solid var(--gold); background: var(--cream-2); font-family: var(--font-display); font-size: 1.2rem; line-height: 1.65; color: var(--ink-2); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 980; background: rgba(28,24,21,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-on { display: flex; animation: fade .35s var(--ease); }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; border: 1px solid rgba(243,239,233,.3); border-radius: 999px; display: grid; place-items: center; }
.lightbox__close svg { width: 17px; height: 17px; stroke: var(--cream-2); }
.lightbox__cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: rgba(243,239,233,.72); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1080px) {
  :root { --section-y: 82px; --gutter: 26px; }
  .nav { gap: 24px; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .split { gap: 48px; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery-grid .scene:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 4/3; }
  .certs-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: flex; }
  .g-2, .g-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .split__body { max-width: none; }
  .hero { min-height: 88vh; }
  .hero__strip { position: static; background: none; margin-top: 46px; }
  .hero__strip-item { flex: 1 1 45%; padding: 18px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .szlib { grid-template-columns: 1fr; gap: 44px; }
  .tabs button { padding: 13px 16px; }
}
@media (max-width: 620px) {
  :root { --section-y: 64px; --gutter: 20px; --header-h: 70px; }
  .g-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .scene:nth-child(n) { grid-row: auto; aspect-ratio: 4/3; }
  .certs-row { grid-template-columns: repeat(2, 1fr); }
  .article-card[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .article-card[style*="grid-template-columns"] .article-card__media { height: 240px !important; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  .quote { padding: 30px 24px; }
  .pd-block { margin-top: 40px; }
  .section-head { margin-bottom: 40px; }
  .wa-float { right: 16px; bottom: 16px; height: 50px; padding-right: 0; }
  .wa-float svg { width: 25px; height: 25px; margin-left: 12.5px; }
  .wa-float__label { display: none; }
  .to-top { right: 16px; bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .wa-float, .to-top { display: none; }
}
