/*
Theme Name: Oniric Redesign
Author: Krystian Rodziewicz
Description: Oniric Parfums theme by Krystian Rodziewicz.
Version: 1.0
*/

:root {
  --black: #050506;
  --bone: #e9e6df;
  --bone-dim: #b9b6ae;
  --red: #e10000;
  --line: rgba(233, 230, 223, 0.18);
  --edge: clamp(20px, 3.4vw, 46px);
  --chrome: 'Jost', sans-serif;
  --display: 'Cormorant Garamond', serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--black);
  color: var(--bone);
  font-family: var(--chrome);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  padding: var(--edge);
  transition: opacity 2s var(--ease);
}
.intro.is-hidden { opacity: 0; pointer-events: none; }
.intro__phrase {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  letter-spacing: 0.04em;
  line-height: 1.25;
  white-space: nowrap;
}
.intro__w { display: inline-block; }
.intro__c { display: inline-block; will-change: transform, opacity, filter; }
@keyframes introWord { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes introRise { to { opacity: 1; transform: translateY(0); } }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--edge);
  pointer-events: none;
}
.site-header a, .site-header button { pointer-events: auto; }
.brand {
  margin-top: -5px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
  font-family: 'Oswald', var(--chrome);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.header__right { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.lang { display: flex; align-items: center; gap: 7px; font-size: 0.72rem; letter-spacing: 0.16em; color: #fff; }
.lang__btn { opacity: 0.5; transition: opacity 0.4s var(--ease); }
.lang__btn.is-active, .lang__btn:hover { opacity: 1; }
.lang__sep { opacity: 0.4; }

.site-header a, .site-header a:hover, .brand, .brand:hover,
.menu__list a, .menu__list a:hover, .site-footer a, .hero__journey a, .discover, .discover:hover {
  text-decoration: none !important;
}

.search-link { color: #fff; display: inline-flex; align-items: center; transition: color 0.4s var(--ease); }
.search-link:hover { color: var(--red); }

.burger { width: 22px; height: 12px; position: relative; }
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.4px;
  background: #fff;
  transition: top 0.55s cubic-bezier(0.3, 1.9, 0.45, 1), transform 0.55s cubic-bezier(0.3, 1.9, 0.45, 1);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { top: 100%; transform: translateY(-100%); }
.burger:hover span:nth-child(1) { top: 18%; }
.burger:hover span:nth-child(3) { top: 82%; }
.burger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%); }
.burger.is-open span:nth-child(3) { top: 50%; transform: translateY(-50%); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__list { list-style: none; text-align: right; padding-right: calc(var(--edge) * 1.6); }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: inline-block;
  font-family: 'Oswald', var(--chrome);
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.85;
  transform: translateY(110%) scaleY(1.6);
  filter: blur(12px);
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease), color 0.4s var(--ease);
}
.menu.is-open .menu__list a { transform: translateY(0) scaleY(1); filter: blur(0); }
.menu__list a { position: relative; }
.menu__list a::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  top: 52%;
  height: 1.5px;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}
.menu__list a::after { display: none; }
.menu__list a:hover { color: var(--bone-dim); }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: 0.06s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.12s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.18s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.24s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 0.3s; }

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  contain: paint;
  background: #050506;
}
.hero__video-src { position: absolute; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34vh;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 6, 0.65) 55%, #050506);
  pointer-events: none;
  z-index: 30;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform, opacity;
}
.hero__video--raw {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 1 !important;
  pointer-events: none;
}
.crt-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 24px 4px rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scaleX(1);
  transform-origin: center center;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}
