/* ============================================================
   LA RÉSERVE — maison design system
   white / ink / deep green / champagne gold
   ============================================================ */

:root {
  --bg: #fbfbf9;
  --bg-2: #f2f2ef;
  --ink: #111312;
  --ink-2: #4c4f4c;
  --ink-3: #8e918b;
  --green: #113c2e;
  --green-2: #16503c;
  --green-deep: #0b241b;
  --gold: #a3844a;
  --gold-2: #c8a866;
  --hairline: #e4e3dd;
  --serif: "Didot", "Bodoni 72", "Playfair Display", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: "Avenir Next", "Avenir", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --sidebar-w: 256px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(17, 60, 46, .16); }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ============ preloader curtain ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--green-deep);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader .pl-mark {
  text-align: center;
  color: #ece5d2;
  animation: plIn 1.1s var(--ease) both;
}
.preloader .pl-mark .orn { color: var(--gold-2); font-size: 13px; letter-spacing: .5em; margin-bottom: 14px; }
.preloader .pl-mark h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
}
.preloader .pl-mark .sub {
  margin-top: 12px;
  font-size: 9.5px;
  letter-spacing: .48em;
  text-indent: .48em;
  text-transform: uppercase;
  color: rgba(220, 205, 168, .7);
}
@keyframes plIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============ layout shell ============ */
.shell { display: flex; min-height: 100vh; }

/* ---------------- sidebar ---------------- */
.sidebar {
  width: var(--sidebar-w);
  flex: none;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--hairline);
  background: var(--bg);
  z-index: 40;
  transition: transform .45s var(--ease);
}

.wordmark {
  padding: 36px 26px 28px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.wordmark .orn { color: var(--gold); font-size: 11px; letter-spacing: .4em; text-indent: .4em; margin-bottom: 10px; }
.wordmark h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: .24em;
  text-indent: .24em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink);
}
.wordmark .sub {
  margin-top: 8px;
  font-size: 8.5px;
  letter-spacing: .42em;
  text-indent: .42em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.brand-nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}
.brand-nav .nav-label { padding: 6px 26px 12px; display: block; }
.brand-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 8px 26px;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--ink-2);
  position: relative;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.brand-item::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  translate: 0 -50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.brand-item .count {
  font-size: 10px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.brand-item:hover { color: var(--ink); padding-left: 34px; }
.brand-item:hover::before { width: 18px; }
.brand-item.active { color: var(--green); font-weight: 600; padding-left: 38px; }
.brand-item.active::before { width: 24px; background: var(--green); }
.brand-item.active .count { color: var(--gold); }

.sidebar-foot {
  border-top: 1px solid var(--hairline);
  padding: 18px 26px 22px;
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .1em;
}
.sidebar-foot .gal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
  transition: color .3s;
}
.sidebar-foot .gal-link:hover { color: var(--gold); }
.sidebar-foot .gal-link .arr { transition: translate .3s var(--ease); }
.sidebar-foot .gal-link:hover .arr { translate: 4px 0; }

.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 20, 16, .45);
  backdrop-filter: blur(2px);
  z-index: 35;
  opacity: 0;
  transition: opacity .4s;
}

/* ---------------- main column ---------------- */
.main { flex: 1; min-width: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 44px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 6px 2px; }
.menu-btn span { width: 22px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }

.search-wrap { flex: 1; max-width: 400px; position: relative; display: flex; align-items: center; }
.search-wrap .icon { position: absolute; left: 0; color: var(--ink-3); pointer-events: none; }
#search {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  padding: 8px 26px 8px 30px;
  font: inherit;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--ink);
  outline: none;
  transition: border-color .35s;
}
#search::placeholder { color: var(--ink-3); }
#search:focus { border-color: var(--green); }
.search-clear {
  position: absolute;
  right: 0;
  color: var(--ink-3);
  font-size: 15px;
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.search-wrap.has-value .search-clear { opacity: 1; pointer-events: auto; }

.top-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.video-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color .3s;
}
.video-toggle .pill {
  width: 34px; height: 19px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  position: relative;
  background: var(--bg-2);
  transition: background .35s var(--ease), border-color .35s;
}
.video-toggle .pill::after {
  content: "";
  position: absolute;
  top: 2.5px; left: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink-3);
  transition: translate .35s var(--ease), background .35s;
}
.video-toggle.on { color: var(--green); }
.video-toggle.on .pill { background: var(--green); border-color: var(--green); }
.video-toggle.on .pill::after { translate: 15px 0; background: var(--gold-2); }

