/* ==========================================================================
   VESPERA — Gothic Atelier
   A dark-romantic e-commerce landing page.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/noto-serif-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

:root {
  --black: #070506;
  --black-soft: #0b0809;
  --black-deep: #040303;
  --wine: #25060b;
  --wine-deep: #130507;
  --red: #a60f20;
  --red-bright: #d11b2d;
  --red-hot: #ed2c3e;
  --red-hush: #5a0711;
  --ivory: #f2ece2;
  --ivory-dim: #c9c0b4;
  --silver: #b7ada0;
  --muted: #998e83;
  --muted-dark: #70675e;
  --line: rgba(242, 236, 226, 0.14);
  --line-soft: rgba(242, 236, 226, 0.075);
  --line-strong: rgba(242, 236, 226, 0.3);
  --red-line: rgba(180, 26, 43, 0.45);
  --display: "Cormorant Garamond", "Bodoni MT", Didot, "Times New Roman", serif;
  --caps: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cn-serif: "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  --cn-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --pad: clamp(20px, 4.5vw, 74px);
  --header-h: 88px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #4e1119 #070506;
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.has-dialog {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #080607;
}

::-webkit-scrollbar-thumb {
  background: #4c1018;
  border: 2px solid #080607;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

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

svg {
  display: block;
}

input {
  font: inherit;
}

dialog {
  color: var(--ivory);
}

:focus-visible {
  outline: 1.5px solid var(--red-bright);
  outline-offset: 5px;
}

:focus:not(:focus-visible) {
  outline: none;
}

[hidden] {
  display: none !important;
}

section[id],
footer[id] {
  scroll-margin-top: 92px;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 300;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  background: var(--ivory);
  color: var(--black);
  font-family: var(--caps);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --- Language pairing ---------------------------------------------------- */

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

.lang-zh {
  font-family: var(--cn-serif);
}

html[data-lang="zh"] body {
  letter-spacing: 0.03em;
}

/* --- Global atmosphere --------------------------------------------------- */

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("../img/noise.svg");
  background-repeat: repeat;
  background-size: 190px 190px;
  mix-blend-mode: soft-light;
}

.site-vignette {
  position: fixed;
  inset: 0;
  z-index: 54;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(3, 2, 3, 0.26) 72%, rgba(3, 2, 3, 0.62) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.28));
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #68101b, var(--red-bright));
  box-shadow: 0 0 14px rgba(209, 27, 45, 0.55);
  transition: width 0.12s linear;
}

.shell {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  position: relative;
  padding-block: clamp(104px, 13vw, 190px);
}

