/* Experience carousel cards, "the card is the brand" (Koto-style): each card is filled with the client's brand
   colour, the client's real logo runs across the top, and the card photo becomes one framed object on the right.
   Pure CSS on Framer's card (:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi)); each brand is matched by its card image file. Logos: /brand-logos. */

:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) {
  --bc-pad: 32px; --bc-gap: 18px; --bc-lw: 1;
  --bc-top: calc(var(--bc-pad) + (100cqw - 2 * var(--bc-pad)) * var(--bc-lw) * var(--bc-ar, .15) + var(--bc-gap)); /* photo top: under the logo */
  container: bc-card / size;
  background: var(--bc-bg, #111) !important;
}
/* Photo width: 44% of a wide card (52% of a narrow one), but never so tall that it runs past the card's bottom edge
   or, on a narrow card, into the words under it (--bc-reserve keeps room for three lines and the tags). */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) :is([data-framer-name="Image"], [data-framer-name="Content"]) {
  --bc-obj: 52cqw; --bc-reserve: 96px;
  --bc-fw: min(var(--bc-obj), calc((100cqh - var(--bc-top) - var(--bc-pad) - var(--bc-reserve)) * .8));
}
@container bc-card (min-width: 420px) {
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) :is([data-framer-name="Image"], [data-framer-name="Content"]) { --bc-obj: 44cqw; --bc-reserve: 0px; }
}
/* the logo, drawn in the card's ink colour */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi)::before {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  left: var(--bc-pad); top: var(--bc-pad);
  width: calc((100% - 2 * var(--bc-pad)) * var(--bc-lw));
  padding-top: calc((100% - 2 * var(--bc-pad)) * var(--bc-lw) * var(--bc-ar, .15));
  background: var(--bc-ink);
  -webkit-mask: var(--bc-logo) left top / contain no-repeat; mask: var(--bc-logo) left top / contain no-repeat;
}
/* the photo, framed on the right under the logo */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Image"] {
  inset: auto !important; top: 0 !important; right: var(--bc-pad) !important; left: auto !important;
  width: var(--bc-fw) !important; height: auto !important; aspect-ratio: 4 / 5;
  margin-top: calc(var(--bc-pad) + (100% - 2 * var(--bc-pad)) * var(--bc-lw) * var(--bc-ar, .15) + var(--bc-gap)) !important;
  border-radius: 6px; overflow: hidden; z-index: 1; box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  background: var(--bc-photo, none) center / cover no-repeat;
}
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Image"] > div { inset: 0 !important; width: 100% !important; height: 100% !important; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Image"] img { width: 100% !important; height: 100% !important; object-fit: cover !important; opacity: var(--bc-img, 1); }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Overlay"] { display: none !important; }

/* the words, bottom left in the ink colour */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Content"] {
  top: auto !important; bottom: var(--bc-pad) !important; left: var(--bc-pad) !important; right: auto !important;
  width: calc(100% - var(--bc-fw) - 2 * var(--bc-pad) - 24px) !important; height: auto !important;
  padding: 0 !important; gap: 10px !important; background: none !important; transform: none !important;
  display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: flex-end !important;
}
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Information"] { width: 100% !important; padding: 0 !important; gap: 0 !important; align-items: flex-start !important; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Information"] > div { width: 100% !important; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Information"] > div:first-child {   /* the name: the logo says it, keep it for screen readers */
  position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important;
}
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Information"] p {
  color: var(--bc-ink) !important; text-align: left !important;
  font-size: 15px !important; line-height: 1.4 !important; text-wrap: balance;
}
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Badges"] { width: auto !important; gap: 0 !important; justify-content: flex-start !important; flex-wrap: wrap !important; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] {
  background: none !important; padding: 0 !important; width: auto !important; height: auto !important; flex: none !important;
  border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 0 !important;
}
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"]::after { display: none !important; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] > div { width: auto !important; height: auto !important; overflow: visible !important; position: static !important; margin: 0 !important; padding: 0 !important; transform: none !important; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] p { color: var(--bc-ink) !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.35 !important; white-space: nowrap; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] + [data-framer-name="Elements/Badge"]::before {
  content: "·"; color: var(--bc-ink); margin: 0 6px; font: 500 13px/1 Inter, "Inter Placeholder", sans-serif;
}

/* wide card: the text column is narrow, so the two tags sit on their own lines */
@container bc-card (min-width: 420px) {
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Badges"] { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] + [data-framer-name="Elements/Badge"]::before { content: none; }
}

