/* ============================================================
   XINVEN · Swiss Cellular Skincare — design demo stylesheet
   Palette: navy #12344C / gilt #E7D9BA / white, frost & mist washes
   Type: Bodoni Moda + Noto Serif SC (display) / Manrope (UI) — OFL / free commercial
   Geometry: sharp (radius 0), 1px hairlines, generous whitespace
   ============================================================ */

:root {
  --navy: #12344C;
  --navy-soft: #1B4258;
  --ink: #0A1A24;
  --ink-deep: #081420;
  --gilt: #E7D9BA;
  --gilt-bright: #EFE3C6;
  --bronze: #8F7A4E;
  --white: #FFFFFF;
  --frost: #D8E4EC;
  --mist: #F4F7F9;
  --paper: #FBFDFE;
  --ink-soft: rgba(10, 26, 36, 0.64);
  --line: rgba(18, 52, 76, 0.14);
  --line-light: rgba(231, 217, 186, 0.22);
  --white-70: rgba(255, 255, 255, 0.72);
  --font-display: "Bodoni Moda", "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --font-sans: "Manrope", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --glass-dark-bg: rgba(10, 26, 36, 0.42);
  --glass-dark-border: rgba(231, 217, 186, 0.28);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none; /* custom gilt progress bar instead */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--navy);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Curtain layer — content scrolls over fixed underlay */
#main {
  position: relative;
  z-index: 1;
  background: var(--paper);
}

/* ============================================================
   Site underlay — CHANEL-style fixed brand + footer reveal
   ============================================================ */

.site-underlay {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
}

html.has-underlay-reveal {
  --curtain-shadow: 1;
}

html.has-underlay-reveal #main {
  margin-bottom: var(--underlay-h, 100vh);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, calc(0.5 * var(--curtain-shadow))),
    0 28px 64px rgba(0, 0, 0, calc(0.58 * var(--curtain-shadow))),
    0 64px 140px rgba(0, 0, 0, calc(0.62 * var(--curtain-shadow)));
}

/* Soft veil cast onto the underlay — fades as the curtain lifts */
html.has-underlay-reveal #main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: clamp(7rem, 28vh, 14rem);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, calc(0.78 * var(--curtain-shadow))) 0%,
    rgba(0, 0, 0, calc(0.48 * var(--curtain-shadow))) 28%,
    rgba(0, 0, 0, calc(0.18 * var(--curtain-shadow))) 62%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: var(--curtain-shadow);
  transform: translateZ(0);
}

/* Whole underlay (brand + footer) stays soft until curtain reaches logo */
html.has-underlay-reveal .brand-reveal__logo {
  opacity: 1;
  filter: none;
  color: var(--gilt);
}
html.has-underlay-reveal .brand-reveal__sub,
html.has-underlay-reveal .brand-reveal__tags {
  opacity: 1;
  transform: none;
}

html.has-underlay-reveal .site-underlay {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: var(--underlay-h, 100vh);
  z-index: 0;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.38;
  will-change: filter, opacity;
}

html.has-underlay-reveal .site-underlay a,
html.has-underlay-reveal .site-underlay button,
html.has-underlay-reveal .site-underlay input {
  pointer-events: auto;
}

body.no-scroll {
  overflow: hidden;
  padding-right: var(--scroll-lock-pad, 0px);
}
body.no-scroll .site-header {
  right: var(--scroll-lock-pad, 0px);
}

/* Hide native scrollbar — replaced by .scroll-progress */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* ---------- scroll progress — gilt gradient line (top → bottom) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: 2px;
  height: 100%;
  pointer-events: none;
  background: rgba(231, 217, 186, 0.12);
}
.scroll-progress__fill {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: top center;
  transform: scaleY(var(--scroll-progress, 0));
  will-change: transform;
  background: linear-gradient(
    180deg,
    var(--gilt-bright) 0%,
    var(--gilt) 42%,
    var(--bronze) 78%,
    rgba(143, 122, 78, 0.55) 100%
  );
  box-shadow: 0 0 10px rgba(231, 217, 186, 0.28);
}

img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }

::selection { background: rgba(231, 217, 186, 0.55); color: var(--ink); }

