/* Gen Z × Luxury × Minimal — motion layer */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Syne:wght@500;600;700;800&display=swap");

:root {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-accent: "Syne", var(--font);
  --glow: rgba(197, 157, 95, 0.22);
  --mesh-1: #f9f5f1;
  --mesh-2: #f0e8df;
}

body {
  overflow-x: hidden;
}

/* Cinematic hero */
.hero--cinematic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 88px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  border-bottom: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  right: 5%;
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  background: radial-gradient(circle, var(--glow) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.hero--cinematic .hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--brown);
  text-transform: none;
  overflow: hidden;
}

.hero-title .line {
  display: block;
}

.hero-title .line--accent {
  font-style: italic;
  color: var(--gold-deep);
}

.hero--cinematic .hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-bottle-float {
  position: relative;
  width: min(420px, 88vw);
  will-change: transform;
}

.hero-bottle-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 48px rgba(60, 42, 33, 0.12));
}

.hero-tag {
  position: absolute;
  bottom: 1rem;
  right: 0;
  font-family: var(--font-accent);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Gold gradient CTA */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-gold:hover::after { transform: translateX(120%); }

.btn-magnetic { will-change: transform; }

/* Marquee */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--brown);
  color: var(--cream);
  padding: 0.85rem 0;
}

.marquee-inner { overflow: hidden; }

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
}

.marquee-track span::after {
  content: "◆";
  margin-left: 3rem;
  color: var(--gold);
  font-size: 0.5rem;
  vertical-align: middle;
}

/* Story section — legacy (replaced by .ritual-band in store.css) */
.story-section {
  display: none;
}

/* Product cards — Gen Z luxury */
.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.3s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(60,42,33,0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.product-card:hover::after { opacity: 1; }

.product-card figure {
  position: relative;
  background: linear-gradient(180deg, var(--mesh-2) 0%, var(--cream) 100%);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.product-card img {
  height: 100% !important;
  max-height: 280px;
  width: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  filter: none !important;
  transition: transform 0.6s var(--ease);
}

.product-card:hover img {
  transform: scale(1.06) translateY(-4px);
}

.product-card-body {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.product-card .product-tag-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-family: var(--font-accent);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  background: var(--brown);
  color: var(--cream);
}

/* Scent grid on home */
.scent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--brown);
}

.scent-card {
  position: relative;
  border-right: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.scent-card:last-child { border-right: none; }

.scent-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
  filter: brightness(1.04);
}

.scent-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.scent-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(60,42,33,0.75) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scent-card:hover .scent-card-overlay { opacity: 1; }

.scent-card-overlay h4 {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
}

.scent-card-overlay p {
  font-size: 0.72rem;
  opacity: 0.75;
  margin: 0;
}

.scent-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* USP — animated strip */
.usp-strip {
  background: var(--white);
}

.usp-item {
  transition: background 0.3s ease;
}

.usp-item:hover {
  background: var(--cream);
}

.usp-icon {
  transition: transform 0.4s var(--ease), color 0.3s ease;
}

.usp-item:hover .usp-icon {
  transform: scale(1.2);
  color: var(--brown);
}

/* Header motion */
.site-header {
  transition: transform 0.4s var(--ease), box-shadow 0.2s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

/* Section headings */
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: -0.02em;
}

.section-head h2 em {
  font-style: italic;
  color: var(--gold-deep);
}

/* Promo */
.promo-banner img {
  filter: none !important;
  object-position: center;
}

/* Graffiti — softer for luxury */
.graffiti-deco { opacity: 0.28 !important; }

/* Full-width animated hero banner — fits within viewport */
.hero-banner {
  --hero-chrome: 92px; /* top-bar + sticky header */
  position: relative;
  height: calc(100svh - var(--hero-chrome));
  min-height: 480px;
  max-height: 820px;
  overflow: hidden;
  background: var(--brown);
}

.hero-banner-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  background: #2e2018;
}

.hero-slide.is-active,
.hero-slide.is-entering,
.hero-slide.is-leaving {
  visibility: visible;
  z-index: 1;
}

.hero-slide.is-active { opacity: 1; z-index: 2; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform-origin: center center;
}

.hero-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(30, 20, 14, 0.4) 0%, rgba(30, 20, 14, 0.12) 40%, transparent 65%);
  pointer-events: none;
}

.hero-banner-content .hero-title,
.hero-banner-desc,
.hero-banner-name,
.hero-banner-subtitle {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem var(--gutter) 1.75rem;
}

.hero-banner-content {
  max-width: 34rem;
  color: var(--cream);
}

.hero-banner-content .hero-eyebrow { color: var(--gold-light); }

.hero-banner-content .hero-title {
  color: var(--cream);
  overflow: hidden;
}

.hero-banner-desc {
  color: rgba(249, 245, 241, 0.75);
  max-width: 36ch;
  margin: 0 0 1.75rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.hero-banner-content .btn-outline {
  border-color: rgba(249, 245, 241, 0.45);
  color: var(--cream);
}

.hero-banner-content .btn-outline:hover {
  background: var(--cream);
  color: var(--brown);
}

.hero-banner-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(249, 245, 241, 0.15);
}

.hero-banner-counter {
  font-family: var(--font-accent);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.hero-banner-name {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 0.2rem;
}

.hero-banner-subtitle {
  font-size: 0.78rem;
  color: rgba(249, 245, 241, 0.6);
  margin: 0;
}

.hero-banner-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.hero-banner-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(249, 245, 241, 0.35);
  background: rgba(249, 245, 241, 0.08);
  color: var(--cream);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-banner-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
}

.hero-banner-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(249, 245, 241, 0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.hero-dot.is-active {
  background: var(--gold);
  width: 40px;
}

@media (max-width: 960px) {
  .hero-banner {
    --hero-chrome: 88px;
    height: calc(100svh - var(--hero-chrome));
    min-height: 460px;
    max-height: none;
  }
  .hero-banner-inner { padding: 1.5rem var(--gutter) 1.25rem; }
  .hero-banner-shade {
    background:
      linear-gradient(to top, rgba(30, 20, 14, 0.5) 0%, rgba(30, 20, 14, 0.18) 45%, transparent 100%);
  }
  .hero-slide img {
    object-fit: cover;
    object-position: center center;
  }
  .hero-banner-meta { flex-direction: column; align-items: flex-start; gap: 0.85rem; padding-top: 1rem; }
  .hero-banner-controls { margin-left: 0; width: 100%; justify-content: space-between; }
  .hero--cinematic {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }
  .hero-visual { min-height: 300px; order: -1; }
  .hero-tag { display: none; }
  .scent-grid { grid-template-columns: 1fr 1fr; }
  .scent-card:nth-child(2) { border-right: none; }
  .scent-card:nth-child(3) { border-top: 1px solid var(--line); }
  .scent-card:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
}

@media (max-width: 600px) {
  .scent-grid { grid-template-columns: 1fr; }
  .scent-card { border-right: none !important; border-bottom: 1px solid var(--line); aspect-ratio: 16/10; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover { transform: none; }
  .marquee-track { animation: none !important; }
}
