/* ============================================================
   JUNG LS 1912 — Cone Dark · cinematic landing page
   Palette drawn from the lacquer chart: aluminium-dark ground,
   classic-brass accent, warm ivory ink.
   ============================================================ */

:root {
  /* light gallery theme — warm ivory, espresso ink, deep brass */
  --bg-0: #f6f3ec;            /* page ground — warm greige           */
  --bg-1: #fcfaf5;            /* raised surface — warm white         */
  --bg-2: #ece7db;            /* deeper sand                         */
  --ink: #16140f;             /* near-black                          */
  --muted: #5b564c;           /* body text (AA contrast)             */
  --faint: #837c6e;           /* captions, fine print                */
  --brass: #8f7248;           /* deep classic brass                  */
  --brass-hi: #6f5834;        /* brass emphasis on light ground      */
  --line: rgba(130, 106, 70, 0.30);
  --line-soft: rgba(22, 20, 15, 0.12);
  --plate: rgba(255, 255, 255, 0.6);
  --plate-shadow: 0 46px 90px -48px rgba(40, 35, 24, 0.35);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --wrap: 1240px;
  color-scheme: light;
}

/* cinematic dark anchors: hero, contact, footer, header-over-hero */
.zone-dark {
  --bg-0: #0e0d0a;
  --bg-1: #16140f;
  --bg-2: #1d1b15;
  --ink: #edeae2;
  --muted: #9d9585;
  --faint: #8b8375;
  --brass: #bfa26e;
  --brass-hi: #d9c294;
  --line: rgba(191, 162, 110, 0.22);
  --line-soft: rgba(237, 234, 226, 0.10);
  --plate: rgba(237, 234, 226, 0.04);
  --plate-shadow: 0 60px 110px -50px rgba(0, 0, 0, 0.85);
  color: var(--ink);
}

/* dark mode: set by inline head script (system preference + localStorage),
   toggled manually via #themeBtn. zone-dark sections stay slightly deeper. */
html[data-theme="dark"] {
  --bg-0: #14120e;
  --bg-1: #1b1813;
  --bg-2: #232019;
  --ink: #ece9e1;
  --muted: #a49c8c;
  --faint: #877f70;
  --brass: #c2a570;
  --brass-hi: #dcc494;
  --line: rgba(191, 162, 110, 0.24);
  --line-soft: rgba(237, 234, 226, 0.10);
  --plate: rgba(237, 234, 226, 0.045);
  --plate-shadow: 0 46px 90px -48px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

/* cinematic film grain over everything */
body::before {
  content: "";
  position: fixed;
  top: -60px; right: -60px; bottom: -60px; left: -60px; inset: -60px;
  z-index: 2100;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(191, 162, 110, 0.35); color: #fff; }

:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-left: auto; margin-right: auto; margin-inline: auto; }

/* ---------- shared typographic roles ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin-top: 22px;
}
.title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-hi);
}

.lead {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  text-wrap: pretty;
}

.section { padding-top: clamp(104px, 12vw, 176px); padding-bottom: clamp(104px, 12vw, 176px); padding-block: clamp(104px, 12vw, 176px); position: relative; }
.section-head { margin-bottom: clamp(52px, 7vw, 88px); }

/* ---------- reveal system (activated only when JS present) ---------- */

html.js [data-rv] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html.js [data-rv="left"]  { transform: translateX(-46px); }
html.js [data-rv="right"] { transform: translateX(46px); }
html.js [data-rv="scale"] { transform: scale(0.94) translateY(14px); }
html.js [data-rv].in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--brass);
  color: var(--bg-0);
  background: linear-gradient(120deg, var(--brass-hi), var(--brass));
  cursor: pointer;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: var(--bg-0);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.btn span { position: relative; z-index: 2; }
.btn:hover { color: var(--brass-hi); transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(191, 162, 110, 0.45); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(237, 234, 226, 0.28);
}
.btn.ghost::after { background: var(--brass); }
.btn.ghost:hover { color: var(--bg-0); border-color: var(--brass); }

/* ---------- header ---------- */

.site-head {
  position: fixed;
  top: 0; right: 0; left: 0; inset: 0 0 auto 0;
  z-index: 1000;
  transform: translateY(-110%);
  animation: headIn 1s var(--ease) 1.9s forwards;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
@keyframes headIn { to { transform: none; } }
@keyframes headFade { from { opacity: 0; } to { opacity: 1; } }

.site-head.scrolled {
  --ink: #16140f;
  --muted: #615c52;
  --faint: #8e8779;
  --brass: #8f7248;
  --line: rgba(130, 106, 70, 0.32);
  --line-soft: rgba(22, 20, 15, 0.12);
  background: rgba(252, 250, 245, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-soft);
  color: var(--ink);
}
.site-head.scrolled .brand img { filter: brightness(0.16) sepia(0.3); }

html[data-theme="dark"] .site-head.scrolled {
  --ink: #ece9e1;
  --muted: #a49c8c;
  --faint: #877f70;
  --brass: #c2a570;
  --line: rgba(191, 162, 110, 0.24);
  --line-soft: rgba(237, 234, 226, 0.10);
  background: rgba(16, 14, 11, 0.88);
  border-bottom-color: rgba(237, 234, 226, 0.1);
}
html[data-theme="dark"] .site-head.scrolled .brand img { filter: none; }

.head-in {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}

.head-tools { display: flex; align-items: center; gap: 12px; }

.theme-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.theme-btn:hover { border-color: var(--brass); transform: translateY(-1px); }
.theme-btn i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: linear-gradient(90deg, var(--brass) 50%, transparent 50%);
  transition: transform 0.5s var(--ease);
}
html[data-theme="dark"] .theme-btn i { transform: rotate(180deg); }

.brand { display: flex; align-items: center; gap: 16px; }
.brand img { height: 19px; width: auto; }
.brand small {
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a {
  position: relative;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.35s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.head-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--line);
  padding: 11px 20px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.head-cta:hover { background: var(--brass); color: var(--bg-0); border-color: var(--brass); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
  z-index: 1200;
}
.menu-btn i {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s;
}
.menu-btn i:nth-child(1) { top: 17px; }
.menu-btn i:nth-child(2) { top: 26px; }
.menu-btn.open i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn.open i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -2; animation: fadeIn 1.8s ease both; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 26s ease-in-out 0.4s infinite alternate;
  filter: brightness(0.92);
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.13); } }
@keyframes fadeIn { from { opacity: 0; } }

.hero-shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 50% at 74% 26%, rgba(196, 158, 92, 0.16), transparent 70%),
    linear-gradient(100deg, rgba(14, 13, 10, 0.88) 8%, rgba(14, 13, 10, 0.45) 52%, rgba(14, 13, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(14, 13, 10, 0.42), transparent 30%, transparent 60%, rgba(14, 13, 10, 0.62) 100%);
}

