/* ============================================================
   Cache Volant Royal — restrained dark-luxury landing page
   ============================================================ */

:root {
  /* Surfaces — deep warm charcoal, not purple */
  --bg:        #0e0d10;
  --bg-2:      #131217;
  --surface:   #1a181f;
  --surface-2: #211e27;
  --line:      rgba(244, 239, 233, 0.10);
  --line-strong: rgba(244, 239, 233, 0.18);

  /* Text */
  --text:  #f3efe8;
  --muted: #a59f97;
  --faint: #6f6a64;

  /* Accent (tweakable) — restrained champagne gold. Tints derive from --gold. */
  --gold:      #c7a667;
  --gold-deep: color-mix(in oklab, var(--gold), #000 24%);
  --gold-tint: color-mix(in oklab, var(--gold) 14%, transparent);
  --gold-line: color-mix(in oklab, var(--gold) 34%, transparent);

  /* Semantic */
  --green: #74b394;
  --green-tint: rgba(116, 179, 148, 0.14);
  --sale:  #d98b6a;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 56px);
}

/* Arabic / RTL font swap */
[dir="rtl"] {
  --serif: 'Noto Kufi Arabic', serif;
  --sans:  'Noto Sans Arabic', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Shared atoms ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold-line);
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; letter-spacing: 0; font-weight: 600; }

.display { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
.h2      { font-size: clamp(2rem, 4.4vw, 3.1rem); }

.lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 52ch; }

section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 120px); }

.center { text-align: center; }
.center .eyebrow::after {
  content: ""; width: 26px; height: 1px; background: var(--gold-line);
}
.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 16px; }

/* Hairline gold divider used as a luxury motif */
.hr-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s;
  white-space: nowrap;
}
[dir="rtl"] .btn { letter-spacing: 0; font-size: 15px; }
.btn-gold {
  background: var(--gold);
  color: #1a1306;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 34px -16px var(--gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 20px 40px -16px var(--gold); }
.btn-gold:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold-line); color: var(--gold); }
.btn svg { width: 17px; height: 17px; }

/* ============================================================
   1. Announcement bar
   ============================================================ */
.announce {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  position: relative;
  z-index: 30;
}
.announce .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 6px; }
.announce-msgs { display: flex; align-items: center; gap: 26px; color: var(--muted); flex-wrap: wrap; }
.announce-msgs span { display: inline-flex; align-items: center; gap: 8px; }
.announce-msgs svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.announce-msgs .sep { width: 1px; height: 13px; background: var(--line-strong); }
@media (max-width: 720px){ .announce-msgs span:nth-child(n+3){ display:none; } }

.lang-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; flex: none; }
.lang-toggle button {
  background: transparent; color: var(--muted); border: 0;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 14px; transition: color .2s, background .2s;
}
.lang-toggle button.active { background: var(--gold-tint); color: var(--gold); }

/* ============================================================
   2. Header / logo
   ============================================================ */
