/* =========================================================================
   Ceremony Bali — Homepage
   Warm quiet-luxury tokens · Cormorant Garamond + Inter
   ========================================================================= */

:root {
  /* Color */
  --white:    #FAF7F1;   /* gallery white */
  --bone:     #ECE3D6;   /* greige */
  --ink:      #181310;
  --charcoal: #6E6558;
  --stone:    #A9987F;   /* warm ochre accent */
  --line:     rgba(24, 19, 16, 0.15);

  /* Type */
  --display: 'Cormorant Garamond', Georgia, serif;
  --ui:      'Inter', system-ui, sans-serif;

  /* Space */
  --max:     1600px;
  --pad:     clamp(20px, 5vw, 48px);
  --section-y: clamp(90px, 12vh, 160px);

  /* Motion */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:  250ms;
  --dur:       600ms;
  --dur-slow:  1100ms;

  /* Elevation */
  --float: 0 24px 70px rgba(0, 0, 0, 0.28);
  --soft:  0 8px 40px rgba(0, 0, 0, 0.06);
}

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--charcoal); }
img { display: block; max-width: 100%; }
::selection { background: var(--bone); }

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

/* --- shared utilities --------------------------------------------------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.link-underline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.btn {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 15px 38px;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn--ghost-light {
  border: 1px solid rgba(250, 247, 241, 0.75);
  color: var(--white);
}
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--ghost-dark {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 54px;
}
.section__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
}

/* --- announcement bar --------------------------------------------------- */

.announce {
  height: 34px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 20px;
}
.announce span {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: opacity 0.5s var(--ease);
}

/* --- nav ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  margin-bottom: -68px;                 /* overlay the hero */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  --navfg: var(--white);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
body[data-nav="solid"] .nav { margin-bottom: 0; }   /* overlay is for dark-hero pages only */
.nav__group { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 28px); min-width: 0; overflow: hidden; }
.nav__group--right { justify-content: flex-end; }
.nav__group a {
  font-size: 11px;
  letter-spacing: clamp(0.08em, 0.6vw, 0.18em);
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navfg);
  transition: color var(--dur) var(--ease);
}
.nav__group a:hover { opacity: 0.7; color: var(--navfg); }
.nav__logo {
  position: relative;
  display: block;
  width: clamp(92px, 9vw, 128px);
  height: 52px;
  margin: 0 18px;
}
.nav__logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--dur) var(--ease);
}
.nav__logo-white { opacity: var(--logow, 1); }
.nav__logo-black { opacity: var(--logob, 0); }

/* --- mega-menu ------------------------------------------------------------ */

.nav__side { display: flex; align-items: center; gap: 20px; min-width: 0; }
.nav__item { display: flex; align-items: center; height: 68px; }
.nav__panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(250, 247, 241, 0.98);
  border-bottom: 1px solid var(--bone);
  box-shadow: var(--soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease),
              visibility 0s linear var(--dur-fast);
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel,
.nav__item.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav__panel-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px var(--pad) 44px;
  display: flex;
  gap: 70px;
}
.nav__col { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.nav__col-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.nav__panel a {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  color: var(--charcoal);
}
.nav__panel a:hover { color: var(--ink); }
.nav__panel .nav__col-all {
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* globe / region switcher */
/* the globe panel positions against the sticky .nav (like the mega-menu) —
   a relative wrapper here would trap it inside the overflow-hidden nav group */
.nav__item--globe { position: static; }
.nav__globe {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navfg, var(--ink));
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.lang-flag {
  width: 20px;
  height: 13px;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(24, 19, 16, 0.15);
}
.nav__globe:hover { opacity: 0.7; }
.nav__panel--globe {
  left: auto;
  right: calc(var(--pad) - 14px);
  width: 250px;
  border: 1px solid var(--bone);
  border-top: none;
}
.nav__globe-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px 24px;
}
.nav__globe-list .nav__col-label { margin-bottom: 10px; }
.nav__region,
.mnav__region {
  background: none;
  border: none;
  border-radius: 0;
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-size: 12.5px;
  text-align: left;
  color: var(--charcoal);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease);
}
.nav__region:hover, .mnav__region:hover { color: var(--ink); }
.nav__region.is-active, .mnav__region.is-active {
  color: var(--ink);
  font-weight: 500;
}
.mnav__regions {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.mnav__regions .nav__col-label { margin-bottom: 8px; }

/* burger (mobile) */
.nav__burger {
  display: none;
  position: relative;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav__burger span {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--navfg, var(--ink));
  transition: transform var(--dur-fast) var(--ease), top var(--dur-fast) var(--ease),
              bottom var(--dur-fast) var(--ease);
}
.nav__burger span:first-child { top: 6px; }
.nav__burger span:last-child { bottom: 6px; }
.nav__burger.is-open span:first-child { top: 9.5px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { bottom: 9.5px; transform: rotate(-45deg); }

/* mobile menu drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 45;                      /* under the sticky nav so the burger stays usable */
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  overflow-y: auto;
}
.mnav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__inner {
  padding: 128px var(--pad) 60px;
  display: flex;
  flex-direction: column;
}
.mnav__group { border-bottom: 1px solid var(--bone); }
.mnav__link {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: 32px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--bone);
  cursor: pointer;
  list-style: none;
}
.mnav__group .mnav__link { border-bottom: none; }
.mnav__link::-webkit-details-marker { display: none; }
.mnav__subs { display: flex; flex-direction: column; gap: 15px; padding: 4px 0 24px; }
.mnav__subs a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.mnav__foot { display: flex; gap: 28px; padding-top: 34px; }
.mnav__foot a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: -3%;
  will-change: transform;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.06);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(24, 19, 16, 0.55) 0%,
    rgba(24, 19, 16, 0.08) 42%,
    rgba(24, 19, 16, 0.12) 100%);
}
.hero__title {
  position: absolute;
  left: var(--pad);
  bottom: 96px;
  width: 55%;
  max-width: 760px;
  color: var(--white);
  will-change: transform;
}
.hero__eyebrow { color: rgba(250, 247, 241, 0.85); margin-bottom: 22px; }
.hero__h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 1.02;
  margin-bottom: 34px;
  text-wrap: balance;
}