.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding-top: 128px; padding-bottom: 112px; padding-block: 128px 112px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
  opacity: 0;
  animation: riseSoft 1s var(--ease) 0.7s forwards;
}
.hero-kicker::before,
.hero-kicker::after { content: ""; height: 1px; width: 38px; background: var(--brass); opacity: 0.65; }
.hero-kicker::after { display: none; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-top: 26px;
}
.hero h1 .h-line { display: block; overflow: hidden; padding-bottom: 0.13em; margin-bottom: -0.13em; }
.hero h1 .h-line > span {
  display: block;
  transform: translateY(114%);
  animation: rise 1.25s cubic-bezier(0.19, 0.66, 0.2, 1) forwards;
  animation-delay: var(--d, 0.9s);
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--brass-hi); }
@keyframes rise { to { transform: none; } }
@keyframes riseSoft { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-text {
  margin-top: 28px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 16.5px;
  opacity: 0;
  animation: riseSoft 1s var(--ease) 1.45s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
  opacity: 0;
  animation: riseSoft 1s var(--ease) 1.65s forwards;
}

/* floating product plate */
.hero-fig {
  opacity: 0;
  animation: plateIn 1.5s var(--ease) 1.35s forwards;
  justify-self: end;
  width: min(440px, 100%);
}
@keyframes plateIn { from { opacity: 0; transform: translateX(70px); } to { opacity: 1; transform: none; } }

.float { animation: floaty 7.5s ease-in-out 3.2s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.plate {
  position: relative;
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 22px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--plate-shadow);
}
.plate img { width: 100%; }
.plate figcaption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
}
.plate figcaption b { font-weight: 600; color: var(--brass); letter-spacing: 0.26em; }

/* corner ticks */
.tick { position: absolute; width: 15px; height: 15px; border: 0 solid var(--brass); opacity: 0.85; }
.tick.tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.tick.tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.tick.bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.tick.br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

/* dimension callouts */
.dim {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dim i { flex: 1; height: 1px; background: var(--brass); opacity: 0.55; min-width: 26px; }
.dim i::before { content: ""; }
.dim-top { top: -30px; left: 22px; right: 22px; }
.dim-right {
  top: 22px;
  bottom: 22px;
  right: -32px;
  writing-mode: vertical-rl;
}
.dim-right i { min-width: 0; min-height: 26px; width: 1px; height: auto; }

/* ---------- hero orbit showcase ---------- */

.orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  perspective: 1300px;
}
.orbit-stage {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  transform-style: preserve-3d;
}
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  padding: 10px;
  background: rgba(20, 18, 14, 0.6);
  border: 1px solid var(--line);
  box-shadow: 0 44px 80px -42px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  will-change: transform, opacity, filter;
}
.orbit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.orbit-floor {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 92%;
  height: 56px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.55), transparent 72%);
  filter: blur(7px);
  pointer-events: none;
}
.orbit-cap {
  margin-top: 22px;
  text-align: center;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.orbit-cap.swap { opacity: 0; transform: translateY(6px); }
.orbit-cap b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.orbit-cap span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- feature (LS 1912) ---------- */

/* showcase canvas: rounded panel, soft photo backdrop, floating cards */
.canvas {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 70px 130px -70px rgba(40, 35, 24, 0.55);
}
.canvas-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: canvasDrift 26s ease-in-out infinite alternate;
}
@keyframes canvasDrift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.07) translateX(-1%); }
}
.canvas-shade {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 78% 28%, rgba(196, 158, 92, 0.09), transparent 70%),
    linear-gradient(98deg, rgba(14, 13, 10, 0.94) 32%, rgba(14, 13, 10, 0.68) 64%, rgba(14, 13, 10, 0.6) 100%);
}
#ls1912 { padding-top: clamp(72px, 8vw, 120px); padding-bottom: clamp(72px, 8vw, 120px); padding-block: clamp(72px, 8vw, 120px); }

.canvas-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(34px, 4.6vw, 60px) clamp(24px, 4.2vw, 56px);
}
.canvas-copy .title { font-size: clamp(27px, 3vw, 42px); }
.canvas-copy .para { margin-top: 16px; color: var(--muted); max-width: 52ch; font-size: 15px; }
.canvas-copy .para:first-of-type { margin-top: 22px; }
.canvas-copy .tags { margin-top: 24px; }
.canvas-copy .tags li { padding: 8px 14px; font-size: 10.5px; }
.canvas-copy .specs { margin-top: 28px; }
.canvas-copy .specs b { font-size: clamp(20px, 1.8vw, 25px); }
.canvas-copy .specs div { padding-top: 14px; }
.canvas-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 28px;
}
.canvas-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.35s, border-color 0.35s;
}
.canvas-cat:hover { color: var(--ink); border-color: var(--brass); }
.canvas-copy .spec-note { margin-top: 18px; font-size: 10px; }

/* floating card cluster (rounded photo-cards, layered elevation) */
.canvas-cards { position: relative; }
.fcard {
  --rot: 0deg;
  padding: 10px 10px 12px;
  border-radius: 16px;
  background: #fcfaf5;
  box-shadow:
    0 46px 90px -36px rgba(0, 0, 0, 0.75),
    0 14px 34px -20px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transform: rotate(var(--rot));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.fcard:hover {
  transform: rotate(var(--rot)) translateY(-10px);
  box-shadow:
    0 60px 110px -38px rgba(0, 0, 0, 0.8),
    0 18px 40px -20px rgba(0, 0, 0, 0.6);
}
.fcard img {
  width: 100%;
  border-radius: 9px;
  object-fit: cover;
}
.fcard figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 10px 4px 0;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.fcard figcaption b { color: #16140f; }
.fcard figcaption span { color: #837c6e; font-weight: 500; }

/* orbiting product ring inside the canvas: polaroid-style cards */
.canvas-cards .orbit {
  aspect-ratio: 1 / 1;
  perspective: 1100px;
}
.canvas-cards .orbit-item {
  width: 56%;
  padding: 8px;
  background: #fcfaf5;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 38px 76px -32px rgba(0, 0, 0, 0.8);
}
.canvas-cards .orbit-item img {
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.canvas-cards .orbit-cap { margin-top: 14px; }
.canvas-cards .orbit-cap b { font-size: 19px; }

.fc-chip {
  padding: 16px 22px;
  background: rgba(20, 18, 14, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(217, 194, 148, 0.32);
  border-radius: 12px;
  cursor: default;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.fc-chip b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: #edeae2;
  font-variant-numeric: tabular-nums;
}
.fc-chip span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #d2b787;
}

.canvas-cards .fc-chip {
  position: absolute;
  left: 0;
  bottom: 16%;
  z-index: 70;
  padding: 13px 18px;
  animation: floaty 7.5s ease-in-out 2s infinite;
}

@media (max-width: 900px) {
  .canvas { border-radius: 20px; }
  .canvas-in { grid-template-columns: 1fr; }
  .canvas-cards { max-width: 420px; margin-left: auto; margin-right: auto; margin-inline: auto; width: 100%; }
}

/* ---------- design language: 3 refined cards ---------- */
.sec-language { background: linear-gradient(var(--bg-0), var(--bg-1) 45%, var(--bg-0)); }
.lang-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}
.lang-card {
  display: block;
  color: inherit;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 60px -46px rgba(40, 35, 24, 0.4);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.55s var(--ease);
}
.lang-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 44px 80px -44px rgba(40, 35, 24, 0.5);
}
/* middle card offset for layered depth */
.lang-mid { transform: translateY(28px); }
.lang-mid:hover { transform: translateY(20px); }
.lang-img { aspect-ratio: 5 / 4; overflow: hidden; }
.lang-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.96); transition: transform 1.1s var(--ease), filter 1.1s var(--ease); }
.lang-card:hover .lang-img img { transform: scale(1.06); filter: brightness(1.02); }
.lang-body { position: relative; padding: 30px 28px 32px; }
.lang-num {
  position: absolute;
  top: -26px;
  right: 22px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--brass);
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}
.lang-kick {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}
.lang-body h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 27px;
  color: var(--ink);
}
.lang-body h3 + p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.lang-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.lang-more::after { content: "→"; transition: transform 0.4s var(--ease); }
.lang-card:hover .lang-more::after { transform: translateX(6px); }