.lang-switch { display: flex; border: 1px solid var(--hairline); border-radius: 40px; overflow: hidden; }
.lang-switch button {
  padding: 5.5px 13px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-3);
  transition: color .3s, background .3s;
}
.lang-switch button + button { border-left: 1px solid var(--hairline); }
.lang-switch button.active { color: #f3efe4; background: var(--green); }

/* ---------------- cinematic hero ---------------- */
.hero {
  position: relative;
  min-height: clamp(480px, 74vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-deep);
  color: #efe9d8;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
}
.hero .hero-bg svg, .hero .hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 26s var(--ease) infinite alternate;
  transform-origin: 62% 45%;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero .hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 22, 16, .92) 22%, rgba(7, 22, 16, .45) 55%, rgba(7, 22, 16, .1) 80%);
}
.hero .hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 64px;
  max-width: 720px;
}
.hero .hk {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
}
.hero .hk::before { content: ""; width: 44px; height: 1px; background: var(--gold-2); }
.hero h2 {
  margin-top: 26px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.1;
  letter-spacing: .015em;
}
.hero h2 em { font-style: italic; color: var(--gold-2); }
.hero .hero-lede {
  margin-top: 22px;
  max-width: 440px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(233, 226, 207, .78);
}
.hero .hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero .hero-inner > * { opacity: 0; transform: translateY(22px); animation: heroIn 1s var(--ease) forwards; }
.hero .hero-inner > *:nth-child(2) { animation-delay: .12s; }
.hero .hero-inner > *:nth-child(3) { animation-delay: .24s; }
.hero .hero-inner > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero .hero-foot {
  position: absolute;
  left: 64px; right: 64px; bottom: 26px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(220, 205, 168, .55);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all .4s var(--ease);
}
.btn .arr { transition: translate .35s var(--ease); }
.btn:hover .arr { translate: 5px 0; }
.btn-solid { background: var(--gold); color: #14100a; border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-ghost { border-color: rgba(220, 205, 168, .45); color: #ece5d2; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-green { background: var(--green); color: #f0ead9; border-color: var(--green); }
.btn-green:hover { background: var(--green-2); border-color: var(--green-2); }
.btn-line { border-color: var(--hairline); color: var(--ink-2); }
.btn-line:hover { border-color: var(--green); color: var(--green); }

/* ---------------- marquee ---------------- */
.marquee {
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: 13px 0;
  background: var(--bg);
}
.marquee .track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
.marquee .mq-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: .1em;
  color: var(--ink-3);
  white-space: nowrap;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.marquee .mq-item::after { content: "✦"; font-size: 8px; color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- section headers ---------------- */
.view-head { padding: 64px 44px 8px; }

.hero-head { max-width: 860px; }
.hero-head .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-head .eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: .01em;
}
.hero-head h2 em { font-style: italic; color: var(--gold); }
.hero-head .lede {
  margin-top: 16px;
  max-width: 520px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

.brand-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand-head .bh-left .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.brand-head .bh-left .eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold); }
.brand-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: .04em;
  line-height: 1.1;
}
.brand-head .meta { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 10px; }

.head-rule { margin: 28px 44px 0; height: 1px; background: var(--hairline); position: relative; }
.head-rule::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; width: 64px; background: var(--green); }

.view-head, .grid-zone { animation: viewIn .7s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------- collection chips ---------------- */
.chips-row { display: flex; gap: 10px; padding: 24px 44px 4px; overflow-x: auto; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 8px 18px;
  border: 1px solid var(--hairline);
  border-radius: 40px;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ink-2);
  transition: all .35s var(--ease);
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #f0ead9; }

/* ---------------- grid ---------------- */
.grid-zone { padding: 36px 44px 90px; }

.result-line {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.result-line::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 44px 28px;
}

.card {
  cursor: pointer;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.card.in { opacity: 1; transform: none; }

.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity .7s var(--ease);
}
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.05); }
.card:hover .card-media img.alt { opacity: 1; }

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(163, 132, 74, 0);
  transition: border-color .5s, inset .5s var(--ease);
  pointer-events: none;
}
.card:hover .card-media::after { border-color: rgba(163, 132, 74, .5); inset: 10px; }