:focus-visible { outline: 2px solid #C9B27E; outline-offset: 3px; }

section { scroll-margin-top: calc(var(--header-h) - 8px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: -48px; left: 1rem; z-index: 300;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--gilt);
  font-size: 13px; text-decoration: none; transition: top 0.25s ease;
}
.skip-link:focus { top: 0.75rem; }

.container {
  width: min(1240px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin-inline: auto;
}

/* ---------- shared type ---------- */

.section-head { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  letter-spacing: 0.04em;
  color: var(--navy);
}
.section-head--center { text-align: center; }

/* ---------- i18n ---------- */
html[data-lang="zh"] .i18n-en { display: none !important; }
html[data-lang="en"] .i18n-zh { display: none !important; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--navy);
  text-decoration: none;
  position: relative;
}
.text-link::after {
  content: "";
  position: absolute; left: 0; bottom: 10px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out), color 0.3s ease;
}
.text-link:hover, .text-link:focus-visible { color: var(--bronze); }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); }
.text-link--light { color: rgba(255, 255, 255, 0.92); }
.text-link--light:hover, .text-link--light:focus-visible { color: var(--gilt); }

/* scroll-reveal pre-state (JS animates in; noscript/reduce/no-gsap override below) */
.reveal { opacity: 0; transform: translateY(28px); }

/* ============================================================
   Header — left nav / centered brand / right utilities (D&G rhythm)
   ============================================================ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white);
  transition: box-shadow 0.4s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(10, 26, 36, 0.08);
}

/* Header intro — hidden until assets ready + timeline (or fallbacks below) */
.site-header:not(.is-entered) .nav a,
.site-header:not(.is-entered) .nav-toggle,
.site-header:not(.is-entered) .brand,
.site-header:not(.is-entered) .header-search,
.site-header:not(.is-entered) .lang-switch,
.site-header:not(.is-entered) .header-icon {
  opacity: 0;
}
.site-header__inner {
  max-width: 1440px; margin-inline: auto;
  height: var(--header-h);
  padding-inline: clamp(1.1rem, 3.2vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  justify-self: start;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.4rem;
  text-decoration: none;
  line-height: 1;
  z-index: 1;
}
.brand__mark {
  position: relative;
  display: block;
  width: 2.45rem;
  height: 2rem;
  flex: 0 0 auto;
  transform: translateY(-3px);
}
.brand__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: opacity 0.3s ease;
}
.brand__mark-gilt { opacity: 0; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.22rem, 1.95vw, 1.58rem);
  letter-spacing: 0.18em;
  color: var(--ink);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.brand:hover .brand__name,
.brand:focus-visible .brand__name { color: var(--gilt); }
.brand:hover .brand__mark-ink,
.brand:focus-visible .brand__mark-ink { opacity: 0; }
.brand:hover .brand__mark-gilt,
.brand:focus-visible .brand__mark-gilt { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.8vw, 1.6rem);
}
.nav a {
  position: relative;
  padding: 0.45rem 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 26, 36, 0.52);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover, .nav a:focus-visible { color: var(--gilt); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav a.is-active {
  color: var(--gilt);
}
.nav a.is-active::after {
  transform: scaleX(1);
  background: var(--gilt);
}
.nav a.is-active:hover,
.nav a.is-active:focus-visible { color: var(--gilt); }
.nav a.is-active:hover::after,
.nav a.is-active:focus-visible::after { background: var(--gilt); }

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.7rem, 1.5vw, 1.35rem);
  min-width: 0;
  justify-self: end;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 7.5rem;
  max-width: 11rem;
  padding: 0.25rem 0 0.4rem;
  border-bottom: 1px solid rgba(10, 26, 36, 0.28);
  transition: border-color 0.3s ease;
}
.header-search:focus-within { border-bottom-color: var(--gilt); }
.header-search__icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: rgba(10, 26, 36, 0.72);
  cursor: pointer;
}
.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.header-search input::placeholder {
  color: rgba(10, 26, 36, 0.42);
  letter-spacing: 0.12em;
}

.header-utils {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  transition: color 0.25s ease;
}
.header-icon:hover,
.header-icon:focus-visible { color: var(--gilt); }
.header-icon .ui-icon {
  width: 20px;
  height: 20px;
}

