/* Cinematic light and tactile finishing in FlexGuard's original palette. */
body.premium-home .premium-hero-art .impact-hero-light,
body.premium-home .premium-hero-art .impact-hero-wordmark,
body.premium-home .premium-hero-art .impact-hero-plinth {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
body.premium-home .premium-hero-art .impact-hero-light {
  inset: -8% -5% -2%;
  overflow: hidden;
  border-radius: 50%;
}
body.premium-home .impact-hero-light::before {
  content: "";
  position: absolute;
  inset: 16% 8% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #e2c58c29 0%, #d9bd8020 24%, #6d985f20 48%, transparent 73%);
  filter: blur(14px);
  animation: impact-halo-breathe 14s ease-in-out infinite alternate;
}
body.premium-home .impact-hero-light::after {
  content: "";
  position: absolute;
  top: -16%;
  left: 39%;
  width: 38%;
  height: 128%;
  background: linear-gradient(90deg, transparent 14%, #e2c58c04 35%, #f5e5be20 49%, #f8f6ed0c 53%, transparent 73%);
  filter: blur(12px);
  transform: rotate(-18deg);
  transform-origin: 50% 22%;
  animation: impact-light-drift 18s ease-in-out infinite alternate;
}
body.premium-home .premium-hero-art .impact-hero-wordmark {
  top: 13%;
  left: 50%;
  width: 113%;
  transform: translateX(-50%);
  font: 500 clamp(58px, 6.2vw, 92px)/1 Georgia, serif;
  letter-spacing: -.06em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px #e2c58c4d;
  text-shadow: 0 0 28px #e2c58c09;
  opacity: .76;
}
body.premium-home .premium-hero-art .impact-hero-plinth {
  top: 73%;
  left: 50%;
  width: min(76%, 370px);
  height: 70px;
  border: 1px solid #e2c58c42;
  border-radius: 50%;
  background: radial-gradient(ellipse, #bda16619, #163822c7 54%, #102e2070 75%);
  box-shadow: inset 0 2px 1px #e2c58c30, 0 14px 27px #04180f55;
  transform: translateX(-50%) rotate(-4deg);
}
body.premium-home .impact-hero-plinth::before {
  content: "";
  position: absolute;
  inset: 6px 10px;
  border: 1px solid #e2c58c1a;
  border-radius: 50%;
}
body.premium-home .impact-hero-plinth::after {
  content: "";
  position: absolute;
  inset: -1px 21% 64%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, #f5e1b184, transparent);
  filter: blur(3px);
  animation: impact-plinth-light 13s ease-in-out infinite alternate;
}

/* A foil sweep marks the selected package without changing its content. */
body.premium-flow .flow-content .flow-package-card { isolation: isolate; }
body.premium-flow .flow-package-card::before,
body.premium-flow .flow-package-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
body.premium-flow .flow-package-card::before {
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--impact-light-x,82%) var(--impact-light-y,0%), #e2c58c57, transparent 57%), radial-gradient(ellipse at 0 100%, #9db18720, transparent 60%);
  opacity: 0;
  transition: opacity .55s var(--fg-ease);
}
body.premium-flow .flow-package-card.selected::before { opacity: .72; }
body.premium-flow .flow-package-card::after {
  top: -55%;
  bottom: -55%;
  left: -65%;
  width: 45%;
  background: linear-gradient(90deg, transparent, #fffefa99 50%, transparent);
  opacity: 0;
  transform: skewX(-24deg);
}
body.premium-flow .flow-package-card.selected::after { animation: impact-foil-pass 8s ease-in-out infinite; }
body.premium-flow .flow-package-card > :not(.fg-ripple) { position: relative; z-index: 1; }
body.premium-flow .flow-package-card .flow-package-cta { transition: color .25s, border-color .3s; }
body.premium-flow .flow-package-card.selected .flow-package-cta { color: #4f6537; border-color: #c7ba87; }

/* Restrained, periodic light catches on the main purchasing controls. */
body.premium-home .premium-landing .premium-button,
body.premium-home .premium-shop,
body.premium-flow .customer-navigation #next,
body.premium-flow .guide-package-primary,
body.premium-flow .flow-action-row > button,
body.premium-flow .flow-content #share-order {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body.premium-home .premium-landing .premium-button::after,
body.premium-home .premium-shop::after,
body.premium-flow .customer-navigation #next:not(:disabled)::after,
body.premium-flow .guide-package-primary::after,
body.premium-flow .flow-action-row > button::after,
body.premium-flow .flow-content #share-order:not(:disabled)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -80%;
  bottom: -80%;
  left: -70%;
  width: 42%;
  background: linear-gradient(90deg, transparent, #fffefa73 50%, transparent);
  transform: skewX(-22deg);
  opacity: 0;
  pointer-events: none;
  animation: impact-cta-light 10s ease-in-out infinite;
}
body.premium-home .premium-shop::after { animation-delay: -4s; }
body.premium-flow .customer-navigation #next::after { animation-delay: -2s; }
body.premium-home .premium-landing .premium-ingredient-card,
body.premium-home .premium-document,
body.premium-flow .flow-content .premium-document,
body.premium-flow .flow-ingredients-grid .guide-ingredient {
  transition: transform .55s var(--fg-ease), border-color .35s, box-shadow .55s var(--fg-ease);
  transform-origin: center 65%;
}
body.premium-home .premium-document-preview img,
body.premium-flow .premium-document-preview img {
  transition: transform .8s var(--fg-ease), filter .8s;
}
@media (hover: hover) and (pointer: fine) {
  body.premium-flow .flow-package-card:hover::before { opacity: .5; }
  body.premium-flow .flow-package-card.selected:hover::before { opacity: 1; }
  body.premium-home .premium-landing .premium-ingredient-card:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(2deg) rotateY(-1deg);
    border-color: #b69c66;
    box-shadow: 0 24px 40px #194b2b18, 0 1px 0 #e2c58c90 inset;
  }
  body.premium-home .premium-document:hover,
  body.premium-flow .flow-content .premium-document:hover {
    transform: perspective(1000px) translateY(-7px) rotateX(1.3deg);
    border-color: #d6b778;
    box-shadow: 0 23px 34px #071a1533, 0 1px 0 #e2c58c45 inset;
  }
  body.premium-home .premium-document:hover .premium-document-preview img,
  body.premium-flow .premium-document:hover .premium-document-preview img {
    transform: translateY(-6px) rotate(-.8deg) scale(1.015);
    filter: contrast(1.025);
  }
  body.premium-flow .flow-ingredients-grid .guide-ingredient:hover {
    transform: perspective(1000px) translateY(-5px) rotateX(1deg);
    border-color: #baab7e;
    box-shadow: 0 16px 26px #102e2010;
  }
}
@keyframes impact-halo-breathe { from { opacity: .55; transform: scale(.94); } to { opacity: .95; transform: scale(1.12); } }
@keyframes impact-light-drift { from { opacity: .48; transform: rotate(-18deg) translateX(-12px); } to { opacity: .78; transform: rotate(-10deg) translateX(16px); } }
@keyframes impact-plinth-light { from { opacity: .45; transform: translateX(-26px); } to { opacity: .9; transform: translateX(28px); } }
@keyframes impact-foil-pass {
  0%, 4% { opacity: 0; transform: skewX(-24deg) translateX(0); }
  12% { opacity: .48; }
  38% { opacity: 0; transform: skewX(-24deg) translateX(460%); }
  100% { opacity: 0; transform: skewX(-24deg) translateX(460%); }
}
@keyframes impact-cta-light {
  0%, 6% { opacity: 0; transform: skewX(-22deg) translateX(0); }
  12% { opacity: .5; }
  27% { opacity: 0; transform: skewX(-22deg) translateX(480%); }
  100% { opacity: 0; transform: skewX(-22deg) translateX(480%); }
}
@media (max-width: 1000px) {
  body.premium-home .premium-hero-art .impact-hero-wordmark { top: 16%; font-size: clamp(54px, 7.1vw, 76px); width: 116%; }
  body.premium-home .premium-hero-art .impact-hero-plinth { top: 72%; height: 57px; }
}
@media (max-width: 700px) {
  body.premium-home .premium-hero-art .impact-hero-wordmark { top: 10%; width: 105%; font-size: clamp(44px, 10.5vw, 61px); opacity: .63; }
  body.premium-home .premium-hero-art .impact-hero-light { inset: -3% -3% 0; }
  body.premium-home .impact-hero-light::before { filter: blur(9px); }
  body.premium-home .impact-hero-light::after { filter: blur(8px); width: 42%; }
  body.premium-home .premium-hero-art .impact-hero-plinth { top: 73%; width: 72%; height: 48px; }
}
@media (max-width: 360px) {
  body.premium-home .premium-hero-art .impact-hero-wordmark { font-size: 42px; width: 105%; top: 11%; }
  body.premium-home .premium-hero-art .impact-hero-plinth { top: 72%; height: 41px; }
}
@media (prefers-reduced-motion: reduce) {
  body.customer-app .impact-hero-light::before,
  body.customer-app .impact-hero-light::after,
  body.customer-app .impact-hero-plinth::after,
  body.customer-app .flow-package-card::before,
  body.customer-app .flow-package-card::after,
  body.customer-app .premium-button::after,
  body.customer-app .premium-shop::after,
  body.customer-app #next::after,
  body.customer-app .guide-package-primary::after,
  body.customer-app .flow-action-row > button::after,
  body.customer-app #share-order::after { animation: none !important; transition: none !important; }
  body.customer-app .flow-package-card::after,
  body.customer-app .premium-button::after,
  body.customer-app .premium-shop::after,
  body.customer-app #next::after,
  body.customer-app .guide-package-primary::after,
  body.customer-app .flow-action-row > button::after,
  body.customer-app #share-order::after { display: none; }
  body.premium-home .premium-landing .premium-ingredient-card:hover,
  body.premium-home .premium-document:hover,
  body.premium-flow .flow-content .premium-document:hover,
  body.premium-flow .flow-ingredients-grid .guide-ingredient:hover,
  body.premium-home .premium-document:hover .premium-document-preview img,
  body.premium-flow .premium-document:hover .premium-document-preview img { transform: none; }
}
