/* =====================================================================
   ЛУНЕЯ · FX layer — 3D · cursor · video · scroll-driven motion
   Подключается после luneya.css, дополняет, не переопределяет токены.
   ===================================================================== */

/* ----------------------------------------------------------------- *
 * F18. CONTENT / INFO PAGES (доставка, оферта, политика, уход, размеры)
 * ----------------------------------------------------------------- */
.info { max-width: 860px; margin-inline: auto; }
.info-prose { color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.info-prose > * + * { margin-top: 1.1rem; }
.info-prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--ink); margin-top: 2.4rem; }
.info-prose h3 { font-size: .95rem; letter-spacing: .04em; color: var(--ink); margin-top: 1.6rem; font-weight: 500; }
.info-prose ul { display: flex; flex-direction: column; gap: .6rem; }
.info-prose ul li { position: relative; padding-left: 1.4rem; }
.info-prose ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); font-size: .8em; top: .15em; }
.info-prose a { color: var(--gold-deep); border-bottom: 1px solid var(--line); }
.info-prose a:hover { border-color: var(--gold); }
.info-note { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .9rem; color: var(--ink-soft); }
.info-note strong { color: var(--ink); }
.info-anchor { scroll-margin-top: 120px; }

/* Quick info cards row (доставка способы и т.д.) */
.infocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.infocard { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: var(--porcelain); }
.infocard .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-content: center; color: var(--gold-deep); margin-bottom: .9rem; }
.infocard .ic svg { width: 22px; height: 22px; }
.infocard h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: .35rem; }
.infocard p { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 760px){ .infocards { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- *
 * F19. SIZE TABLE (таблица размеров колец)
 * ----------------------------------------------------------------- */
.size-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.size-table caption { text-align: left; color: var(--taupe); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.size-table th, .size-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.size-table thead th { font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.size-table tbody tr:hover { background: var(--cream); }
.size-table td:first-child { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.size-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ----------------------------------------------------------------- *
 * F20. CARE STEPS (уход за украшениями)
 * ----------------------------------------------------------------- */
.care-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.care-step { display: flex; gap: 1.1rem; align-items: flex-start; }
.care-step .num { font-family: var(--display); font-size: 1.6rem; color: var(--gold-deep); line-height: 1; flex: none; width: 2.2rem; }
.care-step h3 { font-family: var(--display); font-size: 1.25rem; margin-bottom: .3rem; }
.care-step p { font-size: .92rem; color: var(--ink-soft); line-height: 1.65; }
@media (max-width: 640px){ .care-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- *
 * F21. "ПОЧЕМУ ПОКРЫТИЕ" — coating advantages strip
 * ----------------------------------------------------------------- */
.coating { background: var(--greige); }
.coating__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); margin-top: 2.2rem; }
.coating__item { text-align: left; }
.coating__item .ic { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-content: center; color: var(--gold-deep); margin-bottom: 1rem; }
.coating__item .ic svg { width: 26px; height: 26px; }
.coating__item h3 { font-family: var(--display); font-size: 1.35rem; margin-bottom: .4rem; }
.coating__item p { color: var(--ink-soft); font-size: .92rem; line-height: 1.65; }
@media (max-width: 760px){ .coating__grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ----------------------------------------------------------------- *
 * F22. GIFT BLOCK (подарки + подарочная упаковка)
 * ----------------------------------------------------------------- */
.gift { background: var(--night); color: var(--ivory); overflow: hidden; }
.gift__grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.gift__visual {
  position: relative; aspect-ratio: 5/4; border-radius: 6px; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #3a2f20, #1b1611 70%);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  min-height: 360px;
}
.gift__box { width: 92%; max-width: 560px; height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)); }
/* sweeping sheen (continuous loop) */
.gift__visual .sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 55%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,240,205,.16) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: giftSheen 7s ease-in-out 1s infinite;
}
.gift h2 { color: #F3ECDD; }
.gift .eyebrow { color: var(--gold-light); }
.gift .eyebrow::before { background: var(--gold-light); }
.gift p { color: #C7BCAA; }
.gift ul { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.4rem; }
.gift ul li { display: flex; align-items: center; gap: .7rem; color: #E6DCCB; font-size: .95rem; }
.gift ul li svg { width: 20px; height: 20px; color: var(--gold-light); flex: none; }

/* --- "Lid opens" — continuous CSS loop, always on (no JS / scroll trigger).
       The box is fully visible by default, so it can never look empty.   --- */
.gift__box { animation: giftFloat 6s ease-in-out infinite; }
.gift__box .g-cap   { transform-box: fill-box; transform-origin: 50% 100%; animation: giftLid 5.5s ease-in-out infinite; }
.gift__box .g-glow  { opacity: 0; animation: giftGlow 5.5s ease-in-out infinite; }
.gift__box .g-spark { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; animation: giftTwinkle 3.4s ease-in-out var(--sd, 0s) infinite; }

@keyframes giftFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes giftLid {
  0%, 20%   { transform: translateY(0); }
  48%, 64%  { transform: translateY(-26px); }
  90%, 100% { transform: translateY(0); }
}
@keyframes giftGlow {
  0%, 20%   { opacity: 0; }
  48%, 64%  { opacity: .85; }
  90%, 100% { opacity: 0; }
}
@keyframes giftTwinkle { 0%, 100% { opacity: 0; transform: scale(.5); } 50% { opacity: .95; transform: scale(1); } }
@keyframes giftSheen   { 0% { transform: translateX(-130%); } 16%, 100% { transform: translateX(260%); } }

@media (max-width: 800px){
  .gift__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .gift__visual { order: -1; aspect-ratio: 4/3; min-height: 0; }
  .gift__box { width: 78%; }
}
@media (max-width: 480px){
  .gift__visual { aspect-ratio: 5/4; }
  .gift__box { width: 86%; }
}
@media (prefers-reduced-motion: reduce){
  .gift__box, .gift__box .g-cap, .gift__box .g-glow, .gift__box .g-spark, .gift__visual .sheen { animation: none !important; }
  .gift__box .g-cap { transform: none !important; }
  .gift__box .g-glow { opacity: 0 !important; }
  .gift__box .g-spark { opacity: .9 !important; transform: none !important; }
}

/* ----------------------------------------------------------------- *
 * F23. FOOTER LEGAL LINKS
 * ----------------------------------------------------------------- */
.footer__legal { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .76rem; }
.footer__legal a { color: #9A907F; }
.footer__legal a:hover { color: var(--gold-light); }

/* ----------------------------------------------------------------- *
 * F25. SOLID GOLD PRIMARY CTA (hero hierarchy)
 * ----------------------------------------------------------------- */
.btn.btn--gold-fill {
  background: var(--gold-grad); background-size: 200% 100%;
  color: #2A2520; border-color: transparent;
  box-shadow: 0 10px 30px -14px rgba(150,110,40,.7);
}
.btn.btn--gold-fill::after { background: var(--night); }
.btn.btn--gold-fill:hover { color: #FCF7EE; border-color: transparent; }

/* ----------------------------------------------------------------- *
 * F26. PDP MOBILE STICKY ADD-TO-CART
 * ----------------------------------------------------------------- */
.pdp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 1.4rem);
  padding-bottom: calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251,247,240,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(60,46,20,.4);
  transform: translateY(110%); transition: transform .4s var(--ease-out, cubic-bezier(.16,1,.3,1));
}
.pdp-sticky.show { transform: translateY(0); }
.pdp-sticky__info { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.pdp-sticky__info .nm { font-family: var(--display); font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; }
.pdp-sticky__info .pr { font-size: .9rem; color: var(--gold-deep); }
.pdp-sticky .btn { flex: 1; min-height: 48px; }
@media (max-width: 760px) { .pdp-sticky { display: flex; } }
@media (hover: none) and (pointer: coarse) { .pdp-sticky { display: flex; } }

/* ----------------------------------------------------------------- *
 * F27. FIX — inline check icon in free-shipping note must stay small
 *      (global "svg { max-width:100% }" was ballooning it in the cart)
 * ----------------------------------------------------------------- */
.drawer__note svg {
  width: 15px; height: 15px; display: inline-block;
  vertical-align: -2px; color: var(--gold-deep);
}

/* ----------------------------------------------------------------- *
 * F24. CHECKOUT CONSENT
 * ----------------------------------------------------------------- */
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--gold-deep); flex: none; }
.consent a { color: var(--gold-deep); border-bottom: 1px solid var(--line); }
.consent.invalid { color: #B5524A; }

/* ----------------------------------------------------------------- *
 * F2. MAGNETIC + 3D TILT
 * ----------------------------------------------------------------- */
.fx-magnet { transition: transform .5s var(--ease-out, cubic-bezier(.16,1,.3,1)); will-change: transform; }
.fx-tilt   { transform-style: preserve-3d; transition: transform .35s var(--ease-out, cubic-bezier(.16,1,.3,1)); will-change: transform; }
.fx-tilt-inner { transform: translateZ(40px); transition: transform .35s var(--ease-out); }

/* Soft 3D card lift */
.card.fx-tilt:hover { transform: perspective(1100px) translateY(-4px); }

/* ----------------------------------------------------------------- *
 * F3. HERO REWORK — fullscreen video + 3D canvas
 * ----------------------------------------------------------------- */
.hero { min-height: 100vh; min-height: 100svh; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  filter: brightness(.78) saturate(1.05) contrast(1.05);
  animation: heroFocus 14s var(--ease, ease-in-out) infinite alternate;
}
.hero__video.is-loaded { opacity: 1; }
.hero__video-fallback { position: absolute; inset: 0; background: linear-gradient(165deg, #3a2e1e 0%, #1f1a13 70%); z-index: 0; }

/* WebGL particle canvas overlays the video */
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  pointer-events: none; mix-blend-mode: screen; opacity: .9;
}

.hero__veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(60% 80% at 50% 110%, rgba(33,29,24,.85), rgba(33,29,24,0) 70%),
    radial-gradient(120% 90% at 80% 0%, rgba(33,29,24,.55), rgba(33,29,24,0) 60%),
    linear-gradient(180deg, rgba(33,29,24,.35) 0%, rgba(33,29,24,0) 28%, rgba(33,29,24,.15) 55%, rgba(33,29,24,.75) 100%);
}

.hero__inner { z-index: 3; }

/* Header readability over the hero from the first frame.
   The transparent over-hero header gets a soft top scrim so the light
   logo / links / icons always have contrast — even on a bright video frame
   or the pale poster — without losing the premium see-through look.
   When scrolled (.solid) this is dropped in favour of the cream bar. */
.site-header.over-hero:not(.solid)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,14,6,.62) 0%, rgba(20,14,6,.34) 45%, rgba(20,14,6,0) 100%);
}
.site-header.over-hero { position: sticky; }
/* A matching scrim band at the very top of the hero (behind the header)
   guarantees contrast for the announce + nav area regardless of media. */
.hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 200px; z-index: 2;
  background: linear-gradient(180deg, rgba(20,14,6,.55), rgba(20,14,6,0));
  pointer-events: none;
}
/* Strengthen light text on the transparent header for premium clarity */
.site-header.over-hero:not(.solid) .nav__link,
.site-header.over-hero:not(.solid) .brand__mark,
.site-header.over-hero:not(.solid) .icon-btn {
  text-shadow: 0 1px 16px rgba(15,10,2,.55);
}