@media (max-width: 860px) {
  .lang-cards { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; margin-inline: auto; }
  .lang-mid { transform: none; }
  .lang-mid:hover { transform: translateY(-8px); }
}

/* ---------- LS 990 · Les Couleurs Le Corbusier ---------- */
.sec-couleurs { background: linear-gradient(var(--bg-0), var(--bg-1) 40%, var(--bg-0)); }

/* colour configurator: live LS 990 preview + palette grid (JUNG colour-design language) */
.cl-config {
  --c: #5d8678;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.cl-preview { position: sticky; top: 92px; }
.cl-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(38px, 5.5vw, 72px);
  border-radius: 20px;
  overflow: hidden;
  background: #e9e3d6;
  background:
    radial-gradient(72% 66% at 50% 40%, color-mix(in srgb, var(--c) 30%, #f4f0e7), #e9e3d6);
  box-shadow: inset 0 0 90px -30px rgba(40, 35, 24, 0.18);
  transition: background 0.6s var(--ease);
}
/* the LS 990 switch, rendered in CSS with a beveled frame + material rocker, tinted by --c */
.cl-switch {
  position: relative;
  width: min(280px, 60%);
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  background: var(--c);
  box-shadow:
    0 48px 80px -30px rgba(30, 26, 18, 0.55),
    0 16px 34px -18px rgba(30, 26, 18, 0.42),
    inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  box-shadow:
    0 48px 80px -30px rgba(30, 26, 18, 0.55),
    0 16px 34px -18px rgba(30, 26, 18, 0.42),
    inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, #000),
    inset 0 2px 2px color-mix(in srgb, var(--c) 82%, #fff),
    inset 0 -3px 4px color-mix(in srgb, var(--c) 76%, #000);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
/* frame bevel: light from top-left, shade to bottom-right */
.cl-switch::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  border-radius: inherit;
  background: linear-gradient(143deg, rgba(255, 255, 255, 0.22), transparent 26%, transparent 72%, rgba(0, 0, 0, 0.14));
  pointer-events: none;
}
.cl-rocker {
  position: absolute;
  top: 9%; right: 9%; bottom: 9%; left: 9%; inset: 9%;
  border-radius: 4px;
  background: var(--c);
  background:
    radial-gradient(118% 88% at 50% 6%, color-mix(in srgb, var(--c) 86%, #fff), var(--c) 52%),
    var(--c);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3),
    0 7px 16px -7px rgba(0, 0, 0, 0.32);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--c) 58%, #000),
    inset 0 2px 4px color-mix(in srgb, var(--c) 84%, #fff),
    inset 0 -4px 7px color-mix(in srgb, var(--c) 74%, #000),
    0 7px 16px -7px rgba(0, 0, 0, 0.32);
  transition: background 0.6s var(--ease);
}
/* older browsers without aspect-ratio: keep the switch square via padding */
@supports not (aspect-ratio: 1 / 1) {
  .cl-switch { height: 0; padding-bottom: min(280px, 60%); }
}
/* subtle central press seam */
.cl-rocker::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.55) 30%, rgba(0, 0, 0, 0.55) 70%, transparent);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 68%, #000) 30%, color-mix(in srgb, var(--c) 68%, #000) 70%, transparent);
  opacity: 0.45;
}

.cl-readout { margin-top: 26px; }
.cl-fam-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}
.cl-name {
  margin-top: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: lining-nums;
}
.cl-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.cl-codes span { display: flex; flex-direction: column; gap: 3px; }
.cl-codes i {
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.cl-codes b {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums lining-nums;
}
.cl-meta { margin-top: 18px; font-size: 12px; color: var(--faint); letter-spacing: 0.02em; }
.cl-readout .cl-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 26px;
}

/* palette grid grouped by family */
.cl-palette-panel { display: grid; gap: clamp(20px, 2.5vw, 30px); }
.cl-fam-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.cl-fam-head b {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.cl-fam-head span { font-size: 11px; color: var(--faint); }
.cl-fam-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.cl-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 9px;
}
.cl-sw {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  background: var(--c);
  border: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cl-sw::after {
  content: attr(data-jung);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%) translateY(4px);
  padding: 4px 8px;
  border-radius: 5px;
  background: #16140f;
  color: #f3efe6;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 4;
}
.cl-sw:hover { transform: translateY(-4px) scale(1.04); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 14px 24px -14px rgba(40,35,24,0.55); }
.cl-sw:hover::after { opacity: 1; transform: translateX(-50%); }
.cl-sw.sel {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12), 0 0 0 2px var(--bg-0), 0 0 0 4px var(--brass);
}

/* palette footer: featured-selection note + full-catalogue CTA */
.cl-palette-col { display: flex; flex-direction: column; gap: clamp(22px, 2.5vw, 32px); }
.cl-palette-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.cl-count { font-size: 12px; color: var(--faint); letter-spacing: 0.02em; }
.cl-full {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.35s, border-color 0.35s;
}
.cl-full:hover { color: var(--ink); border-color: var(--brass); }

@media (max-width: 900px) {
  .cl-config { grid-template-columns: 1fr; }
  .cl-preview { position: static; max-width: 440px; margin-left: auto; margin-right: auto; margin-inline: auto; }
  .cl-stage { padding: clamp(30px, 8vw, 52px); }
  .cl-switch { width: min(230px, 52%); }
  .cl-readout { text-align: center; }
  .cl-codes { justify-content: center; }
  .cl-readout .cl-cta { justify-content: center; }
  .cl-row { grid-template-columns: repeat(9, 1fr); gap: 8px; }
}
@media (max-width: 560px) {
  .cl-row { grid-template-columns: repeat(7, 1fr); }
  .cl-palette-foot { justify-content: flex-start; }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  list-style: none;
}
.tags li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-soft);
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.4s, color 0.4s, background 0.4s;
}
.tags li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--brass);
  transform: rotate(45deg);
}
.tags li:hover { border-color: var(--line); color: var(--ink); background: var(--plate); }

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.specs div { padding: 20px 18px 4px 0; border-right: 1px solid var(--line-soft); }
.specs div:last-child { border-right: 0; }
.specs b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.specs span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.spec-note { margin-top: 26px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }

