/* ==========================================================================
   CrystalWed — Maison de Couture · Phase 1
   Quiet luxury / Parisian editorial
   ========================================================================== */

:root {
  --ivory: #FAF9F6;
  --ivory-2: #F3F0E9;
  --ivory-3: #ECE7DC;
  --charcoal: #1A1A1A;
  --ink-2: #4A4743;
  --ink-3: #7A756D;
  --gold: #C5A059;
  --gold-deep: #A8843F;
  --line: rgba(26, 26, 26, 0.12);
  --line-strong: rgba(26, 26, 26, 0.24);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 30px 80px -30px rgba(26, 26, 26, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--charcoal); color: var(--ivory); padding: 10px 18px; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.display {
  font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(44px, 7vw, 104px); margin: 0;
}
.h2 {
  font-family: var(--serif); font-weight: 300; line-height: 1.08; letter-spacing: -0.005em;
  font-size: clamp(36px, 4.6vw, 64px); margin: 0;
}
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; margin: 0; }
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; color: var(--gold-deep); }
.lede { font-size: 16px; color: var(--ink-2); max-width: 52ch; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 34px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  border: 1px solid var(--charcoal); background: var(--charcoal); color: var(--ivory);
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--charcoal); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); }
.btn--outline-light { background: transparent; border-color: rgba(250, 249, 246, 0.7); color: var(--ivory); }
.btn--outline-light:hover { background: var(--ivory); border-color: var(--ivory); color: var(--charcoal); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

.link-u {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  padding-bottom: 6px;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform 0.6s var(--ease);
}
.link-u:hover::after { transform: scaleX(0.35); }

.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.2; fill: none; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* ---------- Announcement ---------- */
.announce {
  position: relative; z-index: 60;
  background: var(--charcoal); color: var(--ivory);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  height: 38px; overflow: hidden;
}
.announce__track { position: relative; height: 100%; max-width: 900px; margin: 0 auto; padding: 0 48px; }
.announce__msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px;
  text-align: center; opacity: 0; transform: translateY(8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  padding: 0 40px;
}
.announce__msg.is-active { opacity: 1; transform: none; }
.announce__msg span { color: var(--gold); }
.announce__msg .more { color: inherit; font-style: normal; }
@media (max-width: 640px) {
  .announce { font-size: 9.5px; letter-spacing: 0.18em; }
  .announce__track { padding: 0 34px; }
  .announce__msg { white-space: nowrap; padding: 0 30px; }
  .announce__msg .more { display: none; }
}
.announce__nav {
  position: absolute; top: 0; bottom: 0; width: 38px; display: grid; place-items: center;
  color: rgba(250, 249, 246, 0.6); z-index: 2;
}
.announce__nav:hover { color: var(--gold); }
.announce__nav--prev { left: 4px; }
.announce__nav--next { right: 4px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 40px -30px rgba(26, 26, 26, 0.5); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); transition: height 0.4s var(--ease);
}
.header.is-scrolled .header__inner { height: 68px; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.logo__word {
  font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: 0.32em; margin-right: -0.32em; text-transform: uppercase;
}
.logo__word i { font-style: normal; color: var(--gold-deep); }
.logo__sub {
  margin-top: 8px; font-size: 8.5px; font-weight: 500; letter-spacing: 0.5em; margin-right: -0.5em;
  text-transform: uppercase; color: var(--ink-3);
  transition: opacity 0.3s, height 0.3s, margin 0.3s;
}
.header.is-scrolled .logo__sub { opacity: 0; height: 0; margin-top: 0; overflow: hidden; }

.tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.tool {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  transition: color 0.3s;
}
.tool:hover { color: var(--gold-deep); }
.tool__count {
  position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--gold); color: var(--charcoal);
  font-size: 9px; font-weight: 700; line-height: 16px; text-align: center; letter-spacing: 0;
  transform: scale(0); transition: transform 0.35s var(--ease);
}
.tool__count.is-visible { transform: scale(1); }
.tool__count.is-bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.tool--menu { display: none; }
.tool__label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; margin-left: 8px;
}
.tool--bag { width: auto; padding: 0 6px 0 10px; display: inline-flex; }
.tool--bag .tool__count { position: static; transform: none; margin-left: 6px; background: transparent; color: inherit; font-size: 11px; font-weight: 500; }
.tool--bag .tool__count::before { content: "("; }
.tool--bag .tool__count::after { content: ")"; }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .tool--menu { display: grid; }
  .tool__label { display: none; }
  .tool--bag { width: 44px; padding: 0; display: grid; }
  .tool--bag .tool__count {
    position: absolute; top: 6px; right: 4px; background: var(--gold); color: var(--charcoal);
    font-size: 9px; font-weight: 700; transform: scale(0);
  }
  .tool--bag .tool__count.is-visible { transform: scale(1); }
  .tool--bag .tool__count::before, .tool--bag .tool__count::after { content: none; }
  .header__left { display: flex; align-items: center; }
  .logo__sub { display: none; }
  .tool--wish-desktop { display: none; }
}
@media (max-width: 420px) {
  .logo__word { font-size: 20px; letter-spacing: 0.24em; margin-right: -0.24em; }
  .tool { width: 40px; }
}