/* floating campaign chip */
.chip {
  position: absolute;
  right: 7%;
  bottom: 20%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(6px);
  padding: 10px 20px 10px 10px;
  color: var(--ink);
  will-change: transform;
  box-shadow: var(--float);
}
.chip:hover { color: var(--ink); }
.chip__thumb { width: 46px; height: 60px; object-fit: cover; object-position: top; }
.chip__body { display: flex; flex-direction: column; gap: 4px; }
.chip__eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.chip__name { font-family: var(--display); font-size: 18px; }
.chip__cta {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 2px;
}

/* --- manifesto ---------------------------------------------------------- */

.manifesto {
  max-width: var(--max);
  margin: 0 auto;
  padding: 150px var(--pad) 130px;
  text-align: center;
}
.manifesto__line {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.3;
  margin: 0 auto;
  max-width: 900px;
  text-wrap: balance;
}

/* --- promo marquee ------------------------------------------------------ */

.marquee {
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: cer-marquee 36s linear infinite;
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.marquee__item .dot { color: var(--stone); }
@keyframes cer-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- story universes ---------------------------------------------------- */

.stories { padding-top: 140px; }
.stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.story { display: block; color: var(--ink); }
.story__media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bone);
}
.story__media img,
.card__media img,
.lookbook__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease);
}
.story__body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.story__eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.story__name { font-family: var(--display); font-size: 28px; font-weight: 400; }
.story__line { font-size: 13px; color: var(--charcoal); line-height: 1.5; }

/* --- editorial quote ---------------------------------------------------- */

.editorial {
  position: relative;
  margin-top: 160px;
  height: 74vh;
  min-height: 480px;
  overflow: hidden;
}
.editorial__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.editorial__scrim { position: absolute; inset: 0; background: rgba(24, 19, 16, 0.42); }
.editorial__fig {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad);
}
.editorial__quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.35;
  color: var(--white);
  text-align: center;
  max-width: 980px;
  text-wrap: balance;
}

/* --- atelier grid ------------------------------------------------------- */

.atelier { padding-top: 150px; }
.atelier__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px 24px;
}
.card { display: block; color: var(--ink); }
.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bone);
}

/* second-shot crossfade on hover */
.card__media img.card__alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease), transform 1.2s var(--ease);
}
.card:hover .card__media img.card__alt { opacity: 1; }

