/* =========================================================
   The Luxe Collection — black, champagne and gold.
   Loaded after styles.css; re-themes the shared colors
   (like decor.css does) and adds the page's own sections.
   ========================================================= */

.theme-luxe {
  --cream: #100d0c;        /* page background: warm black */
  --cream-deep: #1d1816;
  --paper: #171311;        /* cards, form, bag */
  --blush: #e6cf9c;        /* soft champagne */
  --rose: #c9a45c;         /* gold */
  --rose-deep: #e3c47f;    /* light gold: eyebrows, hovers */
  --wine: #0a0807;
  --ink: #f3ece0;          /* text: ivory */
  --muted: #ab9f8f;
  --line: rgba(201, 164, 92, .22);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --gold: linear-gradient(110deg, #9c7637 0%, #e9cf8f 28%, #fff1c9 42%, #c9a45c 58%, #8a6a32 100%);
  --light: #100d0c;
  --light-deep: #1d1816;
  color-scheme: dark;      /* dark date picker, scrollbars, etc. */
}
.theme-luxe ::selection { background: rgba(201, 164, 92, .35); }

/* gold foil text with a slow light sweep */
.theme-luxe .gold, .theme-luxe .logo em, .theme-luxe .footer-big em {
  background: var(--gold); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: l-shine 7s ease-in-out infinite;
}
@keyframes l-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---------- Shared parts, re-coloured ---------- */
.theme-luxe .site-header.scrolled { background: rgba(16, 13, 12, .85); }
.theme-luxe .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.theme-luxe .nav-links a[href="luxe.html"]:hover { color: var(--blush); }
.theme-luxe .bag-btn { background: var(--paper); color: var(--ink); }
.theme-luxe .bag-count { color: #100d0c; }
.theme-luxe .progress { background: var(--gold); }

.theme-luxe .btn { background: var(--gold); background-size: 200% 100%; border-color: transparent; color: #17120c; font-weight: 500; transition: background-position .8s var(--ease), color .5s var(--ease); }
.theme-luxe .btn::before { display: none; }
.theme-luxe .btn:hover { background-position: 100% 0; border-color: transparent; }
.theme-luxe .btn-ghost { background: transparent; border-color: var(--rose); color: var(--blush); font-weight: 400; }
.theme-luxe .btn-ghost:hover { background: rgba(201, 164, 92, .12); color: var(--ink); border-color: var(--blush); }
.theme-luxe .btn-wa { background: #1f8f5a; color: #fff; }
.theme-luxe .btn-wa:hover { background: #166c43; }

.theme-luxe .slot { background: radial-gradient(120% 90% at 30% 20%, #2a221d, #141110); }
.theme-luxe .slot-hint { color: var(--blush); border-color: rgba(230, 207, 156, .3); }
.theme-luxe .slot-hint code { background: rgba(255, 255, 255, .06); color: var(--muted); }

.theme-luxe .product { background: var(--paper); border: 1px solid var(--line); }
.theme-luxe .product:hover { border-color: rgba(201, 164, 92, .55); }
.theme-luxe .tag { color: var(--rose-deep); border-color: var(--line); }
.theme-luxe .price { color: var(--blush); }
.theme-luxe .add-btn { color: var(--blush); border-color: var(--rose); }
.theme-luxe .add-btn:hover { background: var(--blush); color: #17120c; border-color: var(--blush); }

.theme-luxe .order-form { border-color: var(--line); }
.theme-luxe .field.error input { border-color: #e07a7a; }
.theme-luxe .form-status.is-error { color: #f08a8a; }
.theme-luxe .toast { background: var(--blush); color: #17120c; }

.theme-luxe .site-footer { background: #0a0807; color: #e8dfcf; border-top: 1px solid var(--line); }
.theme-luxe .promises strong { color: #f3ece0; }
.theme-luxe .social a { border-color: var(--line); }
.theme-luxe .social a:hover, .theme-luxe .social a:focus-visible { color: #17120c; }

/* ---------- Loading screen ----------
   A spotlight switches on from above, gold petals drift through its light,
   the flower emblem (our signature) blooms above the name, then the screen
   closes like an iris. */
.js .page-loader--luxe {
  background: #070505; color: var(--ink); overflow: hidden;
  clip-path: circle(150% at 50% 50%); transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1);
}
.page-loader--luxe.leaving { clip-path: circle(0% at 50% 42%); }
.page-loader--luxe .pl-inner { position: relative; z-index: 1; }

/* the beam: a soft cone of warm light whose edges melt into the dark, plus a pool of light
   where it lands. It fades in slowly like a stage light warming up, then gently breathes. */
.pl-spot {
  position: absolute; inset: 0; pointer-events: none;
  animation: l-spot-on 1.8s cubic-bezier(.45, 0, .2, 1) both, l-spot-breathe 5s ease-in-out 1.8s infinite;
}
.pl-spot::before {
  content: ""; position: absolute; inset: 0;
  /* the cone: brightest in the middle, fading smoothly to nothing at its edges */
  background: conic-gradient(from 156deg at 50% -6%,
    rgba(255, 232, 186, 0) 0deg,
    rgba(255, 232, 186, .07) 12deg,
    rgba(255, 236, 196, .26) 24deg,
    rgba(255, 232, 186, .07) 36deg,
    rgba(255, 232, 186, 0) 48deg);
  /* and fading out towards the bottom */
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
}
/* a softer, wider halo around the beam */
.pl-spot::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 26% 70% at 50% 0%, rgba(255, 232, 186, .14), transparent 75%),
    radial-gradient(ellipse min(340px, 55vw) 110px at 50% 62%, rgba(255, 228, 175, .16), transparent 80%);
}
@keyframes l-spot-on {
  from { opacity: 0; transform: scaleY(.92); transform-origin: top; filter: brightness(.5); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes l-spot-breathe { 50% { opacity: .86; } }
/* repeat visits: just the quick fade-in, no breathing */
.page-loader--luxe.quick .pl-spot { animation-name: l-spot-on; }

/* petals are only seen inside the beam: they fade out in the dark */
.pl-petals {
  z-index: 2;
  -webkit-mask-image: radial-gradient(ellipse 42% 80% at 50% 25%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 42% 80% at 50% 25%, #000 35%, transparent 78%);
  animation: pl-fade-in 1s ease .4s both;
}
@keyframes pl-fade-in { from { opacity: 0; } }

/* the emblem: the circle draws in gold, then the flower blooms */
.pl-emblem { display: block; width: 92px; height: 92px; margin: 0 auto 1.6rem; overflow: visible; filter: drop-shadow(0 0 18px rgba(233, 207, 143, .35)); }
.pl-emblem circle {
  fill: none; stroke: url(#pl-gold); stroke-width: 2.5;
  stroke-dasharray: 579; stroke-dashoffset: 579;
  transform: rotate(-90deg); transform-origin: center; transform-box: fill-box;
  animation: pl-stroke 1.6s cubic-bezier(.65, 0, .35, 1) .5s forwards;
}
.pl-emblem path { fill: url(#pl-gold); transform-origin: center; transform-box: fill-box; animation: pl-bloom 1.2s var(--ease) 1.1s both; }

.page-loader--luxe .pl-name > * { animation-delay: 1.3s; }
.page-loader--luxe .pl-name > :nth-child(2) { animation-delay: 1.42s; color: #e9cf8f; }
.page-loader--luxe .pl-name > :nth-child(3) { animation-delay: 1.54s; }
.page-loader--luxe .pl-line { width: 120px; background: var(--gold); opacity: 1; transform-origin: center; animation-delay: 1.7s; }
.page-loader--luxe .pl-sub { color: var(--blush); animation-delay: 2s; }

/* ---------- Hero ---------- */
.l-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 7rem;
  background:
    radial-gradient(55% 60% at 78% 40%, rgba(201, 164, 92, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(201, 164, 92, .07), transparent 70%);
}
.l-hero-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 5rem; align-items: center; }
.l-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.l-hero .lead { margin-bottom: 2.4rem; max-width: 40ch; }
.l-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.l-hero-art { position: relative; isolation: isolate; } /* keeps the gold frame visible behind the photo */
.l-hero-img { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow); }
.l-hero-frame {
  position: absolute; inset: -18px -18px 18px 18px; z-index: -1;
  border: 1px solid var(--rose); border-radius: 999px 999px 24px 24px; opacity: .6;
}
.l-hero-in > * { animation: l-rise 1.1s var(--ease) both; }
.l-hero-in > :nth-child(2) { animation-delay: .12s; }
.l-hero-in > :nth-child(3) { animation-delay: .24s; }
.l-hero-in > :nth-child(4) { animation-delay: .36s; }
.l-hero-img { animation: l-unveil 1.6s var(--ease) .2s both; }
.l-hero-frame { animation: l-frame 1.6s var(--ease) .7s both; }
@keyframes l-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes l-unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes l-frame { from { opacity: 0; transform: translate(-18px, 18px); } }
/* wait for the loading screen before the hero animates in */
.js.has-loader:not(.page-ready) .l-hero-in > *,
.js.has-loader:not(.page-ready) .l-hero-img,
.js.has-loader:not(.page-ready) .l-hero-frame { animation-play-state: paused; }

/* ---------- The 3D scenes: the gold rose (js/luxe-rose.js) and the gift box (js/luxe-box.js) ----------
   Each section is tall; its inside stays pinned to the screen while you scroll
   through it, and the scroll plays the scene. */
.l-stage {
  position: relative; height: 280vh;
  background:
    radial-gradient(45% 55% at 68% 42%, rgba(201, 164, 92, .1), transparent 70%),
    linear-gradient(#100d0c, #0b0908 50%, #100d0c);
  border-top: 1px solid var(--line);
}
.l-stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.l-stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.l-stage.ready .l-stage-canvas { opacity: 1; }
.l-stage-text { position: relative; z-index: 1; pointer-events: none; }
.l-stage-text > * { max-width: 30rem; }
.l-stage-text h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.l-stage-lead { color: var(--muted); }
/* the gift box: the scene on the left, the text on the right */
.l-stage--flip { background: radial-gradient(45% 55% at 32% 45%, rgba(201, 164, 92, .1), transparent 70%), linear-gradient(#100d0c, #0b0908 50%, #100d0c); }
.l-stage--flip .l-stage-text > * { margin-left: auto; }
/* the rose: a shorter scroll than the other 3D section (the long one made it drag) */
.l-rose { height: 180vh; } /* the bloom plays by itself once reached: it only needs a short pause in the scroll */
.l-rose-steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.l-rose-steps li {
  position: relative; padding-left: 2.6rem; color: var(--muted); opacity: .35;
  transition: opacity .8s var(--ease), color .8s var(--ease);
}
/* a tiny gold rose before each line: a dim, turned-away bud until its line lights up */
.l-rose-steps li::before {
  content: ""; position: absolute; left: 0; top: .05em; width: 1.5rem; height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff1c9'/%3E%3Cstop offset='.5' stop-color='%23e3c47f'/%3E%3Cstop offset='1' stop-color='%239c7637'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Ccircle cx='12' cy='6.6' r='4.6'/%3E%3Ccircle cx='17.1' cy='10.3' r='4.6'/%3E%3Ccircle cx='15.2' cy='16.3' r='4.6'/%3E%3Ccircle cx='8.8' cy='16.3' r='4.6'/%3E%3Ccircle cx='6.9' cy='10.3' r='4.6'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3C/g%3E%3Cpath fill='none' stroke='%235a3d12' stroke-width='1.1' stroke-linecap='round' d='M12.6 12.4c-.5.5-1.5.2-1.5-.6 0-1 1.2-1.6 2.1-1.1 1.2.7 1.1 2.6-.2 3.3-1.7.9-3.8-.2-4-2.1-.3-2.4 1.9-4.2 4.2-3.8 2.7.5 4.2 3.4 3.1 5.9'/%3E%3Cpath fill='none' stroke='%235a3d12' stroke-width='.8' stroke-linecap='round' stroke-opacity='.5' d='M7.4 12.8c-.5-2.7 1.4-5.2 4-5.6M16.6 11c.7 2.6-.8 5.3-3.4 5.9M9.4 16.6c1.3.8 2.9.9 4.3.4'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .55; transform: scale(.55) rotate(-50deg); filter: saturate(.4);
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .8s var(--ease), filter .8s var(--ease);
}
/* the line that belongs to the current part of the scroll lights up */
.l-rose[data-step="0"] li:nth-child(1), .l-rose[data-step="1"] li:nth-child(2),
.l-rose[data-step="2"] li:nth-child(3), .l-rose[data-step="all"] li { opacity: 1; color: var(--ink); }
.l-rose[data-step="0"] li:nth-child(1)::before, .l-rose[data-step="1"] li:nth-child(2)::before,
.l-rose[data-step="2"] li:nth-child(3)::before, .l-rose[data-step="all"] li::before {
  opacity: 1; transform: none; filter: drop-shadow(0 0 6px rgba(233, 207, 143, .65));
}
/* a thin gold line at the bottom that says "keep scrolling" */
.l-stage-hint {
  position: absolute; left: 50%; bottom: 28px; width: 1px; height: 46px; overflow: hidden;
  background: rgba(201, 164, 92, .25);
}
.l-stage-hint::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: l-hint 2.2s ease-in-out infinite; }
@keyframes l-hint { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.l-rose[data-step="2"] .l-stage-hint { opacity: 0; transition: opacity .6s; }
/* without WebGL (very old devices): just the text, no tall scroll */
.l-stage.no-3d { height: auto; }
.l-stage.no-3d .l-stage-sticky { position: static; height: auto; padding: 7rem 0; }
.l-rose.no-3d .l-rose-steps li { opacity: 1; color: var(--ink); }
.l-rose.no-3d .l-rose-steps li::before { opacity: 1; transform: none; filter: none; }
.l-stage.no-3d .l-stage-hint { display: none; }
@media (max-width: 820px) {
  /* phones: the rose sits in the upper part, the text below it */
  .l-stage { height: 240vh; }
  .l-rose { height: 190vh; } /* phones: the bloom follows the finger over about one screen of scrolling */
  .l-stage-sticky { align-items: end; }
  .l-stage-text { padding-bottom: 5.5rem; }
  .l-stage-text::before {
    content: ""; position: absolute; inset: -4rem -16px -2rem; z-index: -1;
    background: linear-gradient(transparent, rgba(11, 9, 8, .92) 40%);
  }
  .l-rose-steps { margin-top: 1.4rem; gap: .7rem; }
  .l-stage--flip .l-stage-text > * { margin-left: 0; }
}
/* reduced motion: a still, fully open rose in a normal full-screen section (no long scroll) */
@media (prefers-reduced-motion: reduce) { .l-stage { height: auto; } .l-stage-sticky { position: relative; } .l-stage-hint { display: none; } }

/* ---------- What makes it luxe ---------- */
.l-marks { border-top: 1px solid var(--line); }
.l-marks-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.l-marks-list li { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.l-num {
  display: block; margin-bottom: 1rem;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-style: italic;
  background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.l-marks-list h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.l-marks-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Collection ---------- */
.l-collection { background: linear-gradient(#100d0c, #15110f); }

/* ---------- Unboxing ---------- */

/* ---------- Bespoke ---------- */
.l-bespoke { background: radial-gradient(60% 80% at 15% 50%, rgba(201, 164, 92, .1), transparent 70%); border-block: 1px solid var(--line); }
.l-bespoke-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.l-bespoke-text > p:not(.eyebrow):not(.l-from) { color: var(--muted); max-width: 44ch; }
.l-from { margin: 1.6rem 0 2rem; font-family: var(--serif); font-size: 1.6rem; color: var(--blush); }
.l-from .money { font-size: 2.2rem; }
.l-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.4rem; }
.l-steps li {
  counter-increment: step; position: relative;
  padding: 1.3rem 1.5rem 1.3rem 4.4rem;
  border: 1px solid var(--line); border-radius: 18px; background: var(--paper);
}
.l-steps li::before {
  content: counter(step); position: absolute; left: 1.4rem; top: 1.25rem;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border: 1px solid var(--rose); border-radius: 50%;
  font-family: var(--serif); font-size: 1.1rem; color: var(--blush);
}
.l-steps strong { display: block; font-weight: 400; font-size: 1.05rem; }
.l-steps span { color: var(--muted); font-size: .92rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .l-hero-grid, .l-bespoke-grid { gap: 3rem; }
  .l-marks-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .l-hero { padding-top: 120px; }
  .l-hero-grid, .l-bespoke-grid { grid-template-columns: 1fr; }
  .l-hero-art { max-width: 380px; width: 88%; margin: 1rem auto 0; }
}
@media (max-width: 520px) {
  .l-marks-list { grid-template-columns: 1fr; gap: 1.6rem; }
  .l-steps li { padding-left: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-luxe .gold, .theme-luxe .logo em, .theme-luxe .footer-big em { animation: none; }
}

/* =========================================================
   Valentine's Day: dark red instead of gold
   (js/holidays.js adds "holiday-valentine" to the page in early February)
   ========================================================= */
.holiday-valentine .theme-luxe {
  --blush: #f3b7c0;        /* soft rose */
  --rose: #b3263a;         /* deep red */
  --rose-deep: #e8566a;    /* brighter red: eyebrows, hovers */
  --line: rgba(179, 38, 58, .28);
  --gold: linear-gradient(110deg, #5c0a16 0%, #c8344a 28%, #ffc2cc 42%, #b3263a 58%, #4a0610 100%);
}
.holiday-valentine .theme-luxe ::selection { background: rgba(179, 38, 58, .4); }
.holiday-valentine .theme-luxe .btn { color: #fff6f7; }
.holiday-valentine .theme-luxe .btn-ghost { color: var(--blush); }
.holiday-valentine .theme-luxe .btn-ghost:hover { background: rgba(179, 38, 58, .14); }
.holiday-valentine .theme-luxe .slot-hint { border-color: rgba(243, 183, 192, .3); }
.holiday-valentine .theme-luxe .product:hover { border-color: rgba(179, 38, 58, .6); }
.holiday-valentine .page-loader--luxe .pl-name > :nth-child(2) { color: #e8566a; }
.holiday-valentine #pl-gold stop:nth-child(1) { stop-color: #ffc2cc; }
.holiday-valentine #pl-gold stop:nth-child(2) { stop-color: #c8344a; }
.holiday-valentine #pl-gold stop:nth-child(3) { stop-color: #5c0a16; }
/* the spotlight on the loading screen: a soft rosy light */
.holiday-valentine .pl-spot { filter: hue-rotate(-38deg) saturate(1.4); }
.holiday-valentine .l-hero {
  background:
    radial-gradient(55% 60% at 78% 40%, rgba(179, 38, 58, .2), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(179, 38, 58, .09), transparent 70%);
}
.holiday-valentine .l-stage { background: radial-gradient(45% 55% at 68% 42%, rgba(179, 38, 58, .13), transparent 70%), linear-gradient(#100d0c, #0b0908 50%, #100d0c); }
.holiday-valentine .l-stage--flip { background: radial-gradient(45% 55% at 32% 45%, rgba(179, 38, 58, .13), transparent 70%), linear-gradient(#100d0c, #0b0908 50%, #100d0c); }
.holiday-valentine .l-bespoke { background: radial-gradient(60% 80% at 15% 50%, rgba(179, 38, 58, .12), transparent 70%); }
/* the tiny gold roses next to the 3D rose's lines become red */
.holiday-valentine .l-rose-steps li::before { filter: hue-rotate(-42deg) saturate(1.8) brightness(.9); }

/* The unboxing: the box is shown already open, so the section is just one screen tall
   (no long scroll), and there's no "scroll" hint */
.l-stage.l-gift { height: auto; }
.l-gift .l-stage-hint { display: none; }