/* ---------- Mobile menu ---------- */
.mnav {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
}
.mnav__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 88vw);
  background: var(--ivory); padding: 24px 28px 40px; display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform 0.6s var(--ease);
  overflow-y: auto;
}
.mnav.is-open { pointer-events: auto; }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.mnav__links { list-style: none; margin: 0; padding: 0; }
.mnav__links li { border-bottom: 1px solid var(--line); }
.mnav__links a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 28px; font-weight: 300; }
.mnav__links a span { font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; color: var(--ink-3); }
.mnav__foot { margin-top: auto; padding-top: 32px; font-size: 13px; color: var(--ink-3); }
.mnav__foot .btn { margin-bottom: 20px; }

/* ---------- Scrim ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 80; background: rgba(26, 26, 26, 0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.scrim.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(calc(100svh - 38px - var(--header-h)), 960px);
  min-height: max(620px, min(calc(100svh - 38px - var(--header-h)), 960px));
  display: flex; align-items: flex-end; color: var(--ivory); overflow: hidden; isolation: isolate;
  background: #14110e;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.72) 0%, rgba(14, 12, 10, 0.32) 48%, rgba(14, 12, 10, 0.05) 100%),
    linear-gradient(0deg, rgba(14, 12, 10, 0.55) 0%, rgba(14, 12, 10, 0) 45%);
}
.hero__inner { width: 100%; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero__content { max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero__title { margin: 26px 0 26px; }
.hero__title em { color: var(--gold); }
.hero__text { font-size: 16px; line-height: 1.8; color: rgba(250, 249, 246, 0.82); max-width: 46ch; margin: 0 0 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 9vh, 110px);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(250, 249, 246, 0.65);
  display: flex; align-items: center; gap: 18px;
}
.hero__meta::after { content: ""; width: 1px; height: 64px; background: rgba(250, 249, 246, 0.45); }
.reveal-up { opacity: 0; transform: translateY(24px); animation: revealUp 1.2s var(--ease) forwards; }
.reveal-up.d1 { animation-delay: 0.15s; } .reveal-up.d2 { animation-delay: 0.3s; }
.reveal-up.d3 { animation-delay: 0.45s; } .reveal-up.d4 { animation-delay: 0.6s; }
@keyframes revealUp { to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hero__meta { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero::before {
    background: linear-gradient(0deg, rgba(14, 12, 10, 0.85) 0%, rgba(14, 12, 10, 0.35) 60%, rgba(14, 12, 10, 0.15) 100%);
  }
}

/* ---------- Promise strip ---------- */
.promise { border-bottom: 1px solid var(--line); }
.promise__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.promise__list li {
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 16px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
  text-align: center;
}
.promise__list li + li { border-left: 1px solid var(--line); }
.promise__list .icon { color: var(--gold-deep); }
@media (max-width: 900px) {
  .promise__list { grid-template-columns: repeat(2, 1fr); }
  .promise__list li:nth-child(3) { border-left: 0; }
  .promise__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .promise__list li { flex-direction: column; gap: 8px; font-size: 10px; letter-spacing: 0.16em; padding: 20px 10px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding-top: clamp(64px, 8vw, 110px); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__title { display: grid; gap: 20px; }
.section-head .lede { max-width: 44ch; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.coll { position: relative; display: block; text-align: left; width: 100%; }
.coll__media { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--ivory-3); }
.coll__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease), filter 1s var(--ease);
}
.coll:hover .coll__media img { transform: scale(1.06); }
.coll__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14, 12, 10, 0.55) 0%, rgba(14, 12, 10, 0) 50%);
}
.coll__num {
  position: absolute; top: 18px; left: 20px; z-index: 1;
  font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ivory);
}
.coll__label { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; color: var(--ivory); }
.coll__label .h3 { font-size: clamp(24px, 2vw, 32px); }
.coll__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.coll__cta .icon { transition: transform 0.5s var(--ease); }
.coll:hover .coll__cta .icon { transform: translateX(6px); }
.coll:nth-child(even) { margin-top: clamp(0px, 4vw, 64px); }
@media (max-width: 980px) {
  .collections { grid-template-columns: repeat(2, 1fr); }
  .coll:nth-child(even) { margin-top: 0; }
}
@media (max-width: 520px) {
  .collections { grid-template-columns: 1fr 1fr; gap: 10px; }
  .coll__label { left: 14px; right: 14px; bottom: 14px; }
  .coll__label .h3 { font-size: 21px; }
  .coll__num { top: 12px; left: 14px; font-size: 15px; }
}