/* ---------- collection ---------- */

.sec-collection { background: linear-gradient(var(--bg-0), var(--bg-1) 30%, var(--bg-1) 70%, var(--bg-0)); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid transparent;
  box-shadow: 0 24px 48px -40px rgba(40, 35, 24, 0.35);
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 36px 64px -38px rgba(40, 35, 24, 0.42), 0 20px 52px -30px rgba(143, 114, 72, 0.3);
}

.card-media { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
  filter: brightness(0.94);
}
.card:hover .card-media img { transform: scale(1.07); filter: brightness(1.02); }
.card-media::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 13, 10, 0.55));
  opacity: 0.7;
  transition: opacity 0.6s;
}
.card:hover .card-media::after { opacity: 0.35; }

.card-body { padding: 28px 28px 30px; border-top: 1px solid var(--line-soft); }
.card-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.01em;
}
.card-body p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}
.card-link::after { content: "→"; transition: transform 0.4s var(--ease); }
.card:hover .card-link::after { transform: translateX(7px); }

.card.featured { border-color: rgba(191, 162, 110, 0.4); }
.card.featured .card-media { background: #eceae4; }
.card.featured .card-media img { object-fit: contain; padding: 9%; }
.badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 7px 14px;
  background: rgba(14, 13, 10, 0.82);
  border: 1px solid rgba(191, 162, 110, 0.35);
  color: #d2b787;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- smart living ---------- */

.smart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.eco {
  list-style: none;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.eco li {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 19px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s, padding-left 0.4s var(--ease);
}
.eco li:hover { background: var(--plate); padding-left: 14px; }
.eco i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.eco b { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }
.eco span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); text-align: right; }

.smart-visual { position: relative; }
.smart-visual > .plate { padding: 0; border: 1px solid var(--line-soft); overflow: hidden; height: min(640px, 66vw); }
.smart-visual > .plate img { height: 114%; width: 100%; object-fit: cover; position: relative; top: -7%; }