/* quick actions: add-to-cart + try-on */
.card__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: rgba(250, 247, 241, 0.94);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.card:hover .card__bar,
.card:focus-within .card__bar { opacity: 1; transform: none; }
.card__act {
  flex: 1;
  background: none;
  border: none;
  border-radius: 0;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 13px 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.card__act + .card__act { border-left: 1px solid var(--line); }
.card__act:hover { background: var(--ink); color: var(--white); }
.card__act--quiet { color: var(--stone); cursor: default; }
.card__act--quiet:hover { background: none; color: var(--stone); }

/* in-card size popover for quick add */
.card__sizes {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(250, 247, 241, 0.97);
  padding: 12px 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.card__sizes.is-open { opacity: 1; pointer-events: auto; transform: none; }
.card__sizes-label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-right: auto;
}
.card__size {
  min-width: 36px;
  padding: 8px 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.card__size:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.card__body {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card__name { font-family: var(--display); font-size: 21px; }
.card__price { font-size: 12px; letter-spacing: 0.08em; color: var(--charcoal); }
.card__note { font-style: normal; color: var(--stone); }

/* --- "Only on Ceremony" tag + try-on band + styled-for-you --------------- */

.onlytag {
  display: inline-block;
  align-self: flex-start;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px solid var(--bone);
  padding: 7px 12px;
  white-space: nowrap;
}
.onlytag--light { border-color: rgba(250, 247, 241, 0.22); color: var(--stone); }

.tryband {
  max-width: var(--max);
  margin: 150px auto 0;
  padding: 0 var(--pad);
}
.tryband__inner {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: clamp(44px, 6vh, 70px) 0;
}
.tryband__imgs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tryband__imgs img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: var(--bone);
}
.tryband__imgs .tryon__badge { left: auto; right: 12px; }
.tryband__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 460px;
}
.tryband__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}
.tryband__text { font-size: 15px; line-height: 1.75; color: var(--charcoal); }

.styled { padding-top: 150px; }
.styled .section__head { align-items: center; }

/* geo-aware "your maison" highlight */
.maison { position: relative; }
.maison__tag {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--stone);
  padding: 5px 10px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.maison--yours { border-top-color: var(--stone); }

/* --- campaign split ----------------------------------------------------- */

.campaign {
  max-width: var(--max);
  margin: 150px auto 0;
  padding: 0 var(--pad);
}
.campaign__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  align-items: stretch;
}
.campaign__media { overflow: hidden; min-height: 560px; }
.campaign__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.campaign__copy {
  background: var(--bone);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 8%;
  gap: 26px;
}
.campaign__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1.05;
}
.campaign__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 420px;
}

/* --- lookbook ----------------------------------------------------------- */

.lookbook { padding-top: 150px; }
.lookbook__head {
  max-width: var(--max);
  margin: 0 auto 54px;
  padding: 0 var(--pad);
}
.lookbook__hint {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.lookbook__strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 var(--pad) 24px;
  scroll-snap-type: x proximity;
  cursor: grab;
  scrollbar-width: none;
}
.lookbook__strip::-webkit-scrollbar { display: none; }
.lookbook__item {
  flex: 0 0 auto;
  width: min(380px, 72vw);
  scroll-snap-align: start;
}
.lookbook__item > div {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bone);
}
.lookbook__item img { user-select: none; }
.lookbook__caption {
  padding-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* --- maisons / stores --------------------------------------------------- */

.maisons {
  margin-top: 160px;
  background: var(--ink);
  color: var(--white);
  padding: 130px var(--pad);
}
.maisons__inner { max-width: var(--max); margin: 0 auto; }
.maisons__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 70px;
}
.maisons__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 3.8vw, 60px);
}
.maisons__sub { font-size: 12px; color: var(--stone); letter-spacing: 0.1em; }
.maisons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0 40px;
}
.maison {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(250, 247, 241, 0.18);
  padding: 22px 0 30px;
  color: var(--white);
  transition: border-color 0.5s var(--ease);
}
.maison:hover { border-top-color: var(--stone); color: var(--white); }
.maison__name { font-family: var(--display); font-size: 24px; }
.maison__area { font-size: 11px; letter-spacing: 0.12em; color: var(--stone); }
.maison__cta {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.55);
  margin-top: 8px;
}