/* ---------- Catalog ---------- */
.catalog { background: var(--ivory-2); }
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line);
  padding: 6px 0; margin-bottom: clamp(28px, 4vw, 48px);
}
.filters { display: flex; gap: 4px; flex-wrap: wrap; }
.filter {
  position: relative; padding: 14px 18px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); transition: color 0.3s;
}
.filter sup { font-size: 9px; letter-spacing: 0.05em; margin-left: 4px; color: var(--ink-3); }
.filter:hover { color: var(--charcoal); }
.filter.is-active { color: var(--charcoal); }
.filter::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 6px; height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.5s var(--ease);
}
.filter.is-active::after { transform: scaleX(1); }
.toolbar__right { display: flex; align-items: center; gap: 20px; }
.count { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.select {
  position: relative; display: inline-flex; align-items: center;
}
.select select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 26px 12px 0; cursor: pointer;
}
.select .icon { position: absolute; right: 0; pointer-events: none; }
@media (max-width: 720px) {
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0; }
  .filters { min-width: 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 calc(var(--gutter) - 12px); }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; padding: 14px 12px; }
  .filter::after { left: 12px; right: 12px; }
  .toolbar__right { justify-content: space-between; border-top: 1px solid var(--line); }
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 4vw, 56px) clamp(14px, 1.8vw, 28px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 36px 12px; } }

.card { position: relative; display: flex; flex-direction: column; animation: cardIn 0.8s var(--ease) both; }
.card.is-hidden { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.card__media { position: relative; aspect-ratio: 4 / 5.2; overflow: hidden; background: var(--ivory-3); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity 0.6s;
}
.card__media img.is-loading { opacity: 0; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--ivory); padding: 6px 10px;
  font-size: 9px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
.card__wish {
  position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(250, 249, 246, 0.85); transition: background 0.3s, color 0.3s;
}
.card__wish:hover { background: var(--ivory); color: var(--gold-deep); }
.card__wish.is-on .icon { fill: var(--gold); stroke: var(--gold-deep); }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  transform: translateY(calc(100% + 16px)); transition: transform 0.6s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
.card__quick button {
  background: rgba(250, 249, 246, 0.96); min-height: 46px; padding: 0 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.card__quick button:hover { background: var(--charcoal); color: var(--ivory); }
@media (hover: none) {
  .card__quick { position: static; transform: none; grid-template-columns: 1fr 1fr; margin-top: 0; background: var(--line); }
  .card__quick button { min-height: 42px; font-size: 9px; letter-spacing: 0.16em; }
}
.card__body { padding-top: 18px; display: grid; gap: 4px; }
.card__cat { font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); }
.card__name { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.2; margin: 0; }
.card__name button { text-align: left; }
.card__name button:hover { color: var(--gold-deep); }
.card__price { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.card__swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--ink-3); }