/* --- Type utilities ------------------------------------------------------ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory-dim);
  font-family: var(--caps);
  font-size: clamp(0.55rem, 0.53vw, 0.65rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

html[data-lang="zh"] .eyebrow {
  font-family: var(--cn-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.eyebrow--center {
  justify-content: center;
  text-align: center;
}

.eyebrow-number {
  color: var(--red-bright);
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.18em;
}

.eyebrow-rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow-slash {
  color: var(--red);
}

.edition-no {
  color: var(--muted);
}

.section-title {
  margin-top: clamp(22px, 3vw, 36px);
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.6vw, 7rem);
  font-style: normal;
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-title em {
  color: var(--ivory-dim);
  font-style: italic;
  font-weight: 300;
}

html[data-lang="zh"] .section-title {
  font-family: var(--cn-serif);
  font-size: clamp(2.7rem, 5.25vw, 5.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.035em;
}

html[data-lang="zh"] .section-title em {
  color: var(--red-bright);
  font-style: normal;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ivory);
  font-family: var(--caps);
  font-size: 0.6rem;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}

html[data-lang="zh"] .text-link {
  font-family: var(--cn-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.text-link svg {
  width: 21px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  border-color: var(--red);
  color: var(--ivory);
}

.text-link:hover svg {
  transform: translateX(5px);
}

.text-link--large {
  font-size: 0.63rem;
}

/* --- Buttons ------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 15px 26px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ivory);
  font-family: var(--caps);
  font-size: 0.61rem;
  line-height: 1.2;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  transition:
    color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

html[data-lang="zh"] .button {
  font-family: var(--cn-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.button svg {
  width: 24px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 0.35s var(--ease);
}

.button:hover {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--black);
}

.button:hover svg {
  transform: translateX(4px);
}

.button--solid {
  border-color: var(--red-bright);
  background: var(--red-bright);
  color: #fff;
  box-shadow: 0 10px 35px rgba(126, 6, 19, 0.24);
}

.button--solid:hover {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--black);
}

.button--outline {
  border-color: var(--line-strong);
  background: transparent;
}

.button--full {
  width: 100%;
}

.button-price {
  margin-left: auto;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: var(--header-h);
  padding-inline: var(--pad);
  background: linear-gradient(to bottom, rgba(7, 5, 6, 0.82) 0%, rgba(7, 5, 6, 0) 100%);
  transition:
    height 0.45s var(--ease),
    background-color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
}

.site-header::after {
  position: absolute;
  right: var(--pad);
  bottom: 0;
  left: var(--pad);
  height: 1px;
  background: var(--line-soft);
  content: "";
  opacity: 0;
  transition: opacity 0.4s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(7, 5, 6, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none;
}

.brand-mark {
  width: 22px;
  height: 25px;
  color: var(--ivory);
  transition: color 0.3s ease, transform 0.5s var(--ease);
}

.brand:hover .brand-mark {
  color: var(--red-bright);
  transform: rotate(45deg);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--caps);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.32em;
}

.brand-sub {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.45rem;
  line-height: 1;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.brand-sub .lang-zh {
  font-family: var(--cn-sans);
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.65vw, 46px);
  margin-left: auto;
  margin-right: clamp(18px, 4vw, 64px);
}

.primary-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ivory-dim);
  font-family: var(--caps);
  font-size: 0.59rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

html[data-lang="zh"] .primary-nav a {
  font-family: var(--cn-sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--red-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--ivory);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.35vw, 21px);
  flex: none;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--ivory-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.icon-button:hover {
  border-color: var(--line);
  color: var(--ivory);
}

.bag-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory-dim);
  font-family: var(--caps);
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

html[data-lang="zh"] .bag-trigger {
  font-family: var(--cn-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.bag-trigger > svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.bag-trigger:hover {
  color: var(--ivory);
}

.bag-count {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  padding-inline: 3px;
  place-items: center;
  border: 1px solid var(--red-line);
  border-radius: 50%;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.bag-count.has-items {
  border-color: var(--red);
  background: var(--red);
}

.bag-count.is-pulsing {
  animation: countPulse 0.55s var(--ease);
}

@keyframes countPulse {
  0% { transform: scale(1); }
  38% { transform: scale(1.45); box-shadow: 0 0 0 5px rgba(209, 27, 45, 0.08); }
  100% { transform: scale(1); }
}

.language-toggle {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(242, 236, 226, 0.025);
}

.language-toggle button {
  display: grid;
  height: 24px;
  padding-inline: 9px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.language-toggle button:hover {
  color: var(--ivory);
}

.language-toggle button.is-active {
  background: var(--ivory);
  color: var(--black);
}

.language-rule {
  width: 1px;
  height: 9px;
  margin-inline: 1px;
  background: var(--line);
}

.menu-trigger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  color: var(--ivory);
}

.menu-trigger > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin-left: auto;
  background: currentColor;
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}

.menu-trigger > span:nth-child(2) {
  width: 12px;
}

.menu-trigger:hover > span:nth-child(2) {
  width: 18px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(18px, 3.8vh, 42px)) var(--pad) clamp(16px, 2.5vh, 30px);
  overflow: hidden;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-halo {
  position: absolute;
  top: 54%;
  left: 50%;
  width: min(92vw, 1050px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(155, 16, 31, 0.52) 0%, rgba(113, 8, 19, 0.27) 26%, rgba(56, 4, 10, 0.13) 47%, rgba(7, 5, 6, 0) 70%);
  filter: blur(28px);
  transform: translate(-50%, -50%);
}

.hero-halo--small {
  top: 51%;
  width: min(34vw, 430px);
  background: radial-gradient(circle, rgba(255, 74, 92, 0.15), rgba(137, 7, 19, 0.06) 48%, transparent 72%);
  filter: blur(38px);
  animation: haloBreathe 9s ease-in-out infinite alternate;
}

@keyframes haloBreathe {
  0% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-word {
  position: absolute;
  top: 58%;
  left: 50%;
  color: transparent;
  font-family: var(--caps);
  font-size: clamp(9rem, 21vw, 21rem);
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0.16;
  -webkit-text-stroke: 1px rgba(242, 236, 226, 0.08);
  transform: translate(-50%, -50%);
  user-select: none;
}

.hero-arch {
  position: absolute;
  bottom: -7%;
  left: 50%;
  width: min(62vw, 820px);
  height: auto;
  transform: translateX(-50%);
  opacity: 0.8;
}

.arch-line {
  stroke: rgba(242, 236, 226, 0.16);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

.arch-line--inner {
  stroke: rgba(209, 27, 45, 0.22);
}

.arch-line--faint {
  stroke: rgba(242, 236, 226, 0.075);
}

.hero-cross {
  position: absolute;
  color: rgba(242, 236, 226, 0.36);
  font-family: var(--sans);
  font-size: 0.7rem;
}

.hero-cross--left {
  top: 48%;
  left: 7.5%;
}

.hero-cross--right {
  top: 31%;
  right: 8.5%;
  color: rgba(209, 27, 45, 0.55);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin-inline: auto;
  text-align: center;
}

.hero-title {
  margin-top: clamp(14px, 1.9vh, 26px);
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(4.35rem, 8.2vw, 8.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.047em;
  text-wrap: balance;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.55);
}

.hero-title em {
  color: var(--red-bright);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.027em;
  text-shadow: 0 0 46px rgba(173, 14, 29, 0.22);
}

html[data-lang="zh"] .hero-title {
  font-family: var(--cn-serif);
  font-size: clamp(3.7rem, 7.5vw, 7.6rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

html[data-lang="zh"] .hero-title em {
  color: var(--red-bright);
  font-style: normal;
}

.hero-deck {
  max-width: 600px;
  margin: clamp(12px, 1.8vh, 20px) auto 0;
  color: var(--ivory-dim);
  font-family: var(--sans);
  font-size: clamp(0.75rem, 0.9vw, 0.88rem);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.035em;
}

html[data-lang="zh"] .hero-deck {
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: -8px;
}

.ring-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(52vw, 680px);
  height: 100%;
  max-height: 680px;
  min-height: 300px;
  perspective: 1200px;
  transform: translateY(8px);
}

.ring-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(242, 236, 226, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.ring-orbit--one {
  width: 76%;
  height: 74%;
  transform: translate(-50%, -50%) rotate(-12deg) scaleY(0.86);
}

.ring-orbit--two {
  width: 96%;
  height: 92%;
  border-color: rgba(173, 30, 45, 0.14);
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(17deg) scaleY(0.9);
  opacity: 0.8;
}

.ring-spark {
  position: absolute;
  z-index: 4;
  color: rgba(255, 246, 235, 0.72);
  font-size: 0.7rem;
  line-height: 1;
  animation: starFade 5.5s ease-in-out infinite;
  pointer-events: none;
}

.ring-spark--one {
  top: 22%;
  left: 7%;
  animation-delay: -1.1s;
}

.ring-spark--two {
  top: 60%;
  right: 2%;
  color: rgba(209, 27, 45, 0.8);
  font-size: 0.55rem;
  animation-delay: -3.7s;
}

.ring-spark--three {
  bottom: 10%;
  left: 21%;
  color: rgba(242, 236, 226, 0.38);
  font-size: 0.5rem;
  animation-delay: -2.3s;
}

@keyframes starFade {
  0%, 100% { opacity: 0.18; transform: scale(0.8); }
  45% { opacity: 0.95; transform: scale(1); }
  72% { opacity: 0.4; transform: scale(0.9); }
}

.ring-glow {
  position: absolute;
  top: 51%;
  left: 50%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 49, 68, 0.17), rgba(117, 7, 18, 0.08) 45%, transparent 68%);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring-shadow {
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 43%;
  height: 8%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  filter: blur(20px);
  transform: translateX(-50%);
  pointer-events: none;
}

.ring-object {
  position: relative;
  z-index: 3;
  height: 108%;
  transform-style: preserve-3d;
  transform: rotateX(var(--ring-rx, 0deg)) rotateY(var(--ring-ry, 0deg)) rotate(var(--ring-rot, -1.5deg));
  transition: transform 0.5s var(--ease-soft);
  will-change: transform;
  animation: ringFloat 8s ease-in-out infinite;
}

.ring-object img {
  width: auto;
  max-width: 100%;
  height: 100%;
  filter: drop-shadow(0 35px 38px rgba(0, 0, 0, 0.55)) saturate(1.03) contrast(1.03);
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes ringFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.ring-callout {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.52rem;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

html[data-lang="zh"] .ring-callout {
  font-family: var(--cn-sans);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.ring-callout::before {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--line);
  content: "";
}

.ring-callout--left {
  top: 36%;
  left: -5%;
}

.ring-callout--right {
  right: -8%;
  bottom: 27%;
}

.ring-callout--right::before {
  order: 2;
}

.hero-aside {
  position: absolute;
  top: 47%;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.5rem;
  line-height: 1.8;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateY(-50%);
  pointer-events: none;
}

html[data-lang="zh"] .hero-aside {
  font-family: var(--cn-sans);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
}

.hero-aside--left {
  left: 0;
}

.hero-aside--right {
  right: 0;
}

.aside-index {
  color: var(--red-bright);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0;
}

.aside-rule {
  width: clamp(32px, 4vw, 72px);
  height: 1px;
  background: var(--line);
}

.aside-copy {
  color: var(--ivory-dim);
}

.aside-copy--right {
  text-align: right;
}

.hero-foot {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 22px;
  width: 100%;
  margin-top: 6px;
  padding-top: clamp(12px, 1.8vh, 19px);
  border-top: 1px solid var(--line-soft);
}

.hero-foot-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-foot-meta--end {
  align-items: flex-end;
  text-align: right;
}

.meta-label {
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.49rem;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[data-lang="zh"] .meta-label {
  font-family: var(--cn-sans);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
}

.meta-value {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.hero-price {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.button--hero {
  min-width: 230px;
  min-height: 46px;
  padding-block: 13px;
  border-color: rgba(242, 236, 226, 0.24);
  background: rgba(8, 6, 7, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

html[data-lang="zh"] .button--hero {
  min-width: 208px;
}

.button--hero:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--black);
}

.scroll-cue {
  position: absolute;
  right: var(--pad);
  bottom: 118px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scrollPulse 2.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.45); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  height: 64px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: #090607;
}

.marquee::before,
.marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(30px, 8vw, 150px);
  content: "";
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, #090607, transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, #090607, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: marquee 44s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
  padding-left: 30px;
  white-space: nowrap;
}

.marquee-group > span {
  color: var(--ivory-dim);
  font-family: var(--caps);
  font-size: 0.56rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

html[data-lang="zh"] .marquee-group > span {
  font-family: var(--cn-sans);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
}

.marquee-group i {
  color: var(--red);
  font-size: 0.7rem;
  font-style: normal;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Collection
   ========================================================================== */

.collection {
  background:
    radial-gradient(ellipse 48% 42% at 78% 18%, rgba(66, 6, 12, 0.28), transparent 68%),
    var(--black);
  overflow: hidden;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(40px, 8vw, 150px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 104px);
}

.section-heading-aside {
  max-width: 390px;
  margin-left: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.section-intro {
  color: var(--ivory-dim);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

html[data-lang="zh"] .section-intro {
  font-size: 0.9rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

.section-heading-aside .text-link {
  margin-top: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 38px);
  align-items: start;
}

.product-card {
  min-width: 0;
}

.product-card--offset {
  margin-top: clamp(38px, 5vw, 76px);
}

.product-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0708;
  isolation: isolate;
}

.product-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 5, 6, 0.18), transparent 28%, transparent 66%, rgba(7, 5, 6, 0.58)),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(242, 236, 226, 0.02) 25%);
  content: "";
  pointer-events: none;
}

