/* =====================================================
   OORVEX — Stylesheet
   Sections: Variables, Reset, Type, Preloader, Nav, Hero,
   Statement, Identities, Details, Moments, Story, Final CTA,
   Footer, Reveal animations, Responsive
   ===================================================== */

/* -----------------------------------------------------
   1. VARIABLES
----------------------------------------------------- */
:root{
  --black:        #050505;
  --charcoal:     #101010;
  --grey-dark:    #1a1a1a;
  --off-white:    #f2f0ea;
  --silver:       #a7a7a7;

  --accent-noctis: #c9a24b;
  --accent-azure:  #3a6fb0;
  --accent-velvet: #1f6b45;
  --accent-iron:   #b8bec7;
  --accent-amber:  #b5651d;

  /* active accent, swapped by JS */
  --active: var(--accent-noctis);
  --active-soft: rgba(201,162,75,0.16);

  --font-sans: 'Archivo', sans-serif;
  --font-serif: 'Fraunces', serif;

  --ease: cubic-bezier(.16,.8,.24,1);
  --dur-slow: 1.1s;
  --dur-med: .6s;
}

/* -----------------------------------------------------
   2. RESET
----------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* -----------------------------------------------------
   3. SHARED / UTILITY
----------------------------------------------------- */
.section-kicker{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--active);
  margin-bottom: 18px;
  transition: color .5s var(--ease);
}
.section-title{
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all .5s var(--ease);
}
.btn .arrow{ transition: transform .4s var(--ease); }
.btn:hover .arrow{ transform: translateX(4px); }