.site-head { position: sticky; top: 0; z-index: 25; background: rgba(14,13,16,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .mark { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.brand .mark b { color: var(--gold); font-weight: 600; }
.brand .tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint); }
[dir="rtl"] .brand .tag { letter-spacing: .12em; }
.site-head .btn { padding: 12px 26px; font-size: 12px; }
@media (max-width: 640px){ .site-head .nav-cta { display: none; } }

/* ============================================================
   3. Hero
   ============================================================ */
.hero { padding-block: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero-copy { max-width: 38ch; }
.hero h1 { margin: 22px 0 0; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { margin-top: 22px; }

.usps { list-style: none; margin: 30px 0 0; display: grid; gap: 14px; }
.usps li { display: flex; align-items: center; gap: 13px; font-size: 15.5px; color: var(--text); }
.usps svg { width: 19px; height: 19px; color: var(--gold); flex: none; }

.price-row { display: flex; align-items: center; gap: 18px; margin: 30px 0 8px; flex-wrap: wrap; }
.price-now { font-family: var(--serif); font-size: 2.7rem; font-weight: 600; line-height: 1; }
.price-now small { font-size: 1.1rem; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.price-was { color: var(--faint); text-decoration: line-through; font-size: 1.15rem; }
.badge-sale {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--sale); border: 1px solid rgba(217,139,106,.4); background: rgba(217,139,106,.1);
  padding: 5px 11px; border-radius: 999px;
}
.hero-cta { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.cod-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--muted); font-size: 13.5px; }
.cod-note svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* Hero image */
.hero-media { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 1/1;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content:""; position:absolute; inset:0; box-shadow: inset 0 0 120px rgba(0,0,0,.4); pointer-events:none; }
.hero-rating {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(14,13,16,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px;
}
.hero-rating .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.hero-rating .txt { font-size: 12.5px; color: var(--muted); }
.hero-rating .txt b { color: var(--text); font-weight: 700; }

@media (max-width: 860px){
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-copy { max-width: none; }
}

/* ============================================================
   4. Marquee / trust strip
   ============================================================ */
.trust-strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.trust-item .ti-t { font-size: 14px; font-weight: 700; }
.trust-item .ti-s { font-size: 12px; color: var(--muted); }

/* ============================================================
   5. Benefits grid
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.bcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color .3s, transform .3s, background .3s;
}
.bcard:hover { border-color: var(--gold-line); transform: translateY(-3px); background: var(--surface-2); }
.bcard .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-tint); border: 1px solid var(--gold-line); margin-bottom: 18px; }
.bcard .ico svg { width: 22px; height: 22px; color: var(--gold); }
.bcard h3 { font-size: 1.5rem; margin-bottom: 8px; }
.bcard p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 820px){ .benefits-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .benefits-grid { grid-template-columns: 1fr; } }

/* ============================================================
   6. Gallery
   ============================================================ */
.gallery { background: var(--bg-2); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; margin-top: 48px; }
.gtile { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1/1; }
.gtile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.gtile:hover img { transform: scale(1.05); }
.gtile.span2 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* placeholder tiles */
.ph {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px),
    var(--surface);
  color: var(--faint);
}
.ph span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: .04em; padding: 0 14px; }
.ph svg { width: 30px; height: 30px; opacity: .5; margin-bottom: 10px; }
@media (max-width: 760px){ .gallery-grid { grid-template-columns: repeat(2,1fr); } .gtile.span2 { grid-column: span 2; } }

/* ============================================================
   7. Testimonials
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 52px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
}
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.review .quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--text); }
[dir="rtl"] .review .quote { font-size: 1.25rem; line-height: 1.7; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .av { width: 38px; height: 38px; border-radius: 50%; background: var(--gold-tint); border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 1.1rem; }
.review .who .n { font-size: 14px; font-weight: 700; }
.review .who .c { font-size: 12px; color: var(--muted); }
.review .verified { margin-inline-start: auto; font-size: 11px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.review .verified svg { width: 14px; height: 14px; }
@media (max-width: 820px){ .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================================
   8. Order form
   ============================================================ */
.order { background: var(--bg-2); scroll-margin-top: 80px; }
.order-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); margin-top: 48px; align-items: start; }

/* Pack selector */
.packs { display: grid; gap: 14px; }
.pack {
  position: relative; display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; cursor: pointer; transition: border-color .25s, background .25s, transform .2s;
}
.pack:hover { border-color: var(--gold-line); }
.pack.sel { border-color: var(--gold); background: linear-gradient(var(--gold-tint), var(--gold-tint)), var(--surface); }
.pack .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: border-color .2s; }
.pack.sel .radio { border-color: var(--gold); }
.pack.sel .radio::after { content:""; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); }
.pack .pmain { flex: 1; }
.pack .pmain .pt { font-size: 16px; font-weight: 700; }
.pack .pmain .ps { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pack .pprice { text-align: end; }
.pack .pprice .pp { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.pack .pprice .pp small { font-size: .8rem; font-family: var(--sans); color: var(--muted); }
.pack .pprice .save { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-tint); padding: 3px 9px; border-radius: 999px; }
.pack .pop {
  position: absolute; top: -11px; inset-inline-end: 18px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--gold); color: #1a1306; padding: 4px 12px; border-radius: 999px;
}
[dir="rtl"] .pack .pop { letter-spacing: 0; }