/* Lucide icons (ISC) via mask — assets/icons/*.svg */
.ui-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--ui-icon) center / contain no-repeat;
  mask: var(--ui-icon) center / contain no-repeat;
}
.ui-icon--search { --ui-icon: url("../assets/icons/search.svg"); }
.ui-icon--user { --ui-icon: url("../assets/icons/user.svg"); }
.ui-icon--heart { --ui-icon: url("../assets/icons/heart.svg"); }
.ui-icon--bag { --ui-icon: url("../assets/icons/shopping-bag.svg"); }
.ui-icon--menu { --ui-icon: url("../assets/icons/menu.svg"); }
.ui-icon--close { --ui-icon: url("../assets/icons/x.svg"); }
.ui-icon--chevron-up { --ui-icon: url("../assets/icons/chevron-up.svg"); }

/* Back to top — gilt chevron, bottom-right */
.back-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1.25rem, 4vw, 2rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--gilt);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.35s var(--ease-out),
    visibility 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    color 0.25s ease;
}
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover,
.back-top:focus-visible {
  color: var(--gilt-bright);
}
.back-top:focus-visible {
  outline: 1px solid var(--gilt);
  outline-offset: 4px;
}
.back-top .ui-icon {
  width: 28px;
  height: 28px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-right: 0.25rem;
}
.lang-switch__btn {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(10, 26, 36, 0.5);
  padding: 0.3rem 0.1rem;
  min-height: 40px;
  transition: color 0.25s ease;
}
.lang-switch__btn[aria-pressed="true"] { color: var(--gilt); }
.lang-switch__btn:hover,
.lang-switch__btn:focus-visible { color: var(--gilt); }
.lang-switch__sep {
  font-size: 11px;
  color: rgba(10, 26, 36, 0.25);
  pointer-events: none;
}

.nav-toggle {
  display: flex;
  position: relative;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 0;
  flex: 0 0 auto;
  color: var(--ink);
  transition: color 0.25s ease;
}
.nav-toggle:hover,
.nav-toggle:focus-visible { color: var(--gilt); }
.nav-toggle .ui-icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .ui-icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .ui-icon--close { display: inline-block; }

.header-toast {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.6rem);
  transform: translateX(-50%);
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.header-toast.is-on {
  opacity: 1;
}

/* ============================================================
   Hero — full-bleed glacial poster composition
   ============================================================ */

/* ============================================================
   Hero — full-bleed logo reveal video
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  color: var(--white);
  overflow: hidden;
  background: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  background: #fff;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Outer field stays brighter; center is pulled back via .hero__exposure */
  filter: brightness(1.28) contrast(1.03);
}
.hero__exposure {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* ~1.28 → ~1.14 at logo center (1.14/1.28 ≈ 0.89) */
  background: radial-gradient(
    ellipse 48% 42% at 50% 46%,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.08) 32%,
    rgba(0, 0, 0, 0.03) 55%,
    transparent 72%
  );
}