.btn-ghost{
  border: 1px solid rgba(242,240,234,0.35);
  color: var(--off-white);
  background: rgba(242,240,234,0.02);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover{ border-color: var(--off-white); background: rgba(242,240,234,0.08); }

.btn-solid{
  background: var(--off-white);
  color: var(--black);
}
.btn-solid:hover{ background: var(--active); color: var(--black); }

/* scroll-reveal base states (activated via JS adding .is-visible) */
.reveal-up{ opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-up.is-visible{ opacity: 1; transform: translateY(0); }

.reveal-fade{ opacity: 0; transition: opacity 1s var(--ease); }
.reveal-fade.is-visible{ opacity: 1; }

/* -----------------------------------------------------
   4. PRELOADER
----------------------------------------------------- */
.preloader{
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .9s var(--ease), visibility .9s var(--ease);
}
.preloader.is-hidden{ opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner{ position: relative; height: 40px; display:flex; align-items:center; justify-content:center; text-align:center; padding: 0 24px; }

.preloader-word{
  position: absolute;
  opacity: 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 4vw, 30px);
  letter-spacing: 0.06em;
  color: var(--off-white);
  white-space: nowrap;
  transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.preloader-word[data-step="1"]{ font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.3em; font-size: clamp(24px,5vw,34px); }
.preloader-word.is-active{ opacity: 1; transform: translateY(0); }

/* -----------------------------------------------------
   5. NAVIGATION
----------------------------------------------------- */
.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 20px clamp(20px, 5vw, 56px);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled{
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(242,240,234,0.08);
}

.nav-inner{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo{
  display: flex;
  align-items: center;
  width: 150px;
  height: auto;
  overflow: visible;
}

.nav-logo img{
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-links{ display: flex; gap: 40px; }
.nav-links a{
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  padding-bottom: 4px;
  transition: color .4s var(--ease);
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--off-white);
  transition: right .4s var(--ease);
}
.nav-links a:hover{ color: var(--off-white); }
.nav-links a:hover::after{ right: 0; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 8px 0;
}
.nav-toggle span{
  display: block;
  height: 1px;
  background: var(--off-white);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* -----------------------------------------------------
   6. HERO
----------------------------------------------------- */
.hero{
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-image{
  position: absolute; inset: 0;
  background-image: url('assets/oorvex-collection.png');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.12);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom{ to{ transform: scale(1); } }

.hero-vignette{
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.55) 42%, rgba(5,5,5,0.25) 62%, rgba(5,5,5,0.55) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(5,5,5,0) 0%, rgba(5,5,5,0.65) 78%);
}
.hero-grain{
  position: absolute; inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 56px) clamp(64px, 10vw, 110px);
  max-width: 1400px;
  margin: 0 auto;
}
.hero-kicker{
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeIn .9s var(--ease) 1.2s forwards;
}
.hero-headline{
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 8.2vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 15ch;
}
.reveal-line{ display: block; overflow: hidden; }
.reveal-line span{
  display: block;
  transform: translateY(105%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.reveal-line:nth-child(1) span{ animation-delay: .3s; }
.reveal-line:nth-child(2) span{ animation-delay: .5s; }
@keyframes lineUp{ to{ transform: translateY(0); } }

.hero-sub{
  margin-top: 26px;
  max-width: 40ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--silver);
  animation-delay: 1.1s;
}
.hero .btn-ghost{ margin-top: 40px; animation-delay: 1.3s; }
@keyframes fadeIn{ to{ opacity: 1; } }

.hero-scroll-cue{
  position: absolute;
  right: clamp(20px, 5vw, 56px);
  bottom: 40px;
  z-index: 2;
  width: 1px;
  height: 60px;
  background: rgba(242,240,234,0.2);
  opacity: 0;
  animation: fadeIn .9s var(--ease) 1.7s forwards;
}
.hero-scroll-cue span{
  position: absolute;
  top: 0; left: -1.5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--off-white);
  animation: cueMove 2.4s ease-in-out infinite;
}
@keyframes cueMove{ 0%{ top: 0; opacity: 0; } 20%{ opacity: 1; } 80%{ opacity: 1; } 100%{ top: 92%; opacity: 0; } }

/* -----------------------------------------------------
   7. BRAND STATEMENT
----------------------------------------------------- */
.statement{
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(20px, 6vw, 56px);
  background: var(--black);
}
.statement-track{ text-align: center; }
.statement-line{
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(30px, 6.6vw, 84px);
  line-height: 1.08;
  color: rgba(242,240,234,0.16);
  transition: color 1s var(--ease), opacity 1s var(--ease);
}
.statement-line--one{ margin-bottom: clamp(20px,4vw,40px); }
.statement-line.is-lit{ color: var(--off-white); }

/* -----------------------------------------------------
   8. IDENTITIES
----------------------------------------------------- */
.identities{
  position: relative;
  padding: 140px clamp(20px, 5vw, 56px) 0;
  background: var(--charcoal);
  overflow: hidden;
}
.identities-atmosphere{
  position: absolute; inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 82% 30%, var(--active-soft) 0%, transparent 55%);
  transition: background 1s var(--ease);
}

.identities-head, .identities-body, .details{ position: relative; z-index: 1; }

.identities-head{ max-width: 1400px; margin: 0 auto 70px; }

.identities-body{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.fragrance-list{ border-top: 1px solid rgba(242,240,234,0.12); }
.fragrance-item{
  border-bottom: 1px solid rgba(242,240,234,0.12);
}
.fragrance-btn{
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 4px;
  text-align: left;
  transition: padding .4s var(--ease);
}
.fragrance-num{
  font-size: 13px;
  color: var(--silver);
  min-width: 24px;
  transition: color .4s var(--ease);
}
.fragrance-name{
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  color: rgba(242,240,234,0.45);
  transition: color .4s var(--ease), transform .4s var(--ease);
}
.fragrance-item.is-active .fragrance-name{ color: var(--off-white); transform: translateX(6px); }
.fragrance-item.is-active .fragrance-num{ color: var(--active); }
.fragrance-item.is-active .fragrance-btn{ padding-left: 12px; }
.fragrance-btn:hover .fragrance-name{ color: var(--off-white); }

.fragrance-stage{
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.fragrance-bottle{
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background-image: url('assets/oorvex-collection.png');
  background-size: 500% auto;
  background-position: 0% center;
  filter: saturate(1.05);
  transition: background-position .7s var(--ease), box-shadow .8s var(--ease);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), 0 0 120px -40px var(--active-soft);
}
.fragrance-bottle::after{
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(16,16,16,0.35) 100%);
}

.fragrance-reveal{
  position: absolute;
  left: 24px; bottom: 24px;
  right: 24px;
  padding: 22px 26px;
  background: rgba(5,5,5,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(242,240,234,0.1);
  border-radius: 2px;
}
.fragrance-reveal-num{
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--active);
  margin-bottom: 8px;
  transition: color .5s var(--ease);
}
.fragrance-reveal-name{
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin-bottom: 4px;
}
.fragrance-reveal-identity{
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 10px;
}
.fragrance-reveal-personality{
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,240,234,0.55);
  margin-bottom: 12px;
}
.fragrance-reveal-tagline{
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--off-white);
}

/* -----------------------------------------------------
   9. DETAILS
----------------------------------------------------- */
.details{
  max-width: 1400px;
  margin: 100px auto 0;
  padding: 60px clamp(0px, 0vw, 0px) 120px;
  border-top: 1px solid rgba(242,240,234,0.12);
  scroll-margin-top: 100px;
}
.details-top{ margin-bottom: 50px; }
.details-index{
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--active);
  margin-bottom: 14px;
  transition: color .5s var(--ease);
}
.details-name{
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
}
.details-identity{ color: var(--silver); font-size: 15px; margin-top: 6px; }
.details-tagline{ font-family: var(--font-serif); font-style: italic; font-size: 18px; margin-top: 14px; color: var(--off-white); }

.details-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.6fr 1fr;
  gap: clamp(30px, 5vw, 70px);
}
.details-label{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 14px;
}
.details-value{ font-size: 16px; line-height: 1.6; }

.details-notes{ display: flex; gap: 30px; }
.notes-block{ flex: 1; }
.notes-block ul li{
  font-family: var(--font-serif);
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(242,240,234,0.08);
}

.experience-list li{
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(242,240,234,0.08);
  color: var(--off-white);
}

