:root {
  --background: #080807;
  --ivory: #efeae0;
  --bronze: #c29758;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--background); }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100dvh;
  color: var(--ivory);
  background: var(--background) url('assets/hero-marble-v2.png') center / cover fixed;
  font-family: 'DM Sans', sans-serif;
}
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Collection selector: one deliberate viewport, without a separate navbar row. */
.selector-page { height: 100dvh; overflow: hidden; }
.selector-stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--background);
}
.selector-stage::before {
  content: '';
  position: absolute;
  inset: 7px;
  z-index: 4;
  border: 1px solid rgba(194, 151, 88, .82);
  pointer-events: none;
}
.selector-brand {
  position: absolute;
  z-index: 6;
  top: clamp(18px, 3.3vw, 48px);
  left: clamp(18px, 3.3vw, 48px);
  display: block;
  width: clamp(66px, 7.5vw, 112px);
  aspect-ratio: 1;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.selector-brand img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.selector-brand:hover { transform: rotate(-5deg) scale(1.04); }
.selector-back,
.selector-location,
.choice-label,
.choice-action {
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .19em;
}
.selector-back {
  position: absolute;
  z-index: 6;
  top: clamp(30px, 3.5vw, 52px);
  right: clamp(28px, 4.5vw, 72px);
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ivory);
  font-size: 10px;
  text-decoration: none;
  transition: color .25s ease;
}
.selector-back:hover { color: var(--bronze); }
.selector-controls { position: absolute; top: clamp(24px, 3.3vw, 48px); right: clamp(28px, 4.5vw, 72px); z-index: 6; display: flex; gap: 24px; align-items: center; }
.selector-controls .selector-back { position: static; }
.selector-controls .selector-back { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0; border: 0; color: var(--ivory); background: transparent; font: 16px 'Playfair Display', Georgia, serif; letter-spacing: 0; text-transform: none; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 7px; cursor: pointer; }
.selector-brand:focus-visible,
.selector-back:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 1px;
  background: rgba(194, 151, 88, .8);
}
.choice-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--ivory);
  background: #0b0a09;
  text-decoration: none;
  isolation: isolate;
  animation: panel-enter .8s cubic-bezier(.2, .8, .2, 1) both;
}
.choice-clothing { animation-delay: .1s; }
.choice-card > img,
.choice-card > video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) contrast(1.06);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
}
.choice-card > video[hidden] { display: none; }
.choice-perfumes > img,
.choice-perfumes > video { object-position: center; filter: none; }
.choice-clothing > img,.choice-clothing > video { object-position: 58% center; }
.choice-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.choice-perfumes::before {
  background: linear-gradient(0deg, #080807 0%, #080807 22%, rgba(8, 8, 7, .96) 26%, rgba(8, 8, 7, .5) 35%, transparent 49%);
}
.choice-clothing::before {
  background: linear-gradient(180deg, rgba(5, 5, 4, .3) 5%, transparent 42%), linear-gradient(0deg, rgba(5, 5, 4, .97) 0%, rgba(5, 5, 4, .61) 31%, rgba(5, 5, 4, .1) 68%);
}
.choice-card:hover > img,
.choice-card:focus-visible > img,
.choice-card:hover > video,
.choice-card:focus-visible > video { transform: scale(1.025); }
.choice-card:active > img,
.choice-card:active > video { transform: scale(1.01); }
.choice-card:focus-visible { outline: 2px solid var(--ivory); outline-offset: -7px; }
.choice-content {
  position: absolute;
  z-index: 1;
  bottom: clamp(28px, 5vh, 56px);
  left: 50%;
  width: min(88%, 630px);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}
.choice-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 19px;
  color: var(--bronze);
  font-size: clamp(9px, .78vw, 12px);
  line-height: 1.25;
}
.choice-content h2 {
  max-width: none;
  margin: 0 auto;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 68px);
  letter-spacing: -.055em;
  line-height: 1.05;
}
.choice-rule { display: block; width: 58px; height: 1px; margin: 25px auto 20px; background: var(--bronze); }
.choice-description {
  max-width: 31ch;
  min-height: 2.84em;
  margin: 18px auto 14px;
  font: clamp(15px, 1.25vw, 19px)/1.42 'Playfair Display', Georgia, serif;
}
.choice-action {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  min-height: 38px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bronze);
  font: 18px/1.2 'Playfair Display', Georgia, serif;
  letter-spacing: 0;
  text-transform: none;
  transition: color .25s, border-color .25s;
}
.choice-card:hover .choice-action,
.choice-card:focus-visible .choice-action { color: #e6c796; border-color: var(--ivory); }

/* Indumentaria coming-soon page retains its independent header and layout. */
.selector-header {
  height: clamp(88px, 12.5vh, 120px);
  padding: 0 clamp(16px, 4.5vw, 78px);
  display: grid;
  grid-template-columns: 110px auto 1fr;
  align-items: center;
  column-gap: 34px;
}
.selector-header .selector-brand {
  position: static;
  width: 110px;
  height: 80px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(239, 234, 224, .35);
}
.selector-header .selector-brand img { width: 82px; height: 82px; }
.selector-header .selector-back {
  position: static;
  width: fit-content;
  color: var(--ivory);
  font-size: 11px;
}
.selector-location { justify-self: end; color: var(--bronze); font-size: 11px; white-space: nowrap; }
.coming-main {
  min-height: calc(100dvh - clamp(88px, 12.5vh, 120px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 8vw, 150px);
  padding: 30px clamp(24px, 8vw, 150px) 90px;
}
.coming-photo { height: min(72dvh, 760px); min-height: 460px; overflow: hidden; border: 1px solid rgba(194, 151, 88, .5); }
.coming-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.coming-copy .choice-label { margin-bottom: 24px; justify-content: flex-start; }
.coming-copy .choice-label::before,
.coming-copy .choice-label::after { display: none; }
.coming-copy h1 { margin: 0 0 32px; font: 500 clamp(60px, 6.4vw, 112px)/.93 'Playfair Display', Georgia, serif; letter-spacing: -.055em; }
.coming-copy p:not(.choice-label) { max-width: 32ch; font: 20px/1.5 'Playfair Display', Georgia, serif; }
.coming-copy .choice-rule { margin: 32px 0 27px; }
.coming-copy .choice-action { margin-top: 35px; text-decoration: none; pointer-events: auto; }
.coming-copy .choice-action:hover { color: var(--bronze); }

@keyframes panel-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 920px) {
  .selector-header { height: 88px; grid-template-columns: 82px 1fr; gap: 16px; }
  .selector-header .selector-brand { width: 82px; height: 68px; }
  .selector-header .selector-brand img { width: 66px; height: 66px; }
  .selector-location { display: none; }
  .selector-header .selector-back { font-size: 9px; letter-spacing: .13em; gap: 11px; }
  .coming-main { grid-template-columns: 1fr; padding: 10px 6vw 60px; gap: 30px; }
  .coming-photo { height: 48dvh; min-height: 320px; }
  .coming-copy { padding: 0 1vw; }
}

@media (max-width: 700px) {
  .selector-stage::before { inset: 4px; }
  .selector-brand { top: 14px; left: 16px; width: 58px; }
  .selector-back { top: 27px; right: 22px; gap: 8px; font-size: 8px; letter-spacing: .15em; }
  .selector-controls { top: 15px; right: 22px; gap: 22px; }
  .selector-controls .selector-back { font-size: 14px; }
  .choice-grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .choice-card { min-height: 0; }
  .choice-perfumes > img,.choice-perfumes > video { object-position: center; }
  .choice-clothing > img,.choice-clothing > video { object-position: 58% 36%; }
  .choice-perfumes::before,
  .choice-clothing::before { background: linear-gradient(180deg, rgba(5, 5, 4, .28) 0%, rgba(5, 5, 4, .08) 35%, rgba(5, 5, 4, .93) 100%); }
  .choice-perfumes::before { background: linear-gradient(0deg, #080807 0%, #080807 22%, rgba(8, 8, 7, .96) 26%, rgba(8, 8, 7, .5) 35%, transparent 49%); }
  .choice-content { bottom: 15px; width: 89%; }
  .choice-label { gap: 9px; margin-bottom: 8px; font-size: 8px; }
  .choice-content h2 { font-size: clamp(26px, 9vw, 39px); margin-bottom: 9px; }
  .choice-rule { width: 40px; margin: 11px auto 9px; }
  .choice-description { display: none; }
  .choice-action { min-height: 30px; font-size: 15px; }
}

@media (max-width: 360px), (max-height: 650px) {
  .selector-brand { width: 46px; top: 11px; left: 13px; }
  .selector-back { top: 20px; right: 16px; font-size: 7px; }
  .choice-content { bottom: 10px; }
  .choice-label { margin-bottom: 5px; }
  .choice-content h2 { font-size: clamp(26px, 9vw, 30px); margin-bottom: 5px; }
  .choice-rule { margin: 7px auto; }
  .selector-controls { top: 10px; right: 16px; gap: 18px; }
  .selector-controls .selector-back { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .choice-card { animation: none; }
  .choice-card > img,
  .choice-card > video,
  .choice-action,
  .selector-brand,
  .selector-back { transition: none; }
}