/* Form fields */
.order-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.form-title { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
[dir="rtl"] .field label { letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 14px 16px; font-family: inherit; font-size: 15.5px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.total-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
.total-bar .tl { font-size: 14px; color: var(--muted); }
.total-bar .tv { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.total-bar .tv small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }

/* Inline form error (live backend validation / rate-limit feedback) */
.form-error { color: var(--sale); font-size: 13.5px; margin-bottom: 14px; padding: 11px 14px; border: 1px solid rgba(217,139,106,.4); background: rgba(217,139,106,.1); border-radius: var(--radius-sm); }

.order-form .btn-gold { width: 100%; margin-top: 8px; }
.form-reassure { display: flex; flex-wrap: wrap; gap: 14px 20px; justify-content: center; margin-top: 18px; }
.form-reassure span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); }
.form-reassure svg { width: 15px; height: 15px; color: var(--green); }

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

/* Success state */
.success { text-align: center; max-width: 540px; margin-inline: auto; padding: 24px 0; }
.success .check { width: 78px; height: 78px; border-radius: 50%; background: var(--green-tint); border: 1px solid var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.success .check svg { width: 36px; height: 36px; color: var(--green); }
.success h2 { font-size: clamp(2rem,4vw,2.8rem); }
.success p { color: var(--muted); margin-top: 14px; }
.success .summary { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-align: start; }
.success .summary .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14.5px; }
.success .summary .row + .row { border-top: 1px solid var(--line); }
.success .summary .row b { font-weight: 700; }
.hidden { display: none !important; }

/* ============================================================
   9. Footer
   ============================================================ */
.foot { border-top: 1px solid var(--line); background: var(--bg); }
.foot .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.foot .brand .mark { font-size: 1.4rem; }
.foot .socials { display: flex; gap: 12px; }
.foot .socials a { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all .25s; }
.foot .socials a:hover { color: var(--gold); border-color: var(--gold-line); transform: translateY(-2px); }
.foot .socials svg { width: 19px; height: 19px; }
.foot .legal { font-size: 12.5px; color: var(--faint); width: 100%; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   Sticky mobile CTA
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(19,18,23,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(110%); transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sp { display: flex; flex-direction: column; }
.sticky-cta .sp .l { font-size: 11px; color: var(--muted); }
.sticky-cta .sp .v { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1; }
.sticky-cta .btn { padding: 14px 26px; }
@media (max-width: 860px){ .sticky-cta { display: flex; } body { padding-bottom: 84px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Staggered entrance for grid children */
.stagger .reveal:nth-child(2){ transition-delay: .07s; }
.stagger .reveal:nth-child(3){ transition-delay: .14s; }
.stagger .reveal:nth-child(4){ transition-delay: .21s; }
.stagger .reveal:nth-child(5){ transition-delay: .28s; }
.stagger .reveal:nth-child(6){ transition-delay: .35s; }
.stagger .reveal:nth-child(7){ transition-delay: .42s; }
.stagger .reveal:nth-child(8){ transition-delay: .49s; }

/* ============================================================
   Animations & polish (added)
   ============================================================ */

/* Stable count-up numbers (no width jitter while animating) */
.ti-t[data-count] { font-variant-numeric: tabular-nums; }

/* --- Glossy shimmer sweep on gold CTAs (echoes the crystals) --- */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg) translateX(-260%);
  animation: cv-shimmer 5.5s ease-in-out infinite; pointer-events: none;
}
@keyframes cv-shimmer {
  0%   { transform: skewX(-18deg) translateX(-260%); }
  16%  { transform: skewX(-18deg) translateX(260%); }
  100% { transform: skewX(-18deg) translateX(260%); }
}

/* --- Hero: light sheen sweep + twinkling crystals --- */
.hero-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.16) 48%, rgba(255,255,255,.05) 56%, transparent 64%);
  transform: translateX(-120%);
  animation: cv-sheen 7s ease-in-out 1.4s infinite;
}
@keyframes cv-sheen {
  0%   { transform: translateX(-120%); }
  16%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.hero-frame::after { z-index: 1; }
.hero-rating { z-index: 3; }
.sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sparkles span {
  position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px;
  background: #fff;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  filter: drop-shadow(0 0 5px rgba(255,255,255,.85));
  opacity: 0; transform: translate(-50%,-50%) scale(0);
  animation: cv-twinkle 3.6s var(--d) infinite ease-in-out;
}
@keyframes cv-twinkle {
  0%, 100% { opacity: 0; transform: translate(-50%,-50%) scale(0) rotate(0deg); }
  50%      { opacity: .92; transform: translate(-50%,-50%) scale(1) rotate(45deg); }
}

/* --- Gallery: brand chips + hover gloss --- */
.gtile { cursor: zoom-in; }
.gtile img { cursor: zoom-in; }
.gtile::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.gtile:hover::before { transform: translateX(120%); }
.brand-chip {
  position: absolute; inset-inline-start: 12px; top: 12px; z-index: 3;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); background: rgba(14,13,16,.55); backdrop-filter: blur(7px);
  border: 1px solid var(--line-strong); padding: 5px 11px; border-radius: 999px;
}
[dir="rtl"] .brand-chip { letter-spacing: 0; }