.ui-card {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 18px 20px;
  background: rgba(20, 18, 14, 0.6);
  border: 1px solid rgba(237, 234, 226, 0.14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, 0.8);
}
.ui-card { color: #edeae2; }
.ui-card small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a09884;
}
.ui-card strong {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.ui-card strong span { font-size: 12px; font-family: var(--sans); font-weight: 500; color: #d2b787; letter-spacing: 0.1em; }
.ui-bar { margin-top: 14px; height: 2px; background: rgba(237, 234, 226, 0.14); }
.ui-bar i { display: block; height: 100%; width: 65%; background: linear-gradient(90deg, #bfa26e, #d9c294); }
.ui-dots { display: flex; gap: 7px; margin-top: 14px; }
.ui-dots i { width: 22px; height: 2px; background: rgba(237, 234, 226, 0.16); }
.ui-dots i.on { background: #bfa26e; }

.ui-1 { top: 7%; left: -13%; animation: floaty 7s ease-in-out 0.6s infinite; }
.ui-2 { bottom: 26%; right: -9%; animation: floaty 8.5s ease-in-out 1.8s infinite; }
.ui-3 { bottom: -26px; left: 7%; animation: floaty 7.8s ease-in-out 3s infinite; }

/* ---------- modular ---------- */

.sec-modular { background: linear-gradient(var(--bg-0), var(--bg-1) 40%, var(--bg-0)); }

.mod-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.layers { list-style: none; margin-top: 38px; }
.layers li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}
.layers i {
  font-style: normal;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.layers b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.layers p { margin-top: 5px; font-size: 13.5px; color: var(--muted); max-width: 46ch; }

.frame-table {
  margin-top: 34px;
  border: 1px solid var(--line-soft);
  padding: 26px 28px;
  background: var(--plate);
}
.frame-table h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
}
.frame-table table { width: 100%; margin-top: 14px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.frame-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.frame-table tr:last-child td { border-bottom: 0; }
.frame-table td:last-child { text-align: right; color: var(--ink); font-weight: 400; }

.mod-visual { display: grid; gap: 26px; }
.mod-visual .plate.light { background: #eceae4; border-color: rgba(14, 13, 10, 0.14); }
.mod-visual .plate.light figcaption { color: #615c52; }
.mod-visual .plate.light figcaption b { color: #8a744e; }

/* animated module assembly (layers cut from the exploded product photo) */
.module-fig { background: #efefef; }
.module-stage {
  position: relative;
  aspect-ratio: 676 / 734;
  background: rgb(239, 239, 239);
  overflow: hidden;
}
.module-stage .mod-layer {
  position: absolute;
  mix-blend-mode: normal;
  will-change: transform, opacity;
  animation: modCycle 9.5s cubic-bezier(0.72, 0.01, 0.28, 1) infinite;
  animation-play-state: paused;
}
.module-stage.play .mod-layer { animation-play-state: running; }
.ml-insert { z-index: 1; }
.ml-frame  { z-index: 2; }
.ml-ring   { z-index: 3; }
.ml-face   { z-index: 4; }
.ml-claws  { z-index: 5; }
@keyframes modCycle {
  0%, 12%   { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  38%, 68%  { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(var(--ms, 1)); opacity: var(--mo, 1); }
  92%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}

.frame-diagram {
  border: 1px solid var(--line-soft);
  background: var(--plate);
  padding: 30px 28px 22px;
}
.frame-diagram svg { width: 100%; height: auto; display: block; }
.frame-diagram figcaption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- finishes ---------- */

.fin-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 70px);
}
.fin-head .plate { padding: 14px; }

/* three material families: plastic / lacquer / metal */
.mat-families {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 76px);
}
.mat-fam {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 48px -40px rgba(40, 35, 24, 0.35);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.mat-fam:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 36px 64px -40px rgba(40, 35, 24, 0.42);
}
.mat-fam-img { aspect-ratio: 4 / 3; overflow: hidden; }
.mat-fam-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mat-fam:hover .mat-fam-img img { transform: scale(1.05); }
.mat-fam-body { padding: 24px 24px 28px; }
.mat-fam-kick {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}
.mat-fam-body h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  color: var(--ink);
}
.mat-fam-body p { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.mat-fam-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.mat-fam-more::after { content: "→"; transition: transform 0.4s var(--ease); }
.mat-fam:hover .mat-fam-more::after { transform: translateX(6px); }

.fin-sub {
  margin-bottom: 28px;
  padding-top: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--line-soft);
}
.fin-sub h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 27px);
  color: var(--ink);
}
.fin-sub p { margin-top: 6px; font-size: 13px; color: var(--faint); }

.fin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.swatch {
  position: relative;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.swatch:hover { transform: translateY(-6px); border-color: var(--line); }
.swatch-img { overflow: hidden; aspect-ratio: 1 / 0.88; }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.swatch:hover .swatch-img img { transform: scale(1.06); }
.swatch::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  left: -70%;
  background: linear-gradient(105deg, transparent, rgba(255, 250, 240, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.9s var(--ease);
  pointer-events: none;
}
.swatch:hover::after { left: 135%; }
.swatch figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.swatch figcaption i { font-style: normal; font-size: 9.5px; color: var(--faint); font-variant-numeric: tabular-nums; }

.swatch.hero-swatch { grid-column: span 2; grid-row: span 2; border-color: rgba(191, 162, 110, 0.42); display: flex; flex-direction: column; }
.swatch.hero-swatch .swatch-img { aspect-ratio: auto; height: auto; flex: 1 1 0; min-height: 0; }
.swatch.hero-swatch figcaption { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 22px; }
.swatch.hero-swatch figcaption b {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
}
.swatch.hero-swatch figcaption p { font-size: 12.5px; letter-spacing: 0.02em; text-transform: none; color: var(--muted); line-height: 1.6; }

/* ---------- gallery ---------- */

.sec-projects { background: linear-gradient(var(--bg-0), var(--bg-1) 35%, var(--bg-1) 65%, var(--bg-0)); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(190px, 24vw, 292px);
  grid-auto-flow: dense;
  gap: 22px;
}
.tile { position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.tile.h2 { grid-row: span 2; }
.tile.w2 { grid-column: span 2; }
.tile.w3 { grid-column: span 3; }
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter 1.2s var(--ease);
  filter: brightness(0.88);
}
.tile img[data-plx] { height: 114%; position: relative; top: -7%; }
.tile:hover img { filter: brightness(1); }
.tile-zoom {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  overflow: hidden;
  transition: transform 1.2s var(--ease);
}
.tile:hover .tile-zoom { transform: scale(1.045); }
.tile::after {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(190deg, transparent 45%, rgba(14, 13, 10, 0.78) 92%);
  transition: opacity 0.6s;
}
.tile-cap {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.6s var(--ease);
}
.tile:hover .tile-cap { transform: none; }
.tile-cap small {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d2b787;
}
.tile-cap b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: 0.02em; color: #f2f0ea; }
.tile-cap::after {
  content: "";
  display: block;
  margin-top: 12px;
  height: 1px;
  width: 34px;
  background: var(--brass);
  transition: width 0.7s var(--ease);
}
.tile:hover .tile-cap::after { width: 90px; }

/* ---------- heritage ---------- */

.sec-heritage { overflow: hidden; }
.big-year {
  position: absolute;
  top: 4%;
  right: -2%;
  font-family: var(--serif);
  font-size: clamp(190px, 26vw, 430px);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(130, 106, 70, 0.3);
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
}

.her-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.her-media { position: relative; padding-bottom: 74px; max-width: 470px; }
.her-media .plate.main { padding: 14px; }
.her-media .plate.inset {
  position: absolute;
  right: -10px;
  bottom: 0;
  width: 52%;
  padding: 10px;
  background: var(--bg-1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
.stats div { padding: 26px 26px 22px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.stats b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stats b em { font-style: normal; color: var(--brass); }
.stats span { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); }

/* heritage photo strip: 1912 workshop, HQ today, quality control */
.her-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(56px, 7vw, 84px);
  position: relative;
  z-index: 1;
}
.her-strip figure {
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding: 10px;
}
.her-strip img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.her-strip figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.her-strip figcaption b { color: var(--brass); font-weight: 600; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: clamp(60px, 8vw, 96px);
  padding-top: 34px;
  border-top: 1px solid var(--line-soft);
  position: relative;
  z-index: 1;
}
.timeline div { position: relative; padding-top: 6px; }
.timeline div::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 1px;
  width: 7px; height: 7px;
  background: var(--bg-0);
  border: 1px solid var(--brass);
  transform: rotate(45deg);
}
.timeline b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.timeline p { margin-top: 8px; font-size: 13px; color: var(--muted); max-width: 30ch; }

/* ---------- contact / CTA ---------- */

.sec-contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(110px, 13vw, 180px); padding-bottom: clamp(110px, 13vw, 180px); padding-block: clamp(110px, 13vw, 180px);
}
.cta-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -2; overflow: hidden; }
.cta-bg img { width: 100%; height: 118%; object-fit: cover; filter: brightness(0.6) saturate(0.82); position: relative; top: -9%; }
.cta-shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 42% at 50% 6%, rgba(196, 158, 92, 0.13), transparent 75%),
    linear-gradient(180deg, var(--bg-0) 2%, rgba(14, 13, 10, 0.84) 30%, rgba(14, 13, 10, 0.88) 70%, var(--bg-0) 100%);
}

.cta-head { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; margin-inline: auto; }
.cta-head .kicker { justify-content: center; }
.cta-head .kicker::after { content: ""; width: 34px; height: 1px; background: var(--brass); opacity: 0.7; }
.cta-head .lead { margin-left: auto; margin-right: auto; margin-inline: auto; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 38px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 70px);
  margin-top: clamp(60px, 8vw, 90px);
  align-items: stretch;
}

.contact-info {
  border: 1px solid var(--line-soft);
  background: rgba(20, 18, 14, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: clamp(30px, 4vw, 46px);
  display: flex;
  flex-direction: column;
}
.contact-info h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.contact-info > p { margin-top: 12px; color: var(--muted); font-size: 14px; max-width: 44ch; }
.info-rows { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.info-rows div { padding: 18px 2px; border-bottom: 1px solid var(--line-soft); display: grid; gap: 5px; }
.info-rows small { font-size: 9.5px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); }
.info-rows span { font-size: 14px; color: var(--ink); font-weight: 300; }
.info-rows a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; transition: color 0.35s; }
.info-rows a:hover { color: var(--ink); }
.contact-info figure { margin-top: auto; padding-top: 30px; }
.contact-info figure img { height: 64px; width: auto; opacity: 0.9; }

.form-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(20, 18, 14, 0.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: clamp(30px, 4vw, 46px);
}
.form-card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.form-card > p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.field { display: grid; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(14, 13, 10, 0.5);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14.5px;
  padding: 15px 16px;
  transition: border-color 0.4s, background 0.4s;
  border-radius: 0;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%23bfa26e' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field select option { background: var(--bg-1); color: var(--ink); }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(14, 13, 10, 0.72);
}
.form-card .btn { width: 100%; margin-top: 28px; }
.form-note { margin-top: 16px; font-size: 11.5px; color: var(--faint); text-align: center; letter-spacing: 0.06em; }

/* honeypot: off-screen (not display:none, so bots still fill it) */
.hp-field { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-err {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(224, 135, 107, 0.4);
  border-radius: 2px;
  background: rgba(179, 84, 63, 0.12);
  font-size: 13px;
  color: #e6a08a;
  text-align: center;
  letter-spacing: 0.01em;
}
#fSubmit[disabled] { opacity: 0.6; cursor: progress; }

.form-done {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 40px;
  background: rgba(16, 15, 12, 0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.form-done.show { opacity: 1; pointer-events: auto; }
.form-done .ring {
  width: 74px; height: 74px;
  border: 1px solid var(--brass);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-done .ring i {
  transform: rotate(-45deg);
  font-style: normal;
  color: var(--brass-hi);
  font-size: 26px;
  font-family: var(--serif);
}
.form-done b { font-family: var(--serif); font-weight: 500; font-size: 28px; }
.form-done p { color: var(--muted); font-size: 14px; max-width: 40ch; }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line-soft); padding: 64px 0 40px; background: var(--bg-0); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-brand img { height: 58px; width: auto; }
.foot-brand p { margin-top: 18px; font-size: 13px; color: var(--faint); max-width: 34ch; }
.foot-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.foot-col a, .foot-col span {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.35s, padding-left 0.35s var(--ease);
}
.foot-col a:hover { color: var(--ink); padding-left: 8px; }
.foot-legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .fin-grid { grid-template-columns: repeat(3, 1fr); }
  .swatch.hero-swatch { grid-column: span 3; grid-row: span 1; }
  .swatch.hero-swatch .swatch-img { flex: 0 0 auto; aspect-ratio: 2.4 / 1; }
  .ui-1 { left: -4%; }
  .ui-2 { right: -3%; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  /* no transform on the header here: old Safari traps fixed children (the
     fullscreen nav) inside a transform-animated ancestor */
  .site-head { transform: none; animation: headFade 1s var(--ease) 1.9s both; }
  .site-nav {
    --ink: #edeae2;
    --muted: #9d9585;
    --brass: #bfa26e;
    --line: rgba(191, 162, 110, 0.22);
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(14, 13, 10, 0.94);
    color: var(--ink);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
    z-index: 1100;
  }
  .site-nav a { font-family: var(--serif); font-size: 30px; text-transform: none; letter-spacing: 0.02em; padding: 12px; }
  .site-nav a::after { display: none; }
  .site-nav .head-cta { margin-top: 22px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; }
  .site-nav.open { opacity: 1; pointer-events: auto; }
  .menu-btn { display: block; }
  .head-tools { margin-left: auto; }

  .hero-in { grid-template-columns: 1fr; padding-top: 120px; padding-bottom: 104px; padding-block: 120px 104px; }
  .hero-fig { justify-self: start; width: min(340px, 82%); margin-top: 8px; }

  .smart-grid, .mod-grid, .her-grid, .contact-grid, .fin-head { grid-template-columns: 1fr; }
  .mat-families { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; margin-inline: auto; }
  .smart-visual { max-width: 560px; }
  .ui-1 { left: -6px; }
  .ui-2 { right: -6px; }
  .her-media { max-width: 420px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(180px, 30vw, 260px); }
  .tile.w3 { grid-column: span 2; }
  .her-strip { gap: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .cards { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: repeat(2, 1fr); }
  .swatch.hero-swatch { grid-column: span 2; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:nth-child(2) { border-right: 0; }
  .specs div { border-top: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .mosaic { grid-template-columns: 1fr; }
  .tile.w2, .tile.w3 { grid-column: span 1; }
  .her-strip { grid-template-columns: 1fr; }
  .tile.h2 { grid-row: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .eco li { grid-template-columns: 44px 1fr; }
  .eco span { display: none; }
  .ui-card { min-width: 150px; padding: 14px 16px; }
  .ui-card strong { font-size: 19px; }
}

/* ---------- ambient motion layer ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 1002;
  background: linear-gradient(90deg, var(--brass), var(--brass-hi));
  pointer-events: none;
}

.hero-dust {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-in { position: relative; z-index: 2; }

/* slow serif marquee between hero and content */
.marquee {
  overflow: hidden;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 48s linear infinite;
}
.marquee-group {
  display: flex;
  align-items: baseline;
  gap: 58px;
  padding-right: 58px;
  white-space: nowrap;
}
.marquee-group span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(22, 20, 15, 0.35);
}
.marquee-group em {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(30px, 4vw, 52px);
  color: var(--brass);
}
@keyframes marqueeMove { to { transform: translateX(-50%); } }

/* dark-mode patches for hardcoded light-page strokes */
html[data-theme="dark"] .marquee-group span { -webkit-text-stroke-color: rgba(236, 233, 225, 0.3); }
html[data-theme="dark"] .big-year { -webkit-text-stroke-color: rgba(191, 162, 110, 0.32); }
html[data-theme="dark"] .frame-diagram g[stroke="#35312a"] { stroke: rgba(236, 233, 225, 0.5); }

/* periodic light sweep across framed photos */
.plate.sweep::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 248, 235, 0.22) 50%, transparent 58%);
  background-size: 260% 100%;
  background-position: 130% 0;
  animation: plateSweep 9s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes plateSweep {
  0%, 62% { background-position: 130% 0; }
  100% { background-position: -130% 0; }
}

/* featured dark finish gets an automatic sheen */
.swatch.hero-swatch::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 45%;
  left: -70%;
  z-index: 1;
  background: linear-gradient(105deg, transparent, rgba(255, 250, 240, 0.28), transparent);
  transform: skewX(-18deg);
  animation: chipSheen 8.5s ease-in-out 1.5s infinite;
  pointer-events: none;
}
@keyframes chipSheen {
  0%, 68% { left: -70%; }
  100% { left: 140%; }
}

/* slow ken-burns drift on selected gallery tiles */
.tile img.pan {
  animation: tilePan 17s ease-in-out var(--pd, 0s) infinite alternate;
  animation-play-state: paused;
}
.tile.in img.pan { animation-play-state: running; }
@keyframes tilePan {
  from { transform: scale(1.03) translate(0, 0); }
  to { transform: scale(1.09) translate(-2.2%, -1.4%); }
}

/* shimmering brass on the hero headline accent */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background: linear-gradient(100deg, #d9c294 25%, #f1e6c9 40%, #c0a06a 55%, #d9c294 72%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: emShimmer 12s ease-in-out 3s infinite;
  }
  @keyframes emShimmer {
    0%, 45% { background-position: 110% 0; }
    100% { background-position: -130% 0; }
  }
}

/* finishes fly-out: chips scatter from the Dark swatch into the grid */
html.js .fin-grid[data-fly] .swatch {
  opacity: 0;
  transform: translate(var(--fx, 0px), var(--fy, 0px)) scale(0.5) rotate(var(--fr, 0deg));
  will-change: transform, opacity;
}
html.js .fin-grid[data-fly] .swatch.hero-swatch {
  transform: scale(0.9);
}
html.js .fin-grid[data-fly].fly-in .swatch {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0deg);
  transition:
    transform 1.15s cubic-bezier(0.16, 0.8, 0.24, 1),
    opacity 0.55s ease;
  transition-delay: var(--fd, 0s);
}

/* live smart-home values */
.ui-card strong em { font-style: normal; font-variant-numeric: tabular-nums; }
.ui-bar i { transition: width 0.9s var(--ease); }
.ui-dots i.on { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse { 50% { opacity: 0.35; } }

/* ---------- nav scrollspy ---------- */

.site-nav a.active { color: var(--ink); }
.site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav .head-cta.active { background: var(--brass); color: var(--bg-0); border-color: var(--brass); }

/* ---------- footer socials ---------- */

.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  transition: color 0.35s, border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
}
.socials a:hover {
  color: #0e0d0a;
  background: var(--brass);
  border-color: var(--brass);
  transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; display: block; }

.foot-legal a { color: var(--faint); transition: color 0.35s; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.foot-legal a:hover { color: var(--ink); }

.form-note a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- testimonials & certifications ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding: 30px 30px 28px;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.quote:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 36px 64px -38px rgba(40, 35, 24, 0.4);
}
.quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 64px;
  line-height: 0.6;
  color: var(--brass);
  opacity: 0.55;
}
.quote blockquote {
  margin-top: 20px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--ink);
}
.quote figcaption { margin-top: auto; padding-top: 26px; }
.quote figcaption::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 14px;
}
.quote figcaption b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; }
.quote figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.certs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
}
.certs li { display: flex; align-items: center; gap: 18px; }
.certs b {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  color: var(--brass-hi);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}
.certs strong { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; }
.certs span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--faint);
}