/* --- footer ------------------------------------------------------------- */

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px var(--pad) 60px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__logo { width: 150px; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 13px; color: var(--charcoal); }
.footer__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}
.footer__base {
  border-top: 1px solid var(--bone);
  margin-top: 70px;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer__base span { font-size: 11px; color: var(--stone); letter-spacing: 0.08em; }

/* --- reveal states (JS-driven) ------------------------------------------ */

[data-reveal].is-hidden[data-reveal="clip"] {
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--dur-slow) var(--ease);
}
[data-reveal].is-hidden[data-reveal="fade"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-revealed { clip-path: inset(0 0 0% 0); opacity: 1; transform: none; }

/* --- PDP ------------------------------------------------------------------ */

.pdp-page { padding-top: clamp(28px, 4vh, 60px); }
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(320px, 42fr);
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
}
.pdp__gallery { display: flex; flex-direction: column; gap: 20px; }
.pdp__shot { overflow: hidden; background: var(--bone); }
.pdp__shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;          /* crop biased to top — faces stay in frame */
  cursor: zoom-in;
}

/* full-screen gallery zoom (click a shot; cursor pans the crop) */
#cer-zoom {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  cursor: zoom-out;
}
#cer-zoom.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
#cer-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.zoom__hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(250, 247, 241, 0.92);
  padding: 8px 16px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.pdp__info { min-width: 0; }
.pdp__sticky {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}
.pdp__name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.05;
}
.pdp__price { font-size: 14px; letter-spacing: 0.08em; color: var(--charcoal); }
.pdp__desc { font-size: 15px; line-height: 1.7; color: var(--charcoal); max-width: 460px; }

.pdp__row { display: flex; flex-direction: column; gap: 10px; }
.pdp__row-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.pdp__swatches { display: flex; align-items: center; gap: 10px; }
.pdp__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
}
.pdp__swatch.is-active { box-shadow: 0 0 0 1px var(--white), 0 0 0 2px var(--ink); }
.pdp__swatch-name { font-size: 12px; color: var(--charcoal); margin-left: 4px; }

.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__size {
  min-width: 46px;
  padding: 11px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.pdp__size:hover { border-color: var(--ink); }
.pdp__size.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pdp__size.is-out { color: var(--stone); text-decoration: line-through; cursor: help; }
.pdp__size-note { font-size: 11px; color: var(--stone); letter-spacing: 0.04em; }

.pdp__fit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: 14px 0;
}
.pdp__fit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--stone); flex: 0 0 auto; }

.pdp__actions { display: flex; flex-direction: column; gap: 12px; }
.pdp__actions .btn { align-self: stretch; text-align: center; }
.btn--solid {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}
.btn--solid:hover { background: transparent; color: var(--ink); }
.pdp__reserve {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  align-self: center;
  margin-top: 6px;
}
.pdp__note { font-size: 11px; color: var(--stone); letter-spacing: 0.04em; text-align: center; }

.pdp-look { padding-top: clamp(90px, 10vh, 140px); padding-bottom: 40px; }
.pdp-look:empty { display: none; }
.atelier__grid--look { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* --- try-on drawer (consent → shimmer → result) ---------------------------- */

#cer-tryon { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#cer-tryon .tryon__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 19, 16, 0.4);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
#cer-tryon .tryon {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(480px, 100vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  box-shadow: var(--float);
}
#cer-tryon.is-open { pointer-events: auto; }
#cer-tryon.is-open .tryon__overlay { opacity: 1; }
#cer-tryon.is-open .tryon { transform: translateX(0); }

.tryon__head { display: flex; align-items: center; justify-content: space-between; }
.tryon__close {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
  padding: 6px;
}
.tryon__product {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: 14px 0;
}
.tryon__product img { width: 52px; height: 68px; object-fit: cover; object-position: top; }
.tryon__product > div { display: flex; flex-direction: column; gap: 4px; }
.tryon__pname { font-family: var(--display); font-size: 20px; }
.tryon__pprice { font-size: 12px; letter-spacing: 0.08em; color: var(--charcoal); }

.tryon__step { display: flex; flex-direction: column; gap: 16px; }
.tryon__step[hidden] { display: none; }
.tryon__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.tryon__canvases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tryon__canvas {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--ui);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}
.tryon__canvas:hover { border-color: var(--ink); }
.tryon__canvas.is-active { border-color: var(--ink); background: var(--bone); }
.tryon__canvas-title { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.tryon__canvas-sub { font-size: 11px; color: var(--charcoal); }

.tryon__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.55;
  color: var(--charcoal);
  cursor: pointer;
}
.tryon__consent input { margin-top: 2px; accent-color: #181310; }
.tryon__generate:disabled { opacity: 0.35; cursor: not-allowed; }
.tryon__generate:disabled:hover { background: var(--ink); color: var(--white); }

.tryon__shimmer {
  aspect-ratio: 3 / 4;
  background: linear-gradient(100deg, var(--bone) 40%, #F4EDE2 50%, var(--bone) 60%);
  background-size: 200% 100%;
  animation: cer-shimmer 2.2s var(--ease) infinite;
}
@keyframes cer-shimmer { from { background-position: 120% 0; } to { background-position: -80% 0; } }
.tryon__loading-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--charcoal);
  text-align: center;
}