.badges { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 7px; z-index: 2; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  letter-spacing: .12em;
  padding: 4px 9px;
  background: rgba(15, 20, 16, .72);
  color: #e9e2cf;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}
.badge.video { background: rgba(17, 60, 46, .9); color: #e9d9ae; }

.variant-dots { position: absolute; right: 12px; bottom: 14px; display: flex; gap: 5px; z-index: 2; }
.variant-dots i {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.card-body { padding: 16px 2px 0; text-align: center; }
.card-brand { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.card-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .02em;
  margin-top: 6px;
  line-height: 1.3;
  transition: color .3s;
}
.card:hover .card-name { color: var(--green); }
.card-spec {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-cta {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card:hover .card-cta { opacity: 1; transform: none; }

.sentinel { height: 10px; }
.loading-row {
  display: flex;
  justify-content: center;
  padding: 34px 0 10px;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.empty-state { text-align: center; padding: 90px 20px; color: var(--ink-3); }
.empty-state .big { font-family: var(--serif); font-size: 30px; color: var(--ink-2); margin-bottom: 10px; }

/* ---------------- editorial band ---------------- */
.editorial {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}
.editorial .ed-media { position: relative; min-height: 420px; overflow: hidden; }
.editorial .ed-media img, .editorial .ed-media svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.editorial:hover .ed-media img { transform: scale(1.05); }
.editorial .ed-text {
  padding: clamp(44px, 6vw, 90px) clamp(34px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.editorial .ed-text .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.editorial .ed-text .eyebrow::after { content: ""; width: 44px; height: 1px; background: var(--gold); }
.editorial h3 {
  margin-top: 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
}
.editorial h3 em { font-style: italic; color: var(--gold); }
.editorial p { margin-top: 16px; max-width: 420px; color: var(--ink-2); font-size: 13.5px; line-height: 1.9; }
.editorial .btn { margin-top: 30px; }

/* ---------------- detail modal ---------------- */
.modal-root { position: fixed; inset: 0; z-index: 60; display: none; }
.modal-root.open { display: block; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 14, .55);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .45s;
}
.modal-root.in .modal-backdrop { opacity: 1; }

.modal-panel {
  position: absolute;
  inset: 24px;
  margin: auto;
  max-width: 1200px;
  max-height: 830px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  box-shadow: 0 40px 120px -30px rgba(6, 14, 10, .55);
  display: flex;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.modal-root.in .modal-panel { opacity: 1; transform: none; }

.modal-body { display: flex; flex: 1; min-width: 0; min-height: 0; }

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 5;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--ink-2);
  border-radius: 50%;
  transition: background .3s, color .3s, rotate .4s var(--ease);
}
.modal-close:hover { background: var(--bg-2); color: var(--ink); rotate: 90deg; }

/* gallery side */
.d-gallery {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border-right: 1px solid var(--hairline);
}
.d-stage { flex: 1; position: relative; min-height: 0; overflow: hidden; }
.d-stage .frame { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); }
.d-stage .frame svg, .d-stage .frame img { width: 100%; height: 100%; object-fit: cover; }
.d-stage .frame.show { opacity: 1; }

.d-stage .live-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e9d9ae;
  background: rgba(17, 60, 46, .92);
  padding: 5px 11px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.d-stage .live-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); animation: blink 1.4s infinite; }
.d-stage.playing .live-tag { opacity: 1; }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
.d-stage.playing .sec { animation: sweep 12s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }

.d-thumbs { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--hairline); overflow-x: auto; scrollbar-width: none; }
.d-thumbs::-webkit-scrollbar { display: none; }
.d-thumb {
  flex: none;
  width: 66px; height: 66px;
  border: 1px solid var(--hairline);
  padding: 0;
  overflow: hidden;
  position: relative;
  opacity: .65;
  transition: opacity .3s, border-color .3s;
  background: var(--bg);
}
.d-thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-thumb:hover { opacity: 1; }
.d-thumb.active { opacity: 1; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.d-thumb .play-ico {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ece5d2;
  background: rgba(8, 16, 12, .5);
  font-size: 15px;
}

/* info side */
.d-info {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 44px 46px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}
.d-crumb {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.d-crumb .sep { color: var(--gold); font-size: 8px; }
.d-brand { margin-top: 22px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.d-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 33px);
  line-height: 1.18;
  margin: 10px 0 4px;
}
.d-series { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.d-desc { margin: 20px 0 4px; font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }

.d-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.d-ctas .btn { padding: 12px 22px; font-size: 10px; }

.d-section { margin-top: 28px; }
.d-section .label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.d-section .label::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

.d-variants { display: flex; gap: 10px; flex-wrap: wrap; }
.d-variant {
  width: 58px; height: 58px;
  border: 1px solid var(--hairline);
  padding: 0;
  overflow: hidden;
  opacity: .7;
  transition: opacity .3s, border-color .3s, transform .3s var(--ease);
  background: var(--bg-2);
}
.d-variant img { width: 100%; height: 100%; object-fit: cover; }
.d-variant:hover { opacity: 1; transform: translateY(-2px); }
.d-variant.active { opacity: 1; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }

.attr-table { width: 100%; border-collapse: collapse; }
.attr-table tr { border-bottom: 1px solid var(--hairline); }
.attr-table tr:last-child { border-bottom: 0; }
.attr-table td { padding: 9.5px 0; font-size: 13px; vertical-align: top; }
.attr-table td.k {
  width: 38%;
  color: var(--ink-3);
  letter-spacing: .1em;
  font-size: 11px;
  text-transform: uppercase;
  padding-right: 14px;
}
.attr-table td.v { color: var(--ink); font-weight: 500; }

.d-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.feat-chip {
  font-size: 11px;
  letter-spacing: .07em;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  padding: 5.5px 13px;
  border-radius: 30px;
  background: var(--bg-2);
}

.d-services { display: flex; flex-direction: column; gap: 11px; }
.d-service { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-2); }
.d-service .ico { color: var(--gold); font-size: 9px; }

/* ---------------- 常驻悬浮询价 (WhatsApp) ---------------- */
.wa-fab {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 50;                       /* 低于详情弹窗(60),不会挡住弹窗 */
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 17px;
  background: var(--green);
  color: #f0ead9;
  border: 1px solid var(--green);
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(6, 12, 8, .28);
  transition: all .45s var(--ease);
}
.wa-fab svg { width: 20px; height: 20px; flex: none; }
.wa-fab .lbl {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  transition: max-width .45s var(--ease), margin-left .45s var(--ease);
}
.wa-fab:hover { background: var(--gold); border-color: var(--gold); color: #14100a; }
.wa-fab:hover .lbl { max-width: 280px; margin-left: 11px; }
body.modal-open .wa-fab { opacity: 0; transform: translateY(14px); pointer-events: none; }
@media (max-width: 860px) {
  .wa-fab { right: 16px; bottom: 16px; height: 50px; padding: 0 15px; }
  .wa-fab:hover .lbl { max-width: 0; margin-left: 0; }
}

/* ---------------- 询价 CTA (WhatsApp) ---------------- */
.d-inquire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  margin-top: 30px;
  padding: 15px 24px;
  background: var(--green);
  color: #f0ead9;
  border: 1px solid var(--green);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all .4s var(--ease);
}
.d-inquire:hover { background: var(--gold); border-color: var(--gold); color: #14100a; }
.d-inquire svg { width: 15px; height: 15px; flex: none; }
.d-inquire-note {
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
}

.d-ref {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.d-ref b { color: var(--ink-2); font-weight: 600; }

/* ---------------- footer ---------------- */
.site-foot {
  background: var(--green-deep);
  color: #b9c4bb;
}
.site-foot .foot-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 64px 64px 50px;
}
.site-foot .fm-brand .orn { color: var(--gold-2); font-size: 11px; letter-spacing: .4em; margin-bottom: 12px; }
.site-foot .fm-brand h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #ece5d2;
}
.site-foot .fm-brand p { margin-top: 16px; font-size: 12px; line-height: 1.9; color: rgba(185, 196, 187, .75); max-width: 300px; }
.site-foot .news { margin-top: 26px; display: flex; max-width: 320px; border-bottom: 1px solid rgba(200, 168, 102, .4); }
.site-foot .news input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #ece5d2;
  font: inherit;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 9px 2px;
}
.site-foot .news input::placeholder { color: rgba(185, 196, 187, .5); }
.site-foot .news button {
  color: var(--gold-2);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 2px;
  transition: color .3s;
}
.site-foot .news button:hover { color: #ece5d2; }

.site-foot .fcol .fh {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.site-foot .fcol a {
  display: block;
  font-size: 12.5px;
  color: rgba(216, 223, 217, .78);
  padding: 5px 0;
  letter-spacing: .04em;
  transition: color .3s, padding-left .3s var(--ease);
}
.site-foot .fcol a:hover { color: #ece5d2; padding-left: 6px; }

.site-foot .foot-base {
  border-top: 1px solid rgba(200, 168, 102, .18);
  padding: 20px 64px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(185, 196, 187, .55);
}

/* ---------------- gallery page skin ---------------- */
body.gallery-mode {
  --bg: #14110c;
  --bg-2: #1e1a13;
  --ink: #ece5d4;
  --ink-2: #b5ab93;
  --ink-3: #7c745f;
  --hairline: #2a251c;
  --gold: #c8a866;
  --gold-2: #d8bc7d;
  --green: #c8a866;
  --green-2: #d8bc7d;
  background: var(--bg);
  color: var(--ink);
}
body.gallery-mode .lang-switch button.active { color: #14110c; background: var(--gold); }
body.gallery-mode .chip.active { background: var(--gold); border-color: var(--gold); color: #14110c; }
body.gallery-mode .video-toggle.on .pill { background: var(--gold); border-color: var(--gold); }
body.gallery-mode .video-toggle.on .pill::after { background: #14110c; }
body.gallery-mode .brand-item.active { color: var(--gold); }
body.gallery-mode .head-rule::after { background: var(--gold); }
body.gallery-mode .modal-panel { background: #1a1610; }
body.gallery-mode .d-gallery { background: #110e09; }
body.gallery-mode .card:hover .card-name { color: var(--gold); }
body.gallery-mode .card-cta { color: var(--gold); }
body.gallery-mode .btn-green { background: var(--gold); border-color: var(--gold); color: #14110c; }
body.gallery-mode .btn-green:hover { background: var(--gold-2); border-color: var(--gold-2); }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .site-foot .foot-main { grid-template-columns: 1fr 1fr; padding: 50px 40px 40px; }
  .site-foot .foot-base { padding: 18px 40px; }
}

@media (max-width: 980px) {
  .modal-panel { inset: 12px; max-height: none; }
  .modal-body { flex-direction: column; overflow-y: auto; }
  .d-gallery { border-right: 0; border-bottom: 1px solid var(--hairline); flex: none; height: 46vh; }
  .d-info { padding: 30px 24px 40px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial .ed-media { min-height: 320px; }
}

@media (max-width: 860px) {
  .sidebar {
    position: fixed;
    left: 0; top: 0;
    transform: translateX(-102%);
    box-shadow: 30px 0 80px rgba(6, 12, 8, .3);
    width: min(310px, 84vw);
  }
  body.drawer-open .sidebar { transform: none; }
  body.drawer-open .drawer-backdrop { display: block; opacity: 1; }
  .menu-btn { display: flex; }
  .topbar { padding: 14px 18px; gap: 12px; }
  .top-actions { gap: 12px; }
  .video-toggle .vt-label { display: none; }
  .hero .hero-inner { padding: 70px 24px; }
  .hero .hero-foot { left: 24px; right: 24px; }
  .hero .hero-veil {
    background: linear-gradient(180deg, rgba(7, 22, 16, .55) 0%, rgba(7, 22, 16, .78) 55%, rgba(7, 22, 16, .92) 100%);
  }
  .view-head { padding: 40px 20px 4px; }
  .head-rule { margin: 20px 20px 0; }
  .chips-row { padding: 18px 20px 2px; }
  .grid-zone { padding: 26px 20px 70px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 30px 14px; }
  .card-name { font-size: 15px; }
  .site-foot .foot-main { grid-template-columns: 1fr; gap: 34px; padding: 44px 24px 36px; }
  .site-foot .foot-base { padding: 16px 24px; flex-direction: column; gap: 8px; }
}

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

/* slim footer (replaces the large marketing footer) */
.foot-slim{display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:34px 0 10px;margin-top:20px;border-top:1px solid var(--line,rgba(255,255,255,.08));flex-wrap:wrap}
.fs-mark{font-family:var(--serif,serif);font-size:18px;letter-spacing:.04em;display:flex;align-items:center;gap:8px}
.fs-mark .orn{color:var(--gold,#c9a962)}
.fs-line{font-size:12.5px;opacity:.55;max-width:520px;line-height:1.6}