.hero__words {
  position: absolute;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero__word {
  grid-area: 1 / 1;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.75);
  opacity: 0;
  will-change: transform, opacity, filter;
}
.hero__journey {
  position: absolute;
  right: var(--edge);
  top: 57%;
  z-index: 50;
  text-align: right;
}
.hero__journey-title span { display: block; }
.hero__journey-title {
  font-family: 'Oswald', var(--chrome);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.9vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero__journey-cta {
  margin-top: 0.9rem;
  font-family: 'Oswald', var(--chrome);
  font-weight: 600;
  font-size: clamp(0.75rem, 1.45vw, 1.25rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55em;
  color: #fff;
  cursor: pointer;
}
.hero__journey-word { display: inline-block; }
.hero__side {
  position: absolute;
  left: var(--edge);
  top: 50%;
  z-index: 50;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 0 3px rgba(0, 0, 0, 0.7);
}
@media (max-width: 700px) { .hero__side { display: none; } }
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.perfume {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
  padding: clamp(80px, 12vh, 160px) var(--edge);
  overflow: hidden;
}
.perfume--yin  { background: #050506; }
.perfume--yang { background: #050506; }
.perfume__glyph {
  position: absolute;
  font-family: var(--display);
  font-size: 60vh;
  line-height: 1;
  opacity: 0.05;
  user-select: none;
  z-index: 0;
}
.perfume--yin  .perfume__glyph { left: -6vw; top: 50%; transform: translateY(-50%); }
.perfume--yang .perfume__glyph { right: -6vw; top: 50%; transform: translateY(-50%); color: var(--red); opacity: 0.06; }
.perfume__media {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh;
  cursor: grab;
}
.perfume__media:active { cursor: grabbing; }
.bottle3d { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.perfume__bottle--fallback { display: none; }
.perfume--yang .perfume__media { order: 2; }
.perfume--yang .perfume__text  { order: 1; }
.perfume__bottle {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  mask-image: radial-gradient(115% 115% at 50% 50%, #000 58%, transparent 96%);
  -webkit-mask-image: radial-gradient(115% 115% at 50% 50%, #000 58%, transparent 96%);
  transition: filter 0.6s var(--ease);
}
.perfume__media:hover .perfume__bottle {
  filter: brightness(1.1);
}
.perfume__text { position: relative; z-index: 1; max-width: 30rem; }
.perfume__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 1.4rem;
}
.perfume__name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin-bottom: 1.6rem;
}
.perfume__phrase {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.28rem, 2.1vw, 1.9rem);
  line-height: 1.6;
  max-width: 28rem;
  margin-bottom: 2.4rem;
  color: var(--bone);
}
.perfume--yang .perfume__phrase,
.perfume--yang .perfume__eyebrow { margin-left: auto; margin-right: 0; }
.discover {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color 0.4s var(--ease);
}
.discover:hover { color: var(--bone); }
.discover__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.4s var(--ease);
}
.discover:hover .discover__dot { transform: scale(1.6); }

.story {
  min-height: 80vh;
  position: relative;
  z-index: 1;
  background: #050506;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 16vh, 200px) var(--edge);
}
.story__inner { max-width: 44rem; text-align: center; }
.story__lead {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.story__body {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 2;
  color: var(--bone-dim);
}
.story--manifesto { min-height: 100vh; }
.story--manifesto .story__inner { max-width: 46rem; }
.story--manifesto .story__body + .story__body { margin-top: 1.5rem; }

.materials {
  position: relative;
  z-index: 1;
  background: #050506;
  padding: clamp(80px, 14vh, 180px) var(--edge);
}
.materials::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 auto clamp(2rem, 5vh, 3.5rem);
}
.materials__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-dim);
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
}
.material h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.06em;
  margin: 1.4rem 0 0.9rem;
}
.material p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--bone-dim);
}
.material__fig {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 0;
}
.material__fig img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.65) contrast(1.05);
  will-change: transform;
}

.contact {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  background: #050506;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(90px, 14vh, 180px) var(--edge) 0;
  text-align: center;
}
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.contact__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.contact__title {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.98;
}
.contact__email {
  font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.06em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact__email:hover { color: var(--red); border-color: var(--red); }
.contact__social {
  list-style: none;
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.contact__social a { color: var(--bone-dim); transition: color 0.4s var(--ease); }
.contact__social a:hover { color: var(--bone); }
.contact__credits {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding: var(--edge) 0;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border-top: 1px solid var(--line);
}

.progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 2px;
  height: 100vh;
  z-index: 210;
  background: rgba(233, 230, 223, 0.08);
  pointer-events: none;
}
.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top center;
}

.reveal { opacity: 0; transform: translateY(40px); }
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