.tryon__result { position: relative; }
.tryon__result img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.tryon__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(250, 247, 241, 0.92);
  padding: 7px 12px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.tryon__simnote {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--stone);
  letter-spacing: 0.03em;
}
.tryon__simnote[hidden] { display: none; }
.tryon__actions { display: flex; flex-direction: column; gap: 10px; }
.tryon__actions .btn { align-self: stretch; text-align: center; }
.tryon__actions .pdp__reserve { align-self: center; }
.tryon__foot {
  margin-top: auto;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--stone);
  border-top: 1px solid var(--bone);
  padding-top: 14px;
}

/* --- Story Universe --------------------------------------------------------- */

.story-hero { height: 92vh; }
/* the story opening shows the FULL editorial frame — never crops the subject.
   Square/portrait story images sit contained on the ink ground, gallery-style */
.story-hero .hero__bg { inset: 0; }
.story-hero .hero__bg img { object-fit: contain; object-position: 100% 50%; transform: none; }
@media (max-width: 900px) {
  .story-hero .hero__bg img { object-position: center 20%; }
}
.story-hero .hero__scrim {
  background:
    linear-gradient(to bottom, rgba(24, 19, 16, 0.5) 0%, rgba(24, 19, 16, 0) 14%),
    linear-gradient(to top,
      rgba(24, 19, 16, 0.62) 0%,
      rgba(24, 19, 16, 0.05) 38%,
      rgba(24, 19, 16, 0) 100%);
}
.story-hero__line {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px);
  color: rgba(250, 247, 241, 0.85);
}
.story__intro { padding-bottom: 40px; }

.story-ch {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 9vh, 120px) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}
.story-ch:nth-of-type(even) .story-ch__media { order: 2; }
.story-ch__media { overflow: hidden; background: var(--bone); }
.story-ch__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.story-ch__body { display: flex; flex-direction: column; gap: 20px; max-width: 480px; }
.story-ch__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
}
.story-ch__text { font-size: 15px; line-height: 1.85; color: var(--charcoal); }

.story__shop { padding-top: clamp(70px, 9vh, 120px); }
.story__shop-title { margin-top: 10px; font-size: clamp(26px, 2.6vw, 38px); }

.story-next {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
  background: var(--bone);
  margin-top: clamp(90px, 12vh, 160px);
  padding: clamp(70px, 10vh, 130px) var(--pad);
  transition: background var(--dur) var(--ease);
}
.story-next:hover { background: #E4D8C6; }
.story-next__name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 1.05;
  color: var(--ink);
}
.story-next__line {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 21px);
  color: var(--charcoal);
}

@media (max-width: 800px) {
  .story-ch { grid-template-columns: 1fr; align-items: start; }
  .story-ch:nth-of-type(even) .story-ch__media { order: 0; }
}

/* --- Atelier / PLP ------------------------------------------------------------ */

.plp-page { padding-top: clamp(36px, 5vh, 70px); padding-bottom: 40px; }
.plp__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 54px; }
.plp__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.05;
}
.plp__count { font-size: 12px; letter-spacing: 0.08em; color: var(--stone); }

.plp {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.plp__rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.plp__group { display: flex; flex-direction: column; gap: 12px; }
.plp__group-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 1px solid var(--bone);
  padding-bottom: 10px;
}
.plp__options { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.plp__opt {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 0 2px 0;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.plp__opt:hover { color: var(--ink); }
.plp__opt.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.plp__sort {
  position: sticky;
  top: 68px;
  z-index: 5;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 22px;
  background: rgba(250, 247, 241, 0.96);
  border-bottom: 1px solid var(--bone);
  padding: 12px 0 14px;
  margin-bottom: 34px;
}
.plp__sort .plp__opt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.plp__sort-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-right: auto;
}

.plp__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 90px 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.plp__empty p {
  font-family: var(--display);
  font-weight: 300;
  font-size: 26px;
  color: var(--charcoal);
}
.plp__reset { background: none; border-top: none; border-left: none; border-right: none; cursor: pointer; font-family: var(--ui); }

/* --- cart drawer ---------------------------------------------------------------- */

#cer-cartdrawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#cer-cartdrawer .cartd__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 19, 16, 0.35);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
#cer-cartdrawer .cartd {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform var(--dur) var(--ease);
  box-shadow: var(--float);
}
#cer-cartdrawer.is-open { pointer-events: auto; }
#cer-cartdrawer.is-open .cartd__overlay { opacity: 1; }
#cer-cartdrawer.is-open .cartd { transform: translateX(0); }