/* Hero typographic upgrade — split letter reveal */
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  letter-spacing: -.02em;
  line-height: .92;
  max-width: none;
  text-shadow: 0 4px 60px rgba(20,12,2,.55);
}
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .char {
  display: inline-block; transform: translateY(110%) rotate(8deg);
  transition: transform 1.1s var(--ease-out, cubic-bezier(.16,1,.3,1));
  transition-delay: var(--d, 0s);
}
.hero.ready h1 .char { transform: translateY(0) rotate(0); }

.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 38ch; }

.hero__cta .btn { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Mute / unmute toggle bottom-right of hero */
.hero__sound {
  position: absolute; right: clamp(1.2rem, 3vw, 2.4rem); bottom: clamp(1.4rem, 4vw, 2.6rem); z-index: 4;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28);
  color: #FCF7EE; display: grid; place-content: center;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, transform .3s;
}
.hero__sound:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); transform: scale(1.06); }
.hero__sound svg { width: 22px; height: 22px; }
.hero__sound .on, .hero__sound .off { display: none; }
.hero__sound.muted .off { display: block; }
.hero__sound:not(.muted) .on { display: block; }

/* Hero corner label (NEZHUR-style) */
.hero__corner {
  position: absolute; left: clamp(1.2rem, 3vw, 2.4rem); top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; z-index: 4;
  font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; color: rgba(252,247,238,.7);
  white-space: nowrap; pointer-events: none;
}
@media (max-width: 760px){ .hero__corner { display: none; } }

