/*
 * VICEGRIP — original immersive hero handoff, Nov 17 2026.
 * Historical reference: the approved full-screen cinematic hero with a
 * long lavender/plum feather and the unobtrusive downward chevron.
 * Do NOT alter video sources, carousels, marketing copy, checkout, or scrolling.
 *
 * CURRENT DOM: .hero -> .boutique-home .boutique-shop-scene#collection
 * Older .edition-intro / .vg-opening transition is no longer on this route.
 * Give both actual sections exactly the same interface color at their seam.
 */
body.boutique-front[data-vg-showcase-editorial="night-dawn"] {
  --vg-cinema-seam: #4a2a66;
  --vg-cinema-night: #21172e;
}

/* The film remains edge-to-edge; only a transparent cinematic overlay changes. */
body.boutique-front .hero {
  isolation: isolate;
  background-color: #25172f;
}
body.boutique-front .hero .hero-shade,
body.boutique-front .hero.vg-cover-ready .hero-shade {
  background:
    linear-gradient(90deg,
      rgba(24,15,34,.49) 0%,
      rgba(31,17,40,.32) 42%,
      rgba(35,19,42,.13) 74%,
      rgba(35,19,42,.05) 100%),
    linear-gradient(180deg,
      rgba(25,15,37,.15) 0%,
      rgba(25,15,37,.08) 37%,
      rgba(49,24,66,.21) 62%,
      rgba(70,37,94,.45) 88%,
      rgba(74,42,102,.56) 100%) !important;
}

/* The old long feather was lost on narrow screens because an obsolete mobile
 * override hid .hero::before. Restore it BEHIND content, not over CTA or text. */
body.boutique-front .hero::before,
body.boutique-front .hero.vg-cover-ready::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  top: auto;
  height: clamp(300px, 46svh, 660px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(74,42,102,0) 0%,
    rgba(108,57,136,.075) 17%,
    rgba(115,61,147,.22) 36%,
    rgba(105,55,139,.46) 57%,
    rgba(91,47,126,.74) 77%,
    rgba(74,42,102,.96) 94%,
    var(--vg-cinema-seam) 100%) !important;
  transform: none !important;
  will-change: auto;
}
body.boutique-front .hero .hero-content {
  position: relative;
  z-index: 3;
}
/* The native cue is an actual anchor, still scrolls to #collection, never fake. */
body.boutique-front .hero .scroll-cue {
  z-index: 25 !important;
  width: 58px !important;
  height: 52px !important;
  min-width: 58px !important;
  min-height: 52px !important;
  color: #e9d2ee !important;
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
}
body.boutique-front .hero .scroll-cue svg {
  width: 34px !important;
  height: 14px !important;
  opacity: .96;
  filter: drop-shadow(0 2px 7px rgba(18,10,29,.42)) !important;
  transform-origin: center;
}
body.boutique-front .hero .scroll-cue:hover svg {
  opacity: 1;
}
body.boutique-front .hero .scroll-cue:focus-visible {
  outline: 2px solid #ffe0f4;
  outline-offset: 1px;
  border-radius: 16px;
}

/* Genuine continuous join: the FIRST pixel of the following boutique is
 * the LAST pixel of the hero, then purple gently recedes into night. */
