/* =========================================================
   Maison Lilith — brand stylesheet
   Source of truth: Maison Lilith_Brand Book_2026-05-14.pdf
   Rule: no #FFFFFF anywhere. Paper (#F4ECE2) is brand white.
   Navy Ink (#1A2845) added as a fourth ink for the hand-drawn
   wordmark only — never a surface colour.

   v2 (2026-05-15): Burgundy-dominant push.
   "Crimson on Satin Shadow" is the signature pairing — the page
   now reads burgundy/crimson top to bottom, with Paper as accent
   rather than the dominant ground.
   ========================================================= */

:root {
  /* Primary palette — 80% of surfaces */
  --satin-shadow: #0F0505;
  --crimson-kiss: #8B1021;
  --house-gold:   #C8A968;
  --paper:        #F4ECE2;

  /* Secondary */
  --passion-eclipse:  #3A090C;
  --latte-obsession:  #594631;
  --champagne-taupe:  #E1C18F;

  /* Burgundy surface — sampled from the burgundy satin in mood-shadow.jpg
     (Devil bottle on wine satin curtain). Wine/oxblood register, sits
     between Crimson Kiss (#8B1021, too bright) and Passion Eclipse
     (#3A090C, near-black). Dominant felt-colour on Manifesto, Collection
     cards, Buy. v2.1 (2026-05-15). */
  --burgundy:     #5C1622;

  /* Wordmark ink only — not a surface */
  --navy-ink:     #1A2845;

  /* Type */
  --serif:  "Cormorant Garamond", "EB Garamond", "Noto Serif Thai", "Playfair Display", Georgia, serif;
  --sans:   "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --pad-page:   clamp(1.25rem, 4vw, 3rem);
  --section-y:  clamp(4rem, 9vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Common hairline rule for use on dark surfaces */
  --rule-gold-alpha: rgba(200, 169, 104, 0.45);
}

.baht {
  margin-right: 0.3em;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  /* Body background falls through to Satin Shadow so the page edges feel
     burgundy/dark, not cream, in any unfilled gap. */
  background: var(--satin-shadow);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

a:hover { border-bottom-color: currentColor; }

/* ---------- Typography ---------- */

.serif    { font-family: var(--serif); }
.italic   { font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--house-gold);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.6rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.25; }

p { margin: 0 0 1em; }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  color: var(--paper);
  letter-spacing: -0.005em;
}

.rule-gold {
  width: 56px;
  height: 1px;
  background: var(--house-gold);
  margin: 1.25rem 0;
  border: none;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--pad-page);
  padding-right: var(--pad-page);
}

section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.surface-shadow {
  background: var(--satin-shadow);
  color: var(--paper);
}
.surface-shadow .eyebrow { color: var(--house-gold); }
.surface-shadow .lede    { color: var(--paper); }

.surface-paper {
  background: var(--paper);
  color: var(--satin-shadow);
}
.surface-paper .lede { color: var(--burgundy); }

.surface-crimson {
  background: var(--burgundy);
  color: var(--paper);
}
.surface-crimson .eyebrow { color: var(--house-gold); }
.surface-crimson .lede    { color: var(--paper); }

.surface-eclipse {
  background: var(--passion-eclipse);
  color: var(--paper);
}
.surface-eclipse .eyebrow { color: var(--house-gold); }