/* brands: colour, ink, logo (and its height / width), logo width as a share of the card */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="7722ac7ff2189061c52f"]) { --bc-bg: #7cc576; --bc-ink: #0d2a12; --bc-logo: url(/brand-logos/topicals.svg); --bc-ar: .1128; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="d6d8fccb10844499c7ad"]) { --bc-bg: #e6c9a2; --bc-ink: #141210; --bc-logo: url(/brand-logos/olaplex.svg); --bc-ar: .1633; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="7cb4db04b3998315e8a0"]) { --bc-bg: #1532c4; --bc-ink: #fff; --bc-logo: url(/brand-logos/feno.svg); --bc-ar: .3118; --bc-lw: .62; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="e938cb0ea9f6c67f10c4"]) { --bc-bg: #910921; --bc-ink: #fff; --bc-ar: .16; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="ab08285b78e22c595d60"]) { --bc-bg: #3a231c; --bc-ink: #f3e6da; --bc-logo: url(/brand-logos/pattern.png); --bc-ar: .1812; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="5f888c354e5caed3e987"]) { --bc-bg: #c4874f; --bc-ink: #120d09; --bc-logo: url(/brand-logos/gj.svg); --bc-ar: .2033; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="b7851bd970fd3b12abd0"]) { --bc-bg: #f2f0ee; --bc-ink: #111; --bc-logo: url(/brand-logos/mother.svg); --bc-ar: .1071; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="31a9bc8f494d0369dd25"]) { --bc-bg: #ffd84d; --bc-ink: #111; --bc-logo: url(/brand-logos/gleamin.svg); --bc-ar: .1687; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="f1d1177509bd8c8f2033"]) { --bc-bg: #161412; --bc-ink: #fff; --bc-logo: url(/brand-logos/scotch.png); --bc-ar: .3775; --bc-lw: .62; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="74303fda4b7c8a1ac2fa"]) { --bc-bg: #fbf8f3; --bc-ink: #1a1a1a; --bc-ar: .2044; --bc-photo: url(/brand-cards/htai-stat.png); --bc-img: 0; } /* facts from Substack, 2026-11-18: 1,033,000 subscribers, #1 in Education */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="ca4ad2eb6e2e7726b819"]) { --bc-bg: #5b3f84; --bc-ink: #fff; --bc-logo: url(/brand-logos/moon.png); --bc-ar: .3067; --bc-lw: .7; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="c563aef480ceb16c6514"]) { --bc-bg: #5c7271; --bc-ink: #fff; --bc-logo: url(/brand-logos/beachhouse.png); --bc-ar: .0433; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="1016d618dccb752c45ec"]) { --bc-bg: #0b0b0b; --bc-ink: #fff; --bc-logo: url(/brand-logos/breezy.svg); --bc-ar: .2612; --bc-lw: .62; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="5b4280254ec1f4227381"]) { --bc-bg: #2a0c12; --bc-ink: #fff; --bc-ar: .16; --bc-photo: url(/brand-cards/accelpay-site.jpg); --bc-img: 0; } /* the card image cropped before its cut-off cart */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="6392366839dd240656c2"]) { --bc-bg: #9f1743; --bc-ink: #fff; --bc-logo: url(/brand-logos/folly.svg); --bc-ar: .3495; --bc-lw: .62; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="11453b5f75a5c9d7ec6b"]) { --bc-bg: #e5a855; --bc-ink: #1a0f16; --bc-logo: url(/brand-logos/purifyme.svg); --bc-ar: .0856; }

/* How to AI keeps its two-colour logo (the orange AI tag), so it is drawn as an image, not a mask */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="74303fda4b7c8a1ac2fa"])::before { background: url(/brand-logos/htai.svg) left top / contain no-repeat; -webkit-mask: none; mask: none; }
/* no logo file yet for GXVE and AccelPay: their name is set as text in the logo's place */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="e938cb0ea9f6c67f10c4"])::before,
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="5b4280254ec1f4227381"])::before {
  background: none; -webkit-mask: none; mask: none; padding-top: 0; color: var(--bc-ink);
  font: 600 64px/1 Inter, "Inter Placeholder", sans-serif; letter-spacing: -.03em;
}
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="e938cb0ea9f6c67f10c4"])::before { content: "GXVE"; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="5b4280254ec1f4227381"])::before { content: "accelpay"; }

/* narrow card: the words sit under the photo, across the card */
@container bc-card (max-width: 419.98px) {
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Content"] { right: var(--bc-pad) !important; width: auto !important; gap: 8px !important; }
}
@media (max-width: 1439.98px) {
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) { --bc-pad: 24px; --bc-gap: 14px; }
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Information"] p { font-size: 14px !important; }
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="e938cb0ea9f6c67f10c4"])::before,
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="5b4280254ec1f4227381"])::before { font-size: 44px; }
}
@media (max-width: 809.98px) {
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) { --bc-pad: 22px; }
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Information"] p { font-size: 13.5px !important; }
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] p,
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi) [data-framer-name="Elements/Badge"] + [data-framer-name="Elements/Badge"]::before { font-size: 12px !important; }
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="e938cb0ea9f6c67f10c4"])::before,
  :is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="5b4280254ec1f4227381"])::before { font-size: 44px; }
}

/* PREVIEW ONLY: New Theory Ventures and Susteau (logos and photos cut from their own sites; Susteau from a 2021 archive) */
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="ntv-card"]) { --bc-bg: #ffe6cd; --bc-ink: #ff3338; --bc-logo: url(/brand-logos/ntv.png); --bc-ar: .6757; --bc-lw: .3; }
:is(.framer-XUajW, .framer-VqCmB, .framer-1d5Xi):has(img[src*="susteau-card"]) { --bc-bg: #6d7871; --bc-ink: #fff; --bc-logo: url(/brand-logos/susteau.png); --bc-ar: .1667; --bc-lw: .62; }