.cartd__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--bone);
}
.cartd__items { flex: 1; overflow-y: auto; padding: 10px 28px; }
.cartd__empty {
  font-family: var(--display);
  font-weight: 300;
  font-size: 22px;
  color: var(--charcoal);
  margin-top: 40px;
  text-align: center;
}
.cartd__item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cartd__item img { width: 64px; height: 84px; object-fit: cover; object-position: top; }
.cartd__item-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cartd__item-name { font-family: var(--display); font-size: 19px; }
.cartd__item-meta {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.cartd__item-price { font-size: 14px; color: var(--charcoal); }
.cartd__remove {
  background: none;
  border: none;
  color: var(--stone);
  font-size: 11px;
  cursor: pointer;
  padding: 4px;
  align-self: flex-start;
}
.cartd__remove:hover { color: var(--ink); }
.cartd__foot {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--bone);
}
.cartd__foot .btn { align-self: stretch; text-align: center; }
.cartd__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 4px;
}
.cartd__subtotal span:first-child {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
}

/* --- store reservation (12 maisons) ------------------------------------------ */

.res-page { background: var(--ink); }
.res {
  background: var(--ink);
  color: var(--white);
  padding: clamp(70px, 9vh, 120px) var(--pad) clamp(90px, 11vh, 150px);
}
.res__inner { max-width: var(--max); margin: 0 auto; }
.res__head { max-width: 720px; display: flex; flex-direction: column; gap: 18px; margin-bottom: 60px; }
.res__eyebrow { color: var(--stone); }
.res__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 3.8vw, 60px);
  line-height: 1.05;
}
.res__intro { font-size: 15px; line-height: 1.75; color: rgba(250, 247, 241, 0.65); }
.res__note {
  margin-top: 60px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(250, 247, 241, 0.45);
  max-width: 560px;
}

.res-yours { display: flex; flex-direction: column; gap: 0; margin-bottom: 46px; }
.res-yours__label { color: var(--stone); margin-bottom: 14px; }
.res-yours__item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(250, 247, 241, 0.18);
  padding: 16px 0;
}
.res-yours__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 220px; }
.res-yours__maison { font-family: var(--display); font-size: 21px; }
.res-yours__piece { font-size: 12px; color: rgba(250, 247, 241, 0.6); letter-spacing: 0.06em; }
.res-status {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid rgba(250, 247, 241, 0.25);
  color: rgba(250, 247, 241, 0.75);
}
.res-status--confirmed { border-color: var(--stone); color: var(--stone); }
.res-yours__release {
  background: none;
  border: none;
  color: rgba(250, 247, 241, 0.5);
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(250, 247, 241, 0.3);
  padding: 0 0 2px;
  cursor: pointer;
}
.res-yours__release:hover { color: var(--white); }

.res-piece {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(250, 247, 241, 0.16);
  padding: 16px 20px;
  margin-bottom: 60px;
  max-width: 560px;
}
.res-piece img { width: 52px; height: 68px; object-fit: cover; object-position: top; }
.res-piece__body { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.res-piece__body .eyebrow { color: var(--stone); }
.res-piece__name { font-family: var(--display); font-size: 21px; }
.res-piece__price { font-size: 12px; color: rgba(250, 247, 241, 0.6); }
.res-piece__empty { font-size: 13px; line-height: 1.6; color: rgba(250, 247, 241, 0.6); }
.res-piece__change {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--stone);
  padding-bottom: 2px;
  white-space: nowrap;
}

