/* Vape Shop Ecommerce landing page (page-vape-shop-ecommerce.php). Loaded only on that template, after the DS and site CSS.
 * Everything is scoped under .vp so no other page changes. Colours, fonts and spacing use the DS tokens (ds/tokens.css).
 * Source of the look: the approved v2 design (Figma 74:164 desktop, 77:263 phone) and its motion preview.
 *
 * Motion rules: everything that moves is off under prefers-reduced-motion and under html.vp-still (the "Pause motion" toggle).
 * The first frame is complete without JS: content is hidden only by `.vp-js .vp-rv`, a class the script adds. */

.vp {
	--vp-violet: var(--color-brand-violet, #9281f7);
	--vp-glow: var(--color-brand-violet-glow, #baa7ff);
	--vp-green: var(--color-tint-green, #3ad389);
	--vp-cyan: var(--color-brand-cyan, #38bdf8);
	--vp-amber: var(--color-brand-amber, #f5a524);
	--vp-ash: var(--color-text-body, #a1a4a5);
	--vp-hair: var(--color-border-hairline, #292d30);
	--vp-panel: var(--color-canvas-panel, #0b0c0f);
	--vp-ease: cubic-bezier(.2, .8, .2, 1);
	--vp-col: var(--container, 1240px); /* the theme container, so the page lines up with the header and every other page */
	--vp-pad: 16px;
	background: #000;
	color: #fff;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.55;
	overflow-x: clip;
}
.vp *, .vp *::before, .vp *::after { box-sizing: border-box; }
:where(.vp) :where(p, ul, ol, h1, h2, h3) { margin: 0; }
:where(.vp) :where(ul, ol) { padding: 0; list-style: none; }
:where(.vp) a { color: inherit; }

/* Desktop gutters follow the theme header (1240 container, 28px inner padding; 24px at 1024 and under), so the left edge
   matches the logo: 128 at 1440, 368 at 1920. */
@media (min-width: 900px) { .vp { --vp-pad: 24px; } }
@media (min-width: 1025px) { .vp { --vp-pad: 28px; } }
.vp-wrap { width: 100%; max-width: var(--vp-col); margin: 0 auto; padding-inline: max(var(--vp-pad), env(safe-area-inset-left, 0px)) max(var(--vp-pad), env(safe-area-inset-right, 0px)); position: relative; z-index: 1; }
/* !important: the DS sets `section { padding: 64px 0 !important }` under 640px */
.vp-sec { position: relative; overflow: hidden; overflow: clip; }
.vp .vp-sec { padding-block: 64px !important; }
@media (min-width: 900px) { .vp .vp-sec { padding-block: 104px !important; } }
.vp-mt24 { margin-top: 24px; }
.vp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vp-nb { white-space: nowrap; }

/* Type. Headings are two-tone: a white-to-grey lead phrase and a colour-gradient key phrase (background-clip: text).
 * Solid colours first, so a browser without background-clip: text, and forced-colors mode, still read the heading. */
.vp-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--vp-violet); margin: 0 0 18px; }
.vp .vp-h { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: .95; text-wrap: balance; color: #fff; }
.vp .vp-h2 { font-size: clamp(40px, 5.6vw, 80px); }
.vp .vp-h64 { font-size: clamp(40px, 4.5vw, 64px); }
.vp .vp-h72 { font-size: clamp(40px, 5vw, 72px); }
.vp .vp-h96 { font-size: clamp(48px, 6.7vw, 96px); }
/* Figma 74:179: 96 px desktop, 52 px phone. At 1440 it breaks "Your vape" / "shop, online." / "One team runs" / "all of it."
 * (the key phrase break comes from .vp-brd below). */
.vp .vp-h1 { font-size: clamp(52px, 6.7vw, 96px); }
.vp-ac { --a: var(--vp-violet); --b: var(--vp-cyan); color: var(--a); }
.vp-ac--g { --a: var(--vp-green); --b: var(--vp-cyan); }
.vp-ac--c { --a: var(--vp-cyan); --b: var(--vp-violet); }
.vp-ac--a { --a: var(--vp-amber); --b: #ffd27a; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
	.vp .vp-h { background-image: linear-gradient(90deg, #fff, #b9bcc2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
	.vp-ac { background-image: linear-gradient(90deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
	.vp .vp-bars--h { -webkit-text-fill-color: currentColor; background: none; }
}
@media (forced-colors: active) {
	.vp .vp-h, .vp-ac { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; forced-color-adjust: auto; }
}
.vp-lead { color: var(--vp-ash); font-size: 18px; max-width: 62ch; }
.vp-body { color: var(--vp-ash); max-width: 62ch; }

/* Buttons and links */
.vp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 0 20px; border-radius: 6px; background: #fff; color: #000; font-family: var(--font-sans); font-weight: 500; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s ease; }
.vp-btn:hover { background: var(--color-state-primary-hover, #f0f0f0); }
.vp-tlink { font-size: 14px; text-decoration: none; border-bottom: 1px solid #6e727a; padding-block: 12px 4px; display: inline-block; justify-self: start; }
.vp-tlink:hover { border-color: #fff; }
.vp-btn:focus-visible, .vp-tlink:focus-visible, .vp-card:focus-visible, .vp-ticker:focus-visible, .vp-motion-toggle:focus-visible, .vp-faq__q:focus-visible { outline: 2px solid var(--vp-glow); outline-offset: 3px; }

/* Tags: plain labels, 12 px (review minor 4) */
.vp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-tag { font-family: var(--font-mono); font-size: 12px; padding: 5px 9px; border-radius: 6px; border: 1px solid rgba(var(--t), .25); background: rgba(var(--t), .10); color: rgb(var(--t)); }
.vp-t-violet { --t: 146, 129, 247; } .vp-t-green { --t: 58, 211, 137; } .vp-t-cyan { --t: 56, 189, 248; } .vp-t-amber { --t: 245, 165, 36; }

/* Media: a real <img> still, with a <video> laid over it by the script when allowed */
.vp-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--vp-hair); background: var(--vp-panel); position: relative; max-width: 100%; }
.vp-loop { display: block; position: relative; width: 100%; height: 100%; }
.vp-media img, .vp-loop img, .vp-loop video, .vp-hero__media video, .vp-media picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.vp-loop video, .vp-hero__media video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--vp-ease); }
.vp-loop video.is-on, .vp-hero__media video.is-on { opacity: 1; }
/* Phone: the whole 3:4 picture (no crop of the subject), capped in width so it is not a full-screen slab */
.vp-tall { aspect-ratio: 3 / 4; width: min(100%, 320px); margin-inline: auto; }
.vp-wide { margin-top: 48px; aspect-ratio: 343 / 200; }
@media (min-width: 900px) {
	.vp-tall { width: auto; margin-inline: 0; }
	.vp-s02 .vp-wide { aspect-ratio: 1240 / 460; }
	.vp-s07 .vp-wide { aspect-ratio: 1240 / 420; }
}
.vp-sicon { width: 88px; height: 88px; overflow: hidden; display: block; flex: none; border-radius: 22px; }
.vp-sicon .vp-loop { height: 100%; }
@media (min-width: 900px) { .vp-sicon { width: 120px; height: 120px; border-radius: 28px; } }

/* s01 hero */
.vp .vp-hero { padding: 0 !important; }
.vp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 40px 64px; }
.vp-hero__copy { min-width: 0; }
.vp-h1__key { display: block; }
.vp-brd { display: none; }
@media (min-width: 900px) { .vp-brd { display: block; } }
.vp-hero .vp-lead { margin-top: 32px; }
.vp-hero .vp-tags { margin-top: 28px; }
.vp-ctas { display: flex; gap: 24px; align-items: center; margin-top: 36px; flex-wrap: wrap; }
.vp-hero__media { display: none; } /* phones: text and buttons only */
.vp-hero__media picture { display: block; }
@media (max-width: 899px) { .vp-ctas .vp-btn { width: 100%; } }
@media (min-width: 900px) {
	.vp-hero__grid { grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: 64px; padding-block: 80px 104px; }
	/* Bleeds to the right edge of the viewport. A grid item with an aspect-ratio does not stretch by default, and .vp-media
	   caps it at 100%, so both are overridden here or the negative margin does nothing. */
	.vp-hero__media { display: block; justify-self: stretch; max-width: none; aspect-ratio: 596 / 660; margin-right: calc(-1 * (max(var(--vp-pad), env(safe-area-inset-right, 0px)) + max(0px, (100vw - var(--vp-col)) / 2))); border-radius: 18px 0 0 18px; border-right: 0; }
}

/* Ticker: slash separators, no fruit. Pauses on hover and on focus. */
.vp-ticker { background: var(--vp-violet); color: #000; height: 56px; display: flex; align-items: center; overflow: hidden; }
.vp-ticker__track { display: flex; align-items: center; gap: 12px; width: max-content; padding-left: 12px; animation: vp-marquee 30s linear infinite; }
.vp-ticker:hover .vp-ticker__track, .vp-ticker:focus .vp-ticker__track, .vp-ticker:focus-within .vp-ticker__track { animation-play-state: paused; }
.vp-ticker span { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; white-space: nowrap; }
@keyframes vp-marquee { to { transform: translateX(-50%); } }
@media (min-width: 900px) { .vp-ticker { height: 88px; } .vp-ticker__track { gap: 22px; padding-left: 22px; } .vp-ticker span { font-size: 44px; } }

/* s02 */
.vp-rows { margin-top: 40px; }
.vp-rows li { display: flex; gap: 22px; align-items: baseline; border-top: 1px solid var(--vp-hair); padding-block: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
.vp-rows li:last-child { border-bottom: 1px solid var(--vp-hair); }
.vp-n { font-family: var(--font-mono); font-size: 12px; color: var(--vp-violet); font-weight: 400; flex: none; }
.vp-closing { margin-top: 32px; color: var(--vp-violet); font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }

/* s03 cards: the whole card is the link; arrow and bottom-aligned text (review minor 2) */
.vp-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 48px; }
@media (min-width: 600px) { .vp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vp-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vp-card { position: relative; display: block; aspect-ratio: 343 / 400; border-radius: 18px; overflow: hidden; border: 1px solid var(--vp-hair); text-decoration: none; background: var(--vp-panel); }
@media (min-width: 600px) { .vp-card { aspect-ratio: 3 / 4; } }
.vp-card .vp-loop, .vp-card .vp-loop img, .vp-card .vp-loop video { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--vp-ease); }
.vp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .94) 100%); transition: opacity .4s var(--vp-ease); pointer-events: none; }
.vp-card__body { position: absolute; inset: auto 0 0 0; padding: 24px; z-index: 1; display: grid; gap: 10px; justify-items: start; }
.vp-card__title { font-family: var(--font-display); font-weight: 800; font-size: 36px; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; color: #fff; display: flex; gap: 10px; align-items: baseline; }
.vp-card__title::after { content: "→"; font-size: .6em; transition: transform .3s var(--vp-ease); }
@media (min-width: 900px) { .vp-card__title { font-size: 40px; } }
.vp-card__line { color: #d5d6d8; font-size: 14px; min-height: 4.5em; }
.vp-card:hover .vp-loop, .vp-card:focus-visible .vp-loop { transform: scale(1.04); }
.vp-card:hover::after, .vp-card:focus-visible::after { opacity: .75; }
.vp-card:hover .vp-tag, .vp-card:focus-visible .vp-tag { transform: translateY(-4px); }
.vp-card:hover .vp-card__title::after, .vp-card:focus-visible .vp-card__title::after { transform: translateX(4px); }
.vp-card .vp-tag { transition: transform .3s var(--vp-ease); background: rgba(0, 0, 0, .78); border-color: rgba(var(--t), .55); }

/* Splits (s04, s05, s08, s09) */
.vp-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) {
	.vp-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
	.vp-split.vp-rev > .vp-media { order: -1; }
}
.vp-stack { display: grid; gap: 24px; min-width: 0; align-content: start; }
.vp-checks { margin-top: 8px; display: grid; }
.vp-checks li { display: flex; gap: 16px; align-items: center; padding-block: 16px; border-top: 1px solid var(--vp-hair); font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.vp-checks svg { flex: none; width: 24px; height: 24px; }
.vp-checks svg path { stroke: var(--vp-violet); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }

/* s06 */
.vp-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) { .vp-head { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.vp-blocks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 56px; }
@media (min-width: 900px) { .vp-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vp-block { background: var(--vp-panel); border: 1px solid var(--vp-hair); border-radius: 18px; padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.vp-bn { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.04em; color: #6e727a; line-height: 1; transition: color .5s var(--vp-ease), text-shadow .5s var(--vp-ease); }
.vp-block.is-lit .vp-bn { color: var(--vp-green); text-shadow: 0 0 24px rgba(58, 211, 137, .45); }
.vp-block h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
.vp-block p { color: var(--vp-ash); font-size: 15px; }
.vp-midcta { margin-top: 40px; }
.vp-midcta--tight { margin-top: 8px; }
@media (max-width: 899px) { .vp-midcta .vp-btn { width: 100%; } }

/* s07 */
.vp-cols3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
@media (min-width: 900px) { .vp-cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } .vp-cols3 h3 { min-height: 2.4em; } }
.vp-cols3 h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.vp-cols3 p { color: var(--vp-ash); font-size: 15px; }
.vp-cols3 .vp-quote { border-left: 2px solid var(--vp-violet); padding-left: 16px; color: #fff; margin-bottom: 8px; }
.vp-cols3 .vp-src { font-family: var(--font-mono); font-size: 11px; color: var(--vp-ash); margin-bottom: 12px; }

/* s08 */
.vp-mrows li { border-top: 1px solid var(--vp-hair); padding-block: 18px; display: grid; gap: 4px; }
.vp-mrows b { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.vp-mrows span { color: var(--vp-ash); font-size: 15px; }

/* s10 */
.vp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 56px; }
@media (min-width: 600px) { .vp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .vp-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.vp-step { border-top: 1px solid var(--vp-hair); padding-top: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.vp-num { font-family: var(--font-display); font-weight: 800; font-size: 56px; color: var(--vp-violet); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.vp-step b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.vp-step p { color: var(--vp-ash); font-size: 14px; }

/* s11 */
.vp-s11 .vp-stack { gap: 32px; }
/* Static age gate illustration (not interactive): a dimmed page with a generic E-FRAME-styled card */
.vp-gate { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--vp-hair); background: var(--vp-panel); display: grid; place-items: center; min-width: 0; }
.vp-gate__page { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; opacity: .35; }
.vp-gate__page i { display: block; border-radius: 10px; background: linear-gradient(160deg, #1a1d20, #0d0f12); border: 1px solid var(--vp-hair); }
.vp-gate::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); z-index: 1; }
.vp-gate__card { position: relative; z-index: 2; width: min(78%, 360px); padding: 28px 24px; border-radius: 14px; background: #0b0c0f; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); display: grid; gap: 20px; justify-items: center; text-align: center; }
.vp-gate__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; color: #fff; }
.vp-gate__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.vp-gate__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .24); color: #fff; font-size: 14px; font-weight: 500; }
.vp-gate__btn--yes { background: #fff; color: #000; border-color: #fff; }

/* s12 FAQ: the theme's details/summary pattern (.eframe-faq__*), restyled for this page */
.vp-faq { margin-top: 48px; border-top: 1px solid var(--vp-hair); }
.vp .vp-faq__item { border: 0; border-bottom: 1px solid var(--vp-hair); border-radius: 0; background: none; padding: 0; }
.vp .vp-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: #fff; min-height: 44px; }
.vp .vp-faq__q::-webkit-details-marker { display: none; }
.vp .vp-faq__q::marker { content: ""; }
.vp-faq__q svg { flex: none; width: 20px; height: 20px; transition: transform .2s var(--vp-ease); stroke: var(--vp-ash); fill: none; stroke-width: 2; }
.vp-faq__item[open] .vp-faq__q svg { transform: rotate(180deg); }
.vp .vp-faq__a { overflow: hidden; transition: height .2s var(--vp-ease); padding: 0; }
.vp .vp-faq__a p { color: var(--vp-ash); padding-bottom: 22px; max-width: 80ch; }

/* s13: stacked violet bars, then the theme's contact form inside the band */
.vp-s13__in { display: grid; gap: 32px; justify-items: center; text-align: center; }
.vp-bars { display: grid; gap: 10px; width: 100%; }
.vp-bar { display: block; background: var(--vp-violet); color: #000; border-radius: 8px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 9.2vw, 132px); letter-spacing: -0.045em; line-height: .95; padding: 8px 12px 4px; }
.vp .vp-bars--h { font-size: inherit; background: none; color: #fff; }
.vp-s13__body { max-width: 688px; }
.vp-s13__form { width: 100%; }
.vp .final-cta-section--bare { padding: 0; background: none; }
.vp .final-cta-section--bare .container { max-width: 688px; padding: 0; }
.vp-s13 .form-submit.is-pulse { animation: vp-pulse 1.2s var(--vp-ease) 1; }
@keyframes vp-pulse { 0% { box-shadow: 0 0 0 0 rgba(186, 167, 255, .7); } 100% { box-shadow: 0 0 0 22px rgba(186, 167, 255, 0); } }

/* Pause-motion bar, directly above the theme footer (WCAG 2.2.2) */
.vp-motionbar { border-top: 1px solid var(--vp-hair); padding-block: 16px; }
.vp-motion-toggle { font: inherit; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid var(--vp-hair); border-radius: 6px; min-height: 44px; padding: 0 16px; cursor: pointer; }
.vp-motion-toggle:hover { background: rgba(255, 255, 255, .12); }
.vp-motion-toggle[hidden] { display: none; }

/* Phone-only sticky CTA; hidden while s01 or s13 is on screen */
.vp-sticky { display: none; }
@media (max-width: 899px) {
	.vp-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(0, 0, 0, .88); border-top: 1px solid var(--vp-hair); padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .3s var(--vp-ease); }
	.vp-sticky .vp-btn { width: 100%; }
	.vp-sticky.is-away { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--vp-ease), visibility 0s .3s; }
	.vp-motionbar { padding-bottom: 80px; }
}

/* Fruit bands: a relative container that clips; every fruit is placed in percentages of the BAND (never the viewport).
 * Per-width sets keep fruit in the empty margins, clear of text (checked 360 to 1440 by tests/vape-shop-fruit-check.cjs). */
.vp-fruitband { position: absolute; inset: 0; overflow: hidden; overflow: clip; pointer-events: none; z-index: 2; }
.vp-fruit { position: absolute; display: block; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); rotate: var(--r, 0deg); animation: vp-bob var(--d, 7s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes vp-bob { from { translate: 0 -8px; rotate: calc(var(--r, 0deg) - 4deg); } to { translate: 0 10px; rotate: calc(var(--r, 0deg) + 5deg); } }

/* phone (under 600): corners only */
.vp-f-grapes { width: min(22%, 84px); right: 1%; top: 1%; --r: 12deg; --d: 8s; }
.vp-f-kiwi { display: none; }
.vp-f-lime { width: min(19%, 72px); left: -4%; top: 0.4%; --r: -18deg; --d: 7s; }
.vp-f-black { width: min(17%, 66px); right: -2%; top: 0.4%; --r: 10deg; --d: 6s; --dl: -1.5s; }
.vp-f-mango { width: min(20%, 76px); right: 1%; bottom: 0.6%; --r: -12deg; --d: 8s; --dl: -3s; }
.vp-f-splash { width: min(18%, 70px); left: -3%; bottom: 0.6%; --d: 9s; --dl: -4s; }
/* The fruit sits in the band's top and bottom padding on phones, so s13 and s08 get room for it */
@media (max-width: 599px) { .vp .vp-s13 { padding-top: 104px !important; padding-bottom: 128px !important; } }
@media (min-width: 600px) and (max-width: 899px) { .vp .vp-s13 { padding-bottom: calc(17vw + 56px) !important; } }
@media (min-width: 600px) {
	.vp-f-kiwi { display: block; width: 18%; left: -4%; bottom: 3%; --r: -14deg; --d: 6.5s; --dl: -2s; }
	.vp-f-grapes { width: 14%; right: -3%; top: 0.5%; }
	.vp-f-lime { width: 15%; left: -2%; top: 1%; }
	.vp-f-black { width: 12%; right: -1%; top: 0; }
	.vp-f-mango { width: 15%; right: 1%; bottom: 2%; }
	.vp-f-splash { width: 17%; left: -3%; bottom: 2%; }
}
@media (min-width: 1100px) {
	.vp-f-grapes { width: 12%; right: -2.5%; top: 0.5%; }
	.vp-f-kiwi { width: 13%; left: -3.5%; bottom: 3%; }
	.vp-f-lime { width: 14%; left: 1%; top: 2%; }
	.vp-f-black { width: 11%; right: 1%; top: 2%; }
	.vp-f-mango { width: 14%; right: 1%; bottom: 4%; }
	.vp-f-splash { width: 15%; left: 0; bottom: 4%; }
}

/* Reveal motion: hidden only once the script runs, and only for things that start below the fold */
.vp-js .vp-rv { opacity: 0; transform: translateY(24px); }
.vp-js .vp-bar.vp-rv { transform: translateX(var(--from, -60px)); }
/* The start rule above outranks .vp-rv.is-in, so the bars stayed 80px off to the side after the reveal (cut off on phones). */
.vp-js .vp-bar.vp-rv.is-in { transform: none; }
.vp-rv.is-in { opacity: 1; transform: none; transition: opacity .6s var(--vp-ease), transform .6s var(--vp-ease); transition-delay: var(--sd, 0ms); }
.vp-js .vp-h1 { --vp-wipe: 1; }
.vp-js .vp-h1__key { animation: vp-wipe .6s var(--vp-ease) .25s both; }
@keyframes vp-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.vp-js .vp-checks .vp-rv.is-in svg path { animation: vp-draw .5s var(--vp-ease) both; animation-delay: calc(var(--sd, 0ms) + 150ms); }
@keyframes vp-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
	.vp *, .vp *::before, .vp *::after { animation: none !important; transition: none !important; }
	.vp-js .vp-rv, .vp .vp-rv { opacity: 1; transform: none; }
}
html.vp-still .vp *, html.vp-still .vp *::before, html.vp-still .vp *::after { animation: none !important; transition: none !important; }
html.vp-still .vp .vp-rv { opacity: 1 !important; transform: none !important; }

/* Phones: media review (designer, Eduardo 11-29: "some of the images just seem floating"). Desktop is unchanged.
 * Rule: a picture stays when it carries the section's point and sits under the text it illustrates; it goes when it
 * only decorates or repeats a picture already on the same scroll. Hidden media never loads: the stills are lazy and
 * the loops start only when they intersect the viewport. */
@media (max-width: 899px) {
	/* s04 vault: decorative, the store-bag icon already marks the section. s08 megaphone and s09 wrench repeat the
	   s03 Marketing and Support cards. */
	.vp-s04 .vp-media, .vp-s08 .vp-media, .vp-s09 .vp-media { display: none; }
	/* Without the megaphone the s08 section is shorter, and from 600px the kiwi (bottom-left) landed on the rows */
	.vp-s08 .vp-f-kiwi { display: none; }
	/* s13: the bottom fruit sat in an empty band below the form. The band was padding reserved for them, so it goes too
	   (back to the normal 64px); the top padding stays for the lime and blackberry. */
	.vp-s13 .vp-f-mango, .vp-s13 .vp-f-splash { display: none; }
	.vp .vp-s13 { padding-bottom: 64px !important; }
	/* s05: a 16:9 ID-scan band between the body and the checklist, so it illustrates the checks instead of trailing them */
	.vp-s05 .vp-split { gap: 24px; }
	.vp-s05 .vp-stack { display: contents; }
	.vp-s05 .vp-media { order: 1; }
	.vp-s05 .vp-checks { order: 2; margin-top: 0; }
	/* s05 and s06: landscape bands, full column width */
	.vp-s05 .vp-media, .vp-s06 .vp-media { aspect-ratio: 16 / 9; width: 100%; margin-inline: 0; }
}
/* s03 on one-column phones: shorter cards, 4:3, so the four services fit in less scroll; the store card shows a phone,
   keep its top. Not in the two-column tablet layout, where a 4:3 card would be mostly text. */
@media (max-width: 599px) {
	.vp-card { aspect-ratio: 4 / 3; }
	.vp-card__body { padding: 20px; gap: 8px; }
	.vp-card__line { min-height: 0; }
	.vp-cards > .vp-card:first-child img, .vp-cards > .vp-card:first-child video { object-position: 50% 0; }
}