@media (max-width: 820px) {
  .perfume { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .perfume__media { height: 46vh; order: -1 !important; }
  .perfume--yang .perfume__text { order: 0; }
  .perfume__text { max-width: none; }
  .perfume__phrase { margin-left: auto; margin-right: auto; }
  .perfume__glyph { font-size: 42vh; opacity: 0.04; }
  .materials__grid { grid-template-columns: 1fr; max-width: 26rem; }
}
@media (max-width: 640px) {
  .contact__credits { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-dot { animation: none; }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: var(--edge);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border-top: 1px solid var(--line);
}
/* the contact block already closes the home page, so only the credit stays */
.home .site-footer {
  position: relative;
  z-index: 4;
  background: transparent;
  border-top: 0;
  justify-content: center;
  padding-top: 0;
  margin-top: -4.5rem;
}

.home .site-footer > span { display: none; }

.page { min-height: 100vh; padding: calc(var(--edge) + 90px) var(--edge) var(--edge); }
.page__inner { max-width: 72rem; margin: 0 auto; }
.page__title { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 2rem; letter-spacing: 0.02em; }
.page__content, .page__content p { line-height: 1.9; color: var(--bone-dim); margin-bottom: 1.2rem; }
.page a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }

.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce .button, .woocommerce-page button.button {
  background: var(--red);
  color: #fff;
  border-radius: 0;
  padding: 0.9em 1.8em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: background 0.3s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #b80000; color: #fff; }
.woocommerce .price, .woocommerce span.price, .woocommerce ins { color: var(--bone); }
.woocommerce ul.products li.product { text-align: center; }
.woocommerce ul.products li.product .price { display: block; margin-top: 0.5rem; }
.woocommerce div.product .product_title { font-family: var(--display); font-weight: 300; }
.woocommerce-message, .woocommerce-info { background: #101013; border-top: 2px solid var(--red); color: var(--bone); }
.woocommerce .woocommerce-error { background: #180a0a; border-top: 2px solid var(--red); color: var(--bone); }
.page input, .page textarea, .page select,
.woocommerce form .form-row input, .woocommerce form .form-row textarea {
  background: #0d0d10;
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.7em;
}

/* page transition overlay */
.pt {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--black);
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}
.pt.is-off { opacity: 0; visibility: hidden; }
.pt.is-on { opacity: 1; visibility: visible; }
.pt__logo {
  text-align: left;
  font-family: 'Oswald', var(--chrome);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
  animation: ptBreathe 1.6s var(--ease) infinite alternate;
}
.pt__logo span { display: block; }
.pt__dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin: 1.1rem auto 0;
}
@keyframes ptBreathe { from { opacity: 0.55; } to { opacity: 1; } }
.home .pt { transition-duration: 0.3s; }

/* hero sound toggle */
.sound {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #fff;
  transition: color 0.4s var(--ease);
}
.sound__x {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: opacity 0.3s var(--ease);
}
.sound.is-on .sound__x { opacity: 0; }
.sound:hover { color: var(--bone); }
.sound__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.sound__bars i { width: 2px; height: 4px; background: currentColor; }
.sound.is-on { color: var(--bone); }
.sound.is-on .sound__bars i { animation: soundBar 0.8s ease-in-out infinite alternate; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: 0.2s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: 0.4s; }
@keyframes soundBar { from { height: 3px; } to { height: 12px; } }

/* search results */
.page__entry { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.page__entry:first-of-type { border-top: none; }
.page__entry .page__title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.5rem; }
.page__entry a { text-decoration: none; }
.page__entry a:hover { color: var(--red); }

/* shop grid */
.woocommerce-products-header__title.page-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.woocommerce .woocommerce-result-count { color: var(--bone-dim); font-size: 0.8rem; letter-spacing: 0.08em; }
.woocommerce .woocommerce-ordering select { background: #0d0d10; border: 1px solid var(--line); color: var(--bone); padding: 0.55em 0.9em; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  margin-top: 1rem;
}
.woocommerce ul.products li.product a img { border: 1px solid var(--line); }

/* product page */
.woocommerce div.product .product_title { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 0.95; letter-spacing: 0.05em; }
.woocommerce div.product .product_meta { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 1.8rem !important;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 1.8rem 0 0 !important;
  padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--bone-dim);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.72rem;
  font-weight: 300;
  padding: 0 0 0.9em !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--red) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--bone); }
.woocommerce div.product .woocommerce-tabs .panel > h2 { display: none; }
.woocommerce-Tabs-panel h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0.04em;
  margin: 2.2rem 0 0.8rem;
}
.woocommerce-Tabs-panel p { color: var(--bone-dim); line-height: 1.95; }
.woocommerce-Tabs-panel p em { color: var(--bone); }



/* brand colors for woo buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit, .woocommerce #respond input#submit.alt,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce-page .wc-block-components-button, .wc-block-components-button:not(.is-link) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent !important;
  color: var(--bone) !important;
  border: 1px solid var(--red) !important;
  border-radius: 0 !important;
  padding: 0.95em 2.4em !important;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem !important;
  font-weight: 400 !important;
  transition: color 0.45s var(--ease);
}

.woocommerce a.button::before, .woocommerce button.button::before, .woocommerce input.button::before,
.woocommerce #respond input#submit::before,
.woocommerce div.product form.cart .single_add_to_cart_button::before,
.wc-block-components-button:not(.is-link)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.wc-block-components-button:not(.is-link):hover {
  background: transparent !important;
  color: #fff !important;
}

.woocommerce a.button:hover::before, .woocommerce button.button:hover::before,
.woocommerce input.button:hover::before, .woocommerce #respond input#submit:hover::before,
.woocommerce div.product form.cart .single_add_to_cart_button:hover::before,
.wc-block-components-button:not(.is-link):hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
.woocommerce div.product p.price, .woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--bone) !important;
  font-family: var(--display);
}
.woocommerce ul.products li.product .price { font-size: 1.05rem; letter-spacing: 0.08em; }

/* remove kit underlines */
a { text-decoration: none !important; }
.page__content p a, .woocommerce-MyAccount-content p a, .story__body a { text-decoration: underline !important; }

/* glass panel for shop pages */
body.woocommerce-cart::after, body.woocommerce-checkout::after, body.woocommerce-account::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(225,0,0,0.09) 47%, rgba(214,226,162,0.06) 58%, transparent 74%);
  filter: blur(28px);
}
.woocommerce-cart .page, .woocommerce-checkout .page, .woocommerce-account .page { position: relative; z-index: 1; }
.woocommerce-cart .page__inner, .woocommerce-checkout .page__inner, .woocommerce-account .page__inner {
  background: rgba(13, 13, 16, 0.82);
  border: 1px solid rgba(233, 230, 223, 0.16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  position: relative;
  overflow: hidden;
}
.woocommerce-cart .page__inner::after, .woocommerce-checkout .page__inner::after, .woocommerce-account .page__inner::after {
  content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 2px; background: var(--red);
}
.woocommerce-cart .page__inner::before, .woocommerce-checkout .page__inner::before, .woocommerce-account .page__inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 34%);
}