/* --- Instagram / UGC auto-scroll marquee --- */
.ugc { background: var(--bg); overflow: hidden; }
.ugc-marquee {
  position: relative; margin-top: 48px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ugc-track { display: flex; gap: 20px; width: max-content; animation: cv-marquee 48s linear infinite; will-change: transform; }
.ugc-marquee:hover .ugc-track { animation-play-state: paused; }
@keyframes cv-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ugc-card {
  position: relative; flex: none; width: 232px; margin: 0; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 26px 54px -32px rgba(0,0,0,.95); cursor: zoom-in;
}
.ugc-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.ugc-card figcaption {
  position: absolute; inset-inline-start: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(14,13,16,.6); backdrop-filter: blur(7px);
  border: 1px solid var(--line-strong); padding: 5px 11px; border-radius: 999px;
}
.ig-dot { width: 13px; height: 13px; border-radius: 4px; flex: none;
  background: radial-gradient(circle at 30% 110%, #fdd870 8%, #ed4264 38%, #b73bc9 60%, #5b51d8 90%); }
@media (max-width: 560px){ .ugc-card { width: 180px; } }

/* --- Lightbox (zoom real photos) --- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 5vw;
  background: rgba(8,7,9,.93); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: cv-fade .22s ease; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); box-shadow: 0 40px 100px -30px #000; }
.lb-close {
  position: absolute; top: 18px; inset-inline-end: 18px; width: 46px; height: 46px;
  border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line-strong);
  color: var(--text); display: grid; place-items: center; transition: background .2s, transform .2s;
}
.lb-close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }
.lb-close svg { width: 22px; height: 22px; }
@keyframes cv-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   Whole-page video backdrop: fixed video + scrim behind all content.
   Section "bands" become translucent so the clip shows through, while
   cards / inputs (their own --surface backgrounds) stay opaque & legible.
   To tune: raise SCRIM alpha = darker/more readable; raise BAND alpha
   = video more hidden behind sections.
   ============================================================ */
.page-bg {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2; pointer-events: none;
}
.page-bg-scrim {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(14,13,16,.70), rgba(14,13,16,.56) 42%, rgba(14,13,16,.74));
}
/* Bands let the fixed video through (was solid var(--bg)/var(--bg-2)). */
.trust-strip, .gallery, .ugc, .order, .craft, .foot {
  background-color: rgba(14, 13, 16, 0.52);
}
.craft { overflow: hidden; }

@media (prefers-reduced-motion: reduce){
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stagger .reveal { transition-delay: 0s !important; }
  .btn-gold::after, .hero-frame::before, .sparkles span { animation: none; }
  .sparkles span { opacity: .5; transform: translate(-50%,-50%) scale(.8) rotate(45deg); }
  .ugc-track { animation: none; }
  .gtile:hover::before { transition: none; }
  .lightbox.open { animation: none; }
  .page-bg { display: none; }   /* hold on the static poster/scrim instead of a moving video */
}