/* Logo-adjacent gilt shimmer — activates after reveal video ends */
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__glow.is-active {
  opacity: 1;
}
.hero__glow-ambient,
.hero__glow-sweep {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(54vw, 540px);
  height: min(54vw, 540px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.hero__glow-ambient {
  background: radial-gradient(
    ellipse at center,
    rgba(231, 217, 186, 0.32) 0%,
    rgba(231, 217, 186, 0.12) 38%,
    rgba(231, 217, 186, 0.04) 58%,
    transparent 72%
  );
  mix-blend-mode: soft-light;
  animation: hero-glow-breathe 5.5s ease-in-out infinite;
}
.hero__glow-sweep {
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, transparent 68%);
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 68%);
}
.hero__glow-sweep::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    118deg,
    transparent 38%,
    rgba(239, 227, 198, 0) 44%,
    rgba(239, 227, 198, 0.48) 50%,
    rgba(239, 227, 198, 0) 56%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  animation: hero-glow-sweep 9.5s ease-in-out infinite;
}
@keyframes hero-glow-breathe {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.035);
  }
}
@keyframes hero-glow-sweep {
  0% {
    transform: translateX(-42%) rotate(8deg);
    opacity: 0;
  }
  12% { opacity: 0.85; }
  50% { opacity: 0.65; }
  88% { opacity: 0.85; }
  100% {
    transform: translateX(42%) rotate(8deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow-ambient {
    animation: none;
    opacity: 0.55;
  }
  .hero__glow-sweep {
    display: none;
  }
}

.hero__foot {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: 1.6rem 1.5rem clamp(1.8rem, 4.5vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__explore {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.9rem;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(10, 26, 36, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.9s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    background 0.35s ease;
}
.hero__explore.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.hero__explore:hover, .hero__explore:focus-visible {
  color: var(--gilt);
  border-color: rgba(231, 217, 186, 0.75);
  background: rgba(10, 26, 36, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .hero__explore {
    opacity: 1;
    pointer-events: auto;
    transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease;
  }
}

/* ============================================================
   Collections — six-product editorial grid
   ============================================================ */

.collections {
  padding-block: clamp(5rem, 10vw, 7.5rem) 0;
  background: var(--paper);
}
.collections__head {
  width: min(1240px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin-inline: auto;
  margin-bottom: clamp(2.8rem, 5.5vw, 4rem);
}
.collections__head h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}
.collections__tabs {
  display: flex;
  justify-content: center;
  gap: clamp(2.5rem, 8vw, 5rem);
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
}
.collections__tabs a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0;
  transition: color 0.3s ease;
}
.collections__tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.collections__tabs a:hover,
.collections__tabs a:focus-visible {
  color: var(--gilt);
}
.collections__tabs a:hover::after,
.collections__tabs a:focus-visible::after {
  transform: scaleX(1);
}

.collections__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(560px, 92vh, 1080px);
}

.series-panel {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  min-height: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.series-panel:focus-visible {
  outline: 2px solid var(--gilt);
  outline-offset: -2px;
  z-index: 1;
}
.series-panel__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.series-panel__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 30, 0.08) 35%,
    rgba(8, 20, 30, 0.42) 72%,
    rgba(8, 20, 30, 0.72) 100%
  );
  pointer-events: none;
}
.series-panel__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.series-panel__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--white);
}
.series-panel__cta {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}
.series-panel__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.series-panel:hover .series-panel__cta,
.series-panel:focus-visible .series-panel__cta {
  color: var(--gilt);
}
.series-panel:hover .series-panel__cta::after,
.series-panel:focus-visible .series-panel__cta::after {
  transform: scaleX(1);
}

/* ============================================================
   Ritual — three-pillar proof strip
   ============================================================ */

.ritual {
  padding-block: clamp(4.5rem, 9vw, 6.5rem);
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.ritual__head {
  width: min(1240px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4.5vw, 3.2rem);
}
.ritual__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.ritual__item {
  text-align: center;
  padding: clamp(0.5rem, 1.5vw, 1rem) clamp(1.4rem, 3.5vw, 2.6rem);
  border-left: 1px solid var(--line);
}
.ritual__item:first-child {
  border-left: 0;
}
.ritual__index {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gilt);
  line-height: 1;
}
.ritual__item h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0.1em;
  line-height: 1.35;
  color: var(--navy);
}
.ritual__desc {
  margin: 0 auto;
  max-width: 18rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============================================================
   Campaign — full-bleed atmosphere with glass panel
   ============================================================ */

.campaign {
  position: relative;
  min-height: clamp(480px, 74vh, 640px);
  display: grid; place-items: center;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: var(--ink);
}
.campaign__media {
  position: absolute; inset: -6% 0;
  background: url("../assets/backgrounds/campaign-wide.jpg") center / cover no-repeat;
  will-change: transform;
}
.campaign__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 30, 0.34), rgba(8, 20, 30, 0.5));
}
.campaign__panel {
  position: relative; z-index: 1;
  width: min(46rem, 100%);
  padding: clamp(2rem, 4.5vw, 3.2rem) clamp(1.6rem, 4vw, 3rem);
  text-align: center;
  color: var(--white);
  background: var(--glass-dark-bg);
  border: 1px solid var(--glass-dark-border);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.campaign__panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: 0.14em;
}
.campaign__en {
  margin-top: 0.55rem;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  color: rgba(231, 217, 186, 0.85);
}
.campaign__desc {
  margin-top: 1.2rem;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.88);
}
.campaign__proof {
  margin-top: 1.7rem;
  display: flex; justify-content: center; flex-wrap: wrap;
}
.campaign__cell {
  padding: 0 clamp(1.2rem, 3vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}
.campaign__cell:first-child { border-left: 0; }
.campaign__cell strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: 0.04em;
  color: var(--gilt);
}
.campaign__cell span {
  display: block;
  margin-top: 0.3rem;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.66);
}
.campaign__source {
  margin-top: 1rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
}
.campaign__panel .text-link {
  margin-top: 1.4rem;
}
/* Match series-panel__cta hover: underline hidden until hover, expands gilt */
.campaign__panel .text-link::after {
  bottom: 10px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
}
.campaign__panel .text-link:hover::after,
.campaign__panel .text-link:focus-visible::after {
  transform: scaleX(1);
}