/* empty cart styling */
.wp-block-woocommerce-cart h2, .wc-block-cart__empty-cart__title, .wp-block-heading {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.03em;
}
.wc-block-cart__empty-cart__image, .wp-block-woocommerce-cart .wc-block-cart__empty-cart__title ~ svg,
.wp-block-woocommerce-cart > div > svg { display: none !important; }
.wp-block-button__link, a.add_to_cart_button, .wc-block-grid__product-add-to-cart .wp-block-button__link {
  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem !important;
}
.wp-block-button__link:hover, a.add_to_cart_button:hover { background: #b80000 !important; }
.wc-block-grid__product-title { font-family: var(--display); font-size: 1.2rem; letter-spacing: 0.1em; }
.wc-block-grid__product-price { color: var(--bone) !important; }

/* product buy panel */
.woocommerce div.product p.price {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--bone) !important;
  margin: 1rem 0 1.4rem;
}
.woocommerce div.product form.cart {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  margin: 1.6rem 0 2.2rem;
}
.woocommerce div.product form.cart .quantity .qty {
  background: #0d0d10;
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.85em 0.4em;
  width: 4.4em;
  text-align: center;
}
.woocommerce div.product form.cart .button { padding: 1em 2.6em; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--bone-dim); line-height: 1.9; }
.woocommerce div.product .summary .stock { color: var(--bone-dim); letter-spacing: 0.08em; }

/* account forms */
.woocommerce form.login, .woocommerce form.register,
.woocommerce-form-login, .woocommerce-form-register,
.woocommerce-ResetPassword {
  background: #0d0d10;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: clamp(1.6rem, 3vw, 2.6rem) !important;
  max-width: 30rem;
}
.woocommerce-account .page__inner h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}
.woocommerce form .form-row label { color: var(--bone-dim); letter-spacing: 0.06em; font-size: 0.85rem; }
.woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce .lost_password a, .woocommerce-privacy-policy-text { color: var(--bone-dim); font-size: 0.85rem; }
.woocommerce form .show-password-input::after { color: var(--bone-dim); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin-bottom: 0.7rem; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  color: var(--bone-dim);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  transition: color 0.3s var(--ease);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { color: var(--red); }
.woocommerce-MyAccount-content { color: var(--bone-dim); line-height: 1.9; }

.woocommerce section.related > h2, .woocommerce .related h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.04em;
  margin: 3rem 0 1.6rem;
}


/* error pages */
.err { display: flex; align-items: center; justify-content: center; min-height: 100vh; position: relative; overflow: hidden; text-align: center; }
.err__glyph {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-52%, -50%);
  font-family: var(--display);
  font-size: 70vh;
  line-height: 1;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.err__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.err__code {
  font-family: 'Oswald', var(--chrome);
  font-weight: 600;
  font-size: clamp(4.5rem, 12vw, 9rem);
  line-height: 1;
  color: #fff;
  letter-spacing: 0.04em;
}
.err__code::after { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin: 1.1rem auto 0; }
.err__title { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.err__body { color: var(--bone-dim); }


/* rolling letters, slot machine */
.slot {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: bottom;
}
.slot__reel {
  display: block;
  will-change: transform;
}
.slot__reel i {
  display: block;
  height: 1em;
  line-height: 1em;
  font-style: normal;
}
.menu__list a:hover { color: var(--bone); }


/* client tweaks 2026-07-26 */
.brand { margin-top: -9px; }
.hero__journey-cta .scroll-dot { display: none; }
.hero__journey-word { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hero__side { display: none; }
.pt { display: none; }.intro__phrase { font-family: 'Oswald', var(--chrome); font-weight: 500; letter-spacing: -0.005em; }
.intro__phrase { text-transform: uppercase; }
.menu__list { padding-right: calc(var(--edge) * 1.2); }
.menu__list a { font-size: clamp(1.7rem, 4.4vw, 3.6rem); line-height: 1.32; letter-spacing: -0.02em; }
.menu__list a::before { content: "\00d7"; display: inline-block; margin-right: 0.34em; font-weight: 300; opacity: 0; transform: translateX(-10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.menu__list a:hover::before, .menu__list a:focus-visible::before { opacity: 1; transform: translateX(0); }
.menu__list a::after { display: none; }
.menu__list li a { display: flex; align-items: center; width: min(56vw, 780px); }
.menu__list a::before { margin-right: auto; margin-left: 0; }
.menu { justify-content: stretch; }
.menu__list { width: 100%; padding-left: var(--edge); }
.menu__list li a { width: 100%; }
.menu__list li a { width: min(38vw, 600px); margin-left: auto; }
.hero__canvas { will-change: transform; }

/* hero video controls, bottom left */
.hero__controls {
  position: absolute;
  left: var(--edge);
  bottom: calc(var(--edge) * 0.9);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__ctrl {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0.62;
  transition: opacity 0.35s var(--ease);
}

.hero__ctrl:hover,
.hero__ctrl:focus-visible { opacity: 1; }

.hero__ctrl svg { display: block; }

/* each button holds both glyphs, aria-pressed decides which one shows */
.hero__ctrl .hero__ctrl-off { display: none; }
.hero__ctrl[aria-pressed="false"] .hero__ctrl-on { display: none; }
.hero__ctrl[aria-pressed="false"] .hero__ctrl-off { display: block; }

@media (max-width: 700px) {
  .hero__controls { gap: 10px; }
  .hero__ctrl { width: 26px; height: 26px; }
}

/* ---- scroll sequence: film, black, rain, black, leaves, black, contact ---- */

.fade-black {
  height: 20vh;
  background: var(--black);
}

.scene {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.scene__img {
  position: absolute;
  inset: -12% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  /* the photo melts into the black instead of ending on a hard line */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 76%, transparent 100%);
}

.scene--rain .scene__img {
  background-image: url("assets/img/bg-rain.jpg");
}

/* the leaves photo sits behind both perfumes, so the district reads as one place */
.district--perfume {
  position: relative;
  isolation: isolate;
}

.district--perfume::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/img/bg-leaves.jpg") center / cover fixed no-repeat;
}

/* without this the photo would fight the type for attention */
.district--perfume::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--black) 0%, rgba(5,5,6,0.58) 22%, rgba(5,5,6,0.58) 78%, var(--black) 100%);
}

@media (max-width: 900px) {
  .district--perfume::before { background-attachment: scroll; }
}

/* the writings stay put while the contact page climbs over them */
.materials--sticky {
  position: sticky;
  top: 0;
}

.contact--overlap {
  position: relative;
  z-index: 3;
  background: var(--black);
  box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.6);
}