/* ---------- gallery lightbox ---------- */

.mosaic .tile,
.her-media .plate,
.her-strip figure { cursor: zoom-in; }
.her-strip figure { transition: border-color 0.4s; }
.her-strip figure:hover { border-color: var(--line); }

.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 5vw, 64px);
  background: rgba(12, 11, 9, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }

.lightbox figure {
  max-width: min(1100px, 100%);
  text-align: center;
  transform: scale(0.965);
  transition: transform 0.45s var(--ease);
}
.lightbox.open figure { transform: none; }
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  margin-left: auto; margin-right: auto; margin-inline: auto;
  border: 1px solid rgba(191, 162, 110, 0.32);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}
.lightbox figcaption {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #d2b787;
}

.lb-btn {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 14, 0.6);
  border: 1px solid rgba(191, 162, 110, 0.35);
  color: #d9c294;
  font-size: 17px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.lb-btn:hover { background: var(--brass); color: #0e0d0a; border-color: var(--brass); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: #8b8375;
  font-variant-numeric: tabular-nums;
}

/* ---------- product detail modal ---------- */

[data-product] { cursor: pointer; }

.pmodal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3.5vw, 52px);
  background: rgba(12, 11, 9, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.pmodal.open { opacity: 1; visibility: visible; pointer-events: auto; }

.pmodal .pm-close { top: 20px; right: 20px; }

.pmodal-panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: 0 90px 150px -50px rgba(0, 0, 0, 0.85);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease);
}
.pmodal.open .pmodal-panel { transform: none; }