/* ----------------------------------------------------------------- *
 * F4. EDITORIAL DIPTYCH (uses real portraits)
 * ----------------------------------------------------------------- */
.editorial {
  position: relative; background: var(--ivory);
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.editorial__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3vw, 3rem);
  align-items: stretch;
}
.editorial__col { position: relative; }
/* The tall right column fills its (stretched) height so there is never an
   empty gap below the image — the diptych stays visually balanced. */
.editorial__col.is-tall { display: flex; flex-direction: column; padding-top: clamp(1.2rem, 3vw, 2.4rem); }
.editorial__col.is-tall .editorial__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 460px; }
.editorial__media {
  position: relative; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/5; background: var(--sand);
}
.editorial__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 2s var(--ease-out, cubic-bezier(.16,1,.3,1));
}
.editorial__media.is-in img { transform: scale(1); }
.editorial__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,15,8,.45) 100%);
  pointer-events: none;
}
.editorial__media.is-square { aspect-ratio: 1; }

.editorial__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.6rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: #FCF7EE; z-index: 2;
}
.editorial__cap .num { font-family: var(--display); font-size: 2rem; line-height: 1; opacity: .85; }
.editorial__cap .lbl { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; }

.editorial__lead {
  display: flex; flex-direction: column; gap: 1.2rem; padding-block: 1rem; max-width: 36ch;
}
.editorial__lead h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; }
.editorial__lead p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }

@media (max-width: 800px) {
  .editorial__grid { grid-template-columns: 1fr; }
  .editorial__col.is-tall { padding-top: 0; }
}

/* Origin tag on the story image (Почему ЛУНЕЯ) */
.feature__media { position: relative; }
.feature__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
  color: #FCF7EE; background: rgba(20,14,6,.42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  padding: .42rem .8rem; border-radius: 999px;
}

/* ----------------------------------------------------------------- *
 * F5. SHOWREEL — fullbleed product video block
 * ----------------------------------------------------------------- */
.showreel {
  position: relative; background: var(--night); color: var(--ivory);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.showreel__frame {
  position: relative; max-width: 1380px; margin-inline: auto;
  padding-inline: var(--gutter);
}
.showreel__media {
  position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px;
  background: #0E0B07; box-shadow: 0 40px 120px -40px rgba(0,0,0,.7);
}
.showreel__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.showreel__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,11,7,.0) 60%, rgba(14,11,7,.55) 100%);
}
.showreel__caption {
  position: absolute; left: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.5rem, 4vw, 2.5rem); z-index: 2; max-width: 32ch;
}
.showreel__caption .eyebrow { color: var(--gold-light); }
.showreel__caption .eyebrow::before { background: var(--gold-light); }
.showreel__caption h2 { color: #FCF7EE; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-top: .8rem; line-height: 1.1; }
.showreel__caption p { color: rgba(245,237,221,.85); margin-top: .8rem; font-size: .95rem; max-width: 30ch; }

.showreel__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.showreel__head h3 { color: #F3ECDD; font-size: clamp(1.3rem, 2.4vw, 1.9rem); max-width: 26ch; }
.showreel__head .lbl { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); flex: none; }

/* Bestsellers video block (lives inside cream section) */
.bestreel { border: 1px solid var(--gold-pale); box-shadow: 0 34px 90px -46px rgba(60,46,20,.55); }
.bestreel video { transform: scale(1.01); }
@media (max-width: 600px) { .bestreel.showreel__media { aspect-ratio: 3/4; } }

/* ----------------------------------------------------------------- *
 * F6. TILT HAND CARD — hand-jewelry hero block
 * ----------------------------------------------------------------- */
.handframe {
  position: relative; background: var(--cream); padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.handframe__bgword {
  position: absolute; left: 50%; top: 12%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 400; line-height: .8;
  font-size: clamp(6rem, 22vw, 22rem); color: rgba(135,99,38,.07);
  letter-spacing: .02em; pointer-events: none; user-select: none; white-space: nowrap;
}
.handframe__grid {
  position: relative; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 2rem; align-items: center;
}
.handframe__copy { padding-block: 1rem; }
.handframe__copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
.handframe__copy p { color: var(--ink-soft); margin-top: 1rem; }
.handframe__copy.left { text-align: right; max-width: 28ch; margin-left: auto; }
.handframe__copy.right { text-align: left; max-width: 28ch; }

.handframe__photo {
  position: relative; aspect-ratio: 4/3; border-radius: 6px; overflow: hidden;
  background: var(--sand); box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
  transition: transform .5s var(--ease-out, cubic-bezier(.16,1,.3,1));
}
.handframe__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.handframe__shine {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,243,210,.42), transparent 60%);
  transition: opacity .35s var(--ease);
  mix-blend-mode: screen;
}
.handframe__photo:hover .handframe__shine { opacity: 1; }