/* these sit on the leaves photo, so they must not paint their own black over it */
.district--perfume .perfume,
.district--perfume .story {
  background: transparent;
}

/* cart sits under the moon shot */
body.woocommerce-cart::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/img/bg-cart.jpg") center / cover no-repeat;
  opacity: 0.5;
}

.site-footer__by {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__by-label { opacity: 0.38; }

.site-footer__by-name {
  position: relative;
  color: var(--bone);
  opacity: 0.82;
  transition: opacity 0.4s var(--ease);
}

/* the red rule sweeps out from under the name, same gesture as the buttons */
.site-footer__by-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.site-footer__by:hover .site-footer__by-name { opacity: 1; }

.site-footer__by:hover .site-footer__by-name::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---- the four rooms of the front page: film, about us, perfumes, the way out ---- */

/* the writings read on plain black, the rainy window is the way in */
.story--rain {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
}

/* the last perfume pins so the closing page climbs over it */
.perfume--yang {
  position: sticky;
  top: 0;
}

/* the way out: the man walking into the sun */
.contact--overlap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/img/bg-sunset.jpg") center / cover no-repeat;
}

.contact--overlap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, var(--black) 0%, rgba(5, 5, 6, 0.58) 26%, rgba(5, 5, 6, 0.88) 70%, rgba(5, 5, 6, 0.95) 100%);
}

.contact--overlap {
  isolation: isolate;
  background: transparent;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .perfume--yang { position: static; }
}

/* ---- perfume district: film behind, bottle one side, dossier the other ---- */

.district__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.district__video {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* the leaves photo stays as the poster while the film loads */
.district--perfume::before { z-index: -3; }

/* the second perfume is the mirror of the first */
.perfume--yang .perfume__media { order: 2; }
.perfume--yang .perfume__text { order: 1; }

.perfume__dossier { margin-top: 1.8rem; }

.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }

.acc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  text-align: left;
  transition: opacity 0.35s var(--ease);
}

.acc__head:hover { opacity: 0.65; }

.acc__sign {
  position: relative;
  flex: none;
  width: 11px;
  height: 11px;
}

.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  background: var(--bone-dim);
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.acc__sign::before { top: 5px; left: 0; width: 11px; height: 1px; }
.acc__sign::after { top: 0; left: 5px; width: 1px; height: 11px; }

.acc.is-open .acc__sign::after { transform: rotate(90deg); opacity: 0; }

/* gsap animates the height, so it has to start closed and clipped */
.acc__body {
  height: 0;
  overflow: hidden;
}

.acc__body > div { padding-bottom: 1.2rem; }

.acc__body p {
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--bone-dim);
}

.acc__notes {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.acc__notes li {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--bone-dim);
}

.acc__notes b {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.75;
}