/* ============================================================
   Split story — Chanel-style 50/50 square modules
   Each half ≈ square (row aspect 2:1); copy centered in white cell
   ============================================================ */

.split-story {
  background: var(--white);
}
.split-story--team { border-top: 0; }

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 0;
}
.split-row--reverse .split-row__media { order: -1; }

.split-row__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.8rem, 5.5vw, 5.5rem);
  background: var(--white);
  box-sizing: border-box;
  overflow: hidden;
}
.split-row__eyebrow {
  margin: 0 0 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}
.split-row__copy h2 {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.split-row__body {
  margin: 1.25rem 0 0;
  max-width: 28em;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.split-row__slogan {
  margin: 1.35rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  letter-spacing: 0.06em;
  color: var(--navy);
}
.split-row__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
  padding: 0.8rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.split-row__cta:hover,
.split-row__cta:focus-visible {
  background: var(--navy);
  color: var(--gilt);
}

.split-row__media {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--mist);
}
.split-row__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s var(--ease-out);
}
.split-row__media--focus-right > img {
  object-position: 72% center;
}
.split-row:hover .split-row__media > img {
  transform: scale(1.04);
}

.split-points {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 26em;
  display: grid;
  gap: 0.85rem;
  text-align: center;
}
.split-points li {
  display: grid;
  gap: 0.2rem;
  padding: 0;
  border: 0;
}
.split-points strong {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}
.split-points span {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.team-experts {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 32em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  justify-items: center;
}
.team-experts li {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  text-align: center;
}
.team-experts__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--mist);
}
.team-experts__role {
  margin: 0 0 0.25rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
.team-experts h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.team-experts__meta {
  margin: 0.25rem 0 0.35rem;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(18, 52, 76, 0.68);
}
.team-experts__text p:last-child {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============================================================
   Brand reveal — CHANEL-inspired dark→light scrub
   ============================================================ */

.brand-reveal {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--ink);
  padding: clamp(2rem, 4vh, 3.5rem) 1.5rem;
}
.brand-reveal__glow {
  position: absolute; left: 50%; top: 58%;
  opacity: 0.45;
  width: min(72rem, 120vw); aspect-ratio: 2 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(27, 66, 88, 0.6), rgba(10, 26, 36, 0) 72%);
  pointer-events: none;
}
.brand-reveal__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 100%;
}
.brand-reveal__logo {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.22rem, 1.95vw, 1.58rem);
  letter-spacing: 0.18em;
  line-height: 1;
  color: #1E4258;
  opacity: 0.2;
  filter: blur(6px);
  will-change: opacity, filter;
}
.brand-reveal__mark {
  position: relative;
  display: block;
  width: 2.45rem;
  height: 2rem;
  flex: 0 0 auto;
  transform: translateY(-3px);
}
.brand-reveal__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.brand-reveal__name {
  display: block;
  white-space: nowrap;
}
.brand-reveal__sub {
  margin-top: clamp(1.4rem, 3.2vh, 2rem);
  display: flex; flex-direction: column; gap: 0.45rem;
  opacity: 0;
  transform: translateY(14px);
}
.brand-reveal__sub-cn {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  line-height: 1.4;
  color: rgba(231, 217, 186, 0.72);
}
.brand-reveal__sub-en {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(231, 217, 186, 0.72);
}
.brand-reveal__tags {
  margin-top: 1.35rem;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
  opacity: 0;
  transform: translateY(10px);
}

