/* ==========================================================================
   Aspect Peptides - Black Friday header bar (.bfbar) + homepage banner (.bfh)
   Self-contained: every rule is namespaced, tokens fall back to the site's
   own custom properties (--font-sans, --font-mono, --accent) when present.
   ========================================================================== */

.bfbar, .bfh {
  --bf-black: #020409;
  --bf-ink: #f2f6fc;
  --bf-ink-2: rgba(226, 236, 250, .80);
  --bf-ink-3: rgba(226, 236, 250, .60);
  --bf-blue: var(--accent, #106cd9);
  --bf-blue-2: #46a3ff;
  --bf-sky: #8cc0ff;
  --bf-ice: #dff0ff;
  --bf-line: rgba(140, 192, 255, .16);
  --bf-line-2: rgba(140, 192, 255, .30);
  --bf-sans: var(--font-sans, "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --bf-mono: var(--font-mono, "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace);
  --bf-out: cubic-bezier(.22, 1, .36, 1);
  box-sizing: border-box;
}
.bfbar *, .bfbar *::before, .bfbar *::after,
.bfh *, .bfh *::before, .bfh *::after { box-sizing: border-box; }

/* ==========================================================================
   1) HEADER BAR
   ========================================================================== */
.bfbar {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(60% 260% at 50% 150%, rgba(16, 108, 217, .50) 0%, rgba(16, 108, 217, 0) 62%),
    linear-gradient(90deg, #020409 0%, #050c1a 26%, #081a36 50%, #050c1a 74%, #020409 100%);
}
/* hairline: brightest under the offer */
.bfbar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, rgba(140, 192, 255, 0) 4%, rgba(140, 192, 255, .32) 30%, #cfe6ff 50%, rgba(140, 192, 255, .32) 70%, rgba(140, 192, 255, 0) 96%);
}
/* slow light sweep across the bar */
.bfbar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(140, 192, 255, 0) 0%, rgba(160, 205, 255, .13) 50%, rgba(140, 192, 255, 0) 100%);
  transform: translateX(-120%);
  animation: bfbarSweep 9s cubic-bezier(.45, 0, .2, 1) 1.2s infinite;
}
@keyframes bfbarSweep { 0% { transform: translateX(-120%); } 38%, 100% { transform: translateX(580%); } }

.bfbar__in {
  position: relative; z-index: 1;
  max-width: var(--container-wide, 1320px);
  margin: 0 auto;
  padding: 9px clamp(1rem, 4vw, 2rem);
  min-height: 46px;
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: nowrap; white-space: nowrap;
  color: inherit; text-decoration: none;
}
.bfbar__in:focus-visible { outline: 2px solid var(--bf-sky); outline-offset: -3px; }

.bfbar__title {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--bf-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: #fff;
}
.bfbar__title i {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
  background: var(--bf-blue-2);
  box-shadow: 0 0 0 3px rgba(70, 163, 255, .18), 0 0 12px 2px rgba(70, 163, 255, .9);
  animation: bfPulse 2.4s ease-in-out infinite;
}
@keyframes bfPulse { 50% { opacity: .45; transform: scale(.82); } }

.bfbar__div { width: 1px; height: 16px; background: var(--bf-line-2); flex: 0 0 auto; }