.res__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0 40px;
}
.res-maison {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid rgba(250, 247, 241, 0.18);
  padding: 22px 0 32px;
  transition: border-color 0.5s var(--ease);
}
.res-maison:hover, .res-maison.is-selected { border-top-color: var(--stone); }
.res-maison__avail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.6);
  margin-top: 6px;
}
.res-maison__avail i { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.res-maison__avail.is-open i { background: #8FA98A; }
.res-maison__avail.is-quiet i { background: var(--stone); }
.res-maison__avail.is-busy i { background: rgba(250, 247, 241, 0.35); }
.res-maison__host { font-size: 11.5px; color: rgba(250, 247, 241, 0.5); letter-spacing: 0.04em; }
.res-maison__hold {
  align-self: flex-start;
  margin-top: 14px;
  background: none;
  border: 1px solid rgba(250, 247, 241, 0.35);
  color: var(--white);
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 11px 22px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.res-maison__hold:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* reservation drawer */
#cer-resdrawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
#cer-resdrawer .cartd__overlay {
  position: absolute; inset: 0;
  background: rgba(24, 19, 16, 0.45);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
#cer-resdrawer .resd {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(460px, 96vw);
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 32px;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform var(--dur) var(--ease);
  box-shadow: var(--float);
}
#cer-resdrawer.is-open { pointer-events: auto; }
#cer-resdrawer.is-open .cartd__overlay { opacity: 1; }
#cer-resdrawer.is-open .resd { transform: translateX(0); }

.resd__step { display: flex; flex-direction: column; gap: 16px; }
.resd__step[hidden] { display: none; }
.resd__host { font-size: 12.5px; color: var(--charcoal); letter-spacing: 0.04em; }
.resd__nopiece { font-size: 13px; line-height: 1.6; color: var(--charcoal); border: 1px solid var(--bone); padding: 14px 16px; }
.resd__slots { display: flex; flex-direction: column; gap: 10px; }
.resd__day { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.resd__day-label {
  width: 92px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.resd__slot {
  background: none;
  border: 1px solid var(--line);
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.resd__slot:hover { border-color: var(--ink); }
.resd__slot.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.resd__input {
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: var(--ui);
  font-size: 14px;
  color: var(--ink);
  padding: 10px 0;
  outline: none;
}
.resd__input:focus { border-bottom-color: var(--ink); }
.resd__input::placeholder { color: var(--stone); }
.resd__submit { align-self: stretch; text-align: center; }

.resd__timeline { display: flex; flex-direction: column; gap: 0; padding: 10px 0; }
.resd__stage { display: flex; align-items: center; gap: 14px; padding: 13px 0; }
.resd__stage i {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.resd__stage span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--dur) var(--ease);
}
.resd__stage.is-done i { background: var(--ink); border-color: var(--ink); }
.resd__stage.is-done span { color: var(--ink); }

.resd__hostcard {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bone);
  padding: 18px 20px;
}
.resd__hostcard[hidden] { display: none; }
.resd__hostavatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 19px;
  flex: 0 0 auto;
}
.resd__hostmsg { display: flex; flex-direction: column; gap: 6px; }
.resd__hostname { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); }
.resd__hostmsg p { font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--ink); }
.resd__continue { text-align: center; }

/* --- checkout ----------------------------------------------------------------- */

.co-page { padding-top: clamp(36px, 5vh, 70px); padding-bottom: 60px; }
.co {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}
.co__form { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.co__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.co__form .tryon__label { margin-top: 16px; }
.co-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt__box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  height: 100%;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.co-opt:hover .co-opt__box { border-color: var(--ink); }
.co-opt input:checked + .co-opt__box { border-color: var(--ink); background: var(--bone); }
.co-opt__title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.co-opt__sub { font-size: 11.5px; color: var(--charcoal); line-height: 1.5; }
.co-maison[hidden] { display: none; }
.co-maison { display: flex; flex-direction: column; gap: 12px; }
.co-select {
  appearance: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--ink);
  padding: 12px 14px;
  cursor: pointer;
}
.co__place { margin-top: 20px; align-self: stretch; text-align: center; }
.co__form .pdp__reserve { align-self: center; }

.co__summary {
  position: sticky;
  top: 96px;
  background: var(--bone);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.co__items { display: flex; flex-direction: column; }
.co__summary .cartd__item { border-bottom-color: rgba(24, 19, 16, 0.12); }
.co__story { color: var(--charcoal); }
.co__totals { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.co__line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--charcoal); }
.co__line--total {
  border-top: 1px solid rgba(24, 19, 16, 0.15);
  padding-top: 12px;
  font-size: 14px;
  color: var(--ink);
}

.co-empty, .co-done {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 60px 0;
}
.co-empty__line, .co-done__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  text-wrap: balance;
}
.co-done__line { font-size: 14px; color: var(--charcoal); max-width: 480px; line-height: 1.7; }
.co-done__facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  border-top: 1px solid var(--bone);
  border-bottom: 1px solid var(--bone);
  padding: 18px 30px;
}

