/**
 * forge-funnel-scenes.css — SCENES: the section looks with motion + the chat / reel /
 * before-after blocks. Loaded after forge-funnel-looks.css on EVERY surface (served page,
 * builder canvas, Studio thumbnails, the AI's eyes).
 *
 * Rules of this file (plans/2026-09-25-scene-funnels-1-scenes-engine.md):
 *  - a scene look only styles a section carrying `f-look-<name>` on a v2 funnel; the three
 *    blocks style themselves on any funnel — no stored page changes;
 *  - EVERY animation is gated on `.f-on` (an ancestor class only public/funnel/
 *    forge-funnel-scenes.js adds when the section is on screen): without the script the
 *    stylesheet shows the FINISHED state — nothing important sits at opacity 0;
 *  - reduced motion = the finished state;
 *  - transform and opacity only; ease-out for entrances, linear for loops; loops 10–16 s;
 *  - colours come from the brand variables only (--f-accent, --f-accent-fg, --f-fg, --f-bg,
 *    --f-surface, --f-accent-soft, --f-ink-dark). White cards are white, like the looks.
 */

@property --f-n { syntax: '<integer>'; initial-value: 0; inherits: false; }
@property --f-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* ── keyframes (named f-*, never colliding with the runtime's) ─────────── */
@keyframes f-spot { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18%, 12%) scale(1.15); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes f-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes f-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes f-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes f-slide-l { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes f-slide-r { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes f-slide { to { transform: translateX(-50%); } }
@keyframes f-count { from { --f-n: 0; } }
@keyframes f-spin { to { --f-a: 360deg; } }
@keyframes f-shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -20% 0; } }
@keyframes f-ring { to { box-shadow: 0 0 0 16px transparent; } }
@keyframes f-strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes f-prog { from { width: 0; } to { width: 100%; } }
@keyframes f-msg-1 { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 7%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-2 { 0%, 14% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 17%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-3 { 0%, 24% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 27%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-4 { 0%, 34% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 37%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-5 { 0%, 44% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 47%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-6 { 0%, 54% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 57%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-7 { 0%, 64% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 67%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-8 { 0%, 74% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 77%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }
@keyframes f-msg-9 { 0%, 82% { opacity: 0; transform: translateY(10px) scale(.94); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; } 85%, 94% { opacity: 1; transform: none; max-height: 200px; } 98%, 100% { opacity: 0; max-height: 200px; } }

/* ── shared by the two openers: copy left, media right; on the phone copy, cards, media ── */
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) { position: relative; overflow: hidden; }
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) > :is(.f-col, .f-row) { position: relative; z-index: 1; }
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row > .f-col:first-child { text-align: left; }
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row > .f-col:first-child .f-h1:not([class*="f-size-"]):not([style*="font-size"]),
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row > .f-col:first-child .f-h2:not([class*="f-size-"]):not([style*="font-size"]) { text-align: left; }
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row > .f-col:first-child .f-eyebrow { text-align: left; }
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-sub.f-size-xl { font-size: 34px; line-height: 38px; letter-spacing: -.025em; }
:where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-list li { font-size: 17px; }
/* The fold rule (owner: Part 1): the phone shows copy, then the cards, then the media — column 2
   keeps its DOM place (after column 1) and its picture never grows past a third of the screen. */
@media (max-width: 767px) {
  :where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row > .f-col:nth-child(2) { order: 0; }
  :where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row > .f-col:nth-child(2) > .f-media img { max-height: 38vh; object-fit: cover; }
}
@media (min-width: 768px) {
  :where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-row { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  :where(.f-v2) :is(.f-look-hero-spot, .f-look-hero-wave) .f-sub.f-size-xl { font-size: 46px; line-height: 50px; }
}

/* ── hero-spot: a soft spotlight that drifts ───────────────────────────── */
:where(.f-v2) .f-look-hero-spot { background: var(--f-bg, #fafafc); }
:where(.f-v2) .f-look-hero-spot::before { content: ''; position: absolute; left: -10%; top: -20%; width: 70vmax; height: 70vmax; max-width: 900px; max-height: 900px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at center, var(--f-accent-soft, #d9f2e6) 0%, transparent 62%); opacity: .9; will-change: transform; }
:where(.f-v2) .f-look-hero-spot.f-on::before { animation: f-spot 28s ease-in-out infinite; }

/* ── hero-wave: the dark band with the dot wave (the script draws the canvas) ─ */
:where(.f-v2) .f-look-hero-wave { background: var(--f-ink-dark, #0b0f0d); color: var(--f-accent-fg, #fff); }
:where(.f-v2) .f-look-hero-wave :is(.f-h1, .f-h2, .f-sub, .f-list li, .f-trust, .f-hint) { color: inherit; }
:where(.f-v2) .f-look-hero-wave .f-sub { opacity: .92; }
:where(.f-v2) .f-look-hero-wave .f-list li::before { color: var(--f-accent, #10b981); }
/* the rest state: a static dot landscape rising to the top right */
:where(.f-v2) .f-look-hero-wave::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, var(--f-accent, #10b981) 1px, transparent 1.6px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(200deg, rgba(0,0,0,.9) 10%, transparent 60%); mask-image: linear-gradient(200deg, rgba(0,0,0,.9) 10%, transparent 60%); }
:where(.f-v2) .f-look-hero-wave.f-has-wave::before { opacity: 0; }
:where(.f-v2) .f-look-hero-wave .f-wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
:where(.f-v2) .f-look-hero-wave .f-vsl-box { box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
:where(.f-v2) .f-look-hero-wave .f-choice-card { box-shadow: 0 12px 32px -12px rgba(0,0,0,.5); }
:where(.f-v2) .f-look-hero-wave .f-form { background: #fff; color: var(--f-fg, #111827); border-radius: var(--f-radius, 16px); padding: 22px 18px; }

/* ── count-up: the numbers count from zero (script sets --f-n from the text) ─ */
:where(.f-v2) .f-look-count-up { background: var(--f-surface, #f4f7f5); }
:where(.f-v2) .f-look-count-up .f-stats { gap: 22px 14px; }
:where(.f-v2) .f-look-count-up .f-stat { background: #fff; border-radius: var(--f-radius, 16px); padding: 20px 12px; box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 8px 24px rgba(17,24,39,.06); }
:where(.f-v2) .f-look-count-up .f-stat-v { font-size: 40px; font-variant-numeric: tabular-nums; position: relative; }
@media (min-width: 768px) { :where(.f-v2) .f-look-count-up .f-stat-v { font-size: 52px; } }
:where(.f-v2) .f-look-count-up .f-stat-num { display: none; }
:where(.f-v2) .f-look-count-up.f-on .f-stat-v.f-count .f-stat-txt { position: absolute; opacity: 0; pointer-events: none; }
:where(.f-v2) .f-look-count-up.f-on .f-stat-v.f-count .f-stat-num { display: inline; counter-reset: f-n var(--f-n); animation: f-count 2.2s cubic-bezier(.2,.7,.2,1) both; }
:where(.f-v2) .f-look-count-up.f-on .f-stat-v.f-count .f-stat-num::before { content: var(--f-pre, ''); }
:where(.f-v2) .f-look-count-up.f-on .f-stat-v.f-count .f-stat-num::after { content: counter(f-n) var(--f-suf, ''); }

/* ── bento: feature cards with a floating icon tile ────────────────────── */
:where(.f-v2) .f-look-bento { background: var(--f-bg, #fafafc); }
:where(.f-v2) .f-look-bento .f-row > .f-col { background: #fff; border-radius: var(--f-radius, 18px); padding: 26px 22px; justify-content: flex-start; text-align: left; border: 1px solid var(--f-accent-soft, #e3f3ea); box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 10px 30px -12px rgba(17,24,39,.12); transition: transform .25s ease-out, box-shadow .25s ease-out; }
:where(.f-v2) .f-look-bento .f-row > .f-col:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 22px 44px -16px rgba(17,24,39,.2); }
:where(.f-v2) .f-look-bento .f-row > .f-col .f-graphic { justify-content: flex-start; margin: 0 0 16px; }
:where(.f-v2) .f-look-bento .f-row > .f-col .f-graphic svg { width: 28px; height: 28px; padding: 12px; box-sizing: content-box; border-radius: 14px; background: var(--f-accent-soft, #e3f3ea); }
:where(.f-v2) .f-look-bento .f-row > .f-col .f-sub { font-size: 16px; line-height: 24px; }
:where(.f-v2) .f-look-bento .f-row > .f-col .f-sub:first-of-type { font-weight: 700; font-size: 19px; line-height: 25px; margin-bottom: 6px; }
:where(.f-v2) .f-look-bento .f-h2:not([class*="f-size-"]):not([style*="font-size"]) { text-align: center; }
@media (min-width: 768px) { :where(.f-v2) .f-look-bento .f-row { gap: 18px; } }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col { animation: f-rise .7s ease-out both; }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col:nth-child(2) { animation-delay: .12s; }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col:nth-child(3) { animation-delay: .24s; }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col:nth-child(4) { animation-delay: .36s; }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col .f-graphic svg { animation: f-float 5s ease-in-out infinite; }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col:nth-child(2) .f-graphic svg { animation-delay: -1.6s; }
:where(.f-v2) .f-look-bento.f-on .f-row > .f-col:nth-child(3) .f-graphic svg { animation-delay: -3.2s; }

/* ── timeline-scroll: the line fills as you scroll (fully drawn where unsupported) ─ */
:where(.f-v2) .f-look-timeline-scroll .f-list { counter-reset: f-step; gap: 0; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
:where(.f-v2) .f-look-timeline-scroll .f-list::before, :where(.f-v2) .f-look-timeline-scroll .f-list::after { content: ''; position: absolute; left: 17px; top: 14px; bottom: 30px; width: 4px; border-radius: 4px; }
:where(.f-v2) .f-look-timeline-scroll .f-list::before { background: var(--f-accent-soft, #e3f3ea); }
:where(.f-v2) .f-look-timeline-scroll .f-list::after { background: var(--f-accent, #059669); transform-origin: top; }
:where(.f-v2) .f-look-timeline-scroll .f-list li { counter-increment: f-step; position: relative; z-index: 1; padding: 0 0 28px 58px; font-size: 17px; min-height: 40px; }
:where(.f-v2) .f-look-timeline-scroll .f-list li::before { content: counter(f-step); position: absolute; left: 0; top: -4px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--f-accent, #059669); color: var(--f-accent-fg, #fff); font-weight: 800; box-shadow: 0 0 0 4px var(--f-bg, #fff); }
:where(.f-v2) .f-look-timeline-scroll .f-list-ico li::before { content: counter(f-step); }
:where(.f-v2) .f-look-timeline-scroll .f-list li .f-li-ic { display: none; }
@supports (animation-timeline: view()) {
  :where(.f-v2) .f-look-timeline-scroll.f-on .f-list::after { animation: f-grow linear both; animation-timeline: view(); animation-range: entry 15% cover 70%; }
}

/* ── results-zigzag: picture / copy rows alternating sides ─────────────── */
:where(.f-v2) .f-look-results-zigzag .f-col:has(> .f-media) { display: grid; grid-template-columns: 1fr; gap: 6px 36px; align-items: center; text-align: left; }
:where(.f-v2) .f-look-results-zigzag .f-col > .f-media { margin: 22px 0 10px; }
:where(.f-v2) .f-look-results-zigzag .f-col > .f-media img { border-radius: var(--f-radius, 16px); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 16px 40px -18px rgba(17,24,39,.35); }
:where(.f-v2) .f-look-results-zigzag .f-col > .f-sub:has(> strong:only-child) { font-size: 22px; line-height: 28px; }
@media (max-width: 639px) { :where(.f-v2) .f-look-results-zigzag .f-col:not(.f-col-frame) > .f-media { margin-left: 0; margin-right: 0; } :where(.f-v2) .f-look-results-zigzag .f-col:not(.f-col-frame) > .f-media img { border-radius: var(--f-radius, 16px); } }
@media (min-width: 768px) {
  :where(.f-v2) .f-look-results-zigzag .f-col:has(> .f-media) { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 4px 44px; }
  :where(.f-v2) .f-look-results-zigzag .f-col > .f-media { grid-column: 1; grid-row: span 2; margin: 26px 0; }
  :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+2), :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+3) { grid-column: 2; }
  :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+4) { grid-column: 2; }
  :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+5), :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+6) { grid-column: 1; }
  :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+2) { align-self: end; }
  :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+3), :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+6) { align-self: start; }
  :where(.f-v2) .f-look-results-zigzag .f-col > :nth-child(6n+5) { align-self: end; }
}
:where(.f-v2) .f-look-results-zigzag.f-on .f-col > .f-media { animation: f-slide-l .8s ease-out both; }
:where(.f-v2) .f-look-results-zigzag.f-on .f-col > :nth-child(6n+4) { animation-name: f-slide-r; }
:where(.f-v2) .f-look-results-zigzag.f-on .f-col > .f-sub { animation: f-rise .8s ease-out both; animation-delay: .15s; }
@supports (animation-timeline: view()) {
  :where(.f-v2) .f-look-results-zigzag.f-on .f-col > :is(.f-media, .f-sub) { animation-duration: 1s; animation-timeline: view(); animation-range: entry 0% entry 55%; animation-delay: 0s; }
}

/* ── review-marquee: two rows gliding opposite ways (the script clones the row) ─ */
:where(.f-v2) .f-look-review-marquee { background: var(--f-surface, #f4f7f5); overflow: hidden; }
:where(.f-v2) .f-look-review-marquee .f-col { max-width: none; padding-left: 0; padding-right: 0; }
:where(.f-v2) .f-look-review-marquee .f-reviews { display: flex; gap: 12px; background: none; padding: 0; margin: 18px 0 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
:where(.f-v2) .f-look-review-marquee .f-reviews.f-mq { flex-direction: column; }
:where(.f-v2) .f-look-review-marquee .f-mq-row { display: flex; gap: 12px; width: max-content; }
:where(.f-v2) .f-look-review-marquee .f-review { flex: 0 0 auto; width: 260px; background: #fff; border-radius: var(--f-radius, 14px); padding: 16px 16px; font-size: 14.5px; line-height: 1.5; text-align: left; box-shadow: 0 8px 24px rgba(17,24,39,.06); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
:where(.f-v2) .f-look-review-marquee .f-review-name { font-weight: 700; opacity: .8; font-size: 13px; margin-top: 8px; }
:where(.f-v2) .f-look-review-marquee .f-reviews:hover .f-mq-row { animation-play-state: paused; }
:where(.f-v2) .f-look-review-marquee.f-on .f-mq-row { animation: f-slide 42s linear infinite; }
:where(.f-v2) .f-look-review-marquee.f-on .f-mq-row.f-mq-rev { animation-direction: reverse; animation-duration: 50s; }

/* ── cta-glow: the final call with a living button ─────────────────────── */
:where(.f-v2) .f-look-cta-glow { background: var(--f-surface, #f4f7f5); }
:where(.f-v2) .f-look-cta-glow > .f-col { background: #fff; color: var(--f-fg, #111827); border-radius: var(--f-radius, 22px); padding: 36px 22px; text-align: center; box-shadow: 0 24px 64px -24px rgba(17,24,39,.25); max-width: 640px; }
:where(.f-v2) .f-look-cta-glow .f-btn { position: relative; isolation: isolate; overflow: hidden; background-color: var(--f-accent, #059669); background-image: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); background-size: 250% 100%; background-position: -20% 0; transition: transform .2s; }
:where(.f-v2) .f-look-cta-glow .f-btn:hover { transform: translateY(-2px); }
:where(.f-v2) .f-look-cta-glow .f-btn::before { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--f-a), transparent 0 70%, var(--f-accent-fg, #fff) 80%, transparent 90%); opacity: .9; }
:where(.f-v2) .f-look-cta-glow .f-btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
:where(.f-v2) .f-look-cta-glow.f-on .f-btn { animation: f-shine 3.2s ease-in-out infinite; }
:where(.f-v2) .f-look-cta-glow.f-on .f-btn::before { animation: f-spin 3.2s linear infinite; }
:where(.f-v2) .f-look-cta-glow.f-on .f-btn::after { animation: f-ring 2.4s ease-out infinite; box-shadow: 0 0 0 0 var(--f-accent-soft, #d9f2e6); }
:where(.f-v2) .f-look-cta-glow .f-trust { opacity: .75; }

/* ── logo-marquee: logos gliding endlessly on the dark band (the script clones the row).
      Every logo is drawn as a white silhouette, so a white-on-transparent logo and a coloured one
      read the same — the homepage's treatment, and it works on every brand. ─── */
:where(.f-v2) .f-look-logo-marquee { overflow: hidden; background: var(--f-ink-dark, #0b0f0d); color: var(--f-accent-fg, #fff); }
:where(.f-v2) .f-sec.f-look-logo-marquee:not([class*="f-pt-"]) { padding-top: 28px; }
:where(.f-v2) .f-sec.f-look-logo-marquee:not([class*="f-pb-"]) { padding-bottom: 28px; }
:where(.f-v2) .f-look-logo-marquee .f-col { max-width: none; padding-left: 0; padding-right: 0; }
:where(.f-v2) .f-look-logo-marquee .f-gallery { display: flex; gap: 36px; overflow: hidden; margin: 14px 0 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
:where(.f-v2) .f-look-logo-marquee .f-gallery.f-mq { flex-direction: column; }
:where(.f-v2) .f-look-logo-marquee .f-mq-row { display: flex; gap: 36px; width: max-content; align-items: center; }
:where(.f-v2) .f-look-logo-marquee .f-gallery-item { flex: 0 0 auto; width: 140px; height: 56px; display: grid; place-items: center; }
:where(.f-v2) .f-look-logo-marquee .f-gallery-item img { width: auto; max-width: 140px; height: 40px; object-fit: contain; border-radius: 0; background: none; filter: brightness(0) invert(1); opacity: .75; transition: opacity .3s; }
:where(.f-v2) .f-look-logo-marquee .f-gallery-item:hover img { opacity: 1; }
:where(.f-v2) .f-look-logo-marquee .f-gallery-item figcaption { display: none; }
:where(.f-v2) .f-look-logo-marquee .f-h2:not([class*="f-size-"]):not([style*="font-size"]), :where(.f-v2) .f-look-logo-marquee .f-sub { color: inherit; font-size: 13px; line-height: 20px; font-weight: 600; opacity: .7; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
:where(.f-v2) .f-look-logo-marquee .f-gallery:hover .f-mq-row { animation-play-state: paused; }
:where(.f-v2) .f-look-logo-marquee.f-on .f-mq-row { animation: f-slide 36s linear infinite; }

/* ── tabs-story: two columns as tabs that switch by themselves (script builds the bar) ─ */
:where(.f-v2) .f-look-tabs-story .f-tabs { display: none; }
:where(.f-v2) .f-look-tabs-story .f-row > .f-col { text-align: left; justify-content: flex-start; }
:where(.f-v2) .f-look-tabs-story .f-row > .f-col > .f-sub:first-child { font-size: 22px; line-height: 28px; margin-bottom: 10px; }
@media (min-width: 768px) {
  :where(.f-v2) .f-look-tabs-story .f-tabs { display: flex; gap: 8px; justify-content: center; max-width: 640px; margin: 0 auto 26px; padding: 0 16px; }
  :where(.f-v2) .f-look-tabs-story .f-tabs button { flex: 1; position: relative; overflow: hidden; border: 1px solid var(--f-accent-soft, #e3f3ea); background: #fff; color: var(--f-fg, #111827); font: inherit; font-size: 15px; font-weight: 700; padding: 13px 16px; border-radius: 999px; cursor: pointer; text-align: center; }
  :where(.f-v2) .f-look-tabs-story .f-tabs button.f-tab-on { border-color: var(--f-accent, #059669); color: var(--f-accent, #059669); }
  :where(.f-v2) .f-look-tabs-story .f-tabs button i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--f-accent, #059669); }
  :where(.f-v2) .f-look-tabs-story.f-on .f-tabs button.f-tab-on i { animation: f-prog 6s linear both; }
  :where(.f-v2) .f-look-tabs-story.f-has-tabs .f-row { grid-template-columns: 1fr; max-width: 896px; }
  :where(.f-v2) .f-look-tabs-story.f-has-tabs .f-row > .f-col:not(.f-tab-on) { display: none; }
  :where(.f-v2) .f-look-tabs-story.f-has-tabs .f-row > .f-col > .f-sub:first-child { display: none; }
  :where(.f-v2) .f-look-tabs-story.f-has-tabs.f-on .f-row > .f-col.f-tab-on { animation: f-rise .5s ease-out both; }
}

/* ── strike-cards: the struck "was" line draws itself ──────────────────── */
:where(.f-v2) .f-look-strike-cards { background: var(--f-surface, #f4f7f5); }
:where(.f-v2) .f-look-strike-cards .f-row > .f-col { background: #fff; border-radius: var(--f-radius, 16px); padding: 24px 22px; justify-content: flex-start; text-align: left; box-shadow: 0 1px 2px rgba(17,24,39,.05), 0 8px 24px rgba(17,24,39,.06); }
:where(.f-v2) .f-look-strike-cards .f-row > .f-col .f-sub s { text-decoration: none; position: relative; opacity: .55; display: inline; }
:where(.f-v2) .f-look-strike-cards .f-row > .f-col .f-sub s::after { content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; background: var(--f-fg, #111827); transform-origin: left; }
:where(.f-v2) .f-look-strike-cards .f-row > .f-col .f-sub:nth-of-type(2) { font-weight: 800; font-size: 22px; line-height: 28px; color: var(--f-accent, #059669); margin-top: 4px; }
:where(.f-v2) .f-look-strike-cards .f-row > .f-col .f-sub:nth-of-type(2)::before { content: '→ '; }
:where(.f-v2) .f-look-strike-cards.f-on .f-row > .f-col .f-sub s::after { animation: f-strike .8s ease-out both; animation-delay: .4s; }
:where(.f-v2) .f-look-strike-cards.f-on .f-row > .f-col:nth-child(2) .f-sub s::after { animation-delay: .7s; }
:where(.f-v2) .f-look-strike-cards.f-on .f-row > .f-col:nth-child(3) .f-sub s::after { animation-delay: 1s; }
:where(.f-v2) .f-look-strike-cards.f-on .f-row > .f-col:nth-child(4) .f-sub s::after { animation-delay: 1.3s; }

/* ══════════════════════════════════════════════════════════════════════════
   The three scene BLOCKS (any funnel). Rest state = everything shown.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── chat: a phone (WhatsApp / SMS) or a lock screen (notifications) ───── */
.f-chat { display: flex; justify-content: center; margin: 18px 0; }
.f-chat.f-al-l { justify-content: flex-start; } .f-chat.f-al-r { justify-content: flex-end; }
.f-chat-phone { width: 280px; max-width: 100%; border-radius: 40px; background: #0e0f10; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), inset 0 0 0 2px #2a2c2e; position: relative; font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; color: #111b21; }
.f-chat-phone::before { content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 78px; height: 20px; border-radius: 20px; background: #0e0f10; z-index: 3; }
.f-chat-top { border-radius: 31px 31px 0 0; padding: 34px 14px 10px; display: flex; align-items: center; gap: 9px; color: #fff; }
.f-chat-whatsapp .f-chat-top { background: #075e54; }
.f-chat-sms .f-chat-top { background: #f6f6f6; color: #111; }
.f-chat-av { width: 30px; height: 30px; border-radius: 50%; background: var(--f-accent, #059669); color: var(--f-accent-fg, #fff); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; }
.f-chat-who b { display: block; font-size: 13px; line-height: 1.2; } .f-chat-who small { font-size: 10.5px; opacity: .8; }
.f-chat-body { min-height: 300px; padding: 12px 9px 6px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; }
.f-chat-whatsapp .f-chat-body { background: #efe7de radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px) 0 0/12px 12px; }
.f-chat-sms .f-chat-body { background: #fff; }
.f-msg { max-width: 84%; font-size: 12px; line-height: 1.4; padding: 6px 9px 5px; border-radius: 10px; box-shadow: 0 1px .5px rgba(0,0,0,.13); overflow: hidden; }
.f-msg time { display: block; text-align: right; font-size: 9.5px; opacity: .6; margin-top: 1px; }
.f-msg.f-in { align-self: flex-start; border-top-left-radius: 2px; background: #fff; }
.f-msg.f-out { align-self: flex-end; border-top-right-radius: 2px; }
.f-chat-whatsapp .f-msg.f-out { background: #d9fdd3; }
.f-chat-whatsapp .f-msg.f-out time::after { content: ' ✓✓'; color: #53bdeb; letter-spacing: -2px; }
.f-chat-sms .f-msg.f-in { background: #e9e9eb; }
.f-chat-sms .f-msg.f-out { background: #0b84fe; color: #fff; }
.f-chat-sms .f-msg.f-out time { color: rgba(255,255,255,.75); }
.f-chat-card { align-self: flex-start; background: #fff; border-radius: 10px; overflow: hidden; width: 86%; box-shadow: 0 1px .5px rgba(0,0,0,.13); font-size: 12px; }
.f-chat-card-band { background: var(--f-accent, #059669); color: var(--f-accent-fg, #fff); padding: 7px 10px; font-weight: 700; }
.f-chat-card-band::before { content: '✓ '; }
.f-chat-card dl { margin: 0; padding: 7px 10px 8px; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.f-chat-card dt { opacity: .6; } .f-chat-card dd { margin: 0; font-weight: 600; }
.f-chat-foot { padding: 7px 9px 14px; display: flex; gap: 6px; align-items: center; border-radius: 0 0 31px 31px; }
.f-chat-whatsapp .f-chat-foot { background: #f0f2f5; } .f-chat-sms .f-chat-foot { background: #f6f6f6; }
.f-chat-foot span { flex: 1; background: #fff; border-radius: 16px; padding: 6px 10px; font-size: 11px; color: #8696a0; border: 1px solid rgba(0,0,0,.06); }
.f-chat-foot i { width: 28px; height: 28px; border-radius: 50%; background: var(--f-accent, #059669); flex: none; }
/* the lock screen */
.f-chat-lock { width: 280px; max-width: 100%; border-radius: 30px; padding: 22px 12px 18px; min-height: 340px; color: #fff; background: linear-gradient(160deg, var(--f-ink-dark, #1b2430), #10151c 75%); font-family: -apple-system, 'Segoe UI', Roboto, sans-serif; }
.f-chat-clock { text-align: center; font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: -1px; margin-bottom: 18px; }
.f-chat-stack { display: flex; flex-direction: column; gap: 7px; }
.f-note { display: flex; gap: 9px; align-items: flex-start; background: rgba(255,255,255,.17); border-radius: 16px; padding: 9px 10px; overflow: hidden; }
.f-note-ic { width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center; background: var(--f-accent, #059669); color: var(--f-accent-fg, #fff); font-weight: 700; font-size: 11px; }
.f-note > div { flex: 1; min-width: 0; }
.f-note b { font-size: 11.5px; display: flex; justify-content: space-between; gap: 6px; } .f-note b small { font-weight: 400; opacity: .7; }
.f-note p { margin: 1px 0 0; font-size: 11.5px; line-height: 1.3; opacity: .92; }
.f-chat-stack .f-chat-card { align-self: stretch; width: auto; color: #111b21; }
/* one 14 s loop per phone; each line owns its moment — only on .f-on */
.f-on .f-chat :is(.f-msg, .f-note, .f-chat-card) { animation: 14s infinite both; animation-delay: -6s; }
.f-on .f-chat .f-msg-n1 { animation-name: f-msg-1; } .f-on .f-chat .f-msg-n2 { animation-name: f-msg-2; } .f-on .f-chat .f-msg-n3 { animation-name: f-msg-3; }
.f-on .f-chat .f-msg-n4 { animation-name: f-msg-4; } .f-on .f-chat .f-msg-n5 { animation-name: f-msg-5; } .f-on .f-chat .f-msg-n6 { animation-name: f-msg-6; }
.f-on .f-chat .f-msg-n7 { animation-name: f-msg-7; } .f-on .f-chat .f-msg-n8 { animation-name: f-msg-8; } .f-on .f-chat .f-msg-n9 { animation-name: f-msg-9; }

/* ── reel: the tilted strip of clips ───────────────────────────────────── */
.f-reel { position: relative; margin: 18px 0; overflow: hidden; padding: 26px 0 18px; perspective: 1200px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.f-reel-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 12%; scrollbar-width: none; -webkit-overflow-scrolling: touch; transform: rotateX(5deg) rotateZ(-2.5deg); transform-origin: center; }
.f-reel-track::-webkit-scrollbar { display: none; }
.f-reel-item { flex: 0 0 62%; margin: 0; scroll-snap-align: center; aspect-ratio: 9 / 16; border-radius: var(--f-radius, 14px); overflow: hidden; background: rgba(127,127,127,.12); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.f-reel-item video, .f-reel-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.f-reel-cap { margin: 12px 0 0; text-align: center; font-size: 13.5px; opacity: .72; }
.f-reel-nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--f-fg, #111827); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); z-index: 2; align-items: center; justify-content: center; padding: 0 0 3px; }
.f-reel-prev { left: 10px; } .f-reel-next { right: 10px; }
.f-reel.f-live .f-reel-nav { display: flex; }
@media (min-width: 640px) { .f-reel-item { flex-basis: 34%; } }
@media (min-width: 1024px) { .f-reel-item { flex-basis: 22%; } .f-reel-track { padding: 0 6%; } }

/* ── before / after: two photos under one handle ───────────────────────── */
.f-gallery-ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--f-radius, 14px); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --f-ba: 50%; }
.f-gallery-ba .f-gallery-item { position: absolute; inset: 0; margin: 0; }
.f-gallery-ba .f-gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.f-gallery-ba .f-ba-a { clip-path: inset(0 0 0 var(--f-ba)); }
.f-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--f-ba); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.f-ba-handle::after { content: '⇔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--f-fg, #111827); display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); }
.f-ba-lbl { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.f-ba-lbl-b { left: 12px; } .f-ba-lbl-a { right: 12px; }

/* ── reduced motion = the finished state, everywhere ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .f-on, .f-on *, .f-on *::before, .f-on *::after { animation: none !important; }
  .f-on .f-stat-v.f-count .f-stat-txt { position: static !important; opacity: 1 !important; }
  .f-on .f-stat-v.f-count .f-stat-num { display: none !important; }
  .f-look-timeline-scroll .f-list::after { transform: none !important; }
  .f-look-tabs-story.f-has-tabs .f-tabs button i { width: 100%; }
}

/* ── dark brands (Scene Funnels Part 4): every white card reads its own ink. `--f-card-fg` is set by
   the brand vars ONLY when the brand background is dark (lib/funnel-column.ts); on a light brand the
   cards inherit exactly as before. Loaded last, so it wins over a look's own `color: var(--f-fg)`. ── */
:where(.f-v2) .f-faq-item,
:where(.f-v2) .f-look-hero-split .f-form,
:where(.f-v2) .f-look-hero-wave .f-form,
:where(.f-v2) .f-look-cards > .f-col .f-proof-row,
:where(.f-v2) .f-look-photo-cards .f-row > .f-col,
:where(.f-v2) .f-look-card-slider .f-row > .f-col,
:where(.f-v2) .f-look-review-wall .f-review,
:where(.f-v2) .f-look-review-marquee .f-review,
:where(.f-v2) .f-look-offer-split .f-row > .f-col:nth-child(2),
:where(.f-v2) .f-look-cta-card > .f-col,
:where(.f-v2) .f-look-cta-glow > .f-col,
:where(.f-v2) .f-look-count-up .f-stat,
:where(.f-v2) .f-look-bento .f-row > .f-col,
:where(.f-v2) .f-look-strike-cards .f-row > .f-col,
:where(.f-v2) .f-look-tabs-story .f-tabs button { color: var(--f-card-fg, inherit); --f-sub-fg: initial; }
:where(.f-v2) .f-look-tabs-story .f-tabs button.f-tab-on { color: var(--f-accent, #059669); }

/* ── a PORTRAIT clip in a VSL frame (a vertical ad in the wave hero): the script marks the box when the
   video reports its size; it becomes a phone-shaped tile instead of a pillarboxed 16:9 box. ── */
:where(.f-v2) .f-vsl-box.f-portrait { aspect-ratio: 9 / 16; max-width: 300px; margin-left: auto; margin-right: auto; }