.bfbar__offer {
  font-family: var(--bf-sans); font-weight: 700; font-size: 1.04rem; letter-spacing: -.012em;
  color: #fff;
}
.bfbar__offer b {
  font-weight: 700; color: var(--bf-sky);
  background: linear-gradient(95deg, #fff 0%, #a9d2ff 40%, #46a3ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bfbar__sub, .bfbar__ends {
  font-family: var(--bf-mono); font-size: .67rem; font-weight: 500;
  letter-spacing: .21em; text-transform: uppercase; color: var(--bf-ink-3);
}
.bfbar__gift {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  font-family: var(--bf-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #eaf3fd;
}
.bfbar__gift svg { flex: 0 0 auto; color: var(--bf-sky); }
.bfbar__gift-short { display: none; }
.bfbar__code {
  flex: 0 0 auto;
  font-family: var(--bf-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #04101f;
  background: linear-gradient(#ffffff, #d6e9ff 48%, #9cc6f5);
  border-radius: 999px; padding: 5px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 3px 14px rgba(16, 108, 217, .55);
}
.bfbar__clock {
  flex: 0 0 auto; display: inline-flex; gap: .5em;
  font-family: var(--bf-mono); font-size: .72rem; font-weight: 500; letter-spacing: .06em;
  font-variant-numeric: tabular-nums; color: var(--bf-ink-3);
  border: 1px solid var(--bf-line-2); border-radius: 999px; padding: 4px 12px;
  background: rgba(2, 6, 14, .78);
}
.bfbar__clock b { font-weight: 700; color: #fff; }

/* the two renders that fly through the bar */
.bfbar__v {
  position: absolute; top: 50%; z-index: 0;
  width: 52px; height: auto; pointer-events: none;
  filter: drop-shadow(0 0 7px rgba(16, 108, 217, .8));
  animation: bfbarDrift 11s ease-in-out infinite;
}
.bfbar__v--l { left: max(16px, calc(50% - 644px)); --r: -3deg; }
.bfbar__v--r { right: max(16px, calc(50% - 644px)); --r: 4deg; animation-delay: -5.5s; }
@keyframes bfbarDrift {
  0%, 100% { transform: translate(-2px, -50%) rotate(var(--r)); }
  50% { transform: translate(3px, -52%) rotate(calc(var(--r) + 2deg)); }
}

.bfbar.is-over .bfbar__ends, .bfbar.is-over .bfbar__clock { display: none; }

@media (max-width: 1080px) { .bfbar__sub, .bfbar__div { display: none; } }
@media (max-width: 1010px) { .bfbar__gift-long { display: none; } .bfbar__gift-short { display: inline; } }
@media (max-width: 1180px) { .bfbar__v { display: none; } }
@media (max-width: 985px) { .bfbar__in { gap: 11px; padding: 8px 14px; } .bfbar__offer { font-size: .96rem; } }
@media (max-width: 790px) { .bfbar__code { display: none; } }
@media (max-width: 640px) { .bfbar__title { font-size: .64rem; letter-spacing: .2em; gap: 7px; } .bfbar__ends { display: none; } }
@media (max-width: 545px) { .bfbar__gift { display: none; } }
@media (max-width: 440px) {
  .bfbar__in { gap: 9px; padding: 7px 10px; min-height: 42px; }
  .bfbar__offer { font-size: .86rem; }
  .bfbar__title { font-size: .56rem; letter-spacing: .12em; gap: 6px; }
  .bfbar__title i { width: 6px; height: 6px; }
  .bfbar__clock { font-size: .62rem; padding: 3px 9px; letter-spacing: .02em; gap: .35em; }
}
@media (max-width: 350px) { .bfbar__title { display: none; } }

/* ==========================================================================
   2) BANNER
   ========================================================================== */
.bfh {
  --ghost: clamp(1.5rem, 7.4vw, 6.2rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--bf-ink);
  font-family: var(--bf-sans);
  background:
    radial-gradient(52% 60% at 76% 44%, rgba(16, 108, 217, .20) 0%, rgba(16, 108, 217, 0) 70%),
    radial-gradient(90% 50% at 50% 118%, rgba(16, 108, 217, .34) 0%, rgba(16, 108, 217, 0) 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(16, 60, 130, .22) 0%, rgba(16, 60, 130, 0) 70%),
    var(--bf-black);
}
.bfh__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* fine dust, drawn once as layered dots */
.bfh__motes {
  position: absolute; inset: 0; opacity: .8;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(190, 220, 255, .75) 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 71%, rgba(190, 220, 255, .5) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 47% 13%, rgba(190, 220, 255, .55) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 84%, rgba(190, 220, 255, .5) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 66% 9%, rgba(190, 220, 255, .7) 50%, transparent 51%),
    radial-gradient(1px 1px at 83% 77%, rgba(190, 220, 255, .55) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 94% 31%, rgba(190, 220, 255, .65) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 48%, rgba(190, 220, 255, .35) 50%, transparent 51%),
    radial-gradient(1px 1px at 73% 58%, rgba(190, 220, 255, .4) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 5% 86%, rgba(190, 220, 255, .5) 50%, transparent 51%);
  animation: bfTwinkle 7s ease-in-out infinite;
}
@keyframes bfTwinkle { 50% { opacity: .35; } }

/* sign-off wordmark: wide-tracked caps, same voice as the ASPECT PEPTIDES lockup */
.bfh__ghost {
  position: absolute; left: 0; right: 0; bottom: clamp(22px, 2.6vw, 40px); z-index: 0; margin: 0;
  padding-left: .34em; /* balances the trailing letter-space so the word sits optically centred */
  text-align: center;
  font-family: var(--bf-sans); font-weight: 600; font-size: var(--ghost);
  line-height: 1; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap;
  color: var(--bf-sky);
  background: linear-gradient(180deg, rgba(234, 244, 255, .92) 8%, rgba(127, 188, 255, .62) 52%, rgba(26, 111, 216, .42) 96%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none; pointer-events: none;
  animation: bfGhost 1.6s var(--bf-out) .15s both;
}
@keyframes bfGhost { from { opacity: 0; letter-spacing: .5em; } }

.bfh__in {
  position: relative; z-index: 1;
  max-width: var(--container-wide, 1320px);
  margin: 0 auto;
  padding: clamp(32px, 3.6vw, 54px) clamp(1.25rem, 4vw, 2rem) calc(var(--ghost) + clamp(52px, 5.6vw, 84px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 3vw, 48px);
  align-content: center;
}
.bfh__head { grid-column: 1; grid-row: 1; align-self: end; }
.bfh__body { grid-column: 1; grid-row: 2; align-self: start; }
.bfh__art { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: end; }

/* ---- copy ---- */
.bfh__flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--bf-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--bf-ice);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--bf-line-2);
  background: linear-gradient(180deg, rgba(20, 50, 100, .42), rgba(6, 14, 30, .5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: bfUp .8s var(--bf-out) .05s both;
}
.bfh__flag i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--bf-blue-2);
  box-shadow: 0 0 0 3px rgba(70, 163, 255, .18), 0 0 12px 2px rgba(70, 163, 255, .9);
  animation: bfPulse 2.4s ease-in-out infinite;
}
.bfh__flag s { text-decoration: none; color: var(--bf-blue-2); }

.bfh__h1 {
  margin: clamp(18px, 2vw, 26px) 0 0;
  font-family: var(--bf-sans); font-weight: 650;
  letter-spacing: -.045em; line-height: .9; color: #fff;
  text-wrap: balance;
}
.bfh__l1 {
  display: block;
  font-size: clamp(2.5rem, 5.2vw, 4.9rem);
  animation: bfUp .9s var(--bf-out) .12s both;
}
.bfh__free {
  display: block; width: max-content; max-width: 100%;
  margin: .02em 0 0 -.045em; padding: 0 .09em .1em 0;
  font-size: clamp(5.6rem, 11.6vw, 11rem);
  font-weight: 700; letter-spacing: -.062em; line-height: .86;
  color: var(--bf-sky);
  background: linear-gradient(100deg, #ffffff 0%, #d7eaff 16%, #7fbcff 36%, #1a78ea 52%, #7fbcff 68%, #ffffff 84%, #d7eaff 100%) 0 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 38px rgba(16, 108, 217, .55));
  animation: bfUp 1s var(--bf-out) .2s both, bfSheen 8s ease-in-out 1.2s infinite alternate;
}
@keyframes bfSheen { to { background-position: 100% 0; } }

.bfh__qual {
  margin: clamp(6px, .8vw, 12px) 0 0;
  font-family: var(--bf-mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--bf-ink-3);
  animation: bfUp .9s var(--bf-out) .3s both;
}
.bfh__lead {
  margin: clamp(16px, 1.8vw, 24px) 0 0; max-width: 31em;
  font-size: clamp(1rem, .93rem + .3vw, 1.14rem); line-height: 1.55; color: var(--bf-ink-2);
  animation: bfUp .9s var(--bf-out) .36s both;
}
.bfh__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 2.2vw, 30px); animation: bfUp .9s var(--bf-out) .44s both; }
.bfh__btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 10px;
  font-family: var(--bf-sans); font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #2b86f0 0%, #106cd9 55%, #0d5cbb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 0 1px rgba(140, 192, 255, .35), 0 12px 34px -8px rgba(16, 108, 217, .85);
  transition: transform .2s var(--bf-out), box-shadow .2s var(--bf-out);
}
.bfh__btn svg { width: 18px; height: 18px; transition: transform .25s var(--bf-out); }
.bfh__btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: skewX(-18deg); transition: left .7s var(--bf-out);
}
.bfh__btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 0 0 1px rgba(170, 210, 255, .6), 0 18px 44px -8px rgba(16, 108, 217, 1); }
.bfh__btn:hover::after { left: 120%; }
.bfh__btn:hover svg { transform: translateX(4px); }
.bfh__btn:active { transform: translateY(0); }
.bfh__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.bfh__btn--ghost {
  color: var(--bf-ink); background: rgba(8, 16, 32, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 0 1px var(--bf-line-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bfh__btn--ghost::after { display: none; }
.bfh__btn--ghost:hover { background: rgba(16, 40, 80, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(170, 210, 255, .6); }

.bfh__timer {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px;
  margin-top: clamp(22px, 2.4vw, 34px);
  animation: bfUp .9s var(--bf-out) .52s both;
}
.bfh__timer-l, .bfh__nocode {
  font-family: var(--bf-mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bf-ink-3);
}
.bfh__nocode { color: var(--bf-sky); padding-left: 16px; border-left: 1px solid var(--bf-line-2); line-height: 2.2; }
.bfh__clock { display: flex; gap: 6px; }
.bfh__cell {
  position: relative; width: 62px; padding: 9px 0 7px; text-align: center; border-radius: 10px;
  border: 1px solid var(--bf-line-2);
  background: linear-gradient(180deg, rgba(22, 44, 86, .55) 0%, rgba(5, 11, 24, .85) 50%, rgba(8, 18, 38, .8) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 10px 24px -12px rgba(0, 0, 0, .9);
}
.bfh__cell::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.bfh__cell b {
  display: block; font-family: var(--bf-mono); font-size: 1.62rem; font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff;
}
.bfh__cell small {
  display: block; margin-top: 3px; font-family: var(--bf-mono); font-size: .56rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--bf-ink-3);
}
.bfh.is-over .bfh__timer-l, .bfh.is-over .bfh__clock { display: none; }
.bfh.is-over .bfh__nocode { padding-left: 0; border-left: 0; }

.bfh__trust {
  list-style: none; margin: clamp(20px, 2.2vw, 30px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-family: var(--bf-mono); font-size: .72rem; font-weight: 500; letter-spacing: .02em; color: var(--bf-ink-2);
  animation: bfUp .9s var(--bf-out) .6s both;
}
.bfh__trust li { display: inline-flex; align-items: center; gap: 8px; }
.bfh__trust svg { width: 16px; height: 16px; fill: none; stroke: var(--bf-blue-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

@keyframes bfUp { from { opacity: 0; transform: translateY(22px); } }

/* ---- art ---- */
.bfh__art {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1 / 1;
  --px: 0; --py: 0;
}
.bfh__ring {
  position: absolute; left: 50%; top: 47%; width: 104%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(140, 192, 255, .09);
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 78%); mask-image: linear-gradient(200deg, #000 20%, transparent 78%);
}
/* the eclipse: a black disc, a corona that breaks on the upper right */
.bfh__ecl {
  position: absolute; left: 50%; top: 47%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(calc(-50% + var(--px) * -.5px), calc(-50% + var(--py) * -.5px));
  background: conic-gradient(from 20deg,
    rgba(140, 192, 255, .30) 0%, #9fd0ff 8%, #ffffff 15%, #9fd0ff 23%,
    rgba(70, 163, 255, .55) 36%, rgba(70, 163, 255, .18) 56%, rgba(70, 163, 255, .10) 74%, rgba(140, 192, 255, .30) 100%);
  box-shadow: 0 0 120px 6px rgba(16, 108, 217, .42);
  animation: bfEclIn 1.5s var(--bf-out) both;
}
.bfh__ecl::before {
  content: ""; position: absolute; inset: -5%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 20deg,
    rgba(16, 108, 217, .25) 0%, rgba(70, 163, 255, .95) 9%, #eaf5ff 15%, rgba(70, 163, 255, .95) 22%,
    rgba(16, 108, 217, .62) 38%, rgba(16, 108, 217, .34) 58%, rgba(16, 108, 217, .26) 72%, rgba(16, 108, 217, .25) 100%);
  filter: blur(24px);
  animation: bfCorona 7s ease-in-out infinite;
}
.bfh__ecl::after {
  content: ""; position: absolute; inset: 1.5px; border-radius: 50%;
  background: radial-gradient(circle at 70% 24%, #06112a 0%, #020610 46%, #010308 100%);
  box-shadow: inset -26px 30px 70px -34px rgba(120, 185, 255, .85);
}
@keyframes bfCorona { 50% { opacity: .72; transform: scale(1.025); } }
@keyframes bfEclIn { from { opacity: 0; scale: .86; } }
/* the diamond-ring bead */
.bfh__bead {
  position: absolute; left: 90.5%; top: 20.5%; width: 0; height: 0; z-index: 1;
}
.bfh__bead::before {
  content: ""; position: absolute; width: 150px; height: 150px; left: -75px; top: -75px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 4%, rgba(190, 225, 255, .9) 9%, rgba(70, 163, 255, .38) 26%, rgba(70, 163, 255, 0) 62%);
  animation: bfBead 4.6s ease-in-out infinite;
}
.bfh__bead::after {
  content: ""; position: absolute; width: 340px; height: 2px; left: -170px; top: -1px;
  background: linear-gradient(90deg, transparent, rgba(190, 225, 255, .85) 50%, transparent);
  transform: rotate(-32deg);
  animation: bfBead 4.6s ease-in-out infinite;
}
@keyframes bfBead { 50% { opacity: .6; scale: .88; } }

/* vials: outer = position + pointer parallax, .bfh__bob = idle float */
.bfh__v {
  position: absolute; display: block; z-index: var(--z, 2);
  transform: translate3d(calc(var(--px) * var(--d, 1) * 1px), calc(var(--py) * var(--d, 1) * 1px), 0) rotate(var(--r, 0deg));
  animation: bfRise 1.2s var(--bf-out) var(--in, .2s) both;
  will-change: transform;
}
@keyframes bfRise { from { opacity: 0; translate: 0 60px; scale: .9; } }
.bfh__bob { display: block; position: relative; animation: bfBob var(--t, 7s) ease-in-out var(--dl, 0s) infinite; }
@keyframes bfBob {
  0%, 100% { transform: translateY(-7px) rotate(-.7deg); }
  50% { transform: translateY(8px) rotate(.9deg); }
}
.bfh__v img { display: block; width: 100%; height: auto; }

.bfh__v--back-a { left: -3%; top: 1%; width: 19%; --r: -16deg; --d: .35; --z: 1; --t: 9s; --dl: -3s; --in: .5s; }
.bfh__v--back-b { right: -5%; top: 5%; width: 27%; --r: 9deg; --d: .45; --z: 1; --t: 10s; --dl: -6s; --in: .6s; }
.bfh__v--far    { right: 6%; bottom: 13%; width: 8.5%; --r: 22deg; --d: .25; --z: 1; --t: 8s; --dl: -2s; --in: .7s; }
.bfh__v--buy    { left: 20%; top: 6%; width: 37%; --d: 1; --z: 3; --t: 7.5s; --in: .25s; }
.bfh__v--free   { left: 46.5%; top: 39%; width: 46%; --d: 1.45; --z: 4; --t: 6.5s; --dl: -2.5s; --in: .4s; }
.bfh__v--front  { left: -15%; bottom: -1%; width: 45%; --r: -7deg; --d: 2.5; --z: 5; --t: 8.5s; --dl: -4s; --in: .55s; }

.bfh__v--buy img  { filter: drop-shadow(0 34px 34px rgba(0, 0, 0, .7)) drop-shadow(0 0 30px rgba(16, 108, 217, .45)); }
.bfh__v--free img { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .75)) drop-shadow(0 0 34px rgba(16, 108, 217, .5)); }
a.bfh__v { outline: none; }
a.bfh__v:focus-visible .bfh__bob { outline: 2px solid var(--bf-sky); outline-offset: 6px; border-radius: 14px; }
a.bfh__v .bfh__bob img { transition: scale .5s var(--bf-out); }
a.bfh__v:hover .bfh__bob img { scale: 1.035; }

/* FREE seal on the cheaper vial */
.bfh__tag {
  position: absolute; left: -4%; top: 30%;
  display: grid; place-items: center;
  width: 31%; aspect-ratio: 1; border-radius: 50%;
  font-family: var(--bf-sans); font-weight: 700; font-size: clamp(.8rem, 1.75vw, 1.5rem);
  letter-spacing: -.02em; text-transform: uppercase; color: #03101f;
  background: radial-gradient(circle at 34% 26%, #ffffff 0%, #dcecff 40%, #8cc0ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 0 0 5px rgba(16, 108, 217, .14), 0 0 0 1px rgba(16, 108, 217, .5), 0 14px 34px -6px rgba(16, 108, 217, .95), 0 0 50px rgba(70, 163, 255, .5);
  transform: rotate(-12deg);
}
.bfh__tag::before {
  content: ""; position: absolute; inset: 9%; border-radius: 50%;
  border: 1px dashed rgba(16, 60, 130, .45);
}

/* lab-style callouts */
.bfh__note {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 8px 13px 8px 9px; border-radius: 10px; white-space: nowrap;
  font-family: var(--bf-mono); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff;
  border: 1px solid var(--bf-line-2);
  background: rgba(4, 10, 22, .74);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 30px -14px rgba(0, 0, 0, .9);
  animation: bfUp .8s var(--bf-out) 1s both;
}
.bfh__note > b {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: var(--bf-sky);
  background: rgba(16, 108, 217, .22); border: 1px solid rgba(70, 163, 255, .4);
}
.bfh__note small { display: block; margin-top: 2px; font-size: .6rem; font-weight: 500; letter-spacing: .1em; color: var(--bf-ink-3); }
.bfh__note::after { content: ""; position: absolute; height: 1px; background: linear-gradient(90deg, rgba(140, 192, 255, .7), rgba(140, 192, 255, 0)); }
.bfh__note--buy { right: 88%; top: 30%; }
.bfh__note--buy::after { left: 100%; top: 50%; width: 34px; }
.bfh__note--free { left: 60%; top: 99%; animation-delay: 1.15s; }
.bfh__note--free > b { color: #03101f; background: linear-gradient(#fff, #a9d2ff); border-color: #fff; }
.bfh__note--free::after { left: 22px; bottom: 100%; top: auto; width: 1px; height: 22px; background: linear-gradient(0deg, rgba(140, 192, 255, .7), rgba(140, 192, 255, 0)); }

/* pause idle motion when the banner is off screen (class set by bf.js) */
.bfh.is-idle *, .bfh.is-idle *::before, .bfh.is-idle *::after { animation-play-state: paused !important; }

/* ---- responsive ---- */
@media (max-width: 1180px) {
  .bfh__nocode { padding-left: 0; border-left: 0; line-height: 1.4; }
}
@media (max-width: 1100px) {
  .bfh__note--buy { right: 80%; top: 4%; }
  .bfh__note--buy::after { display: none; }
}
@media (max-width: 900px) {
  .bfh__in {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    padding-top: 30px;
  }
  .bfh__head, .bfh__body, .bfh__art { grid-column: 1; grid-row: auto; }
  .bfh__head { text-align: left; }
  .bfh__l1 { font-size: clamp(2.2rem, 10.4vw, 4rem); }
  .bfh__free { font-size: clamp(5.4rem, 29vw, 11rem); }
  .bfh__art { justify-self: center; width: min(100%, 520px); margin: 10px 0 -2%; }
  .bfh__v--back-a { left: 2%; top: 14%; width: 15%; }
  .bfh__v--front { left: -9%; width: 40%; }
  .bfh__v--back-b { right: -2%; }
  .bfh__note { font-size: .58rem; padding: 6px 10px 6px 7px; gap: 8px; }
  .bfh__note > b { width: 22px; height: 22px; }
  .bfh__note small { font-size: .54rem; }
  .bfh__note--buy { right: auto; left: -50%; top: -4%; }
  .bfh__note--free { left: 46%; top: 97%; }
  .bfh__bead::before { width: 110px; height: 110px; left: -55px; top: -55px; }
  .bfh__bead::after { width: 230px; left: -115px; }
  .bfh__ecl::before { filter: blur(22px); }
  .bfh__btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .bfh__flag { font-size: .62rem; letter-spacing: .18em; padding: 6px 12px 6px 10px; }
  .bfh__cell { width: 56px; }
  .bfh__cell b { font-size: 1.42rem; }
  .bfh__timer-l { flex: 0 0 100%; }
  .bfh__nocode { padding-left: 0; border-left: 0; line-height: 1.4; }
  .bfh__trust { gap: 8px 16px; font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .bfbar *, .bfbar::after, .bfbar__v,
  .bfh *, .bfh *::before, .bfh *::after { animation: none !important; transition: none !important; }
  .bfbar__v { transform: translateY(-50%) rotate(var(--r)); }
  .bfbar::after { display: none; }
}

/* ==========================================================================
   3) FREE-GIFT TIERS  (bar rotator + banner ladder)
   ========================================================================== */
.bfbar__rot { display: inline-grid; text-align: left; }
.bfbar__rot > span { grid-area: 1 / 1; opacity: 0; animation: bfbarRot 14s var(--bf-out) infinite; }
.bfbar__rot > span:nth-child(2) { animation-delay: 3.5s; }
.bfbar__rot > span:nth-child(3) { animation-delay: 7s; }
.bfbar__rot > span:nth-child(4) { animation-delay: 10.5s; }
@keyframes bfbarRot {
  0% { opacity: 0; transform: translateY(70%); }
  3%, 22% { opacity: 1; transform: none; }
  25%, 100% { opacity: 0; transform: translateY(-70%); }
}

.bfh__in { grid-template-rows: auto auto auto; }
.bfh__tiers {
  grid-column: 1 / -1; grid-row: 3; position: relative;
  margin-top: clamp(34px, 3.4vw, 52px);
  display: flex; align-items: stretch;
  border: 1px solid var(--bf-line-2); border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 46, 94, .52) 0%, rgba(4, 10, 22, .80) 100%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 34px 60px -34px rgba(0, 0, 0, .95);
  animation: bfUp .9s var(--bf-out) .7s both;
}
/* lit top edge, brightest over the top tier */
.bfh__tiers::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(140, 192, 255, 0), rgba(140, 192, 255, .5) 40%, #e6f3ff 86%, rgba(140, 192, 255, 0));
}
.bfh__tiers-h {
  margin: 0; padding: 18px 30px 18px 24px; flex: 0 0 auto;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.bfh__tiers-h b { font-family: var(--bf-sans); font-size: 1.22rem; font-weight: 650; letter-spacing: -.025em; color: #fff; }
.bfh__tiers-h span { font-family: var(--bf-mono); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bf-sky); }
.bfh__tier-list { flex: 1 1 auto; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bfh__tier {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 18px; border-left: 1px solid var(--bf-line);
}
.bfh__tier img {
  flex: 0 0 auto; width: 56px; height: auto; margin: -34px 0 -6px;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .7)) drop-shadow(0 0 16px rgba(16, 108, 217, .55));
  transition: transform .5s var(--bf-out);
}
.bfh__tier:hover img { transform: translateY(-5px) rotate(-3deg); }
.bfh__tier-t { display: flex; flex-direction: column; min-width: 0; }
.bfh__tier-t em { font-style: normal; font-family: var(--bf-mono); font-size: .64rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bf-sky); }
.bfh__tier-t b { margin-top: 4px; font-family: var(--bf-sans); font-size: 1.06rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.bfh__tier-t small { margin-top: 3px; font-family: var(--bf-mono); font-size: .64rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-ink-3); }
.bfh__tier--top { border-radius: 0 17px 17px 0; background: linear-gradient(90deg, rgba(16, 108, 217, 0), rgba(16, 108, 217, .22)); }
.bfh__tier--top .bfh__tier-t em { color: #fff; }

@media (max-width: 1100px) {
  .bfh__tiers { flex-direction: column; }
  .bfh__tiers-h { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 14px; padding: 14px 20px 22px; }
  .bfh__tier { border-left: 0; border-top: 1px solid var(--bf-line); }
  .bfh__tier + .bfh__tier { border-left: 1px solid var(--bf-line); }
  .bfh__tier--top { border-radius: 0 0 17px 0; }
}
@media (max-width: 900px) {
  .bfh__tiers { grid-column: 1; grid-row: auto; margin-top: 30px; }
}
@media (max-width: 680px) {
  .bfh__tiers-h { flex-direction: column; gap: 5px; padding: 16px 18px 14px; }
  .bfh__tier-list { grid-template-columns: minmax(0, 1fr); }
  .bfh__tier { padding: 10px 18px; gap: 16px; }
  .bfh__tier + .bfh__tier { border-left: 0; }
  .bfh__tier img { width: 40px; margin: 0; }
  .bfh__tier--top { border-radius: 0 0 17px 17px; background: linear-gradient(180deg, rgba(16, 108, 217, 0), rgba(16, 108, 217, .22)); }
}
@media (prefers-reduced-motion: reduce) {
  .bfbar__gift-long { display: none; }
  .bfbar__gift-short { display: inline; }
}

/* stacking tiers */
.bfh__tier-t b i { font-style: normal; color: var(--bf-blue-2); margin-right: .1em; }
.bfh__tier--top .bfh__tier-t small { color: var(--bf-ice); }

/* ==========================================================================
   4) HERO ART: catalogue-wide, no specific pairing
   The seal floats on its own (not on a vial) and the chip says the offer
   covers every compound, so nobody reads the art as "only these two".
   ========================================================================== */
.bfh__v--seal { left: 30%; top: 59%; width: clamp(92px, 21%, 132px); --d: 1.9; --z: 6; --t: 6s; --dl: -1s; --in: .75s; }
.bfh__v--seal .bfh__tag {
  position: relative; left: auto; top: auto; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .12em;
  font-size: clamp(1.25rem, 2.5vw, 2rem); line-height: .95;
}
.bfh__tag small {
  font-family: var(--bf-mono); font-size: .3em; font-weight: 700; letter-spacing: .1em; line-height: 1.25; color: #0c3a78;
}
.bfh__note--all { right: 0; top: 91%; animation-delay: 1.1s; }
.bfh__note--all::after { display: none; }
.bfh__note--all > b { width: auto; padding: 0 8px; color: #03101f; background: linear-gradient(#fff, #a9d2ff); border-color: #fff; }
@media (max-width: 900px) {
  .bfh__note--all { right: 0; top: 84%; }
}

/* ==========================================================================
   5) HERO ART: featured SKUs, all in focus
   GLP-3 RT 30mg (centre) + GLP-3 RT / Cagri, GLOW+, 5-Amino-1MQ, BPC-157 / TB-500 / KPV
   ========================================================================== */
.bfh__v--back-a { left: -7%; top: 2%; width: 25%; --r: -10deg; --d: .6; --z: 2; }
.bfh__v--back-b { right: -9%; top: 1%; width: 35%; --r: 7deg; --d: .7; --z: 2; }
.bfh__v--front  { left: -17%; bottom: 1%; width: 44%; --r: -5deg; --d: 1.9; }
.bfh__v--far    { right: 3%; bottom: 17%; }
.bfh__v--back-a img, .bfh__v--back-b img, .bfh__v--front img {
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px rgba(16, 108, 217, .42));
}
@media (max-width: 900px) {
  .bfh__v--back-a { left: -3%; top: 3%; width: 23%; }
  .bfh__v--back-b { right: -4%; top: 2%; width: 32%; }
  .bfh__v--front  { left: -5%; width: 40%; }
}
.bfh__v--free { left: 50%; top: 40%; }
.bfh__v--seal { left: 27.5%; top: 61%; }
@media (max-width: 900px) {
  .bfh__art { margin-bottom: 26px; }
  .bfh__note--all { top: 95%; }
}

/* ==========================================================================
   6) NO CSS FILTERS ON RENDERS
   Mobile browsers clip filter: drop-shadow() to the image box on animated
   layers, which draws a visible square around each vial. Glows are now soft
   radial gradients behind the vial instead, which fade to nothing by design.
   ========================================================================== */
.bfbar__v, .bfh__v img, .bfh__tier img, .bfh__free { filter: none !important; }
.bfh__v { will-change: auto; }
.bfh__bob::before {
  content: ""; position: absolute; inset: -16%; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(22, 118, 235, .50) 0%, rgba(16, 108, 217, .24) 48%, rgba(16, 108, 217, 0) 100%);
}
.bfh__v--seal .bfh__bob::before, .bfh__v--far .bfh__bob::before { display: none; }
.bfh__tier { isolation: isolate; }
.bfh__tier::before {
  content: ""; position: absolute; left: 0; top: -30px; width: 92px; height: 110px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(22, 118, 235, .42), rgba(16, 108, 217, 0));
}
a.bfh__v { -webkit-tap-highlight-color: transparent; }

/* ==========================================================================
   7) CONDENSED MOBILE ART
   Phones get a short, wide stage instead of a full-width square.
   ========================================================================== */
@media (max-width: 640px) {
  .bfh__art { width: 100%; aspect-ratio: 1 / .64; margin: 14px 0 18px; }
  .bfh__ring { display: none; }
  .bfh__ecl { width: 54%; top: 50%; }
  .bfh__ecl::before { filter: blur(16px); }
  .bfh__bead::before { width: 80px; height: 80px; left: -40px; top: -40px; }
  .bfh__bead::after { width: 160px; left: -80px; }
  .bfh__v--buy    { left: 38%; top: 4%; width: 21%; }
  .bfh__v--free   { left: 59%; top: 42%; width: 26%; }
  .bfh__v--back-a { left: 5%; top: 5%; width: 17%; }
  .bfh__v--back-b { right: 1%; top: 3%; width: 26%; }
  .bfh__v--front  { left: 1%; bottom: 5%; width: 31%; }
  .bfh__v--far, .bfh__note--all { display: none; }
  .bfh__v--seal   { left: 31%; top: 56%; width: 76px; }
  .bfh__v--seal .bfh__tag { font-size: 1.05rem; }
  .bfh__tier::before { left: 4px; top: -6px; width: 64px; height: 76px; }
}