.surface-taupe {
  background: var(--champagne-taupe);
  color: var(--satin-shadow);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 5, 5, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  color: var(--paper);
  border-bottom: 1px solid rgba(200, 169, 104, 0.22);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 60px;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav__logo {
  height: 38px;
  width: auto;
  opacity: 0.92;
  transition: opacity .25s var(--ease);
}

.nav__mark:hover .nav__logo { opacity: 1; }

.nav__links {
  display: flex;
  gap: 1.75rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav__links a { color: var(--paper); }

@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
}

/* Passion Eclipse → Satin Shadow vertical gradient with a burgundy
   radial bloom centred behind the wordmark. */
.hero--burgundy {
  background:
    radial-gradient(ellipse at 50% 42%, rgba(92, 22, 34, 0.55), transparent 60%),
    linear-gradient(180deg, var(--passion-eclipse) 0%, #1F060A 55%, var(--satin-shadow) 100%);
  color: var(--paper);
}

.hero__stack {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.hero__wordmark {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero__wordmark img {
  width: clamp(220px, 38vw, 460px);
  height: auto;
  /* Slight glow behind the cream wordmark to lift it from the gradient. */
  filter: drop-shadow(0 0 24px rgba(244, 236, 226, 0.08));
}

.hero__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  color: var(--champagne-taupe);
  letter-spacing: -0.005em;
  margin: 0;
}

.hero__house {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--house-gold);
  max-width: 100%;
  padding: 0 0.5rem;
  text-align: center;
}

@media (max-width: 420px) {
  .hero__house { font-size: 10.5px; letter-spacing: 0.24em; }
}

.hero__cta {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.9;
  border-bottom: 1px solid var(--paper);
  padding-bottom: 4px;
}

.hero__cta:hover { opacity: 1; }

/* ---------- Manifesto ---------- */

.manifesto {
  text-align: center;
}

.manifesto__quote {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto__quote .lede {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  color: var(--paper);
}

.manifesto__body {
  max-width: 540px;
  margin: 2rem auto 0;
  color: var(--champagne-taupe);
}

.manifesto__mythos {
  margin-top: 1.5rem;
  font-style: italic;
  opacity: 0.92;
}

/* ---------- Collection band + grid ---------- */

/* Intro band on Passion Eclipse, sits above the Paper card grid */
.collection-band {
  text-align: center;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.collection-band__head {
  max-width: 720px;
  margin: 0 auto;
}

.collection-band__intro {
  max-width: 48ch;
  margin: 1rem auto 0;
  color: var(--champagne-taupe);
}

.collection {
  /* Paper ground for the cards section so the burgundy cards read clearly. */
  background: var(--paper);
  color: var(--satin-shadow);
}

.collection__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.collection__intro {
  max-width: 48ch;
  font-size: 14px;
  opacity: 0.78;
  margin: 0;
}

.collection__next {
  margin-top: 3rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--latte-obsession);
  opacity: 0.92;
}

.collection__next .italic {
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--crimson-kiss);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

/* Desktop: row of 5. Tablet: 3+2. Mobile: 2 cols. */
.grid--five {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .grid--five { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .grid--five { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .grid--five { grid-template-columns: 1fr; }
}

/* Burgundy cards on Paper. The bottle photo sits in an inset Paper frame
   so the existing mix-blend-mode multiply trick still works. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200, 169, 104, 0.32);
  background: var(--burgundy);
  color: var(--paper);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  text-align: left;
  overflow: hidden;
}

.card:hover {
  border-color: var(--house-gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(15, 5, 5, 0.55);
}

.card__img {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  /* Inset Paper frame around the bottle photo. */
  margin: 0.85rem 0.85rem 0;
  position: relative;
}

.card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 32px 8px var(--paper);
}

.card__img img {
  width: 88%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
}

.card__num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--house-gold);
  font-style: italic;
}

.card__name {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
  margin: 0;
  color: var(--paper);
}

.card__family {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne-taupe);
  opacity: 0.92;
}

.card__notes {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper);
  opacity: 0.88;
  margin: 0.25rem 0 0;
}

.card__mood {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  margin: 0.25rem 0 0;
  color: var(--champagne-taupe);
}

.card__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(200, 169, 104, 0.35);
}

.card__price {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.card__price small {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-left: 0.35rem;
}

.card__link {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  border-bottom: 1px solid var(--house-gold);
  padding-bottom: 2px;
}

/* ---------- Values ---------- */

.values {
  background: var(--satin-shadow);
  color: var(--paper);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.value {
  padding: 2rem 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  color: var(--paper);
}

.value h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
}

.value p {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.88;
  margin: 0;
}

.value--crimson { background: var(--burgundy); }
.value--eclipse { background: var(--passion-eclipse); }
.value--shadow  { background: var(--satin-shadow); border: 1px solid rgba(200, 169, 104, 0.28); }
.value--latte   { background: var(--latte-obsession); }

.values__quote {
  margin-top: 3.5rem;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  /* Paper-tinted band so the pull quote sits on a softer surface */
  background: rgba(244, 236, 226, 0.06);
  border-top: 1px solid var(--rule-gold-alpha);
  border-bottom: 1px solid var(--rule-gold-alpha);
  padding: 2.5rem 1.5rem;
}

.values__quote .lede {
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
}

@media (max-width: 720px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Voice / quote slides ---------- */

.voice {
  background: var(--satin-shadow);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.voice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(92, 22, 34, 0.18), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(92, 22, 34, 0.14), transparent 55%);
  pointer-events: none;
}

.voice .container { position: relative; z-index: 1; }

.voice__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.voice__slide {
  padding: 3rem 2rem;
  border: 1px solid rgba(200, 169, 104, 0.22);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(92, 22, 34, 0.10), transparent 70%);
}