.catalog__foot { margin-top: clamp(56px, 6vw, 88px); display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.catalog__note { width: 100%; font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ---------- Atelier ---------- */
.atelier { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.atelier__media { position: relative; }
.atelier__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory-3); }
.atelier__img img { width: 100%; height: 100%; object-fit: cover; }
.atelier__inset {
  position: absolute; right: -8%; bottom: -10%; width: 44%; aspect-ratio: 1;
  border: 10px solid var(--ivory); overflow: hidden; box-shadow: var(--shadow);
}
.atelier__inset img { width: 100%; height: 100%; object-fit: cover; }
.atelier__seal {
  position: absolute; top: 28px; left: -28px; width: 112px; height: 112px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ivory);
  box-shadow: var(--shadow);
}
.atelier__seal svg { width: 100%; height: 100%; animation: spin 40s linear infinite; }
.atelier__seal span { position: absolute; font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--gold-deep); }
@keyframes spin { to { transform: rotate(360deg); } }
.atelier__copy { display: grid; gap: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 22px 0 0; }
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
.stat__num { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 48px); font-weight: 300; line-height: 1; }
.stat__num sup { font-size: 0.45em; color: var(--gold-deep); margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); line-height: 1.6; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-deep); line-height: 1.5; }
.steps strong { display: block; font-weight: 500; font-size: 14px; letter-spacing: 0.02em; }
.steps p { margin: 2px 0 0; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) {
  .atelier { grid-template-columns: 1fr; }
  .atelier__media { margin-right: 10%; margin-bottom: 40px; }
  .atelier__seal { left: auto; right: -12%; top: 16px; width: 92px; height: 92px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat + .stat { padding-left: 12px; }
  .stat__label { font-size: 9px; letter-spacing: 0.14em; }
}

/* ---------- Quote ---------- */
.quote { text-align: center; padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0 auto; max-width: 980px; }
.quote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.25; margin: 0; }
.quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-3); }
.quote__mark { display: block; font-family: var(--serif); font-size: 90px; line-height: 0.6; color: var(--gold); margin-bottom: 18px; }

