/* ============================================================
   ÉTER · Parfum № 1, Amber Absolu
   Ultra-luxury black + gold. Liquid and light.
   ============================================================ */

:root {
  --black: #0a0908;
  --black-soft: #12100d;
  --black-lift: #17140f;
  --gold: #c9a35f;
  --gold-bright: #e8c98a;
  --gold-dim: rgba(201, 163, 95, 0.35);
  --gold-hair: rgba(201, 163, 95, 0.22);
  --ivory: #f2ead9;
  --ivory-dim: rgba(242, 234, 217, 0.68);
  --ivory-faint: rgba(242, 234, 217, 0.42);

  --serif: "Didot", "Bodoni MT", "Cormorant Garamond", "Playfair Display",
           "Hoefler Text", "Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Optima", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--ivory-dim);
  font-family: var(--serif);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: var(--black); }

h1, h2, h3 { font-weight: 400; color: var(--ivory); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

/* ---------- Shared primitives ---------- */
.container {
  width: min(72rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.container--narrow { width: min(46rem, 100% - 2 * var(--gutter)); }

.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}
.label--gold { color: var(--gold-bright); }

.h2 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.gold-rule {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2.25rem auto;
}
.gold-rule--left {
  margin-inline: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  padding: 1.05rem 2.9rem 1rem 3.28rem; /* extra left pads the tracking */
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out),
              background-color 0.5s var(--ease-out);
}
.btn:hover, .btn:focus-visible {
  border-color: var(--gold);
  background: rgba(201, 163, 95, 0.08);
  color: var(--ivory);
}
.btn--solid {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.btn--solid:hover, .btn--solid:focus-visible {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--black);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal[data-d="1"] { transition-delay: 0.12s; }
.reveal[data-d="2"] { transition-delay: 0.24s; }
.reveal[data-d="3"] { transition-delay: 0.36s; }
.reveal[data-d="4"] { transition-delay: 0.48s; }
.reveal[data-d="5"] { transition-delay: 0.60s; }
.reveal.is-in { opacity: 1; transform: none; }

/* No-JS fallback: everything visible */
.no-observer .reveal { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.55), rgba(10, 9, 8, 0));
  border-bottom: 1px solid transparent;
  transition: background-color 0.6s ease, border-color 0.6s ease,
              backdrop-filter 0.6s ease;
}
.nav.is-scrolled {
  background: rgba(10, 9, 8, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--gold-hair);
}
.nav__inner {
  width: min(80rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-block: 1.35rem;
}
.nav__brand { display: inline-flex; align-items: baseline; gap: 0.65rem; }
.nav__wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: var(--ivory);
}
.nav__no {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  border: 1px solid var(--gold-hair);
  padding: 0.22rem 0.45rem 0.18rem 0.6rem;
}
.nav__links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.75rem);
  list-style: none;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.nav__links a:hover,
.nav__links a:focus-visible { color: var(--ivory); border-bottom-color: var(--gold-dim); }
.nav__links a.nav__cta { color: var(--gold); }
.nav__links a.nav__cta:hover { color: var(--gold-bright); border-bottom-color: var(--gold); }

@media (max-width: 44em) {
  .nav__links li:not(:last-child) { display: none; }
  .nav__inner { padding-block: 1.1rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.9);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(10, 9, 8, 0) 0%, rgba(10, 9, 8, 0.45) 72%, rgba(10, 9, 8, 0.8) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.5) 0%, rgba(10, 9, 8, 0.05) 30%, rgba(10, 9, 8, 0.05) 62%, var(--black) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-inline: var(--gutter);
}
.hero__content .label { margin-bottom: 2.4rem; color: var(--gold-bright); }
.hero__title {
  font-size: clamp(4.5rem, 2rem + 18vw, 15rem);
  line-height: 0.95;
  letter-spacing: 0.22em;
  margin-right: -0.22em; /* optically recenter tracked text */
  color: var(--ivory);
  text-shadow: 0 0 90px rgba(201, 163, 95, 0.35);
}
.hero__rule {
  width: 5.5rem;
  height: 1px;
  margin: 2.4rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__sub {
  font-size: clamp(1.05rem, 0.9rem + 0.9vw, 1.5rem);
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--ivory-dim);
  margin-bottom: 3.2rem;
}
.hero__em { color: var(--gold); font-style: normal; }
.hero__scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  height: 6.5rem;
  width: 3rem;
  display: flex;
  justify-content: center;
}
.hero__scroll-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollPulse 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  padding: clamp(6rem, 14vh, 11rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(201, 163, 95, 0.05), transparent 70%),
    var(--black);
}
.manifesto__quote p {
  font-size: clamp(1.7rem, 1.1rem + 2.8vw, 3.1rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: 0.015em;
  color: var(--ivory);
}
.manifesto__quote em {
  color: var(--gold-bright);
}
.manifesto__body {
  max-width: 38rem;
  margin-inline: auto;
  color: var(--ivory-dim);
}

/* ============================================================
   THE ESSENCE
   ============================================================ */
.essence {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--black);
}
.essence__grid {
  width: min(78rem, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.essence__figure { position: relative; }
.essence__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-hair);
  padding: clamp(0.6rem, 1.2vw, 1rem);
  background: var(--black-soft);
}
.essence__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  filter: saturate(1.04);
  will-change: transform;
}
.essence__caption {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  text-align: center;
}
.essence__lede {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ivory-dim);
  margin-bottom: 3rem;
}