.pm-media {
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3vw, 38px);
  background: #eae8e1;
  border-right: 1px solid var(--line-soft);
  min-height: 100%;
}
.pm-fig {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.pm-fig img {
  max-width: 100%;
  max-height: min(50vh, 440px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.pm-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-thumbs button {
  width: 62px;
  height: 62px;
  padding: 4px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.pm-thumbs button:hover { transform: translateY(-2px); }
.pm-thumbs button.active { border-color: var(--brass); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* segment variant: full-bleed editorial image, wider panel */
.pmodal.seg .pmodal-panel {
  width: min(1180px, 100%);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.pmodal.seg .pm-media {
  padding: 0;
  background: #0e0d0a;
}
.pmodal.seg .pm-fig {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
}
.pmodal.seg .pm-fig::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(14, 13, 10, 0.55) 96%);
  pointer-events: none;
}
.pmodal.seg .pm-fig img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.pmodal.seg .pm-thumbs {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
}
.pmodal.seg .pm-thumbs button {
  background: rgba(14, 13, 10, 0.55);
  border-color: rgba(237, 234, 226, 0.28);
}
.pmodal.seg .pm-thumbs button.active { border-color: #bfa26e; }

.pm-body { padding: clamp(28px, 3.6vw, 46px); }
.pm-body h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(27px, 3vw, 37px);
  line-height: 1.1;
}
.pm-desc p { margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 58ch; }

.pm-feats { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.pm-feats li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
.pm-feats li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}

.pm-rows { margin-top: 26px; border-top: 1px solid var(--line-soft); }
.pm-rows div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pm-rows div:last-child { border-bottom: 0; }
.pm-rows small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.pm-rows span { font-size: 13.5px; color: var(--muted); }

.pm-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 clamp(24px, 3vw, 44px);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.pm-meta b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pm-meta span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

.pm-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.pm-dismiss {
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.35s, border-color 0.35s;
}
.pm-dismiss:hover { color: var(--ink); border-color: var(--brass); }

@media (max-width: 900px) {
  .pmodal { padding: 12px; }
  .pmodal-panel { grid-template-columns: 1fr; max-height: 92vh; }
  .pm-media {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .pm-fig img { max-height: 34vh; }
  .pmodal .pm-close { top: 20px; right: 20px; }
  .pmodal.seg .pm-media { height: 46vh; min-height: 320px; }
  .pmodal.seg .pm-fig img { max-height: none; }
}

/* ---------- solutions: two focus segments ---------- */

.sec-solutions { background: linear-gradient(var(--bg-0), var(--bg-1) 45%, var(--bg-0)); }

.sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.sol-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(500px, 46vw, 660px);
  border: 1px solid var(--line-soft);
  isolation: isolate;
  transition: border-color 0.5s;
}
.sol-panel > img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.94);
  transition: transform 1.4s var(--ease), filter 1.2s var(--ease);
}
.sol-panel:hover > img { transform: scale(1.05); filter: brightness(0.8) saturate(1); }
.sol-panel::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(186deg, rgba(14, 13, 10, 0.08) 28%, rgba(14, 13, 10, 0.88) 84%);
}
.sol-panel:hover { border-color: var(--line); }

.sol-body {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 3.4vw, 48px);
  max-width: 580px;
}
.sol-body h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: #f2f0ea;
}
.sol-desc {
  margin-top: 12px;
  color: #c9c4b7;
  font-size: 14.5px;
  max-width: 52ch;
}
.sol-points { list-style: none; margin-top: 20px; display: grid; gap: 9px; }
.sol-points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(237, 234, 226, 0.85);
}
.sol-points li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
}
.sol-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 28px;
}
.sol-ctas .btn { margin-top: 0; }
.sol-link {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 0;
  font-family: var(--sans);
  cursor: pointer;
}
.sol-link:hover::after { transform: translateX(7px); }

@media (max-width: 900px) {
  .sol-grid { grid-template-columns: 1fr; }
  .sol-panel { min-height: 460px; }
}

/* ---------- product highlight effects ---------- */

/* breathing brass aura behind the hero product */
.hero-fig { position: relative; }
.hero-fig::before {
  content: "";
  position: absolute;
  top: -16%; right: -20%; bottom: -16%; left: -20%; inset: -16% -20%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(214, 160, 88, 0.3), transparent 70%);
  filter: blur(12px);
  animation: auraPulse 7s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes auraPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* showroom light: a sheen sweeps each product card in sequence */