/* the bottle: a frame sequence you can drag, a plain photo until the frames land */
.perfume__spin {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.perfume__spin img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.perfume__spin--seq img {
  position: absolute;
  opacity: 0;
}

.perfume__spin--seq img.is-current { opacity: 1; }

.perfume__spin-hint {
  position: absolute;
  bottom: 0;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.perfume__spin--seq:hover .perfume__spin-hint { opacity: 0.55; }

@media (max-width: 900px) {
  .perfume { grid-template-columns: 1fr; }
  .perfume--yang .perfume__media,
  .perfume--yang .perfume__text { order: 0; }
  .perfume__media { height: 52vh; }
}

/* ---- login: the one white room in the house ---- */

body.oni-login {
  background: #fff;
  color: #050506;
}

body.oni-login .brand,
body.oni-login .lang__btn,
body.oni-login .lang__sep,
body.oni-login .search-link,
body.oni-login .page__title,
body.oni-login a { color: #050506; }

body.oni-login .burger span { background: #050506; }

body.oni-login .page { padding-top: calc(var(--edge) + 110px); }

/* the dark reading card belongs to the night pages, not this one */
body.oni-login.woocommerce-account .page__inner {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.oni-login.woocommerce-account .page__inner::before,
body.oni-login.woocommerce-account .page__inner::after { content: none; }

body.oni-login.woocommerce-account .page__inner h2,
body.oni-login.woocommerce-account .page__inner label { color: #050506; }

/* woo prints the form, we only lay it out beside the film */
body.oni-login .woocommerce {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
}

body.oni-login .woocommerce-notices-wrapper { grid-column: 1 / -1; }

.login__media {
  position: sticky;
  top: 14vh;
}

/* the canvas keys the white out of the plate, so the cube floats free */
.login__cube {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* the plate still has to decode, so it stays in the layout but out of sight */
.login__src {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

body.oni-login .woocommerce-form-login {
  max-width: 26rem;
  border: 0;
  padding: 0;
}

body.oni-login .woocommerce-form-login label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  opacity: 0.55;
}

body.oni-login .woocommerce-form-login input.input-text {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(5, 5, 6, 0.2);
  border-radius: 0;
  color: #050506;
  font-family: var(--chrome);
  font-size: 0.9rem;
}

body.oni-login .woocommerce-form-login input.input-text:focus {
  outline: none;
  border-bottom-color: var(--red);
}

body.oni-login .woocommerce-form-login .form-row { margin-bottom: 1.5rem; }

body.oni-login .woocommerce-form-login button {
  padding: 0.85rem 2.4rem;
  background: transparent;
  border: 1px solid #050506;
  border-radius: 0;
  color: #050506;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

body.oni-login .woocommerce-form-login button:hover {
  background: #050506;
  color: #fff;
}

body.oni-login .woocommerce-form-login__rememberme,
body.oni-login .lost_password {
  font-size: 0.72rem;
  opacity: 0.6;
}

@media (max-width: 900px) {
  body.oni-login .woocommerce { grid-template-columns: 1fr; }
  .login__media { position: static; }
}

/* ---- store locator ---- */

.locator {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--edge) * 3) 0 calc(var(--edge) * 2);
}

.locator__bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("assets/img/bg-alley.jpg") center / cover no-repeat;
}

.locator__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.62);
}

.locator__inner {
  display: grid;
  grid-template-columns: minmax(280px, 30vw) 1fr;
  gap: clamp(24px, 3vw, 54px);
  padding: 0 var(--edge);
  align-items: start;
}

.locator__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.4rem;
}

.locator__search input {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--chrome);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.locator__search input:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.locator__list {
  list-style: none;
  margin-top: 1.6rem;
  max-height: 58vh;
  overflow-y: auto;
}

.locator__item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: opacity 0.35s var(--ease);
}

.locator__item:hover { opacity: 0.72; }

.locator__item.is-active .locator__name { color: var(--red); }

.locator__name {
  font-family: var(--chrome);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.locator__address,
.locator__link {
  font-size: 0.74rem;
  opacity: 0.6;
  margin-top: 0.35rem;
  display: block;
}

.locator__link:hover { opacity: 1; color: var(--red); }

.locator__empty {
  margin-top: 1.4rem;
  font-size: 0.76rem;
  opacity: 0.55;
}

.locator__map {
  height: 72vh;
  border: 1px solid var(--line);
  background: #0a0a0c;
  /* leaflet paints its panes up to z-index 1000, this keeps them off the menu */
  isolation: isolate;
}

/* leaflet ships its own light chrome, pull it into the site palette */
.locator__map.leaflet-container {
  background: #0a0a0c;
  font-family: var(--chrome);
}

.locator__map.leaflet-container .leaflet-bar a,
.locator__map.leaflet-container .leaflet-bar a:hover {
  background: rgba(5, 5, 6, 0.82);
  border-bottom-color: var(--line);
  color: var(--bone);
}

.locator__map.leaflet-container .leaflet-control-attribution {
  background: rgba(5, 5, 6, 0.6);
  color: rgba(233, 230, 223, 0.45);
  font-size: 0.6rem;
}

.locator__map.leaflet-container .leaflet-control-attribution a { color: rgba(233, 230, 223, 0.7); }

.locator__map .leaflet-popup-content-wrapper,
.locator__map .leaflet-popup-tip {
  background: var(--black);
  color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.locator__map .leaflet-popup-content {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.locator__map .leaflet-popup-close-button { color: var(--bone-dim); }

.locator__map .locator__pin {
  background: var(--red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(225, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .locator__inner { grid-template-columns: 1fr; }
  .locator__map { height: 52vh; }
  .locator__list { max-height: none; }
}


/* keyboard focus stays visible, but in the brand's red, never the browser blue */
:focus { outline: none; }

:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 3px;
}

body.oni-login :focus-visible { outline-color: var(--red); }


/* the login form still wore the dark card from the night pages */
body.oni-login .woocommerce form.login,
body.oni-login .woocommerce-form-login {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: 26rem;
}

/* the red sheen belongs to the black rooms, it smears on white */
body.oni-login::after { content: none !important; }

body.oni-login .page input,
body.oni-login .woocommerce form .form-row input {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(5, 5, 6, 0.2) !important;
  color: #050506 !important;
}

body.oni-login .woocommerce-privacy-policy-text,
body.oni-login .woocommerce-LostPassword a { color: #050506; }

/* woo drops "view cart" right against the button with no breathing room */
.woocommerce a.added_to_cart {
  display: inline-block;
  margin-left: 1.4rem;
  vertical-align: middle;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.woocommerce a.added_to_cart:hover {
  color: var(--bone);
  border-bottom-color: var(--red);
}


/* the footer keeps the night palette, it has to flip on the white page */
body.oni-login .site-footer { color: rgba(5, 5, 6, 0.55); }
body.oni-login .site-footer__by-name { color: #050506; }
body.oni-login .site-footer__by-label { opacity: 0.45; }


/* woo prints the heading outside the form, so both need explicit cells or
   the grid drops the form onto its own row and the page falls apart */
body.oni-login .page { padding-top: calc(var(--edge) + 96px); }

body.oni-login .page__title {
  max-width: 62rem;
  margin: 0 auto 3rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

body.oni-login .woocommerce {
  grid-template-columns: minmax(240px, 0.8fr) 1fr;
  column-gap: clamp(30px, 5vw, 80px);
  row-gap: 0;
  align-items: center;
  max-width: 62rem;
  margin: 0 auto;
}

body.oni-login .login__media {
  position: static;
  grid-column: 1;
  grid-row: 2 / span 2;
}

body.oni-login .login__cube {
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

body.oni-login .woocommerce > h2 {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin-bottom: 1.6rem;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #050506;
}

body.oni-login .woocommerce-form-login {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
}

@media (max-width: 900px) {
  body.oni-login .woocommerce { grid-template-columns: 1fr; }
  body.oni-login .login__media,
  body.oni-login .woocommerce > h2,
  body.oni-login .woocommerce-form-login { grid-column: 1; grid-row: auto; }
}


/* the woo button rules paint bone on bone here, and the eye toggle sits loose */
body.oni-login .woocommerce-form-login button.button {
  color: #050506 !important;
  border-color: #050506 !important;
  letter-spacing: 0.2em;
}

body.oni-login .woocommerce-form-login button.button::before { background: #050506; }

body.oni-login .woocommerce-form-login button.button:hover { color: #fff !important; }

body.oni-login .woocommerce-form-login .password-input {
  display: block;
  position: relative;
}

body.oni-login .woocommerce-form-login .show-password-input {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border: 0 !important;
  background: transparent !important;
  opacity: 0.5;
}

body.oni-login .woocommerce-form-login .show-password-input:hover { opacity: 1; }


/* strona glowna: perfumy tylko na stalym tle z liscmi, sama historia.
   Karta z nutami przenosi sie na podstrone Perfumes z menu. */
   .home .district__media { display: none; }
   .home .perfume__dossier { display: none; }
   
   /* Nakladka menu jest czarna na kazdej stronie, wiec na bialym logowaniu
      naglowek i linki musza wrocic do jasnego, inaczej sa niewidoczne. */
      body.oni-login .menu a { color: var(--bone); }
      body.oni-login.is-menu-open .brand,
      body.oni-login.is-menu-open .lang__btn,
      body.oni-login.is-menu-open .lang__sep,
      body.oni-login.is-menu-open .search-link { color: var(--bone); }
      body.oni-login.is-menu-open .burger span { background: var(--bone); }
      
      /* ---- podstrona Perfumes z menu: film w tle, dossier przy kazdym zapachu ---- */
      .perfumes {
      position: relative;
      isolation: isolate;
      padding-top: calc(var(--edge) + 90px);
      }
      .perfumes__media {
      position: absolute;
      inset: 0;
      z-index: -2;
      }
      .perfumes__video {
      position: sticky;
      top: 0;
      width: 100%;
      height: 100vh;
      object-fit: cover;
      }
      .perfumes::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(to bottom, var(--black) 0%, rgba(5, 5, 6, 0.55) 16%, rgba(5, 5, 6, 0.55) 84%, var(--black) 100%);
      }
      .perfumes .perfume { background: transparent; }
      .perfumes .perfume__dossier { display: block; }
      
      /* Klient prosil o iks przy KAZDEJ pozycji menu, nie tylko pod kursorem.
         Wczesniej byl ukryty pod hover, wiec przy otwartym menu nie bylo go widac. */
         .menu__list a::before { opacity: 1; transform: translateX(0); }
         
         /* Schemat klienta: strona glowna to cztery bloki - wideo, About us na deszczu,
            perfumy na lisciach, strona koncowa ze sloncem. Osobny panel deszczu znika,
               bo deszcz jest tlem About us. */
               .home .scene--rain, .home .scene--rain + .fade-black { display: none; }
               .story--rain { position: relative; isolation: isolate; }
               .story--rain::before {
               content: "";
               position: absolute;
               inset: 0;
               z-index: -2;
               background: url("assets/img/bg-rain.jpg") center / cover fixed no-repeat;
               }
               .story--rain::after {
               content: "";
               position: absolute;
               inset: 0;
               z-index: -1;
               background: linear-gradient(to bottom, var(--black) 0%, rgba(5, 5, 6, 0.6) 22%, rgba(5, 5, 6, 0.6) 78%, var(--black) 100%);
               }
               @media (max-width: 900px) { .story--rain::before { background-attachment: scroll; } }
               

/* ---- briefing 2026-08-01 ---- */

.brand { font-size: 1.72rem; }
.pt__logo { font-size: 1.9rem; }

.hero__ctrl { width: 40px; height: 40px; }
.hero__ctrl svg, .hero__ctrl-on, .hero__ctrl-off { width: 20px; height: 20px; }
.sound__bars { transform: scale(1.3); transform-origin: left center; }
.scroll-dot { transform: scale(1.35); }

.hero__journey-title { line-height: 1.3; }
.hero__journey-cta { margin-top: 1.5rem; }

.hero__journey.is-spent { opacity: 0; transition: opacity 0.45s var(--ease); }

.fade-black {
  height: 34vh;
  background: linear-gradient(to bottom, rgba(5,5,6,0) 0%, rgba(5,5,6,0.55) 42%, var(--black) 100%);
}

.material__fig img { filter: none; }
.scene__img { filter: saturate(1.06) contrast(1.02); }

.story--rain::after { opacity: 0.55; }
.scene--rain .scene__img { opacity: 1; }

.locator__bg::after { background: rgba(5, 5, 6, 0.28); }
.locator__inner { background: rgba(5, 5, 6, 0.34); backdrop-filter: blur(2px); }
.locator__map.leaflet-container { opacity: 0.78; }

.menu {
  background: #050506 url("assets/img/bg-street.jpg") center / cover no-repeat;
}
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.42);
  pointer-events: none;
}
.menu__list { position: relative; z-index: 1; }

.menu__list a::before {
  opacity: 1;
  transform: none;
  font-weight: 500;
  font-size: 1.05em;
  line-height: 1;
}

.menu__list li a {
  position: relative;
  isolation: isolate;
  padding: 0.06em 0.5em;
  overflow: hidden;
}
.menu__list li a::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.menu__list li a:hover::after,
.menu__list li a:focus-visible::after { transform: scaleX(1); }

.mslot { display: inline-block; height: 1em; overflow: hidden; vertical-align: bottom; }
.mslot__in { display: block; transition: transform 0.55s var(--ease); }
.mslot__in i { display: block; height: 1em; line-height: 1em; font-style: normal; }
.mslot__in i + i { color: #050506; }
.menu__list li a:hover .mslot__in,
.menu__list li a:focus-visible .mslot__in { transform: translateY(-1em); }
.menu__list li a:hover::before,
.menu__list li a:focus-visible::before { color: #050506; }

.district--perfume {
  position: relative;
  z-index: 3;
  box-shadow: 0 -40px 80px rgba(0, 0, 0, 0.55);
}
.district--perfume .district__media { filter: none; }

.drift { will-change: transform; }
.perfume__media { position: relative; z-index: 2; }
.perfume__text { position: relative; z-index: 1; }

.discover__dot { display: none; }

@media (prefers-reduced-motion: reduce) {
  .mslot__in, .menu__list li a::after { transition: none; }
}


/* ---- credit + menu alignment ---- */

.site-footer__by { font-size: inherit; letter-spacing: inherit; }
.site-footer__by-label { opacity: 1; }
.site-footer__by-name { color: inherit; opacity: 1; }
.site-footer__by-name::after { display: none; }

.brand { font-size: 2.05rem; }
.pt__logo { font-size: 2.25rem; }

.menu__list {
  width: 100%;
  padding-left: var(--edge);
  padding-right: var(--edge);
}
.menu__list li a {
  width: 100%;
  margin-left: 0;
  padding: 0.06em 0.34em;
}