/* ---------- Lookbook ---------- */
.lookbook {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ivory);
  padding: clamp(96px, 12vw, 180px) 0; background: #17140f;
}
.lookbook__bg { position: absolute; inset: 0; z-index: -2; }
.lookbook__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: 0.55; }
.lookbook::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(23, 20, 15, 0.4), rgba(23, 20, 15, 0.85)); }
.lookbook__inner { max-width: 720px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 24px; }
.lookbook .eyebrow { color: var(--gold); }
.lookbook .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.lookbook .h2 em { color: var(--gold); }
.lookbook p { color: rgba(250, 249, 246, 0.78); margin: 0; max-width: 48ch; }
.subscribe { width: 100%; max-width: 560px; margin-top: 12px; }
.subscribe__row { display: flex; border-bottom: 1px solid rgba(250, 249, 246, 0.6); }
.subscribe input[type="email"] {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ivory); padding: 18px 4px;
  font-size: 15px; letter-spacing: 0.02em;
}
.subscribe input::placeholder { color: rgba(250, 249, 246, 0.55); }
.subscribe input:focus { outline: none; }
.subscribe button {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 4px 0 18px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.subscribe button:hover { color: var(--ivory); }
.subscribe__legal { margin-top: 16px; font-size: 11px; color: rgba(250, 249, 246, 0.55); letter-spacing: 0.02em; text-align: center; }
.subscribe__legal label { display: inline-flex; gap: 10px; align-items: flex-start; cursor: pointer; text-align: left; }
.subscribe__legal input { accent-color: var(--gold); margin-top: 3px; }
.form-msg { min-height: 1.6em; margin-top: 14px; font-size: 13px; letter-spacing: 0.02em; }
.form-msg.is-ok { color: var(--gold); }
.form-msg.is-err { color: #E8A09A; }
.light-form .form-msg.is-err { color: #A4352B; }
.light-form .form-msg.is-ok { color: var(--gold-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: rgba(250, 249, 246, 0.72); padding: clamp(72px, 8vw, 110px) 0 0; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(32px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 88px); }
.footer .logo { align-items: flex-start; text-align: left; color: var(--ivory); }
.footer .logo__word { margin-right: 0; }
.footer .logo__sub { color: rgba(250, 249, 246, 0.5); margin-right: 0; }
.footer__about { margin: 26px 0 28px; max-width: 36ch; line-height: 1.8; }
.footer h3 { margin: 0 0 22px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer a, .footer .f-link { transition: color 0.3s; text-align: left; }
.footer a:hover, .footer .f-link:hover { color: var(--ivory); }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(250, 249, 246, 0.2);
  border-radius: 50%; transition: border-color 0.3s, color 0.3s;
}
.social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__contact { display: grid; gap: 4px; margin-top: 24px; font-size: 13px; }
.footer__wordmark {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 12.6vw, 200px); line-height: 0.8;
  letter-spacing: 0.04em; text-align: center; color: rgba(250, 249, 246, 0.05);
  user-select: none; white-space: nowrap; overflow: hidden; margin-bottom: -0.08em;
}
.footer__bottom {
  border-top: 1px solid rgba(250, 249, 246, 0.12);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 26px 0 30px; font-size: 11.5px; letter-spacing: 0.06em;
}
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.acq-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  border: 1px solid rgba(197, 160, 89, 0.4); color: rgba(250, 249, 246, 0.78);
  font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.acq-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(197, 160, 89, 0.06); }
.acq-btn .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Drawers ---------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(460px, 100vw);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.6s var(--ease);
  box-shadow: -30px 0 80px -40px rgba(26, 26, 26, 0.4);
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 28px; border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 0; }
.drawer__title small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3); margin-left: 8px; vertical-align: middle; }
.close {
  width: 44px; height: 44px; display: grid; place-items: center; margin-right: -12px; transition: transform 0.4s var(--ease), color 0.3s;
}
.close:hover { transform: rotate(90deg); color: var(--gold-deep); }
.drawer__ship { padding: 18px 28px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.drawer__ship .bar { height: 2px; background: var(--ivory-3); margin-top: 10px; overflow: hidden; }
.drawer__ship .bar i { display: block; height: 100%; width: 100%; background: var(--gold); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.drawer__empty { text-align: center; padding: 70px 10px; display: grid; justify-items: center; gap: 18px; }
.drawer__empty p { margin: 0; color: var(--ink-3); }
.drawer__empty .h3 { font-style: italic; }
.line { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory-3); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font-family: var(--serif); font-size: 20px; line-height: 1.2; margin: 0; }
.line__meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.line__price { font-size: 13px; font-weight: 500; white-space: nowrap; }
.line__actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; }
.qty button:hover { color: var(--gold-deep); }
.qty span { min-width: 28px; text-align: center; font-size: 13px; }
.line__remove { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid currentColor; }
.line__remove:hover { color: var(--charcoal); }
.drawer__foot { padding: 22px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: var(--ivory); }
.sum { display: flex; justify-content: space-between; font-size: 13px; }
.sum--total { font-family: var(--serif); font-size: 26px; align-items: baseline; }
.sum--total span:first-child { font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.drawer__note { font-size: 11.5px; color: var(--ink-3); text-align: center; margin: 0; }

/* ---------- Search overlay ---------- */
.search {
  position: fixed; inset: 0 0 auto 0; z-index: 95; background: var(--ivory);
  transform: translateY(-100%); transition: transform 0.6s var(--ease);
  max-height: 100vh; overflow-y: auto; visibility: hidden;
}
.search.is-open { transform: none; visibility: visible; }
.search__inner { padding-top: 28px; padding-bottom: 48px; }
.search__top { display: flex; justify-content: flex-end; }
.search__field { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--charcoal); padding: 8px 0 14px; margin-top: 8px; }
.search__field .icon { width: 26px; height: 26px; color: var(--ink-3); }
.search__field input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); font-weight: 300; padding: 0;
}
.search__field input:focus { outline: none; }
.search__field input::placeholder { color: var(--ink-3); opacity: 0.6; font-style: italic; }
.search__hint { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.chip { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--charcoal); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chip:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.search__results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.search__results:empty { display: none; }
.sres { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; text-align: left; padding: 8px; transition: background 0.3s; }
.sres:hover { background: var(--ivory-2); }
.sres img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; }
.sres strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; }
.sres span { font-size: 12px; color: var(--ink-3); }
.search__none { margin-top: 30px; color: var(--ink-3); font-style: italic; font-family: var(--serif); font-size: 22px; }
@media (max-width: 980px) { .search__results { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .search__results { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__scrim { position: absolute; inset: 0; background: rgba(26, 26, 26, 0.55); }
.modal__box {
  position: relative; background: var(--ivory); width: min(1080px, 100%); max-height: calc(100vh - 40px);
  overflow-y: auto; box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.985); transition: transform 0.6s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__box--narrow { width: min(620px, 100%); }
.modal__close { position: absolute; top: 12px; right: 18px; z-index: 2; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media { position: relative; background: var(--ivory-3); min-height: 100%; }
.qv__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.qv__info { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.qv__name { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; margin: 0; }
.qv__price { font-size: 17px; font-weight: 500; letter-spacing: 0.04em; }
.qv__desc { color: var(--ink-2); margin: 0; }
.qv__opts { display: grid; gap: 10px; }
.qv__opts legend, .field label, .field .label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); padding: 0; margin-bottom: 10px; }
.qv__opts fieldset { border: 0; margin: 0; padding: 0; }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; min-width: 54px; height: 42px; padding: 0 14px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); font-size: 12px; letter-spacing: 0.06em; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.opt input:checked + span { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.opt input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
.qv__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 6px; }
.qv__wish { width: 52px; min-height: 52px; display: grid; place-items: center; border: 1px solid var(--charcoal); transition: background 0.3s; }
.qv__wish:hover { background: var(--ivory-2); }
.qv__wish.is-on .icon { fill: var(--gold); stroke: var(--gold-deep); }
.qv__details { border-top: 1px solid var(--line); margin-top: 6px; }
.qv__details li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); display: flex; gap: 12px; }
.qv__details ul { list-style: none; margin: 0; padding: 0; }
.qv__details li .icon { color: var(--gold-deep); margin-top: 3px; }
@media (max-width: 760px) {
  .modal { padding: 0; align-items: end; }
  .modal__box { max-height: 92vh; }
  .qv { grid-template-columns: 1fr; }
  .qv__media img { aspect-ratio: 4 / 3.6; }
}

/* ---------- Forms (light) ---------- */
.form-box { padding: clamp(36px, 5vw, 60px); }
.form-box .h2 { font-size: clamp(32px, 3.6vw, 44px); margin: 18px 0 12px; }
.form-box .lede { font-size: 14px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent;
  padding: 10px 0 12px; font-size: 15px; border-radius: 0;
  transition: border-color 0.3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 22px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-actions { margin-top: 28px; display: grid; gap: 4px; }
.form-fine { font-size: 11.5px; color: var(--ink-3); margin: 12px 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px);
  background: var(--charcoal); color: var(--ivory); padding: 14px 20px 14px 16px;
  display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: 0.02em;
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast img { width: 38px; height: 46px; object-fit: cover; }
.toast button { color: var(--gold); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-left: 6px; white-space: nowrap; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