@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; }
  .co__summary { position: static; order: -1; }
  .co-opts { grid-template-columns: 1fr; }
}

/* --- account (§6.8) ------------------------------------------------------------ */

.acct-page { padding-top: clamp(36px, 5vh, 70px); padding-bottom: 60px; }
.acct {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.acct__rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.acct__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1.05;
}
.acct__nav { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.acct__nav a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.acct__nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.acct__main { display: flex; flex-direction: column; max-width: 640px; }
.acct__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 0;
  border-top: 1px solid var(--bone);
  scroll-margin-top: 90px;
}
.acct__section:first-child { border-top: none; padding-top: 8px; }
.acct__h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
}
.acct__note { font-size: 12px; line-height: 1.7; color: var(--stone); letter-spacing: 0.03em; }
.acct__empty { font-family: var(--display); font-weight: 300; font-size: 20px; color: var(--charcoal); }
.acct__save { align-self: flex-start; margin-top: 6px; }
.acct__quiet-btn {
  background: none;
  border: none;
  align-self: flex-start;
  font-family: var(--ui);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  padding: 0 0 2px;
  cursor: pointer;
}
.acct__quiet-btn:hover { color: var(--ink); border-bottom-color: var(--ink); }

.acct__avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.acct-avatar { display: flex; flex-direction: column; gap: 10px; }
.acct-avatar__canvas {
  aspect-ratio: 3 / 4;
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.acct-avatar__canvas span {
  font-family: var(--display);
  font-weight: 300;
  font-size: 64px;
  color: var(--stone);
}
.acct-avatar__label { font-size: 12px; color: var(--charcoal); letter-spacing: 0.04em; }
.acct-avatar--deleted {
  aspect-ratio: auto;
  border: 1px solid var(--bone);
  padding: 22px 18px;
  gap: 8px;
  justify-content: center;
}
.acct-avatar__evidence {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.acct-avatar__evidence-id { font-size: 11px; color: var(--stone); letter-spacing: 0.04em; }

.acct__fit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px 24px; }
.acct__fit-field { display: flex; flex-direction: column; gap: 4px; }
.acct__fit-field span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

.acct__row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--bone);
  padding: 16px 0;
}
.acct__row-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 200px; }
.acct__row-title { font-family: var(--display); font-size: 20px; }
.acct__row-sub { font-size: 12px; color: var(--charcoal); letter-spacing: 0.04em; }
.acct__status { border-color: var(--line); color: var(--charcoal); }
.acct__status.res-status--confirmed { border-color: var(--stone); color: var(--stone); }

.acct__tryons { display: flex; gap: 16px; flex-wrap: wrap; }
.acct-tryon { display: flex; flex-direction: column; gap: 8px; width: 110px; color: var(--ink); }
.acct-tryon img { width: 110px; height: 146px; object-fit: cover; object-position: top; }
.acct-tryon span { font-size: 11px; color: var(--charcoal); line-height: 1.4; }

.acct__toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
}
.acct__toggle input { margin-top: 3px; accent-color: #181310; }
.acct__delete-all { margin-top: 10px; color: var(--charcoal); }

@media (max-width: 900px) {
  .acct { grid-template-columns: 1fr; }
  .acct__rail { position: static; }
  .acct__nav { flex-direction: row; flex-wrap: wrap; gap: 12px 18px; }
}

/* --- toast ------------------------------------------------------------------ */

#cer-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  z-index: 120;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
#cer-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --- responsive --------------------------------------------------------- */

@media (max-width: 900px) {
  .nav__group--left { display: none; }
  .nav__burger { display: block; }
  .tryband__inner { grid-template-columns: 1fr; }
  .tryband__copy { max-width: none; }
  .hero__title { width: 78%; bottom: 72px; }
  .chip { right: 5%; bottom: 14%; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__logo { grid-column: 1 / -1; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__sticky { position: static; }
  .plp { grid-template-columns: 1fr; }
  .plp__rail {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 26px 40px;
  }
}

@media (max-width: 560px) {
  .nav__aux { display: none; }
  .nav__item--globe { display: none; }   /* region switcher lives in the menu drawer */
  .hero__title { width: 88%; }
  .chip { display: none; }
  .campaign__grid { grid-template-columns: 1fr; }
  .campaign__media { min-height: 420px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__bg, .hero__title, .chip { transform: none !important; }
}