@media (max-width: 900px) {
  .handframe__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .handframe__copy.left, .handframe__copy.right { text-align: left; max-width: 100%; }
}

/* ----------------------------------------------------------------- *
 * F7. STICKY MARQUEE WORDMARK (NEZHUR vibe)
 * ----------------------------------------------------------------- */
.bigmark {
  position: relative; padding-block: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ivory); overflow: hidden;
}
.bigmark__row {
  display: flex; gap: 3rem; width: max-content;
  animation: bigmarkRun 38s linear infinite;
}
.bigmark__word {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(4rem, 18vw, 14rem); line-height: .85; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px var(--ink);
}
.bigmark__word.fill {
  color: var(--ink); -webkit-text-stroke: 0;
}
.bigmark__word.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
}
@keyframes bigmarkRun { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- *
 * F8. ENHANCED SCROLL REVEALS
 * ----------------------------------------------------------------- */
[data-fx="rise"]   { opacity: 0; transform: translateY(60px); transition: opacity 1.1s var(--ease-out, cubic-bezier(.16,1,.3,1)), transform 1.1s var(--ease-out); }
[data-fx="rise"].in{ opacity: 1; transform: none; }

[data-fx="mask"]  { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease-out, cubic-bezier(.16,1,.3,1)); }
[data-fx="mask"].in{ clip-path: inset(0 0 0 0); }

[data-fx="mask-up"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out, cubic-bezier(.16,1,.3,1)); }
[data-fx="mask-up"].in{ clip-path: inset(0 0 0 0); }

[data-fx="zoom"] { transform: scale(1.1); opacity: 0; transition: transform 1.6s var(--ease-out), opacity .9s; }
[data-fx="zoom"].in { transform: scale(1); opacity: 1; }

[data-fx="split"] { display: inline-block; }
[data-fx="split"] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .15em; margin-bottom: -.15em; }
[data-fx="split"] .char { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out, cubic-bezier(.16,1,.3,1)); transition-delay: var(--d, 0s); }
[data-fx="split"].in .char { transform: translateY(0); }

/* ----------------------------------------------------------------- *
 * F9. PARALLAX HOLDER
 * ----------------------------------------------------------------- */
.fx-parallax { will-change: transform; }