.product-visual::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 52%, rgba(172, 16, 32, 0.2), transparent 60%);
  content: "";
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.product-visual--ring {
  background:
    radial-gradient(ellipse 58% 53% at 50% 46%, #36070e 0%, #130708 48%, #080607 100%);
}

.product-visual--cuff {
  background:
    radial-gradient(ellipse 65% 55% at 50% 48%, #2b1113 0%, #100809 50%, #080607 100%);
}

.product-visual--pendant {
  background:
    radial-gradient(ellipse 52% 55% at 50% 45%, #2b070d 0%, #100607 53%, #080607 100%);
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 4%;
  filter: drop-shadow(0 26px 35px rgba(0, 0, 0, 0.45));
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}

.product-visual--cuff img {
  padding: 10%;
}

.product-visual:hover::after {
  opacity: 1;
}

.product-visual:hover img {
  transform: scale(1.035) translateY(-5px);
  filter: drop-shadow(0 32px 45px rgba(0, 0, 0, 0.55)) saturate(1.04);
}

.product-visual--cuff:hover img {
  transform: scale(1.035) translateY(-5px);
}

.card-index {
  position: absolute;
  top: 17px;
  left: 18px;
  z-index: 2;
  color: rgba(242, 236, 226, 0.54);
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: italic;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 4px 8px;
  border: 1px solid rgba(209, 27, 45, 0.4);
  color: var(--ivory-dim);
  font-family: var(--caps);
  font-size: 0.45rem;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(7, 5, 6, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

html[data-lang="zh"] .card-badge {
  font-family: var(--cn-sans);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.card-badge--dark {
  border-color: var(--line);
}

.card-view {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--caps);
  font-size: 0.48rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(7, 5, 6, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html[data-lang="zh"] .card-view {
  font-family: var(--cn-sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.card-view-cross {
  color: var(--red-bright);
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1;
}

.product-visual:hover .card-view,
.product-visual:focus-visible .card-view {
  opacity: 1;
  transform: translateY(0);
}

.product-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 17px 0 19px;
  border-bottom: 1px solid var(--line-soft);
}

.product-copy {
  min-width: 0;
}

.product-category {
  color: #c63849;
  font-family: var(--caps);
  font-size: 0.5rem;
  line-height: 1.5;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

html[data-lang="zh"] .product-category {
  font-family: var(--cn-sans);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.product-details h3 {
  margin: 7px 0 5px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

html[data-lang="zh"] .product-details h3 {
  font-family: var(--cn-serif);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.product-details h3 button {
  transition: color 0.25s ease;
}

.product-details h3 button:hover {
  color: var(--red-bright);
}

.product-material {
  color: #a59a8e;
  font-size: 0.68rem;
  line-height: 1.5;
  letter-spacing: 0.045em;
}

html[data-lang="zh"] .product-material {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.product-price {
  flex: none;
  padding-top: 17px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.collection-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(56px, 7vw, 94px);
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.48rem;
  line-height: 1.6;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

html[data-lang="zh"] .collection-foot {
  font-family: var(--cn-sans);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
}

.collection-count {
  flex: none;
  color: var(--ivory-dim);
}

.collection-rule {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.collection-note {
  flex: none;
  text-align: right;
}

/* ==========================================================================
   Manifesto
   ========================================================================== */

.manifesto {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding-block: clamp(105px, 14vw, 190px);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 48% 75% at 50% 52%, rgba(94, 7, 15, 0.34), transparent 70%),
    #060405;
}

.manifesto::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 72%;
  background: linear-gradient(to bottom, transparent, rgba(209, 27, 45, 0.22), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.manifesto-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(74vw, 760px);
  opacity: 0.18;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.manifesto-mark svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--red);
  stroke-width: 0.7;
  animation: sigilTurn 140s linear infinite;
}

@keyframes sigilTurn {
  to { transform: rotate(360deg); }
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

.manifesto h2 {
  max-width: 1120px;
  margin: clamp(24px, 3.5vw, 42px) auto 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.3rem, 5vw, 5.25rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.manifesto h2 em {
  color: var(--red-bright);
  font-style: italic;
}

.quote-mark {
  display: inline-block;
  margin-right: 0.03em;
  color: var(--red);
  font-family: var(--display);
  font-size: 1.2em;
  font-style: italic;
  line-height: 0;
  vertical-align: -0.08em;
}

html[data-lang="zh"] .manifesto h2 {
  max-width: 1000px;
  font-family: var(--cn-serif);
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

html[data-lang="zh"] .manifesto h2 em {
  font-style: normal;
}

.manifesto-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 50px);
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.49rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[data-lang="zh"] .manifesto-signature {
  font-family: var(--cn-sans);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}

.signature-line {
  width: 44px;
  height: 1px;
  background: var(--line);
}

/* ==========================================================================
   Atelier
   ========================================================================== */

.atelier {
  background:
    radial-gradient(ellipse 40% 55% at 88% 46%, rgba(75, 6, 13, 0.22), transparent 74%),
    var(--black);
  overflow: hidden;
}

.atelier-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(50px, 8.5vw, 140px);
  align-items: start;
}

.atelier-copy {
  position: sticky;
  top: 124px;
  max-width: 600px;
  padding-top: 12px;
}

.atelier-body {
  max-width: 515px;
  margin-top: clamp(30px, 4vw, 48px);
  color: #ab9f93;
  font-size: 0.87rem;
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: 0.025em;
}

html[data-lang="zh"] .atelier-body {
  font-size: 0.88rem;
  line-height: 2.05;
  letter-spacing: 0.045em;
}

.atelier-body .lead {
  margin-bottom: 20px;
  color: var(--ivory-dim);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

html[data-lang="zh"] .atelier-body .lead {
  font-family: var(--cn-serif);
  font-size: 1.5rem;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.atelier-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 34px);
  max-width: 540px;
  margin-top: clamp(36px, 4.8vw, 58px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.atelier-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.atelier-stats dt {
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.65vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.015em;
}

.atelier-stats dd {
  margin: 0;
  color: #9b9084;
  font-family: var(--caps);
  font-size: 0.53rem;
  line-height: 1.6;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

html[data-lang="zh"] .atelier-stats dd {
  font-family: var(--cn-sans);
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}

.atelier-copy .text-link--large {
  margin-top: clamp(34px, 4.4vw, 54px);
}

.atelier-visual {
  position: relative;
  min-height: clamp(560px, 57vw, 790px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #100608;
}

.atelier-visual::before {
  position: absolute;
  inset: 16px;
  z-index: 5;
  border: 1px solid rgba(242, 236, 226, 0.07);
  content: "";
  pointer-events: none;
}

.atelier-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.atelier-image-wrap::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 58% 48% at 51% 44%, rgba(131, 10, 22, 0.4), transparent 68%),
    linear-gradient(180deg, rgba(7, 5, 6, 0.25), transparent 35%, rgba(6, 4, 5, 0.1) 65%, #070506 100%);
  content: "";
}

.atelier-image-wrap img {
  position: absolute;
  top: -18%;
  left: 50%;
  width: 172%;
  max-width: none;
  height: auto;
  transform: translateX(-50%) rotate(-2.5deg);
  filter: contrast(1.06) saturate(1.04) drop-shadow(0 35px 55px rgba(0, 0, 0, 0.55));
}

.image-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 5, 6, 0.54), transparent 30%, transparent 72%, rgba(7, 5, 6, 0.42)),
    linear-gradient(0deg, rgba(7, 5, 6, 0.92), transparent 26%);
}

.atelier-index {
  position: absolute;
  top: 30px;
  right: 31px;
  z-index: 4;
  color: rgba(242, 236, 226, 0.55);
  font-family: var(--caps);
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.atelier-crosshair {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 4;
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.atelier-crosshair::before,
.atelier-crosshair::after {
  position: absolute;
  background: rgba(242, 236, 226, 0.55);
  content: "";
}

.atelier-crosshair::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 1px;
}

.atelier-crosshair::after {
  top: 0;
  left: 8px;
  width: 1px;
  height: 18px;
}

.atelier-quote {
  position: absolute;
  top: clamp(34px, 5vw, 70px);
  left: clamp(28px, 4vw, 58px);
  z-index: 4;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

html[data-lang="zh"] .atelier-quote {
  font-family: var(--cn-serif);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.atelier-visual figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(24px, 3.5vw, 44px);
  border-top: 1px solid rgba(242, 236, 226, 0.14);
}

.figcaption-number {
  color: var(--red-bright);
  font-family: var(--display);
  font-size: 0.95rem;
  font-style: italic;
}

.atelier-visual figcaption > div {
  flex: 1;
  text-align: right;
}

.atelier-visual figcaption p {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

html[data-lang="zh"] .atelier-visual figcaption p {
  font-family: var(--cn-serif);
  font-size: 1.1rem;
}

.atelier-visual figcaption span:not(.figcaption-number) {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.46rem;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-lang="zh"] .atelier-visual figcaption span:not(.figcaption-number) {
  font-family: var(--cn-sans);
  font-size: 0.59rem;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Bespoke
   ========================================================================== */

.bespoke {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 50% 70% at 18% 48%, rgba(105, 8, 18, 0.34), transparent 72%),
    radial-gradient(ellipse 45% 50% at 92% 18%, rgba(78, 5, 12, 0.2), transparent 76%),
    #080506;
}

.bespoke::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), rgba(242, 236, 226, 0.03) 50%, transparent calc(50% + 0.5px));
  content: "";
  pointer-events: none;
}

.bespoke-watermark {
  position: absolute;
  top: 2%;
  right: -2%;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(28rem, 58vw, 58rem);
  font-weight: 300;
  font-style: italic;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(209, 27, 45, 0.07);
  user-select: none;
  pointer-events: none;
}

.bespoke-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.bespoke-intro {
  max-width: 490px;
  margin-top: clamp(24px, 3vw, 36px);
  color: var(--ivory-dim);
  font-size: 0.85rem;
  line-height: 1.9;
}

html[data-lang="zh"] .bespoke-intro {
  font-size: 0.9rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

.bespoke-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(45px, 8.5vw, 140px);
  align-items: center;
  margin-top: clamp(48px, 6.5vw, 88px);
}

.seal-wrap {
  position: relative;
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
}

.seal-card {
  --metal-hi: #f5eee2;
  --metal-mid: #a69d90;
  --metal-lo: #4a443d;
  --stone-hi: #ffc0b6;
  --stone-mid: #cf1d2d;
  --stone-lo: #75000d;
  --stone-dark: #230004;
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(242, 236, 226, 0.2);
  background:
    radial-gradient(ellipse 62% 48% at 50% 40%, #430b12 0%, #1a080a 45%, #0a0607 78%),
    #0a0607;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.48);
  transition: border-color 0.5s ease;
}

.seal-card::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(242, 236, 226, 0.012) 4px),
    radial-gradient(ellipse at 50% 92%, rgba(209, 27, 45, 0.12), transparent 54%);
  content: "";
  pointer-events: none;
}

.seal-card[data-stone="garnet"] {
  --stone-hi: #f8b8c5;
  --stone-mid: #a63251;
  --stone-lo: #561227;
  --stone-dark: #1b0509;
}

.seal-card[data-stone="diamond"] {
  --stone-hi: #ffffff;
  --stone-mid: #c7c2b8;
  --stone-lo: #716b61;
  --stone-dark: #1e1c19;
}

.seal-card[data-metal="blackened"] {
  --metal-hi: #928a7d;
  --metal-mid: #4c463f;
  --metal-lo: #171412;
}

.seal-card[data-metal="gold"] {
  --metal-hi: #fff4d9;
  --metal-mid: #c7a974;
  --metal-lo: #6b512c;
}

.seal-kicker {
  position: relative;
  z-index: 2;
  color: var(--ivory-dim);
  font-family: var(--caps);
  font-size: 0.49rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

html[data-lang="zh"] .seal-kicker {
  font-family: var(--cn-sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.seal-number {
  position: absolute;
  top: clamp(22px, 3vw, 32px);
  right: clamp(22px, 3vw, 32px);
  z-index: 2;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.45rem;
  letter-spacing: 0.14em;
}

.seal-art {
  position: relative;
  z-index: 1;
  width: 82%;
  height: auto;
  margin: 1.5% auto 0;
  filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.35));
}

.seal-engraving {
  position: relative;
  z-index: 2;
  margin-top: 1%;
  padding: 18px 72px 4px 0;
  border-top: 1px solid rgba(242, 236, 226, 0.16);
  text-align: left;
}

.seal-engraving-label {
  display: block;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.46rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html[data-lang="zh"] .seal-engraving-label {
  font-family: var(--cn-sans);
  font-size: 0.59rem;
  letter-spacing: 0.08em;
}

.seal-engraving strong {
  display: block;
  min-height: 1.3em;
  margin-top: 6px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.16em;
  overflow-wrap: anywhere;
}

.seal-wax {
  position: absolute;
  right: 4px;
  bottom: 1px;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 46% 54% 51% 49% / 48% 45% 55% 52%;
  color: #e9c8b9;
  font-family: var(--caps);
  font-size: 1.1rem;
  background:
    radial-gradient(circle at 33% 27%, rgba(255, 167, 155, 0.3), transparent 30%),
    radial-gradient(circle at 60% 70%, #430008, #7e0915 56%, #390006 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 194, 175, 0.22),
    inset 0 0 12px rgba(0, 0, 0, 0.5),
    0 8px 15px rgba(0, 0, 0, 0.28);
  transform: rotate(-8deg);
}

.seal-corner {
  position: absolute;
  z-index: 3;
  width: 15px;
  height: 15px;
  border-color: rgba(209, 27, 45, 0.72);
  border-style: solid;
  pointer-events: none;
}

.seal-corner--tl { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.seal-corner--tr { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.seal-corner--bl { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; }
.seal-corner--br { right: 14px; bottom: 14px; border-width: 0 1px 1px 0; }

.bespoke-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: clamp(23px, 2.9vw, 34px);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
  color: #a2978c;
  font-family: var(--caps);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[data-lang="zh"] legend {
  font-family: var(--cn-sans);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-height: 82px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  color: #bfb4a7;
  background: rgba(242, 236, 226, 0.025);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

.choice:hover {
  border-color: var(--line-strong);
  color: var(--ivory-dim);
}

.choice[aria-pressed="true"] {
  border-color: rgba(209, 27, 45, 0.78);
  background: rgba(114, 8, 19, 0.18);
  color: var(--ivory);
}

.choice[aria-pressed="true"]::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px rgba(209, 27, 45, 0.8);
  content: "";
}

.choice-copy {
  color: inherit;
  font-size: 0.64rem;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: left;
}

html[data-lang="zh"] .choice-copy {
  font-family: var(--cn-sans);
  font-size: 0.72rem;
  line-height: 1.45;
}

.stone-chip {
  display: block;
  width: 17px;
  height: 17px;
  clip-path: polygon(50% 0, 91% 25%, 91% 75%, 50% 100%, 9% 75%, 9% 25%);
}

.stone-chip--ruby {
  background:
    linear-gradient(135deg, rgba(255, 220, 209, 0.9) 0 10%, transparent 11%),
    radial-gradient(circle at 35% 30%, #ffa8a4, #d11b2d 36%, #78000d 72%, #2a0003);
}

.stone-chip--garnet {
  background:
    linear-gradient(135deg, rgba(251, 213, 226, 0.8) 0 10%, transparent 11%),
    radial-gradient(circle at 35% 30%, #e89ab8, #9f2b4b 40%, #4a0e21 75%, #19050b);
}

.stone-chip--diamond {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0 10%, transparent 11%),
    radial-gradient(circle at 35% 30%, #fbf9f3, #a7a196 55%, #413d36 100%);
}

.metal-chip {
  display: block;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.metal-chip--silver { background: linear-gradient(135deg, #fffdf6, #999186 47%, #4e4942); }
.metal-chip--blackened { background: linear-gradient(135deg, #969087, #35312c 50%, #11100e); }
.metal-chip--gold { background: linear-gradient(135deg, #fff6db, #c9a86d 50%, #6d512c); }

.inscription-group label,
.email-group label {
  display: block;
  color: #a2978c;
  font-family: var(--caps);
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[data-lang="zh"] .inscription-group label,
html[data-lang="zh"] .email-group label {
  font-family: var(--cn-sans);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}

.inscription-field {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.25s ease;
}

.inscription-field:focus-within {
  border-color: var(--red-bright);
}

.inscription-field input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 11px 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.15vw, 1.95rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inscription-field input::placeholder {
  color: var(--muted-dark);
}

.character-count {
  flex: none;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.field-note,
.form-note {
  margin-top: 8px;
  color: #8f8479;
  font-size: 0.64rem;
  line-height: 1.65;
  letter-spacing: 0.025em;
}

html[data-lang="zh"] .field-note,
html[data-lang="zh"] .form-note {
  font-size: 0.68rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.email-group input {
  width: 100%;
  height: 48px;
  margin-top: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(242, 236, 226, 0.02);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.email-group input:focus {
  border-color: var(--red-bright);
  background: rgba(242, 236, 226, 0.035);
}

.email-group input::placeholder,
.reserve-form input::placeholder {
  color: var(--muted-dark);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.commission-from {
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.47rem;
  line-height: 1.6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

html[data-lang="zh"] .commission-from {
  font-family: var(--cn-sans);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.commission-from strong {
  display: block;
  margin-top: 2px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.form-submit .button {
  flex: none;
}

.bespoke-form > .form-step > .form-note {
  margin-top: 12px;
}

.form-success {
  margin-top: 16px;
  padding: 12px 15px;
  border: 1px solid rgba(209, 27, 45, 0.35);
  color: var(--ivory-dim);
  font-size: 0.72rem;
  line-height: 1.7;
  background: rgba(90, 7, 17, 0.16);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.newsletter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  padding-block: clamp(100px, 12vw, 170px);
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 38% 55% at 50% 54%, rgba(102, 9, 18, 0.32), transparent 70%),
    #050404;
}

.newsletter-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(242, 236, 226, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.newsletter-orbit--one {
  width: min(74vw, 860px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scaleY(0.33);
}

.newsletter-orbit--two {
  width: min(96vw, 1160px);
  aspect-ratio: 1;
  border-color: rgba(209, 27, 45, 0.13);
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(-9deg) scaleY(0.38);
}

.newsletter::before,
.newsletter::after {
  position: absolute;
  top: 50%;
  width: 1px;
  height: 54%;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
  content: "";
}

.newsletter::before {
  left: var(--pad);
}

.newsletter::after {
  right: var(--pad);
}

.newsletter-star {
  position: absolute;
  color: rgba(242, 236, 226, 0.4);
  font-size: 0.7rem;
}

.newsletter-star--a {
  top: 23%;
  left: 17%;
}

.newsletter-star--b {
  right: 16%;
  bottom: 22%;
  color: rgba(209, 27, 45, 0.7);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.newsletter-title {
  margin-top: clamp(20px, 3vw, 32px);
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(3.7rem, 7.9vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.newsletter-title em {
  color: var(--red-bright);
  font-style: italic;
}

html[data-lang="zh"] .newsletter-title {
  font-family: var(--cn-serif);
  font-size: clamp(3rem, 6.2vw, 6.3rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

html[data-lang="zh"] .newsletter-title em {
  font-style: normal;
}

.newsletter-deck {
  max-width: 520px;
  margin: clamp(20px, 2.8vw, 32px) auto 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

html[data-lang="zh"] .newsletter-deck {
  max-width: 600px;
  font-size: 0.9rem;
  line-height: 2;
  letter-spacing: 0.06em;
}

.newsletter-form {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: clamp(30px, 4vw, 45px) auto 0;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
  border-color: var(--red-bright);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 16px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding: 13px 0 13px 20px;
  color: var(--ivory);
  font-family: var(--caps);
  font-size: 0.54rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

html[data-lang="zh"] .newsletter-form button {
  font-family: var(--cn-sans);
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.newsletter-form button svg {
  width: 21px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  transition: transform 0.3s var(--ease);
}

.newsletter-form button:hover {
  color: var(--red-bright);
}

.newsletter-form button:hover svg {
  transform: translateX(5px);
}

.newsletter-status {
  min-height: 1.3em;
  margin-top: 13px;
  color: var(--red-bright);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

html[data-lang="zh"] .newsletter-status {
  font-size: 0.76rem;
}

.newsletter-privacy {
  margin-top: 9px;
  color: #7c7269;
  font-size: 0.6rem;
  line-height: 1.7;
  letter-spacing: 0.025em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 9vw, 120px);
  border-top: 1px solid var(--line-soft);
  background: #050404;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
  padding-bottom: clamp(55px, 7vw, 90px);
}

.footer-invitation {
  max-width: 320px;
}

.footer-address {
  margin-top: 22px;
  color: var(--ivory-dim);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

html[data-lang="zh"] .footer-address {
  font-family: var(--cn-serif);
  font-size: 1.08rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.footer-invitation .text-link {
  margin-top: 22px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.footer-links h3 {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.49rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

html[data-lang="zh"] .footer-links h3 {
  font-family: var(--cn-sans);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.footer-links li {
  margin-top: 10px;
}

.footer-links a,
.footer-links button {
  color: var(--ivory-dim);
  font-size: 0.73rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.footer-links button {
  text-align: left;
}

html[data-lang="zh"] .footer-links a,
html[data-lang="zh"] .footer-links button {
  font-family: var(--cn-sans);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--ivory);
}

.external-mark {
  display: inline-block;
  margin-left: 3px;
  color: var(--muted);
  font-size: 0.65em;
  transform: translateY(-0.25em);
}

.footer-wordmark {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 46px);
  padding-inline: clamp(6px, 1.8vw, 28px);
  color: transparent;
  font-family: var(--caps);
  font-size: clamp(5.2rem, 16.2vw, 16rem);
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: 0.035em;
  text-align: center;
  background: linear-gradient(180deg, rgba(242, 236, 226, 0.94) 0%, rgba(209, 201, 188, 0.74) 54%, rgba(111, 103, 93, 0.46) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}

.footer-wordmark span {
  display: inline-block;
  transition: transform 0.6s var(--ease), color 0.4s ease;
}

.footer-wordmark span:hover {
  color: var(--red-bright);
  transform: translateY(-0.035em);
}

.footer-wordmark i {
  display: block;
  width: 0.07em;
  height: 0.07em;
  margin-left: 0.05em;
  align-self: flex-end;
  margin-bottom: 0.15em;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(209, 27, 45, 0.55);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(24px, 3vw, 40px);
  padding-block: 18px 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-dark);
  font-family: var(--caps);
  font-size: 0.44rem;
  line-height: 1.7;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-lang="zh"] .footer-bottom {
  font-family: var(--cn-sans);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.footer-legal {
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--ivory-dim);
  transition: color 0.25s ease;
}

.back-to-top span[aria-hidden] {
  color: var(--red-bright);
}

.back-to-top:hover {
  color: var(--ivory);
}

/* ==========================================================================
   Dialogs and overlays
   ========================================================================== */

dialog {
  margin: auto;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(3, 2, 3, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

dialog + dialog::backdrop {
  background: rgba(3, 2, 3, 0.9);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dialog-head .icon-button {
  flex: none;
  border-color: var(--line);
}

.dialog-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 8;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(8, 6, 7, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ivory-dim);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.dialog-close:hover {
  border-color: var(--ivory);
  color: var(--ivory);
}

.dialog-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
}

/* Mobile menu */

.menu-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

.menu-dialog[open] {
  display: block;
}

.menu-sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: max(24px, env(safe-area-inset-top)) var(--pad) 28px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0, rgba(73, 7, 14, 0.3), transparent 65%),
    #080506;
  animation: menuIn 0.55s var(--ease);
}

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-links {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-block: 60px;
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.3s ease, padding-left 0.4s var(--ease);
}

.menu-links a:hover {
  padding-left: 8px;
  color: var(--red-bright);
}

.menu-link-index {
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.menu-link-text {
  font-family: var(--display);
  font-size: clamp(2.8rem, 9vw, 5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

html[data-lang="zh"] .menu-link-text {
  font-family: var(--cn-serif);
  font-size: clamp(2.3rem, 7.5vw, 4rem);
  letter-spacing: 0.06em;
}

.menu-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.5rem;
  line-height: 1.7;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

html[data-lang="zh"] .menu-footer {
  font-family: var(--cn-sans);
  font-size: 0.63rem;
  letter-spacing: 0.06em;
}

.menu-footer a {
  color: var(--ivory-dim);
}

.menu-search-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

html[data-lang="zh"] .menu-search-button {
  font-family: var(--cn-sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.menu-search-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
}

.menu-search-button:hover {
  color: var(--ivory);
}

.menu-lang-button {
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

/* Search */

.search-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

.search-dialog[open] {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.search-sheet {
  width: min(900px, calc(100% - 2 * var(--pad)));
  max-height: min(82vh, 720px);
  margin-top: clamp(70px, 11vh, 140px);
  padding: clamp(24px, 3.6vw, 40px);
  overflow-y: auto;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 60% at 50% 0, rgba(87, 8, 16, 0.26), transparent 70%),
    #0b0809;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.58);
  animation: dialogRise 0.5s var(--ease);
}

@keyframes dialogRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-field {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(26px, 3.5vw, 42px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.search-field > svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--ivory-dim);
  stroke-width: 1.1;
  stroke-linecap: round;
}

.search-field input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.search-field input::placeholder {
  color: var(--muted-dark);
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-esc {
  flex: none;
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.search-results {
  margin-top: 22px;
}

.search-results-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html[data-lang="zh"] .search-results-label {
  font-family: var(--cn-sans);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.search-result {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--ivory);
  text-align: left;
  transition: padding-left 0.3s var(--ease), background-color 0.3s ease;
}

.search-result:hover {
  padding-left: 8px;
  background: rgba(242, 236, 226, 0.018);
}

.search-result-thumb {
  display: grid;
  width: 62px;
  height: 62px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 48%, rgba(104, 11, 22, 0.35), #0a0708 70%);
}

.search-result-thumb img {
  width: 138%;
  height: 138%;
  max-width: none;
  object-fit: contain;
  object-position: 50% 50%;
}

.search-result-copy {
  min-width: 0;
}

.search-result-category {
  display: block;
  margin-bottom: 4px;
  color: #c63849;
  font-family: var(--caps);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-result-name {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

html[data-lang="zh"] .search-result-name {
  font-family: var(--cn-serif);
}

.search-result-price {
  color: var(--ivory-dim);
  font-family: var(--display);
  font-size: 0.98rem;
}

.search-empty {
  padding: 35px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.8;
}

.search-footer {
  margin-top: 24px;
  color: var(--muted-dark);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

/* Product quick view */

.product-dialog {
  width: min(1160px, calc(100vw - 2 * var(--pad)));
  max-width: 1160px;
  max-height: calc(100vh - 64px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0809;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}

.product-dialog[open] {
  display: block;
  animation: dialogRise 0.55s var(--ease);
}

.product-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  max-height: calc(100vh - 66px);
  overflow: hidden;
}

.product-dialog-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 55% at 50% 46%, rgba(83, 9, 18, 0.84), #120708 53%, #080607 100%);
  isolation: isolate;
}

.product-dialog-media::before {
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(242, 236, 226, 0.065);
  content: "";
  pointer-events: none;
}

.product-dialog-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 91%;
  height: 91%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 32px 35px rgba(0, 0, 0, 0.6));
}

.product-dialog-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 29, 46, 0.16), transparent 66%);
  filter: blur(24px);
  transform: translate(-50%, -50%);
}

.product-dialog-index {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 4;
  color: rgba(242, 236, 226, 0.58);
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
}

.product-dialog-content {
  overflow-y: auto;
  max-height: calc(100vh - 66px);
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(71, 6, 12, 0.22), transparent 66%),
    #0b0809;
}

.product-dialog-scroll {
  padding: clamp(50px, 5.5vw, 74px) clamp(28px, 4.2vw, 58px) clamp(36px, 4vw, 52px);
}

.product-dialog-content .eyebrow {
  color: var(--red);
  font-size: 0.5rem;
}

.product-dialog-content h2 {
  margin-top: 16px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

html[data-lang="zh"] .product-dialog-content h2 {
  font-family: var(--cn-serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.product-dialog-price {
  margin-top: 13px;
  color: var(--ivory-dim);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.2;
}

.product-dialog-desc {
  max-width: 470px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

html[data-lang="zh"] .product-dialog-desc {
  font-size: 0.85rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 29px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-specs div {
  min-width: 0;
}

.product-specs dt {
  margin-bottom: 5px;
  color: var(--muted-dark);
  font-family: var(--caps);
  font-size: 0.43rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-lang="zh"] .product-specs dt {
  font-family: var(--cn-sans);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
}

.product-specs dd {
  color: var(--ivory-dim);
  font-size: 0.67rem;
  line-height: 1.6;
}

html[data-lang="zh"] .product-specs dd {
  font-size: 0.7rem;
  line-height: 1.75;
}

.size-group {
  margin-top: 26px;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--caps);
  font-size: 0.47rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-lang="zh"] .field-label {
  font-family: var(--cn-sans);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.size-option {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding-inline: 9px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.size-option:hover {
  border-color: var(--line-strong);
  color: var(--ivory);
}

.size-option[aria-pressed="true"] {
  border-color: var(--ivory);
  background: var(--ivory);
  color: var(--black);
}

.size-option--one {
  width: auto;
  border-radius: 999px;
  padding-inline: 18px;
}

.product-dialog-scroll > .button {
  margin-top: 27px;
}

.product-dispatch {
  margin-top: 13px;
  color: var(--muted-dark);
  font-size: 0.59rem;
  line-height: 1.65;
}

/* Cart */

.cart-dialog {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

.cart-dialog[open] {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.cart-sheet {
  display: flex;
  flex-direction: column;
  width: min(500px, 100%);
  height: 100%;
  padding: 28px clamp(20px, 3.5vw, 38px) 26px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(ellipse 100% 40% at 100% 0, rgba(74, 6, 12, 0.24), transparent 66%),
    #0b0809;
  box-shadow: -25px 0 80px rgba(0, 0, 0, 0.35);
  animation: drawerIn 0.55s var(--ease);
}

@keyframes drawerIn {
  from { opacity: 0.5; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.cart-head {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin-top: 7px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}

html[data-lang="zh"] .cart-head h2 {
  font-family: var(--cn-serif);
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.cart-step[data-cart-step="bag"] {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.cart-empty {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 30px 10px;
  text-align: center;
}

.cart-empty-mark {
  color: var(--red-bright);
  font-size: 1.2rem;
  text-shadow: 0 0 24px rgba(209, 27, 45, 0.5);
}

.cart-empty p {
  margin-top: 18px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.25;
}

html[data-lang="zh"] .cart-empty p {
  font-family: var(--cn-serif);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.cart-empty-note {
  max-width: 300px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.8;
}

.cart-empty .button {
  margin-top: 26px;
}

.cart-filled {
  flex: 1;
}

.cart-items {
  border-top: 1px solid var(--line-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-thumb {
  display: grid;
  width: 80px;
  height: 92px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 45%, rgba(86, 9, 17, 0.55), #0b0708 74%);
}

.cart-thumb img {
  width: 138%;
  height: 138%;
  max-width: none;
  object-fit: contain;
}

.cart-item-copy {
  min-width: 0;
  padding-top: 3px;
}

.cart-item-name {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.2;
}

html[data-lang="zh"] .cart-item-name {
  font-family: var(--cn-serif);
  font-size: 1.05rem;
}

.cart-item-meta {
  margin-top: 5px;
  color: #9c9186;
  font-size: 0.61rem;
  line-height: 1.65;
  letter-spacing: 0.04em;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  height: 27px;
  border: 1px solid var(--line);
}

.quantity-control button {
  display: grid;
  width: 25px;
  height: 100%;
  place-items: center;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.quantity-control button:hover {
  background: rgba(242, 236, 226, 0.06);
  color: var(--ivory);
}

.quantity-control span {
  min-width: 21px;
  color: var(--ivory-dim);
  font-size: 0.58rem;
  text-align: center;
}

.cart-remove {
  color: var(--muted-dark);
  font-size: 0.56rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cart-remove:hover {
  color: var(--red-bright);
}

.cart-item-price {
  padding-top: 4px;
  color: var(--ivory-dim);
  font-family: var(--display);
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: right;
}

.cart-extra {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 19px;
  color: var(--muted-dark);
  font-family: var(--caps);
  font-size: 0.43rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-lang="zh"] .cart-extra {
  font-family: var(--cn-sans);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
}

.cart-extra p::before {
  margin-right: 7px;
  color: var(--red);
  content: "✦";
}

.cart-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.cart-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #a3978c;
  font-family: var(--caps);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[data-lang="zh"] .cart-subtotal {
  font-family: var(--cn-sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.cart-subtotal > span:last-child {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

.cart-note {
  margin: 7px 0 17px;
  color: var(--muted-dark);
  font-size: 0.57rem;
  line-height: 1.6;
}

.cart-reserve {
  flex: 1;
  padding-top: 2px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--ivory);
}

.cart-reserve-intro {
  margin-top: 28px;
  color: var(--ivory-dim);
  font-family: var(--display);
  font-size: 1.38rem;
  font-weight: 300;
  line-height: 1.45;
}

html[data-lang="zh"] .cart-reserve-intro {
  font-family: var(--cn-serif);
  font-size: 1.1rem;
  line-height: 1.9;
  letter-spacing: 0.035em;
}

.reserve-form {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
}

.reserve-form label {
  margin: 12px 0 7px;
  color: #a3978c;
  font-family: var(--caps);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

html[data-lang="zh"] .reserve-form label {
  font-family: var(--cn-sans);
  font-size: 0.59rem;
  letter-spacing: 0.07em;
}

.reserve-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: rgba(242, 236, 226, 0.02);
  color: var(--ivory);
  font-size: 0.76rem;
  transition: border-color 0.2s ease;
}

.reserve-form input:focus {
  border-color: var(--red-bright);
}

.reserve-summary {
  margin-top: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: #9c9186;
  font-size: 0.67rem;
  line-height: 1.7;
}

.reserve-summary span:last-child {
  color: var(--ivory-dim);
}

.reserve-form .button {
  margin-top: 20px;
}

.reserve-fine {
  margin-top: 11px;
  color: var(--muted-dark);
  font-size: 0.55rem;
  line-height: 1.6;
}

.cart-success {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 40px;
}

.cart-success-mark {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 46% 54% 51% 49% / 48% 45% 55% 52%;
  color: #f0d2c2;
  font-family: var(--caps);
  font-size: 1.8rem;
  background:
    radial-gradient(circle at 33% 27%, rgba(255, 167, 155, 0.28), transparent 30%),
    radial-gradient(circle at 60% 70%, #430008, #7e0915 56%, #390006 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 194, 175, 0.2),
    inset 0 0 20px rgba(0, 0, 0, 0.46),
    0 12px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(-8deg);
}

.cart-success h3 {
  margin: 16px 0 12px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

html[data-lang="zh"] .cart-success h3 {
  font-family: var(--cn-serif);
  font-size: clamp(1.7rem, 2.7vw, 2.3rem);
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cart-success > p:not(.eyebrow) {
  max-width: 340px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.85;
}

.order-ref {
  margin-bottom: 30px;
  color: var(--muted-dark);
  font-family: var(--caps);
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-lang="zh"] .order-ref {
  font-family: var(--cn-sans);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.order-ref strong {
  margin-left: 8px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* Toast */

.toast {
  position: fixed;
  right: clamp(16px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(242, 236, 226, 0.18);
  background: rgba(12, 8, 9, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--ivory);
  font-size: 0.7rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.toast-mark {
  flex: none;
  color: var(--red-bright);
  font-size: 0.72rem;
}

.toast > button {
  display: grid;
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  place-items: center;
  color: var(--muted);
}

.toast > button svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.toast > button:hover {
  color: var(--ivory);
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Chinese typesetting for content rendered by JavaScript ------------- */

html[data-lang="zh"] .product-dialog-desc,
html[data-lang="zh"] .search-result-name,
html[data-lang="zh"] .search-empty,
html[data-lang="zh"] .newsletter-status,
html[data-lang="zh"] .cart-item-name {
  font-family: var(--cn-serif);
}

html[data-lang="zh"] .product-dialog-desc {
  font-size: 0.88rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

html[data-lang="zh"] .search-result-name {
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

html[data-lang="zh"] .product-specs dt,
html[data-lang="zh"] .product-specs dd,
html[data-lang="zh"] .cart-item-meta,
html[data-lang="zh"] .search-result-category,
html[data-lang="zh"] .reserve-summary,
html[data-lang="zh"] .search-empty {
  font-family: var(--cn-sans);
  letter-spacing: 0.05em;
}

html[data-lang="zh"] .product-specs dd {
  font-size: 0.73rem;
  line-height: 1.8;
}

html[data-lang="zh"] .cart-item-meta {
  font-size: 0.68rem;
  line-height: 1.8;
}

html[data-lang="zh"] .search-result-category {
  font-size: 0.59rem;
  letter-spacing: 0.07em;
}

html[data-lang="zh"] .search-field input {
  font-family: var(--cn-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  letter-spacing: 0.03em;
}

html[data-lang="zh"] .reserve-summary,
html[data-lang="zh"] .search-empty {
  font-size: 0.72rem;
  line-height: 1.8;
}

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

@media (max-width: 1380px) {
  .ring-callout {
    display: none;
  }
}

@media (min-width: 1480px) {
  .ring-callout--left { left: -11%; }
  .ring-callout--right { right: -14%; }
}

@media (min-width: 1640px) {
  .scroll-cue { display: flex; }
}

@media (max-height: 940px) and (min-width: 861px) {
  .hero {
    padding-top: calc(var(--header-h) + 15px);
    padding-bottom: 16px;
  }

  .hero-title {
    margin-top: 12px;
    font-size: clamp(4rem, 7.55vw, 7.2rem);
  }

  .hero-deck {
    margin-top: 10px;
    line-height: 1.7;
  }

  .hero-stage {
    margin-top: -2px;
  }

  .ring-stage {
    max-height: 560px;
  }

  .hero-foot {
    padding-top: 11px;
    margin-top: 4px;
  }

  .button--hero {
    min-height: 42px;
    padding-block: 11px;
  }

  .scroll-cue {
    bottom: 98px;
  }
}

@media (max-width: 1220px) {
  .hero-aside {
    display: none;
  }

  .ring-callout--left {
    left: -2%;
  }

  .ring-callout--right {
    right: -4%;
  }

  .hero-word {
    font-size: 24vw;
  }
}

@media (max-width: 1060px) {
  :root {
    --header-h: 78px;
  }

  .primary-nav {
    display: none;
  }

  .menu-trigger {
    display: flex;
  }

  .site-header {
    gap: 16px;
  }

  .header-actions {
    margin-left: auto;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 50px;
  }

  .atelier-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 48px;
  }

  .atelier-copy {
    position: static;
  }

  .bespoke-grid {
    gap: 48px;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .choice {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    padding: 10px 12px;
  }

  .choice-copy {
    flex: 1;
  }

  .choice[aria-pressed="true"]::after {
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
  }

  .product-dialog-media {
    min-height: 520px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 34px);
  }

  .hero-stage {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 2px;
  }

  .ring-stage {
    height: min(52vh, 540px);
    transform: none;
  }

  .ring-object {
    height: 100%;
  }

  .hero-title {
    font-size: clamp(3.7rem, 11.5vw, 6.5rem);
  }

  html[data-lang="zh"] .hero-title {
    font-size: clamp(3.2rem, 10vw, 5.6rem);
  }

  .ring-stage {
    width: min(76vw, 540px);
    height: min(52vh, 540px);
  }

  .ring-callout {
    display: none;
  }

  .hero-foot {
    grid-template-columns: 1fr auto 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-heading-aside {
    max-width: 520px;
    margin-left: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }

  .product-card--offset {
    margin-top: 0;
  }

  .product-card:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    margin-inline: auto;
  }

  .collection-foot {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .collection-rule {
    flex-basis: 100%;
    order: 3;
  }

  .collection-note {
    text-align: left;
  }

  .atelier-grid {
    grid-template-columns: 1fr;
  }

  .atelier-copy {
    max-width: 660px;
  }

  .atelier-visual {
    min-height: 620px;
    margin-top: 10px;
  }

  .atelier-image-wrap img {
    width: 136%;
    top: -13%;
  }

  .bespoke-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .seal-wrap {
    max-width: 560px;
    margin-left: 0;
  }

  .bespoke-form {
    max-width: 660px;
  }

  .choice-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .choice {
    flex-direction: column;
    min-height: 82px;
    align-items: flex-start;
  }

  .choice[aria-pressed="true"]::after {
    top: 8px;
    right: 8px;
    transform: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-invitation {
    max-width: 420px;
  }

  .footer-wordmark {
    font-size: 17.4vw;
  }

  .product-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .product-sheet {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
  }

  .product-dialog-media {
    min-height: 380px;
    height: 44vh;
  }

  .product-dialog-content {
    overflow: visible;
    max-height: none;
  }

  .product-dialog-scroll {
    padding: 34px 26px 32px;
  }

  .product-dialog-content h2 {
    font-size: 2.6rem;
  }

  .dialog-close {
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 700px) {
  :root {
    --pad: 20px;
  }

  .site-header {
    height: 70px;
    padding-inline: var(--pad);
  }

  .site-header.is-scrolled {
    height: 62px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.26em;
  }

  .brand-mark {
    width: 18px;
    height: 21px;
  }

  .header-actions {
    gap: 9px;
  }

  .search-trigger {
    display: none;
  }

  .bag-label {
    display: none;
  }

  .bag-trigger {
    gap: 5px;
  }

  .language-toggle {
    height: 29px;
    padding: 2px;
  }

  .language-toggle button {
    height: 23px;
    padding-inline: 7px;
    font-size: 0.51rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 25px);
    padding-bottom: 18px;
  }

  .hero-copy {
    padding-inline: 2px;
  }

  .hero .eyebrow {
    gap: 8px;
    font-size: 0.51rem;
    letter-spacing: 0.17em;
  }

  .hero .eyebrow-rule {
    width: 16px;
  }

  .hero-title {
    margin-top: 19px;
    font-size: clamp(3.35rem, 15.5vw, 4.8rem);
    line-height: 0.93;
  }

  html[data-lang="zh"] .hero-title {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero-deck {
    max-width: 390px;
    margin-top: 13px;
    font-size: 0.7rem;
    line-height: 1.8;
  }

  html[data-lang="zh"] .hero-deck {
    font-size: 0.78rem;
    line-height: 1.95;
  }

  .hero-deck br {
    display: none;
  }

  .hero-stage {
    min-height: 0;
    margin-top: 0;
  }

  .ring-stage {
    width: min(94vw, 440px);
    height: min(46vh, 430px);
    min-height: 300px;
  }

  .hero-stage {
    margin-top: 0;
  }

  .ring-word {
    display: none;
  }

  .ring-orbit--two {
    display: none;
  }

  .hero-word {
    top: 61%;
    font-size: 34vw;
    opacity: 0.1;
  }

  .hero-arch {
    bottom: -2%;
    width: 102vw;
    opacity: 0.5;
  }

  .hero-cross {
    display: none;
  }

  .hero-foot {
    grid-template-areas:
      "edition price"
      "cta cta";
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 15px 18px;
    padding-top: 14px;
  }

  .hero-foot-meta {
    grid-area: edition;
  }

  .hero-foot-meta--end {
    grid-area: price;
  }

  .hero-foot .button--hero {
    grid-area: cta;
    min-width: 0;
    width: 100%;
    min-height: 47px;
    margin-top: 2px;
  }

  .meta-value {
    font-size: 1rem;
  }

  .hero-price {
    font-size: 1.25rem;
  }

  .scroll-cue {
    display: none;
  }

  .marquee {
    height: 54px;
  }

  .marquee-group {
    gap: 22px;
    padding-left: 22px;
  }

  .section {
    padding-block: 78px;
  }

  .section-title {
    margin-top: 20px;
    font-size: clamp(2.9rem, 13.5vw, 4rem);
    line-height: 0.94;
  }

  html[data-lang="zh"] .section-title {
    font-size: clamp(2.2rem, 9.7vw, 3.1rem);
    line-height: 1.3;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 38px;
  }

  .section-heading-aside {
    padding-top: 16px;
  }

  .section-intro {
    font-size: 0.8rem;
    line-height: 1.85;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }

  .product-visual {
    aspect-ratio: 4 / 5;
  }

  .card-view {
    opacity: 1;
    transform: none;
    right: 14px;
    bottom: 14px;
    padding: 8px 11px;
    font-size: 0.45rem;
  }

  .product-details {
    padding-top: 14px;
  }

  .product-details h3 {
    font-size: 1.65rem;
  }

  .product-price {
    padding-top: 15px;
    font-size: 1.1rem;
  }

  .collection-foot {
    margin-top: 46px;
    font-size: 0.45rem;
  }

  .manifesto {
    min-height: 0;
    padding-block: 92px;
  }

  .manifesto h2 {
    font-size: clamp(2rem, 9.2vw, 3rem);
    line-height: 1.2;
  }

  .manifesto h2 br {
    display: none;
  }

  .manifesto-mark {
    width: 110vw;
    opacity: 0.14;
  }

  .manifesto-signature {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.45rem;
    line-height: 1.7;
  }

  .signature-line {
    width: 20px;
  }

  .atelier-grid {
    gap: 44px;
  }

  .atelier-body {
    font-size: 0.8rem;
    line-height: 1.9;
  }

  .atelier-body .lead {
    font-size: 1.25rem;
  }

  .atelier-stats {
    gap: 15px;
    margin-top: 32px;
  }

  .atelier-stats dt {
    font-size: 1.8rem;
  }

  .atelier-stats dd {
    font-size: 0.43rem;
  }

  .atelier-visual {
    min-height: 500px;
  }

  .atelier-image-wrap img {
    width: 166%;
    top: -15%;
  }

  .atelier-quote {
    top: 28px;
    left: 26px;
    font-size: 1.35rem;
  }

  .atelier-visual::before {
    inset: 10px;
  }

  .atelier-index {
    top: 22px;
    right: 21px;
  }

  .atelier-crosshair {
    top: 23px;
    left: 23px;
  }

  .atelier-visual figcaption {
    padding: 17px 20px;
  }

  .atelier-visual figcaption p {
    font-size: 1rem;
  }

  .bespoke {
    padding-bottom: 84px;
  }

  .bespoke-grid {
    gap: 38px;
    margin-top: 38px;
  }

  .seal-card {
    padding: 18px;
  }

  .seal-kicker,
  .seal-number {
    font-size: 0.42rem;
  }

  .seal-art {
    width: 94%;
    margin-top: 8px;
  }

  .seal-engraving {
    padding: 14px 64px 3px 0;
  }

  .seal-engraving strong {
    font-size: 1rem;
  }

  .seal-wax {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .choice {
    flex-direction: row;
    min-height: 0;
    align-items: center;
    padding: 10px 12px;
  }

  .choice-copy {
    flex: 1;
  }

  .choice[aria-pressed="true"]::after {
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
  }

  .inscription-field input {
    font-size: 1.35rem;
  }

  .form-submit {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .form-submit .button {
    width: 100%;
  }

  .commission-from strong {
    display: inline;
    margin-left: 4px;
    font-size: 1rem;
  }

  .newsletter {
    min-height: 0;
    padding-block: 88px;
  }

  .newsletter-title {
    font-size: clamp(3.15rem, 14.5vw, 4.6rem);
    line-height: 0.94;
  }

  html[data-lang="zh"] .newsletter-title {
    font-size: clamp(2.5rem, 11.4vw, 3.7rem);
  }

  .newsletter-deck {
    font-size: 0.76rem;
    line-height: 1.85;
  }

  .newsletter-form input {
    font-size: 0.74rem;
  }

  .newsletter-form button {
    gap: 8px;
    padding-left: 13px;
    font-size: 0.47rem;
  }

  .newsletter-orbit--one {
    width: 155vw;
  }

  .newsletter-orbit--two {
    width: 190vw;
  }

  .newsletter::before,
  .newsletter::after,
  .newsletter-star {
    display: none;
  }

  .site-footer {
    padding-top: 65px;
  }

  .footer-top {
    gap: 38px;
    padding-bottom: 48px;
  }

  .footer-address {
    font-size: 1.1rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .footer-links > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-wordmark {
    font-size: 18.6vw;
    letter-spacing: 0.01em;
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    padding-bottom: 20px;
    font-size: 0.4rem;
  }

  .footer-legal {
    order: 3;
    flex-basis: 100%;
    text-align: left;
  }

  .search-sheet {
    width: calc(100% - 24px);
    max-height: 86vh;
    margin-top: 44px;
    padding: 20px;
  }

  .search-field {
    gap: 11px;
    margin-top: 22px;
  }

  .search-field input {
    font-size: 1.65rem;
  }

  .search-field > svg {
    width: 18px;
    height: 18px;
  }

  .search-esc {
    display: none;
  }

  .search-result {
    grid-template-columns: 50px 1fr auto;
    gap: 12px;
  }

  .search-result-thumb {
    width: 50px;
    height: 56px;
  }

  .search-result-name {
    font-size: 1rem;
  }

  .search-footer {
    margin-top: 18px;
    line-height: 1.7;
  }

  .product-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
  }

  .product-sheet {
    max-height: 100vh;
    height: 100%;
    overflow-y: auto;
  }

  .product-dialog-media {
    min-height: 330px;
    height: 43vh;
  }

  .product-dialog-media img {
    width: 100%;
    height: 100%;
  }

  .product-dialog-scroll {
    padding: 28px 20px 36px;
  }

  .product-specs {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .product-dialog-content .button-price {
    font-size: 1rem;
  }

  .dialog-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(8, 6, 7, 0.8);
  }

  .cart-sheet {
    width: 100%;
    padding: 22px 20px;
  }

  .cart-head h2 {
    font-size: 2.1rem;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .cart-thumb {
    width: 68px;
    height: 80px;
  }

  .cart-item-name {
    font-size: 1rem;
  }

  .cart-footer {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .menu-sheet {
    padding-top: 22px;
  }

  .menu-links {
    padding-block: 36px;
  }

  .menu-footer {
    gap: 11px;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 3.15rem;
  }

  html[data-lang="zh"] .hero-title {
    font-size: 2.6rem;
  }

  .ring-stage {
    height: 43vh;
    min-height: 280px;
  }

  .language-toggle button {
    padding-inline: 6px;
  }

  .bag-count {
    font-size: 0.47rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-links > div:last-child {
    grid-column: auto;
  }
}

@media (hover: none) {
  .card-view {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
