/* ============================================================
   Pack-Tubes — Visual Enhancement Layer
   Animations: scroll progress, hero intro, ken burns, marquee,
   reveal staggers, counters, tilt, parallax, shine, back-to-top
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 0;
  background: linear-gradient(90deg, #C9B89E, #B3A184);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(8px);
  color: var(--accent-dark);
  font-size: 18px;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, color 0.3s ease;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: var(--accent); color: #fff; }

/* ---------- Hero entrance choreography ---------- */
@keyframes ptFadeUp {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
.hero .eyebrow,
.hero h1,
.hero__sub,
.hero__actions,
.hero .breadcrumb {
  animation: ptFadeUp 1s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.hero .eyebrow { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.3s; }
.hero__sub { animation-delay: 0.5s; }
.hero__actions { animation-delay: 0.68s; }
.hero .breadcrumb { animation-delay: 0.1s; }

/* Ken Burns slow drift on hero background */
@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}
.hero__bg { animation: kenburns 14s ease-out forwards; }

/* Scroll-down indicator */
@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 1; }
}
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  animation: ptFadeUp 1s 1s both;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ---------- Logo marquee (seamless) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 8px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee__item {
  display: flex; align-items: center; justify-content: center;
  min-width: 190px; height: 92px;
  padding: 0 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.12em;
  color: #B9B4AC;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.marquee__item:hover { color: var(--ink); border-color: var(--accent); }

/* ---------- Button shine sweep ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* ---------- Nav link animated underline ---------- */
.header .nav a:not(.nav-cta) { position: relative; border-bottom: 0; }
.header .nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.header .nav a:not(.nav-cta):hover::after,
.header .nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Staggered reveals (100% fail-safe: content is NEVER hidden.
   Animation only plays as an entrance effect once visible class lands) ---------- */
.js .stagger.visible > * {
  animation: ptFadeUp 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) both;
  animation-delay: var(--d, 0s);
}

/* ---------- Image mask reveal (fail-safe) ---------- */
.js .img-reveal.visible { animation: ptClip 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
@keyframes ptClip {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0% 0); }
}

/* ---------- 3D tilt cards ---------- */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease-out, box-shadow 0.35s ease;
}
.tilt.tilting { transition: transform 0.08s linear; }

/* ---------- Parallax band ---------- */
.parallax-band {
  position: relative;
  height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.parallax-band__bg {
  position: absolute;
  inset: -18% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax-band__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,35,34,0.55), rgba(35,35,34,0.72));
}
.parallax-band__content {
  position: relative;
  color: #fff;
  max-width: 760px;
  padding: 0 28px;
}
.parallax-band__content h2 {
  color: #fff;
  font-size: 32px;
  margin: 14px 0 18px;
}
.parallax-band__content p { color: #D8D3CB; font-size: 16.5px; margin-bottom: 32px; }
.parallax-band__content .eyebrow { color: var(--accent); }

/* ---------- Decorative watermark ---------- */
.watermark-wrap { position: relative; overflow: hidden; }
.watermark {
  position: absolute;
  top: 6%; right: -2%;
  font-family: var(--font-head);
  font-size: clamp(90px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 184, 158, 0.22);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

/* ---------- Counters ---------- */
.stat b { display: block; }

/* ---------- Craft gallery ---------- */
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.craft-item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); }
.craft-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 0.9s ease; }
.craft-item:hover img { transform: scale(1.07); }
.craft-item__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 24px 20px;
  background: linear-gradient(180deg, transparent, rgba(35,35,34,0.72));
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.craft-item:hover .craft-item__label { opacity: 1; transform: none; }