/* ----------------------------------------------------------------- *
 * F10. PRODUCT CARD UPGRADES — 3D tilt feel
 * ----------------------------------------------------------------- */
.card .card__media { transform-style: preserve-3d; }
.card .card__media::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(360px circle at var(--mx, -100px) var(--my, -100px), rgba(255,238,196,.32), transparent 55%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none; mix-blend-mode: screen;
}
.card:hover .card__media::before { opacity: 1; }

/* ----------------------------------------------------------------- *
 * F11. SCROLL PROGRESS
 * ----------------------------------------------------------------- */
.fx-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-deep));
  z-index: 100; pointer-events: none; transition: width .12s linear;
}

/* ----------------------------------------------------------------- *
 * F12. LOADER (logo bloom)
 * ----------------------------------------------------------------- */
.fx-loader {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--night); display: grid; place-content: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.fx-loader.gone { opacity: 0; visibility: hidden; }
.fx-loader__mk {
  font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: .42em; color: var(--gold-light);
  display: flex; gap: .15em;
}
.fx-loader__mk span {
  display: inline-block; opacity: 0; transform: translateY(18px);
  animation: ldrIn .8s var(--ease-out) forwards;
}
.fx-loader__mk span:nth-child(1) { animation-delay: .05s; }
.fx-loader__mk span:nth-child(2) { animation-delay: .15s; }
.fx-loader__mk span:nth-child(3) { animation-delay: .25s; }
.fx-loader__mk span:nth-child(4) { animation-delay: .35s; }
.fx-loader__mk span:nth-child(5) { animation-delay: .45s; }
.fx-loader__bar {
  width: clamp(180px, 24vw, 280px); height: 1px; margin: 1.4rem auto 0;
  background: rgba(217,196,154,.25); position: relative; overflow: hidden;
}
.fx-loader__bar::after {
  content: ""; position: absolute; inset: 0; width: 30%;
  background: var(--gold-light);
  animation: ldrBar 1.4s var(--ease) infinite;
}
@keyframes ldrIn { to { opacity: 1; transform: none; } }
@keyframes ldrBar { 0% { transform: translateX(-100%);} 100% { transform: translateX(380%);} }

/* ----------------------------------------------------------------- *
 * F13. KEYFRAMES
 * ----------------------------------------------------------------- */
@keyframes heroFocus { from { transform: scale(1.03); } to { transform: scale(1.1); } }

/* ----------------------------------------------------------------- *
 * F14. REDUCED MOTION OVERRIDES
 * ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none !important; }
  .bigmark__row { animation: none !important; }
  [data-fx] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-fx="split"] .char { transform: none !important; }
  .hero h1 .char { transform: none !important; }
  .fx-loader { display: none !important; }
}

/* ----------------------------------------------------------------- *
 * F15. SMALL POLISH
 * ----------------------------------------------------------------- */
/* Make announce match warmer header */
.announce { font-size: .68rem; }
/* Gentle hero scroll hint over video */
.hero__scroll .line::after { background: var(--gold-light); }
/* Improve image renders in editorial */
.editorial__media img, .handframe__photo img, .showreel__media video { backface-visibility: hidden; }

/* ----------------------------------------------------------------- *
 * F16. MOBILE REFINEMENT — premium, organised, no overflow
 *      Keeps desktop intact; tunes the reworked FX sections.
 * ----------------------------------------------------------------- */