.card-media::before {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 38%;
  left: -60%;
  z-index: 2;
  background: linear-gradient(105deg, transparent, rgba(255, 250, 240, 0.22), transparent);
  transform: skewX(-16deg);
  animation: cardSheen 18s ease-in-out var(--shd, 0s) infinite;
  pointer-events: none;
}
@keyframes cardSheen {
  0%, 78% { left: -60%; }
  92%, 100% { left: 140%; }
}

/* cursor-follow spotlight on product cards (desktop) */
@media (pointer: fine) {
  .card::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0; inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 50%), rgba(217, 194, 148, 0.2), transparent 65%);
    transition: opacity 0.5s var(--ease);
  }
  .card:hover::before { opacity: 1; }
}

/* the Signature badge glows softly */
.badge { animation: badgePulse 4.5s ease-in-out infinite; }
@keyframes badgePulse {
  50% {
    box-shadow: 0 0 22px rgba(191, 162, 110, 0.55);
    border-color: rgba(217, 194, 148, 0.75);
  }
}

/* crossfade when switching images inside the product modal */
.pm-fig img.swap { animation: pmSwap 0.4s var(--ease); }
@keyframes pmSwap {
  from { opacity: 0; transform: scale(0.97); }
}

/* magnetic buttons get their own smoothing (JS drives transform) */
@media (pointer: fine) {
  .btn { transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.25s ease-out, box-shadow 0.45s var(--ease); }
}

/* ---------- category (deep-dive) pages ---------- */
.site-nav a.page-active { color: var(--ink); }
.site-nav a.page-active::after { transform: scaleX(1); transform-origin: left; }

.cat-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 76vh;
  min-height: 76svh;
  overflow: hidden;
  isolation: isolate;
}
.cat-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -2; }
.cat-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 30s ease-in-out 0.4s infinite alternate;
  filter: brightness(0.82);
}
.cat-hero-shade {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 70% 20%, rgba(196, 158, 92, 0.14), transparent 70%),
    linear-gradient(6deg, rgba(14, 13, 10, 0.92) 6%, rgba(14, 13, 10, 0.5) 46%, rgba(14, 13, 10, 0.4) 100%);
}
.cat-hero-in { padding-top: clamp(120px, 16vw, 190px); padding-bottom: clamp(56px, 7vw, 90px); padding-block: clamp(120px, 16vw, 190px) clamp(56px, 7vw, 90px); max-width: 900px; }
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}
.crumb a { color: var(--brass); transition: color 0.3s; }
.crumb a:hover { color: var(--ink); }
.crumb span::before { content: "/"; margin-right: 10px; color: var(--line); }
.cat-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.cat-hero h1 em { font-style: italic; color: var(--brass-hi); }
.cat-hero-sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--muted);
  text-wrap: pretty;
}
.cat-hero .hero-ctas { margin-top: 38px; opacity: 1; animation: none; }

/* intro band under a category hero */
.cat-intro { padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(80px, 10vw, 130px); padding-block: clamp(80px, 10vw, 130px); }
.cat-intro .wrap { max-width: 820px; }
.cat-lead-lg {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.cat-lead-lg em { font-style: italic; color: var(--brass-hi); }
.cat-intro p.para { margin-top: 22px; color: var(--muted); font-size: 16px; max-width: 62ch; }

/* closing consultation band */
.cat-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(90px, 11vw, 150px); padding-block: clamp(90px, 11vw, 150px);
  text-align: center;
}
.cat-cta-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -2; }
.cat-cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.85); }
.cat-cta-shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: -1;
  background: linear-gradient(rgba(14,13,10,0.82), rgba(14,13,10,0.9));
}
.cat-cta .wrap { max-width: 720px; }
.cat-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; color: var(--ink); }
.cat-cta h2 em { font-style: italic; color: var(--brass-hi); }
.cat-cta p { margin-top: 18px; color: var(--muted); font-size: 16px; }
.cat-cta .hero-ctas { justify-content: center; margin-top: 36px; opacity: 1; animation: none; display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 620px) {
  .cat-hero { min-height: 68svh; }
}

/* ---------- floating quick contact (Gọi + Zalo) ---------- */
.contact-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cfab {
  position: relative;
  display: flex;
  align-items: center;
  height: 54px;
  width: 54px;
  border-radius: 999px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
  transition: width 0.45s var(--ease), box-shadow 0.4s var(--ease);
}
.cfab-ico {
  flex: none;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.cfab-ico svg { width: 24px; height: 24px; fill: currentColor; }
.cfab-label {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  padding-right: 20px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cfab-phone { background: linear-gradient(135deg, #6f5834, #8f7248); }
.cfab-zalo { background: #0068ff; }
.cfab-phone::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(143, 114, 72, 0.55);
  animation: fabPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse { to { box-shadow: 0 0 0 15px rgba(143, 114, 72, 0); } }
@media (hover: hover) {
  .cfab:hover { width: auto; box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.6); }
  .cfab:hover .cfab-label { opacity: 1; }
}
@media (max-width: 620px) {
  .contact-fab { right: 14px; bottom: 14px; gap: 10px; }
  .cfab, .cfab-ico { height: 50px; width: 50px; }
}

/* ---------- subpages (privacy / 404) ---------- */

.site-head.solid { animation: none; transform: none; }
.subpage .site-nav { gap: 28px; }

.legal-main { padding: 158px 0 100px; }
.legal-main .wrap { max-width: 860px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 34px;
}
.back-link::before { content: "←"; transition: transform 0.4s var(--ease); }
.back-link:hover::before { transform: translateX(-6px); }
.legal-doc h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
}
.legal-updated {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.legal-doc h2 {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
}
.legal-doc p { margin-top: 16px; color: var(--muted); max-width: 72ch; }
.legal-doc ul { margin: 14px 0 0 20px; color: var(--muted); }
.legal-doc li { margin-top: 8px; max-width: 68ch; }
.legal-doc a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; }

.subfoot { border-top: 1px solid var(--line-soft); padding: 26px 0; }
.subfoot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.subfoot a { color: var(--faint); text-decoration: underline; text-underline-offset: 3px; }
.subfoot a:hover { color: var(--ink); }

.err-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 90px;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}
.err-code {
  font-family: var(--serif);
  font-size: clamp(130px, 24vw, 300px);
  font-weight: 400;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(191, 162, 110, 0.55);
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.err-main h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
}
.err-main h1 em { font-style: italic; color: var(--brass-hi); }
.err-main p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.err-ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-btn { width: 44px; height: 44px; }
  .subpage .site-nav { display: none; }
}

@media (max-width: 620px) {
  .certs { grid-template-columns: 1fr; }
  .legal-main { padding: 130px 0 70px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js [data-rv] { opacity: 1; transform: none; }
  .hero h1 .h-line > span { transform: none; }
  .hero-kicker, .hero-text, .hero-ctas, .hero-fig { opacity: 1; }
  .site-head { transform: none; }
}