/* -----------------------------------------------------
   10. FIND YOUR MOMENT
----------------------------------------------------- */
.moments{
  padding: 140px clamp(20px, 5vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
}
.moments-head{ margin-bottom: 70px; }

.moment-item{
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid rgba(242,240,234,0.12);
  transition: padding-left .5s var(--ease), background .5s var(--ease);
}
.moment-item:last-child{ border-bottom: 1px solid rgba(242,240,234,0.12); }
.moment-item:hover{ padding-left: 14px; }

.moment-index{ font-size: 12px; color: var(--silver); }
.moment-text{ display: flex; flex-direction: column; gap: 6px; }
.moment-when{
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}
.moment-name{
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 30px);
}
.moment-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--moment-accent, var(--active));
}

/* -----------------------------------------------------
   11. STORY
----------------------------------------------------- */
.story{
  background: var(--grey-dark);
  padding: 160px clamp(20px, 6vw, 56px);
}
.story-inner{ max-width: 900px; margin: 0 auto; }
.story-title{
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 5.6vw, 64px);
  line-height: 1.15;
  margin-bottom: 56px;
}
.story-copy{ max-width: 60ch; display: flex; flex-direction: column; gap: 22px; }
.story-copy p{
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.75;
  color: var(--silver);
}
.story-copy p:last-child{ color: var(--off-white); font-family: var(--font-serif); font-style: italic; font-size: clamp(18px,2vw,22px); }

/* -----------------------------------------------------
   12. FINAL CTA
----------------------------------------------------- */
.final-cta{
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.final-cta-image{
  position: absolute; inset: 0;
  background-image: url('assets/oorvex-collection.png');
  background-size: cover;
  background-position: center;
}
.final-cta-vignette{
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.93) 78%);
}
.final-cta-content{ position: relative; z-index: 1; padding: 0 20px; }
.final-cta-kicker{
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 24px;
}
.final-cta-title{
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 10vw, 130px);
  margin-bottom: 44px;
}

/* -----------------------------------------------------
   13. FOOTER
----------------------------------------------------- */
.site-footer{
  padding: 60px clamp(20px, 5vw, 56px) 40px;
  border-top: 1px solid rgba(242,240,234,0.1);
}
.footer-inner{
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo{
  width: 120px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

.footer-links{ display: flex; gap: 30px; }
.footer-links a{
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color .3s var(--ease);
}
.footer-links a:hover{ color: var(--off-white); }
.footer-copy{ font-size: 11px; letter-spacing: 0.08em; color: rgba(167,167,167,0.6); width: 100%; text-align: center; margin-top: 10px; }
.footer-socials{
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-link{
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242,240,234,0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  transition:
    color .3s var(--ease),
    border-color .3s var(--ease),
    transform .3s var(--ease);
}

.social-link svg{
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-link:nth-child(2) svg{
  fill: currentColor;
  stroke: none;
}

.social-link:hover{
  color: var(--off-white);
  border-color: rgba(242,240,234,0.55);
  transform: translateY(-2px);
}

/* -----------------------------------------------------
   14. RESPONSIVE
----------------------------------------------------- */
@media (max-width: 900px){
  .identities-body{ grid-template-columns: 1fr; }
  .fragrance-stage{ order: -1; aspect-ratio: 16/10; margin-bottom: 20px; }
  .details-grid{ grid-template-columns: 1fr; gap: 40px; }
  .details-notes{ flex-direction: column; gap: 28px; }
}

@media (max-width: 720px){
  .nav-links{
    position: fixed;
    top: 0; right: 0;
    height: 100svh;
    width: min(78vw, 320px);
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    border-left: 1px solid rgba(242,240,234,0.1);
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links a{ font-size: 16px; }
  .nav-toggle{ display: flex; }

  .hero{ align-items: center; text-align: left; }

  .statement{ padding: 90px 24px; }

  .identities{ padding-top: 100px; }

  .moment-item{ grid-template-columns: 40px 1fr auto; }

  .final-cta-title{ font-size: clamp(40px, 14vw, 80px); }

  .footer-inner{ justify-content: center; text-align: center; flex-direction: column; }
}
/* -----------------------------------------------------
   MOBILE COLLECTION FIX
----------------------------------------------------- */

@media (max-width: 720px){

  .fragrance-stage{
    aspect-ratio: auto;

    display: flex;
    flex-direction: column;

    align-items: stretch;
    justify-content: flex-start;

    gap: 18px;

    margin-bottom: 30px;
  }


  /* Image area */
  .fragrance-bottle{

    position: relative;

    inset: auto;

    width: 100%;

    aspect-ratio: 3 / 4;

    background-size: 500% auto;

    background-repeat: no-repeat;

    background-position: 0% center;
  }


  /* Product text moves BELOW the image */
  .fragrance-reveal{

    position: relative;

    left: auto;
    right: auto;
    bottom: auto;

    width: 100%;

    padding: 22px;

    background: rgba(16,16,16,0.85);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(242,240,234,0.1);
  }

}
@media (max-width: 480px){
  .details-grid{ gap: 32px; }
}