@media (max-width: 760px) {
  /* Global safety: never allow a stray child to push the page wide */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* ---- HERO ---- */
  .hero { min-height: 90svh; align-items: flex-end; }
  .hero__inner { padding-block: clamp(2rem, 9vw, 3.4rem); }
  .hero h1 { font-size: clamp(2.55rem, 12.5vw, 3.4rem); line-height: .98; letter-spacing: -.018em; }
  .hero__lead { font-size: 1rem; line-height: 1.6; max-width: 34ch; }
  .hero .eyebrow { font-size: .66rem; letter-spacing: .26em; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: .7rem; width: 100%; margin-top: 1rem; }
  .hero__cta .btn { width: 100%; }
  .hero__scroll { display: none; }
  /* slightly stronger bottom veil so white text always reads on video */
  .hero__veil { background:
      radial-gradient(70% 60% at 50% 112%, rgba(33,29,24,.92), rgba(33,29,24,0) 72%),
      linear-gradient(180deg, rgba(33,29,24,.42) 0%, rgba(33,29,24,0) 30%, rgba(33,29,24,.2) 55%, rgba(33,29,24,.82) 100%); }

  /* ---- BIG MARK MARQUEE ---- */
  .bigmark { padding-block: clamp(1.6rem, 7vw, 2.4rem); }
  .bigmark__word { font-size: clamp(3rem, 19vw, 5rem); }
  .bigmark__row { gap: 1.6rem; }

  /* ---- EDITORIAL DIPTYCH ---- */
  .editorial { padding-block: clamp(2.6rem, 9vw, 4rem); }
  .editorial__grid { gap: 1.4rem; }
  .editorial__lead { padding-block: 0; gap: .9rem; max-width: none; }
  .editorial__lead h2 { font-size: clamp(1.8rem, 8.5vw, 2.4rem); }
  .editorial__lead p { font-size: .98rem; }
  .editorial__col.is-tall { padding-top: 0; display: block; }
  .editorial__col.is-tall .editorial__media { aspect-ratio: 4/5; min-height: 0; flex: none; }
  .editorial__media.is-square { margin-top: 1.2rem !important; }
  .editorial__cap { padding: 1rem 1.1rem; }
  .editorial__cap .num { font-size: 1.6rem; }
  .editorial__cap .lbl { font-size: .62rem; letter-spacing: .2em; }

  /* ---- BESTSELLERS VIDEO BLOCK ---- */
  .showreel__caption { left: 1.1rem; right: 1.1rem; bottom: 1.1rem; max-width: none; }
  .showreel__caption .eyebrow { font-size: .62rem; letter-spacing: .22em; }
  .showreel__caption h2 { font-size: 1.32rem; line-height: 1.18; margin-top: .55rem; }
  .showreel__caption p { font-size: .85rem; margin-top: .5rem; max-width: 30ch; }

  /* ---- HAND FRAME (3D tilt block) ---- */
  .handframe { padding-block: clamp(2.8rem, 10vw, 4.5rem); }
  .handframe__grid { gap: 1.2rem; }
  .handframe__copy.left, .handframe__copy.right { text-align: center; max-width: 30ch; margin-inline: auto; }
  .handframe__copy h2 { font-size: clamp(1.6rem, 7.5vw, 2.1rem); }
  .handframe__photo { aspect-ratio: 4/5; }
  .handframe__bgword { font-size: clamp(5rem, 34vw, 9rem); top: 5%; }

  /* ---- STORY FEATURE ---- */
  .feature__media .stamp { width: 96px; bottom: -18px; right: 0; }
  .feature__media .stamp .n { font-size: 1.6rem; }

  /* ---- SECTION RHYTHM (a touch tighter, still airy) ---- */
  .section { padding-block: clamp(3rem, 11vw, 4.5rem); }
  .ghost-heading { font-size: clamp(3rem, 22vw, 6rem); }
  .brand-band__word { font-size: clamp(3.4rem, 30vw, 9rem); }
}

@media (max-width: 430px) {
  .hero h1 { font-size: clamp(2.25rem, 12vw, 2.8rem); }
  .hero__lead { font-size: .96rem; }
  .editorial__lead h2 { font-size: clamp(1.65rem, 9vw, 2.1rem); }
  .showreel__caption h2 { font-size: 1.18rem; }
  /* 2-up product/category grids stay 2-up but tighten gutters */
  .grid { gap: .9rem; }
  .card__name { font-size: 1.12rem; }
}

/* Larger phones / small tablets — keep two columns crisp */
@media (min-width: 540px) and (max-width: 760px) {
  .hero__cta { flex-direction: row; }
  .hero__cta .btn { width: auto; flex: 1; }
}