/* ============================================================
   Footer — dark close, CHANEL-like structure
   ============================================================ */

.site-footer {
  flex: 0 0 auto;
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid var(--line-light);
  padding-block: clamp(3.4rem, 7vw, 5rem) 1.8rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(231, 217, 186, 0.16);
}
.site-footer__logo { height: 46px; width: auto; }
.site-footer__slogan {
  margin-top: 1.2rem;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gilt);
}
.site-footer__blurb {
  margin-top: 0.9rem;
  max-width: 22rem;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.66);
}
.site-footer__site {
  display: inline-block;
  margin-top: 1rem;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 217, 186, 0.3);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.site-footer__site:hover, .site-footer__site:focus-visible { color: var(--gilt); border-color: var(--gilt); }

.site-footer__col h4 {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gilt);
  margin-bottom: 1.2rem;
}
.site-footer__col a {
  display: block;
  padding: 0.34rem 0;
  min-height: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.site-footer__col a:hover, .site-footer__col a:focus-visible {
  color: var(--gilt);
  transform: translateX(4px);
}

.news__hint {
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}
.newsletter { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 12rem;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(231, 217, 186, 0.32);
  color: var(--white);
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.38); }
.newsletter input:focus { outline: none; border-color: var(--gilt); }
.newsletter input[aria-invalid="true"] { border-color: #D89A8C; }
.newsletter button {
  min-height: 46px;
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--gilt);
  color: var(--gilt);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  transition: background 0.3s ease, color 0.3s ease;
}
.newsletter button:hover, .newsletter button:focus-visible { background: var(--gilt); color: var(--ink); }
.news__msg { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.04em; min-height: 1.2em; }
.news__msg.is-ok { color: #BFDCC9; }
.news__msg.is-err { color: #E3B3A6; }

.site-footer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.48);
}
.site-footer__legal { display: flex; gap: 1.6rem; }
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: var(--gilt); }

/* ============================================================
   Side drawer — bag / login / wishlist (right slide-in)
   ============================================================ */

.side-drawer {
  position: fixed;
  inset: 0;
  z-index: 220;
  pointer-events: none;
}
.side-drawer.is-open { pointer-events: auto; }
.side-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 20, 0.55);
  opacity: 0;
  transition: opacity 0.38s ease;
  cursor: none;
}
.side-drawer.is-open .side-drawer__backdrop { opacity: 1; }
.side-drawer__cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(6, 14, 20, 0.18);
}
.side-drawer__cursor::before,
.side-drawer__cursor::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.side-drawer__cursor::before { transform: translate(-50%, -50%) rotate(45deg); }
.side-drawer__cursor::after { transform: translate(-50%, -50%) rotate(-45deg); }
.side-drawer__backdrop.is-hovering .side-drawer__cursor {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.side-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 92vw);
  height: 100%;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-out);
  box-shadow: -12px 0 40px rgba(6, 14, 20, 0.12);
}
.side-drawer.is-open .side-drawer__panel { transform: translateX(0); }

.side-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: color 0.25s ease;
}
.side-drawer__close:hover,
.side-drawer__close:focus-visible { color: var(--bronze); }
.side-drawer__close .ui-icon { width: 18px; height: 18px; }

.drawer-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 1.35rem 1.75rem 1.75rem;
}
.drawer-view[hidden] { display: none !important; }

.drawer-view__head {
  padding-right: 2.5rem;
  margin-bottom: 1.5rem;
}
.drawer-view__head--login { margin-top: 2.2rem; margin-bottom: 2rem; }
.drawer-view__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.drawer-count {
  margin-left: 0.15em;
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: super;
}

.drawer-view__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.drawer-view__body--center {
  display: grid;
  place-items: center;
}
.drawer-empty {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.drawer-view__foot {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 26, 36, 0.1);
}
.drawer-foot__title {
  margin: 0 0 0.55rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.drawer-foot__text {
  margin: 0 0 1.25rem;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10, 26, 36, 0.62);
  letter-spacing: 0.01em;
}