@media (max-width: 720px) {
  .voice__track {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mood grid (real photos, burgundy overlay) ---------- */

.mood {
  background: var(--satin-shadow);
  color: var(--paper);
}

.mood__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.mood__cell {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
  background-color: var(--passion-eclipse);
  background-size: cover;
  background-position: center;
}

/* Burgundy-tinted gradient overlay so the photos read continuous with the
   surrounding burgundy rather than being darkened to pure black. */
.mood__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 9, 12, 0.72));
  pointer-events: none;
}

.mood__cell span { position: relative; z-index: 1; }

@media (max-width: 540px) {
  .mood__grid { grid-template-columns: 1fr; }
}

/* ---------- Buy / channels ---------- */

.buy {
  background: var(--burgundy);
  color: var(--paper);
  text-align: center;
}
.buy .eyebrow { color: var(--house-gold); }

#contact.buy { background: var(--passion-eclipse); }

.buy__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 720px;
  margin: 2.5rem auto 1.5rem;
  border-top: 1px solid var(--rule-gold-alpha);
  border-bottom: 1px solid var(--rule-gold-alpha);
}

.buy__link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2.25rem 1.5rem;
  background: transparent;
  color: var(--paper);
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease);
  /* Fine gold rule between channels */
  border-right: 1px solid var(--rule-gold-alpha);
}
.buy__link:last-child { border-right: none; }

.buy__link:hover {
  background: rgba(15, 5, 5, 0.18);
  border-bottom-color: transparent;
}

.buy__link strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--paper);
}

.buy__link span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne-taupe);
  opacity: 0.9;
}

.buy__note {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne-taupe);
  opacity: 0.9;
}

@media (max-width: 540px) {
  .buy__links {
    grid-template-columns: 1fr;
  }
  .buy__link {
    border-right: none;
    border-bottom: 1px solid var(--rule-gold-alpha);
  }
  .buy__link:last-child { border-bottom: none; }
}

/* ---------- Footer ---------- */

.foot {
  background: var(--satin-shadow);
  color: var(--paper);
  padding: 3.5rem var(--pad-page) 3rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.foot__mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.foot__mark img {
  height: 64px;
  width: auto;
  opacity: 0.9;
}

.foot__rule {
  width: 40px;
  height: 1px;
  background: var(--house-gold);
  margin: 1.25rem auto;
  border: 0;
}

.foot__meta {
  opacity: 0.7;
}

/* ---------- Scroll fade-in (restrained motion) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Product page (collection/<slug>.html) ---------- */

/* Product hero band on Passion Eclipse so the per-fragrance pages echo the
   homepage burgundy mood. The detail block below sits on Paper. */
.product-hero {
  background:
    radial-gradient(ellipse at 50% 60%, rgba(92, 22, 34, 0.35), transparent 65%),
    var(--passion-eclipse);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.product-hero .eyebrow { color: var(--house-gold); }

.product-hero__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--house-gold);
  display: block;
  margin-top: 0.75rem;
}

.product-hero__name {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  color: var(--paper);
  margin: 0.5rem 0 1rem;
}

.product-hero__mood {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--champagne-taupe);
  margin: 0 auto;
  max-width: 36ch;
}

.product-hero__rule {
  width: 56px;
  height: 1px;
  background: var(--house-gold);
  margin: 1.5rem auto 0;
  border: 0;
}

/* Paper detail block (bottle photo + meta + price + buy) */
.product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.product__vis {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border: 1px solid rgba(200, 169, 104, 0.45);
  overflow: hidden;
}

.product__vis::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 40px 12px var(--paper);
}

.product__vis img {
  width: 78%;
  height: 90%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.product__meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 1.5rem;
  font-size: 13px;
  margin-bottom: 2rem;
}

.product__meta dt {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--house-gold);
}

.product__meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.product__price {
  font-family: var(--serif);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.product__price small {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-left: 0.5rem;
}

.product__buy {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product__buy a {
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--burgundy);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.product__buy a:first-child {
  background: var(--burgundy);
  color: var(--paper);
  border-color: var(--burgundy);
}

.product__back {
  display: inline-flex;
  margin-top: 3rem;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--latte-obsession);
}

@media (max-width: 720px) {
  .product { grid-template-columns: 1fr; }
}