/* Notes pyramid */
.pyramid { list-style: none; }
.pyramid__tier {
  padding: 1.9rem 0 2rem;
  border-top: 1px solid var(--gold-hair);
}
.pyramid__tier:last-child { border-bottom: 1px solid var(--gold-hair); }
.pyramid__head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  margin-bottom: 0.85rem;
}
.pyramid__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--gold);
  min-width: 1.6rem;
}
.pyramid__stage {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory);
}
.pyramid__time {
  margin-left: auto;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ivory-faint);
}
.pyramid__notes {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  line-height: 1.25;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}
.pyramid__desc {
  font-size: 0.98rem;
  color: var(--ivory-dim);
  max-width: 30rem;
}

@media (max-width: 56em) {
  .essence__grid { grid-template-columns: 1fr; }
  .essence__figure { max-width: 30rem; margin-inline: auto; }
}

/* ============================================================
   SPLASH BAND
   ============================================================ */
.band {
  position: relative;
  min-height: clamp(24rem, 68vh, 42rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}
.band__media {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--black) 0%, rgba(10, 9, 8, 0.15) 30%, rgba(10, 9, 8, 0.15) 70%, var(--black) 100%);
}
.band__line {
  position: relative;
  z-index: 2;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.9rem);
  letter-spacing: 0.06em;
  color: var(--ivory);
  padding-inline: var(--gutter);
  text-shadow: 0 2px 40px rgba(10, 9, 8, 0.8);
}
.band__line em { font-style: italic; color: var(--gold-bright); }

/* ============================================================
   THE RITUAL
   ============================================================ */
.ritual {
  padding: clamp(6rem, 14vh, 11rem) 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 50%, rgba(201, 163, 95, 0.045), transparent 70%),
    var(--black);
}
.ritual__grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.ritual__copy p:not(.label) { margin-bottom: 1.4rem; max-width: 34rem; }
.ritual__media { position: relative; }
.ritual__videoframe {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-hair);
  aspect-ratio: 16 / 9;
  background: var(--black-soft);
}
.ritual__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(1.08);
}
.ritual__mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 90% at 50% 50%, transparent 30%, rgba(10, 9, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, transparent 35%, transparent 60%, rgba(10, 9, 8, 0.7) 100%);
}
.ritual__caption {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  text-align: center;
}

@media (max-width: 56em) {
  .ritual__grid { grid-template-columns: 1fr; }
  .ritual__media { max-width: 34rem; margin-inline: auto; }
}

/* ============================================================
   EDITION
   ============================================================ */
.edition {
  position: relative;
  padding: clamp(7rem, 18vh, 13rem) 0;
  overflow: hidden;
  text-align: center;
}
.edition__bg {
  position: absolute;
  inset: -10% 0;
  will-change: transform;
}
.edition__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.edition__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(10, 9, 8, 0.25), rgba(10, 9, 8, 0.78)),
    linear-gradient(180deg, var(--black) 0%, transparent 22%, transparent 78%, var(--black) 100%);
}
.edition__content { position: relative; z-index: 2; }
.edition__title {
  font-size: clamp(2.4rem, 1.5rem + 4vw, 4.4rem);
  letter-spacing: 0.05em;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 50px rgba(10, 9, 8, 0.9);
}
.edition__body {
  max-width: 36rem;
  margin: 0 auto 2.6rem;
  color: var(--ivory-dim);
}
.edition__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.8rem;
}
.edition__price {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}
.edition__unit {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.edition__fine {
  margin-top: 2.4rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ivory-faint);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--gold-hair);
  background: var(--black);
  padding-top: clamp(3.5rem, 8vh, 5.5rem);
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__wordmark {
  font-size: 1.6rem;
  letter-spacing: 0.34em;
  color: var(--ivory);
}
.footer__tag {
  margin-top: 0.8rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ivory-faint);
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}
.footer__nav a {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-faint);
  transition: color 0.4s ease;
}
.footer__nav a:hover, .footer__nav a:focus-visible { color: var(--gold-bright); }
.label--footer { margin-bottom: 1rem; }
.footer__mail {
  font-style: italic;
  color: var(--ivory-dim);
  border-bottom: 1px solid var(--gold-hair);
  transition: color 0.4s ease, border-color 0.4s ease;
}
.footer__mail:hover, .footer__mail:focus-visible { color: var(--gold-bright); border-color: var(--gold); }
.footer__addr {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ivory-faint);
}
.footer__legal {
  border-top: 1px solid rgba(201, 163, 95, 0.1);
  padding-block: 1.6rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 234, 217, 0.3);
}

@media (max-width: 56em) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { align-items: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll-line { animation: none; opacity: 0.7; }
  [data-parallax] { transform: none !important; }
}