.drawer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.drawer-btn--solid {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.drawer-btn--solid:hover,
.drawer-btn--solid:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
}
.drawer-btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  max-width: 160px;
  margin-top: 0.5rem;
}
.drawer-btn--ghost:hover,
.drawer-btn--ghost:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.drawer-login {
  max-width: 360px;
}
.drawer-field {
  display: block;
  margin-bottom: 1.35rem;
}
.drawer-field__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 26, 36, 0.72);
}
.drawer-field input[type="email"],
.drawer-field input[type="password"],
.drawer-field input[type="text"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(10, 26, 36, 0.28);
  background: transparent;
  padding: 0.55rem 0;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}
.drawer-field input:focus {
  border-bottom-color: var(--ink);
}
.drawer-field__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(10, 26, 36, 0.28);
}
.drawer-field__row input {
  border-bottom: 0 !important;
  flex: 1;
  min-width: 0;
}
.drawer-show-pass {
  flex: 0 0 auto;
  padding: 0.35rem 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(10, 26, 36, 0.72);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.drawer-show-pass:hover { color: var(--ink); }

.drawer-login__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0 1.5rem;
  flex-wrap: wrap;
}
.drawer-link {
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  color: rgba(10, 26, 36, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.drawer-link:hover { color: var(--ink); }
.drawer-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 12px;
  color: rgba(10, 26, 36, 0.72);
  cursor: pointer;
}
.drawer-remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--ink);
}
.drawer-login__msg {
  margin: 0.85rem 0 0;
  min-height: 1.2em;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(10, 26, 36, 0.62);
}
.drawer-login__msg.is-err { color: #8a2e2e; }
.drawer-login__msg.is-ok { color: var(--navy); }

@media (max-width: 720px) {
  .side-drawer__panel { width: min(100vw, 100%); }
  .side-drawer__cursor { width: 48px; height: 48px; }
  .side-drawer__cursor::before,
  .side-drawer__cursor::after { width: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .side-drawer__backdrop,
  .side-drawer__panel,
  .side-drawer__cursor { transition: none; }
}

/* ============================================================
   Quickview modal
   ============================================================ */

.quickview { position: fixed; inset: 0; z-index: 200; }
.quickview__backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 14, 20, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.quickview__panel {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -46%);
  width: min(92vw, 880px);
  max-height: 86vh;
  overflow: auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  background: var(--paper);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.quickview.is-open .quickview__backdrop { opacity: 1; }
.quickview.is-open .quickview__panel { opacity: 1; transform: translate(-50%, -50%); }
.quickview__close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--navy);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.quickview__close .ui-icon { width: 16px; height: 16px; }
.quickview__close:hover, .quickview__close:focus-visible { color: var(--bronze); border-color: var(--bronze); }
.quickview__media { min-height: 320px; background: var(--frost); }
.quickview__media img { width: 100%; height: 100%; object-fit: cover; }
.quickview__body {
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex; flex-direction: column;
}
.quickview__kicker {
  font-size: 10.5px;
  letter-spacing: 0.26em;
  color: var(--bronze);
}
.quickview__body h3 {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: 0.05em;
  color: var(--navy);
}
.quickview__en {
  margin-top: 0.5rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(18, 52, 76, 0.5);
}
.quickview__desc {
  margin-top: 1.1rem;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.quickview__specs { margin-top: 1.4rem; }
.quickview__specs > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.quickview__specs dt { color: rgba(18, 52, 76, 0.52); letter-spacing: 0.08em; }
.quickview__specs dd { color: var(--navy); }
.quickview__note {
  margin-top: auto;
  padding-top: 1.4rem;
  font-size: 11px;
  font-style: italic;
  color: rgba(18, 52, 76, 0.44);
}

/* ============================================================
   Motion preferences & fallbacks
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .brand-reveal__inner { filter: none !important; opacity: 1 !important; }
  .site-underlay { filter: none !important; opacity: 1 !important; }
  .brand-reveal__logo { opacity: 1 !important; filter: blur(0) !important; color: var(--gilt) !important; }
  .brand-reveal__sub, .brand-reveal__tags { opacity: 1 !important; transform: none !important; }
  .site-header:not(.is-entered) .nav a,
  .site-header:not(.is-entered) .nav-toggle,
  .site-header:not(.is-entered) .brand,
  .site-header:not(.is-entered) .header-search,
  .site-header:not(.is-entered) .lang-switch,
  .site-header:not(.is-entered) .header-icon {
    opacity: 1 !important;
  }
}

html.no-gsap .reveal { opacity: 1 !important; transform: none !important; }
html.no-gsap .brand-reveal__inner { filter: none !important; opacity: 1 !important; }
html.no-gsap .site-underlay { filter: none !important; opacity: 1 !important; }
html.no-gsap .brand-reveal__logo { opacity: 1 !important; filter: blur(0) !important; color: var(--gilt) !important; }
html.no-gsap .brand-reveal__sub,
html.no-gsap .brand-reveal__tags { opacity: 1 !important; transform: none !important; }
html.no-gsap .site-header:not(.is-entered) .nav a,
html.no-gsap .site-header:not(.is-entered) .nav-toggle,
html.no-gsap .site-header:not(.is-entered) .brand,
html.no-gsap .site-header:not(.is-entered) .header-search,
html.no-gsap .site-header:not(.is-entered) .lang-switch,
html.no-gsap .site-header:not(.is-entered) .header-icon {
  opacity: 1 !important;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1023px) {
  .collections__split { min-height: clamp(480px, 78vh, 800px); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .header-search { max-width: 8rem; min-width: 5rem; }
  .nav a { letter-spacing: 0.1em; font-size: 11px; }
}

@media (max-width: 900px) {
  .ritual__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ritual__item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-block: clamp(1.6rem, 5vw, 2.2rem);
  }
  .ritual__item:first-child {
    border-top: 0;
  }

  .split-row,
  .split-row--reverse {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
  }
  .split-row .split-row__media,
  .split-row--reverse .split-row__media {
    order: -1;
    aspect-ratio: 1 / 1;
    min-height: 0;
    height: auto;
  }
  .split-row__copy {
    padding: clamp(2.8rem, 10vw, 4rem) clamp(1.4rem, 6vw, 2.2rem);
    min-height: clamp(280px, 70vw, 420px);
  }
  .team-experts {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: start;
  }
  .team-experts__photo {
    width: 64px;
    height: 64px;
  }

  .header-search input {
    width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }
  .header-search {
    min-width: 0;
    max-width: none;
    padding: 0;
    border-bottom: 0;
  }
  .header-search:focus-within {
    border-bottom: 0;
  }
  .header-search:focus-within input {
    position: absolute;
    right: clamp(1rem, 4vw, 2rem);
    top: calc(100% + 0.4rem);
    width: min(16rem, calc(100vw - 2rem));
    opacity: 1;
    pointer-events: auto;
    padding: 0.65rem 0.8rem;
    background: var(--white);
    border: 1px solid rgba(10, 26, 36, 0.12);
    box-shadow: 0 10px 30px rgba(10, 26, 36, 0.08);
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }
  .header-left { gap: 0; }
  .nav {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch;
    padding: 0.6rem 0 2rem;
    background: var(--white);
    z-index: 90;
  }
  .nav.is-open { display: flex; }
  .nav a {
    margin: 0;
    padding: 0.95rem clamp(1.25rem, 4vw, 2.5rem);
    min-height: 48px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(10, 26, 36, 0.08);
    font-size: 15px;
    text-transform: none;
    letter-spacing: 0.08em;
    color: var(--ink);
  }
  .nav a::after { display: none; }
  .header-search { display: flex; }
  .header-toast { white-space: normal; max-width: calc(100% - 2rem); text-align: center; }

  .collections__split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .series-panel {
    min-height: clamp(420px, 80vh, 640px);
  }

  .quickview__panel { grid-template-columns: 1fr; max-height: 88vh; }
  .quickview__media { min-height: 220px; max-height: 34vh; }
}

@media (max-width: 639px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
  .campaign__proof { flex-direction: column; gap: 0.9rem; }
  .campaign__cell { border-left: 0; padding: 0; }
  .brand-reveal__logo { letter-spacing: 0.14em; }
  .brand-reveal__sub-cn,
  .brand-reveal__sub-en { letter-spacing: 0.36em; text-indent: 0.36em; }
  .brand-reveal__tags { letter-spacing: 0.32em; text-indent: 0.32em; }
}