/* ---------- Split-line section title accent ---------- */
.section-head .section-title { position: relative; }
.rule-line {
  width: 56px; height: 1px;
  background: var(--accent);
  margin-top: 22px;
  transform-origin: left;
}
.js .rule-line.visible { animation: ptRule 0.9s 0.2s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
@keyframes ptRule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.section-head--center .rule-line { margin-left: auto; margin-right: auto; transform-origin: center; }

/* ---------- FAQ item hover nudge ---------- */
.faq-q { transition: padding-left 0.3s ease; }
.faq-item:hover .faq-q { padding-left: 14px; }

/* ---------- Case detail entrance ---------- */
.case-detail.active { animation: ptFadeUp 0.7s cubic-bezier(0.22, 0.8, 0.3, 1); }

/* ---------- Form focus glow ---------- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(201, 184, 158, 0.18);
}

/* ---------- Footer link slide ---------- */
.footer-links a { position: relative; transition: padding-left 0.3s ease, color 0.3s ease; }
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.footer-links a:hover { padding-left: 16px; color: var(--accent); }
.footer-links a:hover::before { width: 10px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .parallax-band { height: 360px; }
  .parallax-band__content h2 { font-size: 25px; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-item img { aspect-ratio: 16/10; }
  .scroll-hint { display: none; }
  .back-top { right: 18px; bottom: 18px; }
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 7px 16px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.lang-toggle:hover { background: var(--accent); color: #fff; }
.nav .lang-toggle { border-bottom: 0; padding: 7px 16px; }
@media (max-width: 820px) {
  .nav .lang-toggle { margin: 14px 0 0; align-self: flex-start; }
}

/* ============================================================
   V5 — Spec-driven motion & interaction layer
   ============================================================ */

/* 0. Subtle matte grain texture over the whole page (2.5% opacity) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 3. Navbar: translucent at top → solid cream + soft shadow on scroll */
.header {
  background: rgba(250, 248, 245, 0.55);
  border-bottom-color: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.header.scrolled {
  background: rgba(250, 248, 245, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(42, 42, 42, 0.07);
}

/* 2. Hero depth: blurred backdrop + sharp floating product */
.hero__bg { filter: blur(2.5px) brightness(1.03); }
.hero-float {
  position: absolute;
  right: 7%;
  bottom: 12%;
  width: min(300px, 26vw);
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 34px 70px rgba(42, 42, 42, 0.20);
  z-index: 2;
  animation: heroFloat 7s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
@media (max-width: 1024px) { .hero-float { display: none; } }

/* 4. Card hover — spec: translateY(-4px), soft shadow, img scale(1.03), .3s ease-out */
.card { transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(42, 42, 42, 0.09); }
.product-card__media img { transition: transform 0.3s ease-out; }
.product-card:hover .product-card__media img { transform: scale(1.03); }

/* 5. CTA hover — champagne gradient fill / darker solid + soft glow */
.btn--ghost:hover {
  background: linear-gradient(120deg, #D8C9B0 0%, #C9B89E 100%);
  border-color: #C9B89E;
  color: #fff;
  box-shadow: 0 6px 22px rgba(201, 184, 158, 0.35);
}
.btn--primary:hover {
  background: #3B3A38;
  border-color: #3B3A38;
  box-shadow: 0 6px 22px rgba(201, 184, 158, 0.28);
}

/* 6. Filter result fade-in */
.filter-in { animation: ptFadeUp 0.45s ease-out both; animation-delay: var(--fd, 0s); }

/* 7. Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(30, 30, 29, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  cursor: zoom-out;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.35s ease;
}
.lightbox.open img { transform: scale(1); }
.detail-gallery img { cursor: zoom-in; }

/* 8. Process connecting line draw-on-scroll */
.process-track { position: relative; height: 1px; background: var(--border); margin-bottom: 44px; }
.process-track span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #C9B89E, #B3A184);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.process-track.visible span { transform: scaleX(1); }

/* 10. Form focus: champagne underline stretch */
.form-group { position: relative; }
.input-line {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: linear-gradient(90deg, #C9B89E, #B3A184);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.3, 1);
  pointer-events: none;
}
.form-group:focus-within .input-line { transform: scaleX(1); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--border); box-shadow: none; }

/* ============================================================
   V6 — UI polish: buttons, topbar, footer subscribe, quotes
   ============================================================ */

/* Chinese font fallback for headings */
:root { }

.btn {
  border-radius: 999px;
  padding: 15px 32px;
  gap: 10px;
}
.btn--sm { padding: 10px 24px; }
/* move shine to ::before, add arrow to ::after */
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn::after {
  content: "→";
  position: static;
  width: auto; height: auto;
  left: auto; top: auto;
  background: none;
  transform: none;
  transition: transform 0.3s ease;
}
.btn:hover::after { transform: translateX(4px); }

/* Announcement topbar */
.topbar {
  background: #232322;
  color: rgba(201, 184, 158, 0.92);
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar span::before { content: "✦"; font-size: 8px; color: rgba(201, 184, 158, 0.5); }
@media (max-width: 720px) {
  .topbar .container span:nth-child(3) { display: none; }
  .topbar .container { justify-content: center; }
}

/* Footer subscribe strip */
.footer-news {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 56px;
}
.footer-news h4 { margin-bottom: 8px; }
.footer-news p { font-size: 14px; color: #9B968E; max-width: 460px; }
.news-form { display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap; }
.news-form input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 12px 20px;
  color: #F4F1EC;
  font-family: var(--font-body);
  font-size: 14px;
  min-width: 260px;
  transition: border-color 0.3s ease;
}
.news-form input::placeholder { color: #7B776F; }
.news-form input:focus { outline: none; border-color: var(--accent); }

/* Testimonial quote */
.quote-wrap { max-width: 820px; margin: 0 auto; text-align: center; padding-top: 26px; }
.quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px;
  line-height: 0.55;
  color: var(--accent);
  opacity: 0.55;
}
.quote-wrap blockquote {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  margin: 20px 0 26px;
}
.quote-by {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

/* Product card index numbers (CSS counters) */
.grid-4:has(.product-card), .grid-2:has(.product-card) { counter-reset: pcc; }
.product-card { counter-increment: pcc; }
.product-card__body::before {
  content: "0" counter(pcc);
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

/* ============================================================
   V7 — Sub-hero enrichment (per-page visual + outline word)
   ============================================================ */
.hero--sub { position: relative; overflow: hidden; }
.hero--sub .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}
.hero--sub .hero__content { max-width: none; }

.subhero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 240px;
}
.subhero-word {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(58px, 7.5vw, 104px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(201, 184, 158, 0.4);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.subhero-visual img {
  position: relative;
  width: min(250px, 62%);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(42, 42, 42, 0.15);
  transform: rotate(2.5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.subhero-visual img:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 36px 70px rgba(42, 42, 42, 0.19); }
/* offset gold echo frame */
.subhero-visual::after {
  content: "";
  position: absolute;
  top: 50%; right: calc(12% - 14px);
  transform: translateY(calc(-50% + 14px));
  width: min(250px, 62%);
  aspect-ratio: 4 / 4.4;
  border: 1px solid var(--accent);
  border-radius: 14px;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .subhero-word { font-size: clamp(48px, 9vw, 80px); }
}
@media (max-width: 820px) {
  .hero--sub .container { grid-template-columns: 1fr; gap: 12px; }
  .subhero-visual { display: none; }
  .hero--sub .hero__content { padding: 70px 0 60px; }
}

/* ============================================================
   V8 — Depth layer: orbs, curves, word-reveal, big marquee
   ============================================================ */

/* page enter fade */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn 0.7s ease both; }

/* luxury scrollbar + selection */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #CFC5B4; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }
::selection { background: rgba(201, 184, 158, 0.4); color: #232322; }

/* soft rounded section transitions (no hard edges) */
.dark-section, .cta-band, .stats-band { border-radius: 36px 36px 0 0; }

/* drifting ambient orbs (injected via JS) */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.orb--gold { background: radial-gradient(circle, rgba(201,184,158,0.5), transparent 70%); opacity: 0.55; }
.orb--cream { background: radial-gradient(circle, rgba(255,255,255,0.8), transparent 70%); opacity: 0.5; }
.orb--dark-gold { background: radial-gradient(circle, rgba(201,184,158,0.16), transparent 70%); opacity: 1; }
@keyframes orbDrift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } }
@keyframes orbDrift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,25px) scale(0.94); } }
.orb--a { animation: orbDrift1 22s ease-in-out infinite; }
.orb--b { animation: orbDrift2 27s ease-in-out infinite; }
.hero .orb { z-index: 0; }
.hero .container { position: relative; z-index: 2; }
.dark-section .orb, .cta-band .orb { z-index: 0; }
.dark-section .container, .cta-band .container { position: relative; z-index: 1; }

/* hero headline gradient shimmer */
.hero h1 em {
  background: linear-gradient(90deg, #B3A184 0%, #E2D5BC 30%, #C9B89E 55%, #B3A184 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

/* section title word-by-word reveal (fail-safe: visible by default) */
.js .section-title .w { display: inline-block; will-change: transform; }
.js .section-title.visible .w { animation: wordUp 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both; animation-delay: var(--wd, 0s); }
@keyframes wordUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* giant outline text marquee */
.bigmarquee { overflow: hidden; padding: 26px 0 10px; position: relative; }
.bigmarquee .marquee__track { animation-duration: 46s; }
.bigmarquee:hover .marquee__track { animation-play-state: paused; }
.bigmarquee span {
  display: inline-block;
  padding: 0 34px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(46px, 6.5vw, 92px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(201, 184, 158, 0.5);
  transition: color 0.5s ease;
  cursor: default;
}
.bigmarquee span:hover { color: rgba(201, 184, 158, 0.85); }
.bigmarquee span i { font-style: normal; -webkit-text-fill-color: transparent; }

/* magnetic buttons keep their hover lift whileJS moves them */
.btn { will-change: transform; }

/* big marquee: small gold star separators */
.bigmarquee span:nth-child(even) {
  font-size: 0.32em;
  color: var(--accent);
  -webkit-text-stroke: 0;
  opacity: 0.75;
  align-self: center;
}

/* ============================================================
   V9 — Fine polish: rhythm, typography, buttons, details
   ============================================================ */

/* ---- Buttons: tighter, more precise ---- */
.btn { padding: 14px 30px; font-size: 12.5px; letter-spacing: 0.1em; }
.btn--sm { padding: 9px 20px; font-size: 11.5px; }
.btn::after { margin-left: 2px; opacity: 0.85; }
.btn:focus-visible, .lang-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.lang-toggle { font-size: 11px; padding: 7px 14px; }

/* ---- Header rhythm ---- */
.header-inner { height: 74px; }
.nav { gap: 30px; }
.nav a { font-size: 12px; }
@media (max-width: 820px) { .nav { top: 74px; } }
.topbar { font-size: 10px; letter-spacing: 0.16em; }
.topbar .container { padding-top: 8px; padding-bottom: 8px; }

/* ---- Section rhythm ---- */
.section-head { margin-bottom: 48px; }
.ed-head { gap: 30px; margin-bottom: 52px; }
.ed-head .section-title { margin-bottom: 8px; }

/* ---- Hero rhythm ---- */
.hero__content { padding: 110px 0; }
.hero h1 { margin: 18px 0 22px; }
.hero__sub { font-size: 17px; margin-bottom: 36px; }
.hero-badges { margin-top: 40px; gap: 10px; }
.hero-badges span { padding: 8px 16px; font-size: 10.5px; }

/* ---- Cards: unified padding & scale ---- */
.value-card { padding: 28px 30px; }
.process-step { padding: 32px 30px; }
.sustain-card { padding: 32px 30px; }
.moq-card { padding: 40px 38px; }
.moq-card .moq-num { font-size: 36px; }
.product-card__body { padding: 26px 26px 30px; }
.product-card__body h3 { font-size: 16.5px; line-height: 1.4; }
.product-card__body p { font-size: 13.5px; line-height: 1.65; }
.product-card__link { font-size: 11.5px; }
.tag { font-size: 10.5px; padding: 4px 11px; }
.case-card__body { padding: 26px 28px 32px; }

/* ---- Big marquee scale ---- */
.bigmarquee { padding: 22px 0 6px; }
.bigmarquee span { font-size: clamp(42px, 6vw, 84px); }

/* ---- Spec table ---- */
.spec-table th, .spec-table td { padding: 16px 24px; font-size: 14px; }
.spec-table th { width: 30%; }

/* ---- FAQ ---- */
.faq-q { padding: 22px 8px; font-size: 15.5px; }
.faq-a p { padding: 0 8px 24px; font-size: 14.5px; }

/* ---- Contact card icons: real badges instead of bare glyphs ---- */
.contact-info-card ul li { align-items: flex-start; }
.contact-info-card ul li span {
  flex: 0 0 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent-dark);
  font-size: 13px;
  margin-top: 2px;
}
.contact-info-card ul li b { margin-top: 0; }
.contact-form { padding: 40px 38px; }

/* ---- Stats ---- */
.stats-band .inner { padding: 52px 0; }
.stats-band b { letter-spacing: -0.01em; }

/* ---- Footer ---- */
.footer-grid { gap: 48px; padding-bottom: 56px; }
.footer-links a, .footer-contact li { font-size: 13.5px; }
.footer-links li { margin-bottom: 11px; }
.footer h4 { font-size: 11.5px; margin-bottom: 18px; }
.footer-about p { font-size: 13.5px; }
.footer-bottom { font-size: 12.5px; padding: 22px 0; }
.footer-news { padding: 48px 0 44px; margin-bottom: 52px; }

/* ---- Quote ---- */
.quote-mark { font-size: 96px; }
.quote-wrap blockquote { margin: 16px 0 24px; }

/* ---- CJK typography: tighter tracking when Chinese is active ---- */
html[lang="zh-CN"] .btn,
html[lang="zh-CN"] .topbar span,
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .kicker,
html[lang="zh-CN"] .tag,
html[lang="zh-CN"] .filter-group__label,
html[lang="zh-CN"] .hero-badges span,
html[lang="zh-CN"] .ticker__item,
html[lang="zh-CN"] .process-step__num,
html[lang="zh-CN"] .quote-by,
html[lang="zh-CN"] .craft-item__label,
html[lang="zh-CN"] .spec-table th,
html[lang="zh-CN"] .footer h4,
html[lang="zh-CN"] .stat span,
html[lang="zh-CN"] .stats-band span.lbl,
html[lang="zh-CN"] .breadcrumb,
html[lang="zh-CN"] .quote-by {
  letter-spacing: 0.06em;
}
html[lang="zh-CN"] .hero__sub,
html[lang="zh-CN"] .section-sub,
html[lang="zh-CN"] .value-card p,
html[lang="zh-CN"] .faq-a p {
  line-height: 1.9;
}

/* ============================================================
   V9b — Button wrap fix (arrow dropped to 2nd line)
   ============================================================ */
.btn { white-space: nowrap; }
.nav .nav-cta { flex-shrink: 0; }
@media (max-width: 820px) {
  .nav .nav-cta {
    width: auto;
    align-self: flex-start;
    padding: 10px 26px;
    border-bottom: 0;
    margin-top: 6px;
  }
  .nav .lang-toggle { margin-top: 6px; }
}

/* ============================================================
   V9c — hard guarantee: a button can NEVER clip its content
   ============================================================ */
.btn {
  min-width: max-content;
  overflow: visible;
}
.btn::before {
  /* shine stays decorative without requiring overflow clipping */
  display: none;
}
.btn:hover::before { display: block; }
@media (hover: none) {
  .btn::before { display: none; }
}
.btn--block { width: 100%; }

/* V9c correction: shine needs clipping, but min-width already guarantees
   the content always fits — so clipping can never touch the text/arrow */
.btn { overflow: hidden; }
.btn::before { display: block; }

/* ============================================================
   V9d — Button padding balance: symmetric, optically centred
   (the trailing arrow was eating the right padding and getting
    clipped in constrained containers — removed entirely)
   ============================================================ */
.btn,
.btn::after,
.btn::before { min-width: 0; }
.btn {
  padding: 15px 32px;
  line-height: 1;
  justify-content: center;
  text-align: center;
}
.btn::after { content: none; }
.btn--sm { padding: 10px 24px; }
.btn--block { width: 100%; }
.btn:hover { transform: translateY(-2px); }

/* ============================================================
   V9e — ROOT CAUSE FIX
   `.nav a { padding: 6px 0 }` had higher specificity than
   `.btn--sm`, zeroing the nav CTA's horizontal padding.
   ============================================================ */
.header .nav a.nav-cta,
.header .nav a.nav-cta:hover {
  padding: 12px 26px;
  border-bottom: 0;
  width: auto;
  flex-shrink: 0;
  font-size: 12px;
}
@media (max-width: 820px) {
  .header .nav a.nav-cta {
    padding: 11px 24px;
    align-self: flex-start;
    margin: 6px 0 0;
  }
}

/* ============================================================
   V10 — Floating contact rail + form feedback styles
   ============================================================ */
.contact-rail {
  position: fixed;
  right: 22px;
  bottom: 86px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 899;
}
.rail-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.rail-btn svg { display: block; }
.rail-btn:hover { background: var(--accent); color: #fff; transform: translateX(-3px); }
.rail-tip {
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #232322;
  color: #F4F1EC;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.rail-btn:hover .rail-tip { opacity: 1; transform: translateY(-50%); }

/* align back-to-top with the rail column */
.back-top { right: 22px; bottom: 24px; width: 46px; height: 46px; }

@media (max-width: 560px) {
  .rail-btn--wechat { display: none; }
  .contact-rail { right: 16px; bottom: 78px; gap: 8px; }
  .rail-btn { width: 42px; height: 42px; }
  .back-top { right: 16px; bottom: 22px; width: 42px; height: 42px; }
}

/* ============================================================
   V10b — Filter bar: sort control, reset, result counter
   ============================================================ */
.filter-group--end { margin-left: auto; align-items: center; }
.chip--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B3A184' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  font-family: var(--font-head);
  cursor: pointer;
}
.chip--select:hover { border-color: var(--accent); }
.chip--select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip--reset { border-style: dashed; }
.chip--reset:hover { border-color: var(--accent-dark); color: var(--ink); }

.filter-count {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
@media (max-width: 820px) {
  .filter-group--end { margin-left: 0; }
  .chip--select { max-width: 200px; }
}

/* Spec sheet download */
.spec-cta { margin-top: 26px; }

/* ============================================================
   V10c — Quick quote modal
   ============================================================ */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(35, 35, 34, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.quote-modal.open { opacity: 1; visibility: visible; }
.quote-card {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 36px 34px 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.quote-modal.open .quote-card { transform: none; }
.quote-card h3 { font-size: 21px; margin-bottom: 6px; }
.quote-card .sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 22px; }
.quote-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.quote-close:hover { border-color: var(--accent); color: var(--ink); }
.quote-card .form-group { margin-bottom: 16px; }
.quote-card .form-row { gap: 14px; }

/* quote card positioning + language select */
.quote-card { position: relative; }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 8px 30px 8px 14px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B3A184' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.lang-select:hover { background-color: var(--accent); color: #fff; }
.lang-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav .lang-select { flex-shrink: 0; }
@media (max-width: 820px) {
  .nav .lang-select { margin: 14px 0 0; align-self: flex-start; }
}

/* ============================================================
   V12 — Deep redesign: bento, collage, spotlight, scrollspy,
   process steps, material tabs, finish switcher
   ============================================================ */

/* ---------- 1. Hero collage (layered depth) ---------- */
.hero-card {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 26px 56px rgba(42, 42, 42, 0.18);
  z-index: 2;
  background: #fff;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card--1 { right: 7%; bottom: 15%; width: min(290px, 24vw); aspect-ratio: 1 / 1.1; }
.hero-card--2 { right: 27%; bottom: 40%; width: min(150px, 13vw); aspect-ratio: 1 / 1; animation: floatSoft 9s ease-in-out infinite alternate; }
.hero-card--3 { right: 4%; bottom: 46%; width: min(126px, 11vw); aspect-ratio: 1 / 1; animation: floatSoft 11s ease-in-out infinite alternate-reverse; }
@keyframes floatSoft { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(250, 248, 245, 0.94);
  border: 1px solid var(--accent);
  box-shadow: 0 14px 30px rgba(42, 42, 42, 0.12);
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dark); }
.hero-chip--a { right: 24%; bottom: 26%; }
.hero-chip--b { right: 5%; bottom: 33%; }
@media (max-width: 1024px) { .hero-card--2, .hero-card--3, .hero-chip { display: none; } }

/* ---------- 2. Bento grid (value section) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}
.bento-tile {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease;
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(42, 42, 42, 0.1); border-color: var(--accent); }
.bento-tile h3 { font-size: 17px; margin-bottom: 8px; }
.bento-tile p { font-size: 13.5px; color: var(--ink-soft); }
.bento-tile__num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
}
.bento-tile__icon { font-size: 20px; color: var(--accent-dark); }
.bento-tile--wide { grid-column: span 2; }
.bento-tile--tall { grid-row: span 2; }
.bento-tile--img { padding: 0; border: 0; }
.bento-tile--img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bento-tile--img:hover img { transform: scale(1.05); }
.bento-tile--img .bento-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 46px 26px 22px;
  background: linear-gradient(180deg, transparent, rgba(35, 35, 34, 0.78));
  color: #fff;
}
.bento-tile--img .bento-cap h3 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.bento-tile--img .bento-cap p { color: #D8D3CB; font-size: 12.5px; }
.bento-tile--dark {
  background: radial-gradient(600px 300px at 90% -20%, rgba(201, 184, 158, 0.14), transparent 60%), #232322;
  border-color: rgba(255, 255, 255, 0.08);
}
.bento-tile--dark h3, .bento-tile--dark .bento-tile__num { color: #F4F1EC; }
.bento-tile--dark .bento-tile__num { color: var(--accent); }
.bento-tile--dark p { color: #A8A39B; }
.bento-tile--gold {
  background: linear-gradient(135deg, #C9B89E, #B3A184);
  border-color: transparent;
}
.bento-tile--gold h3 { color: #232322; }
.bento-tile--gold p { color: rgba(35, 35, 34, 0.75); }
.bento-tile--gold .bento-tile__num { color: rgba(35, 35, 34, 0.6); }
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .bento-tile--wide { grid-column: span 2; }
  .bento-tile--tall { grid-row: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-tile { padding: 26px 24px; }
  .bento-tile--img { min-height: 220px; }
}

/* ---------- 3. Cursor spotlight on dark sections ---------- */
.spotlight { position: relative; }
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(201, 184, 158, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}
.spotlight:hover::after { opacity: 1; }

/* ---------- 4. Scrollspy section nav ---------- */
.spy-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 800;
}
.spy-dot {
  position: relative;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid #C4BBAA;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.spy-dot:hover { border-color: var(--accent-dark); background: var(--accent); }
.spy-dot.active { background: var(--accent-dark); border-color: var(--accent-dark); transform: scale(1.35); }
.spy-dot span {
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #232322; color: #F4F1EC;
  font-family: var(--font-head); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.08em; white-space: nowrap;
  padding: 6px 11px; border-radius: 5px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.spy-dot:hover span { opacity: 1; transform: translateY(-50%); }
@media (max-width: 1400px) { .spy-rail { display: none; } }
/* keep rail clear of the contact column */
body.has-spy .contact-rail { right: 22px; }

/* ---------- 5. Process steps: sequential activation ---------- */
.process-step { position: relative; }
.process-step::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.process-step.lit { border-color: var(--accent); }
.process-step.lit::after { transform: scaleY(1); }
.dark-section .process-step.lit { border-color: rgba(201, 184, 158, 0.55); }
.dark-section .process-step.lit .process-step__num { color: #E2D5BC; }

/* ---------- 6. Material comparison tabs ---------- */
.matcomp { margin-top: 8px; }
.matcomp-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.matcomp-tab {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s ease;
}
.matcomp-tab:hover { border-color: var(--accent); color: var(--ink); }
.matcomp-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.matcomp-panel { display: none; }
.matcomp-panel.active { display: block; animation: ptFadeUp 0.5s ease-out both; }
.matcomp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.matcomp-grid img { width: 100%; border-radius: 14px; border: 1px solid var(--border); aspect-ratio: 4/3; object-fit: cover; }
.matcomp-rows { border-top: 1px solid var(--border); }
.matcomp-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
}
.matcomp-row span:first-child {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 42%;
}
.matcomp-row span:last-child { font-size: 14px; color: var(--ink-soft); }
.matcomp-bar { height: 4px; border-radius: 99px; background: var(--border); overflow: hidden; margin-top: 6px; }
.matcomp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #C9B89E, #B3A184); width: 0; transition: width 1.1s cubic-bezier(0.22, 0.8, 0.3, 1); }
@media (max-width: 820px) { .matcomp-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- 7. Finish switcher (product detail) ---------- */
.finish-switch { margin-top: 16px; }
.finish-switch__label {
  display: block;
  font-family: var(--font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.finish-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.finish-swatch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 9px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.3s ease;
}
.finish-swatch i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(42,42,42,.12); }
.finish-swatch:hover { border-color: var(--accent); color: var(--ink); }
.finish-swatch.active { border-color: var(--accent-dark); color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 184, 158, 0.2); }

/* image crossfade on swap */
.detail-gallery img.swap { animation: imgSwap 0.6s ease-out both; }
@keyframes imgSwap { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* bento full-width tile */
.bento-tile--full { grid-column: span 3; }
@media (max-width: 1024px) { .bento-tile--full { grid-column: span 2; } }
@media (max-width: 640px) { .bento-tile--full { grid-column: span 1; } }

/* ============================================================
   V13 — Mobile fixes: reset all bento spans on small screens
   (span values on a 1-col grid create implicit columns → squeeze)
   ============================================================ */
@media (max-width: 640px) {
  .bento-tile--wide,
  .bento-tile--tall,
  .bento-tile--full {
    grid-column: auto;
    grid-row: auto;
  }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-tile--img { min-height: 240px; }
  .bento-tile--img .bento-cap { padding: 40px 20px 18px; }
  .bento-tile--img .bento-cap h3 { font-size: 15px; }
  .bento-tile--img .bento-cap p { font-size: 12px; }
}
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   V13b — Mobile adaptation fixes (audited at 390px)
   ============================================================ */

/* 1. Topbar: too many items for phones → keep one, centred */
@media (max-width: 720px) {
  .topbar .container { justify-content: center; }
  .topbar .container span:nth-child(2),
  .topbar .container span:nth-child(3) { display: none; }
  .topbar span { white-space: normal; text-align: center; }
}

/* 2. Footer newsletter: stack input + button on small screens */
@media (max-width: 520px) {
  .news-form { width: 100%; }
  .news-form input { flex: 1 1 100%; min-width: 0; width: 100%; }
  .news-form .btn { width: 100%; }
}

/* 3. Sustainability grid had no responsive rule → cards ran off-screen */
@media (max-width: 1024px) {
  .sustain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sustain-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 4. Clip decorative orbs at section level (was relying on body only) */
.dark-section, .cta-band, .stats-band { overflow: hidden; }

/* 5. Hero collage cards: hide on phones (too small to read) */
@media (max-width: 640px) {
  .hero-card { display: none; }
}

/* 6. Generic safety: grids never blow out their columns */
.grid-2, .grid-3, .grid-4, .process, .craft-grid, .footer-grid, .value-cards, .stats-band .inner, .matcomp-grid, .bento {
  min-width: 0;
}
.grid-2 > *, .grid-3 > *, .grid-4 > *, .craft-grid > *, .sustain-grid > *, .footer-grid > *, .stats-band .inner > * {
  min-width: 0;
}

/* 7. Long words / URLs never force overflow */
.card, .bento-tile, .process-step, .value-card, .footer-grid > div, .matcomp-panel { overflow-wrap: anywhere; }

/* cascade fix: the 640px single-column rule must come after the 1024px block */
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-tile--wide, .bento-tile--tall, .bento-tile--full { grid-column: auto; grid-row: auto; }
}

/* ============================================================
   V14 — ART DIRECTION: display type, editorial framing, gold band
   ============================================================ */

/* ---------- 1. Dramatic type scale ---------- */
.hero h1 {
  font-size: clamp(42px, 6.2vw, 90px);
  line-height: 1.03;
  letter-spacing: -0.024em;
  max-width: 16ch;
  margin: 22px 0 26px;
}
/* second line: serif italic — the luxury signal */
.hero h1 em {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.74em;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin-top: 12px;
  background: linear-gradient(94deg, #B3A184 0%, #E2D5BC 38%, #C9B89E 62%, #A8967A 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 9s linear infinite;
}
.hero__sub { font-size: 17.5px; max-width: 54ch; line-height: 1.8; }

.section-title { font-size: clamp(30px, 3.9vw, 52px); letter-spacing: -0.022em; line-height: 1.12; }
.ed-head .section-title { margin-bottom: 12px; }
.section-sub { font-size: 16.5px; line-height: 1.8; max-width: 60ch; }
.hero--sub h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -0.022em; }

/* Chinese needs a touch less size at display scale */
html[lang="zh-CN"] .hero h1 { font-size: clamp(36px, 5.2vw, 72px); letter-spacing: -0.01em; }
html[lang="zh-CN"] .section-title { font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.01em; }

/* ---------- 2. Micro-typography craft ---------- */
.kicker, .eyebrow { font-size: 10.5px; letter-spacing: 0.26em; }
.kicker::before { width: 26px; }
.stats-band b, .hero-stats b, .stat b, .moq-num { font-variant-numeric: tabular-nums; }

/* hairline rule with centred micro-label */
.rule-label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 34px;
}
.rule-label::before, .rule-label::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.rule-label i { font-style: normal; color: var(--accent-dark); }

/* ---------- 3. Framed sections (card-in-page depth) ---------- */
.section--frame {
  background: var(--white);
  margin: 56px clamp(14px, 3.6vw, 52px);
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.section--frame.watermark-wrap { border-radius: 28px; }

/* ---------- 4. Gold full-colour band ---------- */
.band-gold {
  background: linear-gradient(118deg, #DACBB2 0%, #C9B89E 46%, #B3A184 100%);
  color: #232322;
  position: relative;
  overflow: hidden;
}
.band-gold::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 62%);
  pointer-events: none;
}
.band-gold .section-title, .band-gold h2, .band-gold h3 { color: #232322; }
.band-gold .quote-mark { color: rgba(35, 35, 34, 0.28); }
.band-gold .quote-wrap blockquote {
  color: #232322;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.55;
}
.band-gold .quote-by { color: rgba(35, 35, 34, 0.7); }
.band-gold .rule-label { color: rgba(35, 35, 34, 0.55); }
.band-gold .rule-label::before, .band-gold .rule-label::after { background: rgba(35, 35, 34, 0.18); }

/* ---------- 5. Editorial product showcase (asymmetric) ---------- */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 208px;
  gap: 20px;
}
.sc-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  min-width: 0;
}
.sc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1); }
.sc-card:hover img { transform: scale(1.06); }
.sc-lead { grid-column: span 2; grid-row: span 2; }
.sc-wide { grid-column: span 3; }
.sc-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 28px 24px;
  background: linear-gradient(180deg, transparent, rgba(35, 35, 34, 0.84));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.sc-overlay h3 { color: #fff; font-size: 18px; margin: 4px 0; letter-spacing: -0.01em; }
.sc-overlay p { color: #D8D3CB; font-size: 13px; line-height: 1.6; max-width: 46ch; }
.sc-num {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--accent);
}
.sc-link {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.sc-card:hover .sc-link { color: var(--accent); }
.sc-lead .sc-overlay { padding: 34px 36px 30px; }
.sc-lead .sc-overlay h3 { font-size: 24px; }
.sc-wide .sc-overlay {
  inset: 0;
  justify-content: center;
  background: linear-gradient(90deg, rgba(35, 35, 34, 0.88) 0%, rgba(35, 35, 34, 0.55) 52%, rgba(35, 35, 34, 0.05) 100%);
  padding: 0 44px;
}
.sc-wide .sc-overlay p { max-width: 40ch; }
@media (max-width: 1024px) {
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
  .sc-lead { grid-column: span 2; grid-row: span 2; }
  .sc-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .showcase { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .sc-lead, .sc-wide { grid-column: auto; grid-row: auto; }
  .sc-card { min-height: 250px; }
  .sc-lead .sc-overlay, .sc-wide .sc-overlay { padding: 26px 22px 22px; }
  .sc-wide .sc-overlay { background: linear-gradient(180deg, transparent, rgba(35, 35, 34, 0.88) 45%); inset: auto 0 0 0; }
}

/* ---------- 6. Hero stat rail ---------- */
.hero-stats {
  display: flex;
  margin-top: 52px;
  border-top: 1px solid rgba(42, 42, 42, 0.14);
  padding-top: 24px;
  max-width: 560px;
}
.hero-stats > div { flex: 1; padding-left: 26px; border-left: 1px solid rgba(42, 42, 42, 0.1); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-stats span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 820px) {
  .hero-stats { flex-wrap: wrap; gap: 20px 0; max-width: none; }
  .hero-stats > div { flex: 1 1 40%; padding-left: 18px; }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- 7. Refinement pass on existing components ---------- */
.value-copy h2 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -0.02em; line-height: 1.15; }
.ed-num { font-size: clamp(56px, 6vw, 84px); -webkit-text-stroke-width: 1.3px; }
.craft-item { border-radius: 16px; }
.craft-item img { border-radius: 16px; }
.spec-table { border-radius: 16px; }
.product-card__body h3, .case-card__body h3 { letter-spacing: -0.012em; }
.parallax-band__content h2 { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -0.02em; line-height: 1.18; }
.parallax-band__content h2 br + * { }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.02em; }
.faq-q { letter-spacing: -0.005em; }
.stat b { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; }
.moq-card h3 { letter-spacing: -0.015em; }
h3 { letter-spacing: -0.01em; }

/* ============================================================
   V15 — Split hero (type/image interlock) + footer wordmark
   ============================================================ */

/* ---------- Split hero ---------- */
.hero--split {
  min-height: auto;
  display: block;
  padding: 84px 0 92px;
  overflow: visible;
}
.hero--split .hero__bg,
.hero--split .hero__veil,
.hero--split .hero-card,
.hero--split .hero-chip { display: none; }
.hero--split .container {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero--split .hero__content { padding: 0; max-width: none; animation: none; }
.hero--split .eyebrow,
.hero--split h1,
.hero--split .hero__sub,
.hero--split .hero__actions { animation: ptFadeUp 1s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.hero--split .eyebrow { animation-delay: 0.15s; }
.hero--split h1 { animation-delay: 0.3s; }
.hero--split .hero__sub { animation-delay: 0.5s; }
.hero--split .hero__actions { animation-delay: 0.68s; }

/* the interlock: headline bleeds toward the image */
.hero--split h1 {
  margin-right: -4vw;
  position: relative;
  z-index: 3;
}
.hero--split h1 em { max-width: 18ch; }

.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%;
  aspect-ratio: 4 / 4.72;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 44px 96px rgba(42, 42, 42, 0.18);
  display: block;
  animation: ptFadeUp 1.1s 0.35s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
/* champagne offset frame */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  z-index: 0;
  pointer-events: none;
}
.hero-visual__cap {
  position: absolute;
  left: -28px;
  bottom: 38px;
  z-index: 4;
  background: #232322;
  color: #F4F1EC;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.hero-visual__badge {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 4;
  background: rgba(250, 248, 245, 0.92);
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.hero--split .hero__rule { margin-bottom: 22px; }
.hero--split .hero-stats { max-width: 560px; }
.hero--split .scroll-hint { color: var(--muted); }

@media (max-width: 1024px) {
  .hero--split { padding: 64px 0 72px; }
  .hero--split .container { grid-template-columns: 1.1fr 0.9fr; gap: 12px; }
  .hero--split h1 { margin-right: -2vw; }
  .hero-visual__cap { left: -14px; }
}
@media (max-width: 860px) {
  .hero--split .container { grid-template-columns: 1fr; gap: 40px; }
  .hero--split h1 { margin-right: 0; }
  .hero-visual { max-width: 520px; }
  .hero-visual > img { aspect-ratio: 4 / 4.2; }
  .hero-visual::before { inset: 14px -14px -14px 14px; }
  .hero-visual__cap { left: 14px; bottom: 20px; }
}

/* ---------- FIG caption styling (showcase) ---------- */
.sc-num { font-size: 9.5px; letter-spacing: 0.26em; }

/* ---------- Footer statement wordmark ---------- */
.footer-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(58px, 13.5vw, 208px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 184, 158, 0.26);
  padding: 48px 16px 8px;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  transition: -webkit-text-stroke-color 0.6s ease;
}
.footer-mark:hover { -webkit-text-stroke-color: rgba(201, 184, 158, 0.5); }

/* clip decorative orbs horizontally without affecting the headline interlock */
.hero--split { overflow: visible; overflow-x: clip; }

/* ============================================================
   V16 — PANELS: every band gets four rounded corners, side gutters
   and vertical breathing room. Nothing touches edge-to-edge.
   ============================================================ */
:root {
  --panel-gap: clamp(14px, 3.6vw, 52px);
  --panel-radius: clamp(20px, 2.8vw, 32px);
}

.dark-section,
.cta-band,
.stats-band,
.parallax-band,
.section--frame {
  border-radius: var(--panel-radius);
  margin-left: var(--panel-gap);
  margin-right: var(--panel-gap);
}
.dark-section,
.cta-band,
.stats-band,
.parallax-band {
  margin-top: clamp(10px, 1.6vw, 22px);
  margin-bottom: clamp(10px, 1.6vw, 22px);
}
.section--frame {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* sub-page header band: rounded bottom + gutters, no hard divider */
.hero--sub {
  margin: 0 var(--panel-gap);
  border-radius: 0 0 var(--panel-radius) var(--panel-radius);
  border-bottom: 0;
}

/* the gold stats band keeps its own inner rhythm when narrower */
.stats-band .inner { padding: 48px 0; }

/* tighten the sub-hero content when it becomes a narrower panel */
@media (max-width: 820px) {
  .hero--sub .hero__content { padding: 58px 0 50px; }
  :root { --panel-radius: 20px; }
}

/* ============================================================
   V17 — Custom cursor · horizontal case theatre · closing statement
   ============================================================ */

/* ---------- 1. Custom cursor (desktop, pointer devices) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #C9B89E;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(201, 184, 158, 0.6);
  transition: width 0.32s ease, height 0.32s ease, margin 0.32s ease,
              background 0.32s ease, border-color 0.32s ease;
}
.cursor-ring--hover {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  background: rgba(201, 184, 158, 0.12);
  border-color: rgba(201, 184, 158, 0.95);
}
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor .card,
body.has-cursor label,
body.has-cursor select { cursor: none; }
body.has-cursor input,
body.has-cursor textarea { cursor: text; }

/* ---------- 2. Horizontal case theatre (projects page) ---------- */
.hscroll-wrap { position: relative; }
.hscroll-sticky {
  position: sticky;
  top: 74px;
  height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hscroll-track {
  display: flex;
  gap: 24px;
  padding: 0 var(--panel-gap);
  will-change: transform;
}
.hscroll-card {
  flex: 0 0 min(540px, 58vw);
  min-width: 0;
}
.hscroll-card .case-card__media { aspect-ratio: 4 / 3.2; }
.hscroll-bar {
  position: absolute;
  left: var(--panel-gap);
  right: var(--panel-gap);
  bottom: 34px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}
.hscroll-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #C9B89E, #B3A184);
  transition: width 0.15s linear;
}
.hscroll-hint {
  position: absolute;
  left: var(--panel-gap);
  bottom: 48px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 860px) {
  .hscroll-wrap { height: auto !important; }
  .hscroll-sticky { position: static; height: auto; overflow: visible; padding: 8px 0 0; }
  .hscroll-track { transform: none !important; flex-direction: column; gap: 20px; padding: 0; }
  .hscroll-card { flex: 0 0 auto; width: 100%; }
  .hscroll-bar, .hscroll-hint { display: none; }
}

/* ---------- 3. Closing statement (per-character reveal) ---------- */
.statement-section { padding: 96px 0 88px; text-align: center; }
.statement-line {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 6.6vw, 92px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 26px;
}
.statement-line .ch { display: inline-block; white-space: pre; }
.js .statement-line.visible .ch {
  animation: chUp 0.9s cubic-bezier(0.22, 0.8, 0.3, 1) both;
  animation-delay: var(--cd, 0s);
}
@keyframes chUp {
  from { transform: translateY(112%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.statement-sub {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 34px;
  line-height: 1.8;
}
.statement-line .accent { color: var(--accent-dark); }

/* ============================================================
   V18 — Fixes: hscroll card sizing by viewport HEIGHT,
   and a far more prominent stats row
   ============================================================ */

/* ---- 1. Horizontal theatre: cards must fit short windows ---- */
.hscroll-sticky { min-height: 540px; }
.hscroll-card {
  flex: 0 0 clamp(320px, 34vw, 480px);
}
.hscroll-card .case-card__media {
  aspect-ratio: auto;
  height: clamp(220px, 42vh, 400px);
}
.hscroll-card .case-card__body { padding: 22px 24px 24px; }
.hscroll-card .case-card__body h3 { font-size: 16px; margin: 8px 0 6px; }
.hscroll-card .case-card__body p { font-size: 13px; }
.hscroll-card .tag { font-size: 10px; padding: 3px 10px; }

@media (max-width: 860px) {
  .hscroll-card .case-card__media { height: auto; aspect-ratio: 4 / 3; }
}

/* ---- 2. Stats row: editorial columns, big numerals ---- */
.stat-row {
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  background: none;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  text-align: left;
  padding: 38px 30px 34px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(46px, 5.2vw, 74px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat b::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 18px 0 14px;
}
.stat span {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 1024px) {
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 30px 24px 28px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .stat-row { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .stat { border-left: 0; border-bottom: 1px solid var(--border); padding: 26px 0; }
  .stat:last-child { border-bottom: 0; }
  .stat b { font-size: 52px; }
}

/* ============================================================
   V18b — CRITICAL: overflow-x:hidden on html/body breaks
   position:sticky. `clip` prevents sideways scroll WITHOUT
   creating a scroll container, so sticky keeps working.
   ============================================================ */
html, body { overflow-x: clip; }

/* ============================================================
   V19 — PERFORMANCE PASS: make everything feel silky
   Principles: no expensive filters, no blend modes, no fixed
   full-screen layers, animate only small elements.
   ============================================================ */

/* 1. Orbs: pure radial gradients (no blur filter at all) */
.orb { filter: none; will-change: transform; transform: translateZ(0); }
.orb--gold {
  background: radial-gradient(closest-side,
    rgba(201, 184, 158, 0.42), rgba(201, 184, 158, 0.16) 55%, rgba(201, 184, 158, 0) 100%);
}
.orb--cream {
  background: radial-gradient(closest-side,
    rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22) 55%, rgba(255, 255, 255, 0) 100%);
}
.orb--dark-gold {
  background: radial-gradient(closest-side,
    rgba(201, 184, 158, 0.24), rgba(201, 184, 158, 0.08) 55%, rgba(201, 184, 158, 0) 100%);
}

/* 2. Cursor: no blend mode (blending re-mixes the whole page every frame) */
.cursor-dot {
  mix-blend-mode: normal;
  background: #C9B89E;
  box-shadow: 0 0 0 1px rgba(42, 42, 42, 0.28);
}
.cursor-ring { backdrop-filter: none; }

/* 3. Remove the fixed full-screen grain layer (forces full-page
      compositing on every scroll). Texture now lives on panels only. */
body::after { content: none; }
.dark-section {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"),
    radial-gradient(1200px 500px at 85% -10%, rgba(201, 184, 158, 0.10), transparent 60%);
  background-color: #232322;
  background-blend-mode: overlay, normal;
}
.band-gold {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E"),
    linear-gradient(118deg, #DACBB2 0%, #C9B89E 46%, #B3A184 100%);
}
.cta-band {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #2A2A2A 0%, #3B3A38 100%);
}

/* 4. Section-level reveals: opacity only (translating huge layers
      was the main source of "janky" scrolling into sections) */
.js .reveal.visible { animation: ptRevealSoft 0.65s ease both; }
@keyframes ptRevealSoft { from { opacity: 0; } to { opacity: 1; } }

/* 5. Small elements keep their motion, but lighter distance */
.js .stagger > * {
  animation-name: ptFadeUpSoft;
}
@keyframes ptFadeUpSoft {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* 6. Stop reserving compositor layers everywhere */
.js .section-title .w { will-change: auto; }
.btn { will-change: auto; }
.card { will-change: auto; }

/* 7. Marquees pause when off-screen (set by JS) */
.marquee.paused .marquee__track,
.ticker.paused .marquee__track,
.bigmarquee.paused .marquee__track { animation-play-state: paused; }

/* 8. Lighter hover shadow work */
.card { transition: transform 0.3s ease-out, box-shadow 0.25s ease-out; }
.card:hover { box-shadow: 0 12px 28px rgba(42, 42, 42, 0.08); }

/* 9. No blur on the hero backdrop — blur + scale animation together
      is the most expensive combo there is */
.hero__bg { filter: none; }

/* ============================================================
   V20 — Custom language dropdown (replaces ugly native select)
   ============================================================ */
.lang-dd { position: relative; flex-shrink: 0; }
.lang-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lang-dd__btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.lang-dd__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lang-dd__btn .caret {
  width: 7px; height: 7px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}
.lang-dd.open .lang-dd__btn .caret { transform: rotate(-135deg) translateY(-2px); }

.lang-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 176px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 26px 56px rgba(42, 42, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  z-index: 450;
}
.lang-dd.open .lang-dd__menu { opacity: 1; visibility: visible; transform: none; }
.lang-dd__menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 13px;
  border-radius: 9px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-dd__menu li:hover { background: var(--white); color: var(--ink); }
.lang-dd__menu li.active { color: var(--accent-dark); background: rgba(201, 184, 158, 0.16); }
.lang-dd__menu li .tick { opacity: 0; font-size: 11px; transition: opacity 0.25s ease; }
.lang-dd__menu li.active .tick { opacity: 1; }
.lang-dd__menu li span:first-child { display: inline-flex; align-items: baseline; gap: 8px; }
.lang-dd__menu li i { font-style: normal; font-size: 10px; letter-spacing: 0.14em; color: var(--muted); }

@media (max-width: 820px) {
  .lang-dd { margin: 14px 0 0; align-self: flex-start; }
  .lang-dd__menu { left: 0; right: auto; }
}