body.boutique-front .boutique-home {
  background-color: var(--vg-cinema-night);
}
body.boutique-front .boutique-shop-scene {
  background-color: var(--vg-cinema-night);
  background-image:
    linear-gradient(180deg,
      #4a2a66 0%,
      #482962 12%,
      rgba(67,39,91,.94) 27%,
      rgba(49,31,70,.66) 55%,
      rgba(33,23,46,0) 100%),
    radial-gradient(90% 60% at 50% 0%,
      rgba(162,92,166,.18) 0%,
      rgba(115,66,147,.08) 46%,
      transparent 80%),
    linear-gradient(180deg,
      #302043 0%,
      #25182f 55%,
      #1b1426 100%);
  background-size:
    100% clamp(330px, 50svh, 600px),
    100% 100%,
    100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
  border-top: 0 !important;
}
/* Preserve the distant skyline when present, but never paint an opaque
 * charcoal band through the now-matched violet transition. */
body.boutique-front .boutique-shop-skyline::after {
  background:
    linear-gradient(180deg,
      rgba(74,42,102,.08) 0%,
      rgba(51,32,74,.16) 33%,
      rgba(33,23,46,.54) 72%,
      #1b1426 100%),
    linear-gradient(90deg, rgba(32,19,46,.20), transparent 72%);
}
/* Content sits above the background blend, nothing intercepts taps/swipes. */
body.boutique-front .boutique-shop-scene .boutique-catalog {
  position: relative;
  z-index: 1;
}

/* Desktop keeps its full cinematic frame too; the large scroll marker is
 * primarily visible and useful on phone/iPad. */
@media (min-width: 768px) {
  body.boutique-front .hero::before,
  body.boutique-front .hero.vg-cover-ready::before {
    height: clamp(280px, 42vh, 560px);
  }
  body.boutique-front .hero .scroll-cue svg { width: 32px !important; }
}
@media (max-width: 767px) {
  body.boutique-front .hero::before,
  body.boutique-front .hero.vg-cover-ready::before {
    height: clamp(320px, 53svh, 590px);
  }
  /* Respect mobile Safari's retractable toolbar and the real safe area. */
  @supports (height: 1lvh) {
    body.boutique-front .hero .scroll-cue {
      bottom: calc(max(26px, env(safe-area-inset-bottom, 0px)) + 100lvh - 100svh) !important;
    }
  }
}
@keyframes vg-immersive-cue-bob {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,5px,0); }
}
@media (prefers-reduced-motion: no-preference) {
  body.boutique-front .hero .scroll-cue[data-cue-visible] svg {
    animation: vg-immersive-cue-bob 4.4s ease-in-out infinite !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.boutique-front .hero .scroll-cue svg { animation: none !important; }
  body.boutique-front .hero::before { transition: none !important; }
}
@media (forced-colors: active) {
  body.boutique-front .hero .scroll-cue { color: LinkText !important; }
}


/* ACTUAL scroll response (not a static gradient): grow the lavender curtain
   progressively while the user swipes upward. Remains below all hero copy. */
body.boutique-front .hero::after {
  content:"";
  display:block !important;
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  bottom:-1px;
  top:auto;
  height:clamp(300px,55svh,710px);
  pointer-events:none;
  background:linear-gradient(180deg,
    rgba(74,42,102,0) 0%,
    rgba(106,57,139,.05) 17%,
    rgba(104,52,141,.28) 36%,
    rgba(99,49,133,.64) 61%,
    rgba(81,43,113,.91) 81%,
    var(--vg-cinema-seam) 100%);
  opacity:var(--vg-cinema-progress,0);
  transform:translate3d(0,var(--vg-cinema-shift,0px),0);
  will-change:opacity;
}
body.boutique-front .hero .hero-content { z-index:4; }

/* A translucent foreground curtain rises from the NEXT section over the
   existing moving image. This is what makes the page feel like ONE scene,
   unlike two independently painted backgrounds meeting edge to edge. */
body.boutique-front .boutique-home::before {
  content:"";
  display:block;
  position:absolute;
  z-index:2;
  left:0;
  right:0;
  top:calc(-1 * var(--vg-cinema-bridge));
  height:var(--vg-cinema-bridge);
  pointer-events:none;
  background:linear-gradient(180deg,
    rgba(74,42,102,0) 0%,
    rgba(84,45,118,.07) 14%,
    rgba(91,49,126,.22) 35%,
    rgba(86,45,120,.55) 61%,
    rgba(78,42,110,.82) 83%,
    var(--vg-cinema-seam) 100%);
  opacity:var(--vg-cinema-bridge-opacity,.78);
  transform:translate3d(0,var(--vg-cinema-bridge-offset,10px),0);
  will-change:opacity,transform;
}
body.boutique-front { --vg-cinema-bridge:clamp(176px,29svh,340px); }
@media(max-width:767px){
  body.boutique-front { --vg-cinema-bridge:clamp(195px,34svh,350px); }
  body.boutique-front .hero::after { height:clamp(330px,61svh,680px); }
}
@media(prefers-reduced-motion:reduce){
  body.boutique-front .hero::after { opacity:0 !important;transform:none !important;will-change:auto; }
  body.boutique-front .boutique-home::before{opacity:1 !important;transform:none !important;will-change:auto;}
}


/* iPHONE VIEWPORT FINISH — original full-screen home with no shop teaser
 * visible below Safari's bottom address bar on initial arrival.
 * Extend ONLY the hero's minimum height. Its title and CTA keep their existing
 * position; no fixed page heights, no JS resize loop or native-scroll lock.
 * The chevron gets an equal counter-offset, so it remains where it was in
 * the approved screenshot instead of sinking beneath Safari's toolbar.
 *
 * Reserve 82–106 CSS px beyond the large viewport; Safari's toolbar can move
 * independently but the cover never reveals next section at scrollY=0.
 */
@media (max-width:767px) {
  body.boutique-front {
    --vg-hero-mobile-runway:clamp(82px,9svh,106px);
  }
  body.boutique-front .hero {
    height:auto !important;
    min-height:calc(100svh + var(--vg-hero-mobile-runway)) !important;
  }
  body.boutique-front .hero .scroll-cue {
    bottom:calc(max(26px,env(safe-area-inset-bottom,0px)) + var(--vg-hero-mobile-runway)) !important;
  }
  @supports (height:1lvh) {
    body.boutique-front .hero {
      min-height:calc(100lvh + var(--vg-hero-mobile-runway)) !important;
    }
    body.boutique-front .hero .scroll-cue {
      bottom:calc(max(26px,env(safe-area-inset-bottom,0px)) + 100lvh - 100svh + var(--vg-hero-mobile-runway)) !important;
    }
  }
}
/* A short landscape viewport should scroll naturally; do not force an
 * oversized hero when the available vertical space is restricted. */
@media (max-width:1000px) and (orientation:landscape) and (max-height:500px) {
  body.boutique-front .hero {
    min-height:100svh !important;
  }
  @supports (height:1lvh) {
    body.boutique-front .hero { min-height:100lvh !important; }
  }
  body.boutique-front .hero .scroll-cue {
    bottom:max(18px,env(safe-area-inset-bottom,0px)) !important;
  }
}


/* THE ORIGINAL ROCKSTAR CHEVRON, pixel calibrated against the supplied
   707×1536 iPhone screenshots and official saved HTML.
   Rockstar arrow: the exact same 34×14 SVG that Vice Grip already contains.
   No duplicate arrow, no layout-changing floating button. Its centre sits
   24 CSS px above the *actual visible Safari viewport bottom*, with
   a full 44px interactive area above the toolbar.
   The existing #collection anchor and reveal choreography are retained. */
@media (max-width:767px) and (orientation:portrait) {
  body.boutique-front .hero .scroll-cue {
    position:absolute !important;
    top:var(--vg-cue-top,auto) !important;
    bottom:auto !important;
    left:50% !important;
    right:auto !important;
    z-index:50 !important;
    width:52px !important;
    height:44px !important;
    min-width:52px !important;
    min-height:44px !important;
    display:grid !important;
    place-items:center !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    background:transparent !important;
    color:#ffb7d1 !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateX(-50%) !important;
    transition:opacity .34s ease,visibility .34s ease !important;
  }
  body.boutique-front .hero .scroll-cue[data-vg-rockstar-visible="1"] {
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateX(-50%) !important;
  }
  body.boutique-front .hero .scroll-cue svg {
    width:34px !important;
    height:14px !important;
    flex:none !important;
    opacity:1 !important;
    filter:
      drop-shadow(0 0 3px rgba(255,173,204,.74))
      drop-shadow(0 0 11px rgba(244,121,181,.29)) !important;
  }
  body.boutique-front .hero .scroll-cue[data-vg-rockstar-visible="1"] svg {
    animation:vg-immersive-cue-bob 4.4s ease-in-out infinite !important;
  }
  /* The price-to-action spacing was just a little tight in the Vice Grip
     screenshot. +7px keeps the button visually anchored below the price
     without pushing the entire film/title down or changing the CTA itself. */
  body.boutique-front .hero .hero-content .hero-actions {
    margin-top:23px !important;
  }
}
@media (max-width:767px) and (orientation:portrait) and (prefers-reduced-motion:reduce) {
  body.boutique-front .hero .scroll-cue svg,
  body.boutique-front .hero .scroll-cue[data-vg-rockstar-visible="1"] svg {
    animation:none !important;
    transform:none !important;
  }
  body.boutique-front .hero .scroll-cue {transition:none !important}
}


/* vg-hero-cta-finish — satin rose, one premium CTA, no redundant link.
   Direct visual reference: the original Rockstar single-action opening.
   Keep the existing pink/purple hero, video, text and scroll chevron intact.
   Only the home hero's buying action is styled. */
body.boutique-front .hero .hero-content .vg-hero-single-action {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  gap:0;
  margin-top:28px!important;
}
body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary {
  color:#2c1d31!important;
  -webkit-text-fill-color:#2c1d31!important;
  background:linear-gradient(110deg,
    #f3c1d8 0%,#efb7d1 31%,#e7a9c7 68%,#dea0c2 100%)!important;
  border:1px solid rgba(255,235,247,.63)!important;
  border-radius:999px!important;
  box-shadow:
    0 9px 26px rgba(32,12,37,.18),
    inset 0 1px 0 rgba(255,255,255,.46),
    inset 0 -1px 0 rgba(91,35,77,.08)!important;
  min-height:56px;
  padding:14px 24px;
  font-family:Inter,Arial,sans-serif;
  font-size:clamp(.93rem,2.7vw,1rem)!important;
  font-weight:750;
  line-height:1.3;
  letter-spacing:-.014em;
  text-transform:none!important;
  text-shadow:none!important;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease!important;
}
@media(hover:hover){
  body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary:hover {
    filter:brightness(1.055);
    transform:translateY(-1px);
    box-shadow:
      0 13px 30px rgba(32,12,37,.22),
      inset 0 1px 0 rgba(255,255,255,.60)!important;
  }
}
body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary:active {
  transform:scale(.992);
  filter:brightness(.99);
}
body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary:focus-visible {
  outline:2px solid #fff1fb!important;
  outline-offset:4px!important;
}
@media(max-width:767px){
  body.boutique-front .hero .hero-content .vg-hero-single-action {
    margin-top:28px!important;
    width:100%;
  }
  body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary {
    width:100%;
    min-height:56px;
  }
}
@media(min-width:768px){
  body.boutique-front .hero .hero-content .vg-hero-single-action {
    display:flex;
    align-items:flex-start;
  }
  body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary {
    min-width:280px;
    max-width:360px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary {
    transition:none!important;
    transform:none!important;
  }
}


/* vg-hero-geometry-final — midpoint polish (about 171 raster px of CTA-to-cue clearance).
 * +16 CSS px on the full content and -17 CSS px on the cue relative to the preceding screenshot.
 * Total ≈60 fewer raster pixels of empty space, without resizing the CTA or changing the film.
 * geometric balance based on supplied 707×1536
 * iPhone screenshot. The 629px-wide / 88px-tall satin CTA is already right:
 * preserve its dimensions, corner radius, horizontal margins and palette.
 *
 * Eyebrow and CTA move together by only ~29 raster px on a 440-CSS-px
 * phone, balancing top whitespace against the arrow gap. This is a VISUAL
 * relative shift: it does not grow the hero or change video/section timing.
 * Arrow is independently pinned to the Safari visual viewport via JS.
 */
@media (max-width:767px) and (orientation:portrait) {
  body.boutique-front .hero .hero-content {
    position:relative;
    top:calc(clamp(0px,2svh,18px) + 16px);
  }
  /* Retain one polished, full-width single action. */
  body.boutique-front .hero .hero-content .vg-hero-single-action {
    width:100%;
  }
  body.boutique-front .hero .hero-content .vg-hero-single-action > .button.button-primary {
    width:100%;
    min-height:56px;
    line-height:1.3;
  }
}
@media(max-width:767px) and (orientation:portrait) and (max-height:720px){
  /* Short iPhones / landscape-like browser windows must not compress CTA
     against the chevron or expose the next section prematurely. */
  body.boutique-front .hero .hero-content { top:0; }
}


/* Chromatic harmony 2026-11-18 — original cinema video, proportions and
   section join remain unchanged. Coordinate lavender/blush banner, single
   satin-pink CTA and the moving film with a minimal cool-mauve color veil. */
body.boutique-front .hero .hero-shade,
body.boutique-front .hero.vg-cover-ready .hero-shade {
  background:
    linear-gradient(90deg,
      rgba(30,18,41,.53) 0%,
      rgba(34,19,45,.31) 42%,
      rgba(36,20,48,.12) 74%,
      rgba(36,20,48,.05) 100%),
    linear-gradient(180deg,
      rgba(74,41,91,.15) 0%,
      rgba(57,30,71,.07) 37%,
      rgba(53,28,72,.23) 62%,
      rgba(69,37,93,.45) 88%,
      rgba(74,42,102,.58) 100%) !important;
}
body.boutique-front .hero .hero-title-edition {color:#f0bbd3;}
@media(max-width:767px) and (orientation:portrait) {
  body.boutique-front .hero .scroll-cue[data-vg-rockstar-visible="1"] {
    color:#f0bbd3 !important;
  }
  body.boutique-front .hero .scroll-cue[data-vg-rockstar-visible="1"] svg {
    filter:
      drop-shadow(0 0 3px rgba(240,187,211,.52))
      drop-shadow(0 0 9px rgba(227,151,195,.18)) !important;
  }
}
@media(forced-colors:active){
  body.boutique-front .hero .hero-title-edition {color:CanvasText;}
}

/* Vice Grip / Hero retail detail — replace ONLY the existing long price
   underline with three quiet editorial strokes. The border remains 1px
   transparent to preserve the exact vertical geometry and CTA position.
   Static separator, not fake carousel pagination. */
body.boutique-front .hero .hero-content .hero-commerce.hero-offer {
  position: relative;
  border-bottom-color: transparent !important;
}
body.boutique-front .hero .hero-content .hero-commerce.hero-offer::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 92px;
  height: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    linear-gradient(rgba(255,237,249,.55),rgba(255,237,249,.55)) left center / 22px 2px no-repeat,
    linear-gradient(rgba(255,238,251,.88),rgba(255,238,251,.88)) center center / 28px 2px no-repeat,
    linear-gradient(rgba(255,237,249,.55),rgba(255,237,249,.55)) right center / 22px 2px no-repeat;
  filter: drop-shadow(0 1px 2px rgba(27,14,34,.2));
}
@media(forced-colors:active){
  body.boutique-front .hero .hero-content .hero-commerce.hero-offer::after {
    background:
      linear-gradient(CanvasText,CanvasText) left center / 22px 2px no-repeat,
      linear-gradient(CanvasText,CanvasText) center center / 28px 2px no-repeat,
      linear-gradient(CanvasText,CanvasText) right center / 22px 2px no-repeat;
    filter: none;
  }
}
