/* ac-reveal */
/* Scroll-in reveal for `.wow` elements.
 *
 * assets/js-raw/main.js adds `.animated` when a `.wow` element enters the
 * viewport. These are the only rules from animate.css (57 KB, 2,759 lines)
 * the site ever used: a census of all 302 pages (tests/library-census.mjs,
 * 2026-11-11) found `fadeInUp` on 177 pages and nothing else; `fadeIn` is kept
 * for the eight legacy templates that name it. Values are animate.css 3.x's.
 */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.fadeInUp { animation-name: fadeInUp; }

@keyframes fadeIn {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
.fadeIn { animation-name: fadeIn; }

/* Motion is decoration here; content must never wait on it. */
@media (prefers-reduced-motion: reduce) {
    .animated { animation: none !important; }
}

/* ac-home-welcome */
/* Editorial guide, scoped to the homepage welcome. */
/* The legacy body's hidden/auto overflow creates a non-scrolling sticky
   containing block. Clip horizontal paint without making another scroller. */
html body.css-family-home:has(#home-welcome) {
    overflow-x: clip !important;
    overflow-y: visible !important;
}
html body:not(.wp-admin) #home-welcome {
    --welcome-header-offset: 120px;
    width: 100%; margin: 0; padding-block: clamp(64px, 7vw, 108px) !important;
    background: #fff !important; color: #1d1d1f; font-family: "Outfit", sans-serif;
}
html body:not(.wp-admin) #home-welcome > .container {
    width: 100% !important; max-width: 1200px !important; margin-inline: auto !important;
    padding-inline: 24px !important; box-sizing: border-box;
}
/* Match the gutter the rest of the home page uses. The hero and the store
   slider both start at 118px at 1440; the 1200px cap plus 24px of padding
   put this section at 137, a 19px step against them. 83.5vw is what every
   .container-dynamic on the site resolves to, and the padding goes so the
   content starts on the container edge rather than inside it.

   Desktop only: at phone widths the 24px IS the gutter. */
@media (min-width: 768px) {
    html body:not(.wp-admin) #home-welcome > .container {
        max-width: 83.5vw !important;
        padding-inline: 0 !important;
    }
}
#home-welcome .ac-home-welcome__layout {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 88px); align-items: start;
}
#home-welcome .ac-home-welcome__layout > div { min-width: 0; }
#home-welcome .ac-home-welcome__left {
    position: sticky; top: var(--welcome-header-offset); align-self: start;
}
#home-welcome .ac-home-welcome__left--flow { position: static; }
#home-welcome h2 {
    margin: 0 0 24px; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.13;
    font-weight: 600; letter-spacing: -.035em; color: #1d1d1f;
}
#home-welcome .ac-home-welcome__nav { margin-top: 36px; }
#home-welcome .ac-home-welcome__nav ol { list-style: none; padding: 0; margin: 0; }
#home-welcome .ac-home-welcome__nav li { margin: 0; padding: 0; border-top: 1px solid #dedee3; }
#home-welcome .ac-home-welcome__nav li:last-child { border-bottom: 1px solid #dedee3; }
html body:not(.wp-admin) #home-welcome .ac-home-welcome__nav ol {
    list-style: none !important; counter-reset: none !important;
    padding: 0 !important; margin: 0 !important;
}
html body:not(.wp-admin) #home-welcome .ac-home-welcome__nav ol > li {
    display: block !important; list-style: none !important;
    counter-increment: none !important; padding: 0 !important; margin: 0 !important;
}
html body:not(.wp-admin) #home-welcome .ac-home-welcome__nav ol > li::before,
html body:not(.wp-admin) #home-welcome .ac-home-welcome__nav ol > li::after,
html body:not(.wp-admin) #home-welcome .ac-home-welcome__nav ol > li::marker {
    content: none !important; display: none !important;
}
#home-welcome .ac-home-welcome__nav a {
    display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px;
    align-items: baseline; padding: 18px 0; color: #68686e; text-decoration: none;
    font-size: 16px; line-height: 1.4;
}
#home-welcome .ac-home-welcome__nav a:hover,
#home-welcome .ac-home-welcome__nav a[aria-current="location"] { color: #1d1d1f; }
#home-welcome .ac-home-welcome__nav a[aria-current="location"] .ac-home-welcome__nav-label { font-weight: 600; }
#home-welcome .ac-home-welcome__nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#home-welcome .ac-home-welcome__nav-number { font-size: 12px; font-variant-numeric: tabular-nums; }
#home-welcome .ac-home-welcome__nav-arrow { justify-self: end; transition: transform .2s ease; }
#home-welcome .ac-home-welcome__nav a:hover .ac-home-welcome__nav-arrow { transform: translateX(3px); }
#home-welcome .ac-home-welcome__topic {
    scroll-margin-top: var(--welcome-header-offset);
    padding: 40px 0; border-top: 1px solid #dedee3;
}
#home-welcome .ac-home-welcome__topic:first-child { padding-top: 0; border-top: 0; }
#home-welcome .ac-home-welcome__topic:last-child { padding-bottom: 0; }
#home-welcome .ac-home-welcome__topic h2 { font-size: clamp(27px, 2.6vw, 36px); margin-bottom: 20px; }
#home-welcome .ac-home-welcome__reason .ac-home-welcome__topic { padding: 32px 0; }
#home-welcome .ac-home-welcome__intro,
#home-welcome .ac-home-welcome__intro p,
#home-welcome .ac-home-welcome__reason-body,
#home-welcome .ac-home-welcome__reason-body p { font-size: 16px; line-height: 1.75; color: #55565c; }
#home-welcome .ac-home-welcome__reasons { list-style: none; margin: 0; padding: 0; }
#home-welcome .ac-home-welcome__reason { margin: 0; padding: 0; background: transparent; }
#home-welcome .ac-home-welcome__reason + .ac-home-welcome__reason { border-top: 1px solid #dedee3; }
#home-welcome .ac-home-welcome__reason .ac-home-welcome__topic h2 { font-size: clamp(23px, 2vw, 29px); }
/* Override the sitewide editorial H2 !important scale, not CMS prose. */
html body:not(.wp-admin) #home-welcome .ac-home-welcome__right .ac-home-welcome__topic > h2 {
    font-size: clamp(24px, 2vw, 28px) !important;
    font-weight: 600 !important; line-height: 1.2 !important;
    letter-spacing: -.025em !important;
    margin: 0 0 20px !important;
}
#home-welcome p:last-child { margin-bottom: 0; }
#home-welcome .ac-home-welcome__actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin-top: 28px; }
#home-welcome .ac-home-welcome__actions a { max-width: 100%; white-space: normal; margin: 0 !important; }
html body:not(.wp-admin) #home-welcome :is(h2, h3, p, .ac-home-welcome__intro, .ac-home-welcome__reason-body) {
    text-align: left !important; overflow-wrap: anywhere;
}
#home-welcome .ac-home-welcome__layout--single { grid-template-columns: minmax(0, 1fr); }
#home-welcome .ac-home-welcome__layout--single .ac-home-welcome__left { position: static; }
@media (prefers-reduced-motion: reduce) {
    #home-welcome .ac-home-welcome__nav-arrow { transition: none; }
}
@media (max-width: 767px) {
    #home-welcome .ac-home-welcome__layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    #home-welcome .ac-home-welcome__left { position: static; }
    #home-welcome .ac-home-welcome__nav { margin-top: 28px; }
}

/* ac-home-explore-panels */
/*
 * Homepage "Explore our platforms": the (i) button on a card and the panel it
 * opens. Markup: inc/home-explore-panels.php. The panel is a Bootstrap modal
 * restyled as a drawer from the right, on the dark surface (#0c0c0e).
 * Breakpoint: md (767/768) only - see docs/design-system.md.
 */

/* ── The (i) button ─────────────────────────────────────────────────────── */

.explore-product {
	position: relative;
}

.ac-explore-info {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #e4e4e7;
	border-radius: 50%;
	background: #fff;
	color: #1d1d1f;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.ac-explore-info__i {
	font: italic 700 16px/1 Georgia, "Times New Roman", serif;
	transform: translateY(1px);
}

.ac-explore-info:hover {
	background: #1d1d1f;
	border-color: #1d1d1f;
	color: #fff;
}

.ac-explore-info:focus {
	outline: none;
}

.ac-explore-info:focus-visible {
	outline: 2px solid #0071e3;
	outline-offset: 3px;
}

.ac-explore-info .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── The drawer ─────────────────────────────────────────────────────────── */

.ac-explore-panel.modal {
	padding: 0 !important; /* Bootstrap adds scrollbar padding; the drawer is pinned right. */
}

/*
 * Selectors carry .modal.fade / .modal.show so they outrank Bootstrap's
 * `.modal.fade .modal-dialog { transform: translate(0, -25%) }`, which would
 * otherwise drop the panel in from the top instead of sliding it in from the side.
 */
.modal.fade.ac-explore-panel .ac-explore-panel__dialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 600px;
	max-width: 100%;
	height: 100%;
	margin: 0;
	transform: translateX(100%);
	/* 300ms: Bootstrap 4.0 hides the modal after a fixed 300ms, so a longer slide-out would be cut short. */
	transition: transform .3s cubic-bezier(.22, .8, .24, 1);
}

.modal.fade.show.ac-explore-panel .ac-explore-panel__dialog {
	transform: translateX(0);
}

.ac-explore-panel .ac-explore-panel__content {
	display: block; /* Bootstrap's flex column would shrink the children of a scrolling panel. */
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 48px 56px;
	border: 0;
	border-radius: 0;
	background: #0c0c0e;
	color: #fff;
	font-family: Outfit, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* While a panel is open the page behind it blurs. Scoped with :has() so the
   site's other modals (the enquiry form) keep Bootstrap's plain backdrop. */
body:has(.ac-explore-panel.show) .modal-backdrop {
	background-color: rgba(28, 28, 30, .28);
	-webkit-backdrop-filter: blur(14px) saturate(.9);
	backdrop-filter: blur(14px) saturate(.9);
	transition: opacity .3s ease;
}

body:has(.ac-explore-panel.show) .modal-backdrop.show {
	opacity: 1;
}

.ac-explore-panel__close {
	position: sticky;
	top: 20px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 20px -28px 0 auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease;
}

.ac-explore-panel__close:hover {
	background: rgba(255, 255, 255, .22);
}

.ac-explore-panel__close:focus {
	outline: none;
}

.ac-explore-panel__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.ac-explore-panel__head {
	margin-top: 4px;
}

/* Labels content (not a decorative eyebrow, which the site hides). */
.ac-explore-panel__label {
	display: block;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .6);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.ac-explore-panel .ac-explore-panel__title {
	margin: 0;
	color: #fff;
	font-size: 44px;
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.08;
}

/* The image runs edge to edge across the drawer. */
.ac-explore-panel__media {
	margin: 40px -48px 0;
}

.ac-explore-panel__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center 20%;
}

.ac-explore-panel__intro {
	margin: 40px 0 0;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: -.01em;
}

/* ── What we build: a ruled list, label left, description right ─────── */

.ac-explore-panel__products {
	margin-top: 56px;
}

.ac-explore-panel .ac-explore-panel__subhead {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, .6);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.ac-explore-panel__list {
	margin: 0;
}

.ac-explore-panel__row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 24px;
	padding: 26px 0;
	border-top: 1px solid rgba(255, 255, 255, .16);
}

.ac-explore-panel__row:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.ac-explore-panel__row dt {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.ac-explore-panel__row dd {
	margin: 0;
	color: rgba(255, 255, 255, .64);
	font-size: 15.5px;
	line-height: 1.65;
}

/* ── Featured platform: image card with the text over it ────────────── */

.ac-explore-panel__featured {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 320px;
	margin-top: 56px;
	overflow: hidden;
	border-radius: 20px;
	background: #1d1d1f;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}

.ac-explore-panel__featured:hover,
.ac-explore-panel__featured:focus {
	color: #fff;
	text-decoration: none;
}

.ac-explore-panel__featured:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.ac-explore-panel__featured-img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.ac-explore-panel__featured::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Dark enough under the text that words inside the screenshot never compete with it. */
	background: linear-gradient(180deg, rgba(12, 12, 14, .05) 0%, rgba(12, 12, 14, .45) 28%, rgba(12, 12, 14, .88) 52%, rgba(12, 12, 14, .96) 100%);
}

.ac-explore-panel__featured:hover .ac-explore-panel__featured-img {
	transform: scale(1.04);
}

.ac-explore-panel__featured-body {
	display: block;
	padding: 32px;
}

.ac-explore-panel__featured .ac-explore-panel__label {
	margin-bottom: 10px;
	color: rgba(255, 255, 255, .75);
}

.ac-explore-panel__featured-title {
	display: block;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.ac-explore-panel__featured-text {
	display: block;
	margin-top: 10px;
	color: rgba(255, 255, 255, .8);
	font-size: 15.5px;
	line-height: 1.6;
}

.ac-explore-panel__featured-cta {
	display: inline-block;
	margin-top: 18px;
	font-size: 15px;
	font-weight: 600;
	border-bottom: 1px solid rgba(255, 255, 255, .5);
	padding-bottom: 2px;
}

/* ── Link to the platform page: the primary button, inverted for dark ─ */

.ac-explore-panel__actions {
	margin-top: 48px;
}

.ac-explore-panel__button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 11.2px 21.6px;
	border: 1px solid #fff;
	border-radius: 12px;
	background: #fff;
	color: #1d1d1f;
	font-size: 14.4px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.ac-explore-panel__button:hover,
.ac-explore-panel__button:focus {
	background: transparent;
	color: #fff;
	text-decoration: none;
}

.ac-explore-panel__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* ── Phones: full-width drawer, single-column rows ───────────────────── */

@media (max-width: 767px) {
	.ac-explore-info {
		top: 18px;
		right: 18px;
		width: 34px;
		height: 34px;
	}

	.modal.fade.ac-explore-panel .ac-explore-panel__dialog {
		width: 100%;
	}

	.ac-explore-panel .ac-explore-panel__content {
		padding: 0 24px 40px;
	}

	.ac-explore-panel__close {
		top: 12px;
		width: 44px;
		height: 44px;
		margin: 12px -8px 0 auto;
	}

	.ac-explore-panel .ac-explore-panel__title {
		font-size: 32px;
	}

	.ac-explore-panel__media {
		margin: 28px -24px 0;
	}

	.ac-explore-panel__intro {
		margin-top: 28px;
		font-size: 17.5px;
	}

	.ac-explore-panel__products,
	.ac-explore-panel__featured {
		margin-top: 40px;
	}

	.ac-explore-panel__row {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 20px 0;
	}

	.ac-explore-panel__featured {
		min-height: 280px;
	}

	.ac-explore-panel__featured-body {
		padding: 24px;
	}

	.ac-explore-panel__featured-title {
		font-size: 22px;
	}

	.ac-explore-panel__actions {
		margin-top: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.modal.fade.ac-explore-panel .ac-explore-panel__dialog,
	.ac-explore-panel__featured-img {
		transition: none;
	}
}

/* ac-home-store-heading */
/* Keep the homepage store action visibly associated with its title. */
/* Match the rendered Platforms heading-to-content gap across homepage sections. */
#home-titles { --home-heading-gap: 12px; }
#home-titles #marketing-services .ac-home-marketing-head,
#home-titles #ac-home-store .ac-home-store__head,
#home-titles .mkt-testimonials__head {
    margin-bottom: var(--home-heading-gap) !important;
}
#home-titles #ac-home-store .ac-home-store__slider { padding-top: 0 !important; }
#home-titles .store-podcust,
#home-titles .homeNew-latestNews .swiper,
#home-titles .lp-showcase { margin-top: 0 !important; }
#home-titles .store-podcust,
#home-titles .homeNew-latestNews .swiper { padding-top: 0 !important; }
@media (min-width: 768px) {
    #home-titles #ac-home-store .ac-home-store__head { margin-bottom: 10px !important; }
}
#home-titles .container:has(+ .store-podcust) > .section-lead,
#home-titles .homeNew-latestNews > .container > .section-lead,
#home-titles .homeNew-latestProject > .container > .section-lead {
    margin-bottom: var(--home-heading-gap) !important;
    padding-bottom: 0 !important;
}
#home-titles .mkt-testimonials__title { margin-bottom: 0 !important; }
@media (max-width: 767px) {
    #home-titles { --home-heading-gap: 24px; }
}
#home-titles .ac-home-marketing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 24px;
}
#home-titles .ac-home-marketing-head .section-lead {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
#home-titles .ac-home-marketing-head .ac-home-store__more {
    flex-shrink: 0;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    font-size: 16px;
    white-space: nowrap;
}
@media (max-width: 767px) {
    #home-titles .ac-home-marketing-head { gap: 12px; }
    #home-titles .ac-home-marketing-head .ac-home-store__more { font-size: 14px; }
}
/* Larger desktop previews; Swiper uses automatic slide widths. */
@media (min-width: 992px) {
    #home-titles #ac-home-store .ac-home-store__slide {
        width: clamp(380px, 32vw, 480px) !important;
    }
}
#home-titles #ac-home-store .ac-home-store__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 28px;
    row-gap: 8px;
}
#home-titles #ac-home-store .ac-home-store__title {
    flex: 0 1 auto;
    width: auto !important;
    margin: 0 !important;
}
#home-titles #ac-home-store .ac-home-store__more {
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    white-space: nowrap;
}
/* The action stays on the right at every width.
 *
 * This block used to turn the head into a column below 768px, which put
 * "View more" under the title and left it reading as a stray link rather
 * than the section's action. Every other section head on the homepage -
 * .ac-home-marketing-head, forty lines up - keeps its link on the right on
 * a phone, so the store was the odd one out.
 *
 * It fits: at 390px the title is 24px ("Adult Store." is about 140px), the
 * link 14px (about 80px), and the gap 16px, inside a 360px content box.
 * nowrap is what keeps it there - the row-gap and flex-wrap above would
 * otherwise drop the link onto a second line at the first squeeze, which is
 * the same fault in a different shape. The title shrinks instead: it is
 * flex: 0 1 auto already, and min-width: 0 lets it go below its text width
 * and ellipsize rather than push the link off. */
@media (max-width: 767px) {
    #home-titles #ac-home-store .ac-home-store__head {
        flex-wrap: nowrap;
        align-items: center;
        column-gap: 16px;
    }
    #home-titles #ac-home-store .ac-home-store__title {
        min-width: 0;
        font-size: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    #home-titles #ac-home-store .ac-home-store__more {
        font-size: 14px;
    }
}
/* ac-carousel-shadows */
/*
 * Card hover shadows must never be cut off (owner, 2026-11-25).
 *
 * Swiper sets `.swiper { overflow: hidden }`, which clips a lifted card's
 * shadow at the carousel's top and bottom edge. A horizontal carousel only
 * needs to hide slides off to the left and right, so clip the x axis and let
 * the y axis show. Some services carousels already did this in dist/; this
 * makes it every horizontal carousel on every page.
 *
 * overflow-clip-margin gives the side shadows of the first and last visible
 * card some room too, where the browser supports it.
 */
.swiper:not(.swiper-vertical) {
    overflow-x: clip !important;
    overflow-y: visible !important;
    overflow-clip-margin: 24px;
}

/* ac-adult-web-design-services-first */
/* Explicitly allowlisted services-first parents only.
 * Keep existing cards and carousel geometry. */
/* One image format for every opted-in first-fold carousel.
 * Reserve room for two-line titles so text cannot resize the artwork. */
body:not(.wp-admin) .ac-fold-card-type {
    --fold-card-width: min(86vw, 335px);
    --fold-card-copy-height: 182px;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .swiper-slide.explore-product {
    width: var(--fold-card-width) !important;
    height: auto !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card {
    display: grid !important;
    grid-template-rows: var(--fold-card-copy-height) auto;
    height: auto !important;
    min-height: 0 !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card__image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 19 / 17;
    position: relative;
    padding: 0 !important;
    display: block !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type .ac-product-card__image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (min-width: 768px) {
    body:not(.wp-admin) .ac-fold-card-type {
        --fold-card-width: 380px;
        --fold-card-copy-height: 186px;
    }
}

/* Opt-in is on the first carousel only, including homepage Explore platforms.
 * Homepage trial: transfer 32px from copy space to artwork without taller cards. */
body:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card {
    grid-template-rows: calc(var(--fold-card-copy-height) - 32px) auto;
}
body:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__image {
    aspect-ratio: auto;
    height: calc(var(--fold-card-width) * 17 / 19 + 32px) !important;
}

/* Opt-in is on the first carousel only, including homepage Explore platforms.
 * Match the homepage card type; leave padding, artwork, tones and sizing intact. */
/* Use the PPC case-study spacing, without its typography or pill styling. */
body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__body {
    padding: 36px 32px 32px !important;
    gap: 0 !important;
    justify-content: flex-start !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__tag {
    margin: 0 0 17.6px !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__title {
    margin: 0 !important;
}

body:not(.wp-admin) :is(#home-titles, #ac-web-services, #product-features, #marketing-services, .seo-service-cards) .ac-fold-card-type.swiper.store-offer .ac-product-card__cta {
    margin: 10.4px 0 0 !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__body {
    align-items: flex-start !important;
    text-align: left !important;
}

body:not(.wp-admin) .ac-fold-card-type :is(.ac-product-card__tag, .ac-product-card__title, .ac-product-card__cta) {
    font-family: inherit !important;
    font-style: normal !important;
    text-align: left !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__tag {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none;
}

@media (min-width: 768px) {
    body:not(.wp-admin) .ac-fold-card-type .ac-product-card__title {
        font-size: 22px !important;
    }
}

/* Marketing/SEO share the same fold without changing their carousel IDs. */
/* Homepage Explore uses the same text whitespace and blue action as Web Design. */
body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__body {
    padding: 2.25rem 2rem 1.5rem !important;
}

body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__tag {
    margin-bottom: .6rem !important;
}

body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__cta {
    margin-top: .85rem !important;
    color: #0071e3 !important;
}

@media (min-width: 768px) {
    body.css-family-home:not(.wp-admin) #home-titles .ac-fold-card-type .ac-product-card__body {
        padding: 2.75rem 3rem 1.75rem !important;
    }
}

/* Full-bleed artwork must meet the outer edge, not sit inside a dark hairline.
 * Keep keyboard focus outlines; only the decorative card border is removed. */
body:not(.wp-admin) .ac-fold-card-type .ac-product-card {
    border: 0 !important;
    overflow: hidden;
    isolation: isolate;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card {
    border-radius: 26px;
}

body:not(.wp-admin) .ac-fold-card-type .ac-product-card__image {
    display: block;
    padding: 0;
    overflow: hidden;
}

/* Platform parents use a different template: match the reference fold gutters
 * and card whitespace without changing their established carousel dimensions. */
body:not(.wp-admin) #product-features.ac-web-services--first .ac-web-services__carousel {
    padding-inline: clamp(1rem, 4vw, 4rem) !important;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__body {
    padding: 2.25rem 2rem 1.5rem !important;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__tag {
    margin-bottom: .6rem;
}

body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__cta {
    margin-top: .85rem;
}

@media (min-width: 768px) {
    body:not(.wp-admin) #product-features.ac-web-services--first .ac-product-card__body {
        padding: 2.75rem 3rem 1.75rem !important;
    }
}

.ac-marketing-editorial-hero {
    background: #fff;
    padding: clamp(110px, 14vw, 160px) 0 clamp(56px, 8vw, 96px);
    text-align: center;
}
body:has(.ac-marketing-editorial-hero) #marketing-platforms {
    background: #fff !important;
}
.ac-marketing-editorial-hero > .container {
    max-width: 780px;
}
.ac-marketing-editorial-hero h1 {
    margin: 0 auto 1.25rem;
    color: #1d1d1f;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.06;
    text-align: center;
}
.ac-marketing-editorial-hero__intro,
.ac-marketing-editorial-hero__intro p {
    max-width: 680px;
    margin: 0 auto .75rem;
    color: #6e6e73;
    font-size: 1.05rem;
    line-height: 1.68;
    text-align: center;
}
.ac-marketing-editorial-hero__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.ac-marketing-editorial-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: .7rem 1.35rem;
    border: 1px solid #1d1d1f;
    border-radius: 12px;
    background: #1d1d1f;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
.ac-marketing-editorial-hero__button:hover {
    background: #3a3a3c;
    color: #fff;
}
.ac-marketing-editorial-hero__button--secondary {
    background: transparent;
    border-color: #e4e4e7;
    color: #1d1d1f;
}
.ac-marketing-editorial-hero__button--secondary:hover {
    background: #e7e8eb;
    color: #1d1d1f;
}
.ac-marketing-editorial-hero__button:focus-visible {
    outline: 2px solid #3659ba;
    outline-offset: 3px;
}
body:not(.wp-admin) .ac-marketing-editorial-hero + #marketing-services {
    padding-top: 0 !important;
}
body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first {
    padding: 96px 0 64px !important;
    background: #fff !important;
    scroll-margin-top: 80px;
}

body:not(.wp-admin) .ac-marketing-services--first .ac-product-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

body:not(.wp-admin) .ac-marketing-services--first > .ac-web-services__head {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 4vw, 4rem);
    margin-bottom: 32px !important;
    box-sizing: border-box;
}

body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first .section-lead,
body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first .section-intro,
body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first .section-intro > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body:not(.wp-admin) .ac-marketing-services--first h1.section-lead {
    color: #1d1d1f;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

body:not(.wp-admin) .ac-marketing-services--first .section-intro {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: none;
    color: #6e6e73;
    font-size: 1rem;
    line-height: 1.5;
}

body:not(.wp-admin) .ac-marketing-services--first .section-intro > :first-child {
    margin-top: 0 !important;
}

body:not(.wp-admin) .ac-marketing-services--first .section-intro > :last-child {
    margin-bottom: 0 !important;
}

body:not(.wp-admin) .ac-marketing-services--first .ac-web-services__carousel {
    margin-top: 0 !important;
}

body:not(.wp-admin) .ac-marketing-services--first .ac-web-services__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 48px 0 0;
    padding-inline: 16px;
}

/* Keep CMS button classes, but use the approved fold's light treatments. */
body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 1px solid #1d1d1f !important;
    border-radius: 980px;
    background: #1d1d1f !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta--secondary {
    background: #f0f0f2 !important;
    border-color: #e8e8eb !important;
    color: #1d1d1f !important;
}

body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta--primary:hover {
    background: #3a3a3c !important;
}

body:not(.wp-admin) .ac-marketing-services--first .seo-hero-cta--secondary:hover {
    background: #e5e5e8 !important;
}

body:not(.wp-admin):has(.ac-marketing-services--first) .ac-reviews-float {
    display: none !important;
}

@media (max-width: 767px) {
    body:not(.wp-admin) :is(#marketing-services, .seo-service-cards).ac-marketing-services--first {
        padding-top: 112px !important;
        padding-bottom: 56px !important;
    }

    body:not(.wp-admin) .ac-marketing-services--first > .ac-web-services__head {
        margin-bottom: 28px !important;
    }

    body:not(.wp-admin) .ac-marketing-services--first .ac-web-services__actions {
        margin-top: 40px;
    }
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-product-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first {
    padding: 96px 0 64px !important;
    background: #fff !important;
    scroll-margin-top: 80px;
}

/* Match the carousel's existing gutter before shared alignment JS runs. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first > .ac-web-services__head {
    width: 100%;
    max-width: none;
    padding-inline: clamp(1rem, 4vw, 4rem);
    margin-bottom: 32px !important;
    box-sizing: border-box;
}

/* Override _sitewide-alignment.scss, including its !important centring. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-lead,
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro,
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro > * {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first h1.section-lead {
    color: #1d1d1f;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro {
    /* Cancel inherited intro spacing; the heading and head own these gaps. */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: none;
    color: #6e6e73;
    font-size: 1rem;
    line-height: 1.5;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro > :first-child {
    margin-top: 0 !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .section-intro > :last-child {
    margin-bottom: 0 !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-web-services__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
    margin-bottom: 0;
    padding-inline: 16px;
}

/* Retain the two existing light-hero button treatments outside the old hero. */
body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-web-services__carousel {
    margin-top: 0 !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--outline {
    background: #1d1d1f !important;
    border-color: #1d1d1f !important;
    color: #fff !important;
    backdrop-filter: none;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--filled {
    background: #f0f0f2 !important;
    border-color: #e8e8eb !important;
    color: #1d1d1f !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--outline:hover {
    background: #3a3a3c !important;
}

body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .awdb-hero-banner__btn--filled:hover {
    background: #e5e5e8 !important;
}

/* The removed hero previously suppressed the same sitewide review floater. */
body:not(.wp-admin):has(:is(#ac-web-services, #product-features).ac-web-services--first) .ac-reviews-float {
    display: none !important;
}

@media (max-width: 767px) {
    body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first {
        padding-top: 112px !important;
        padding-bottom: 56px !important;
    }

    body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first > .ac-web-services__head {
        margin-bottom: 28px !important;
    }

    body:not(.wp-admin) :is(#ac-web-services, #product-features).ac-web-services--first .ac-web-services__actions {
        margin-top: 40px;
    }
}

/* ac-reviews-float */
.ac-reviews-float {
    position: fixed;
    z-index: 900;
    /* Stack above the live-chat launcher in the right-hand corner. */
    left: auto;
    right: max(20px, env(safe-area-inset-right));
    bottom: calc(120px + env(safe-area-inset-bottom));
    width: 190px;
    padding: 24px 14px 18px;
    border: 1px solid #e7e7e7;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
    color: #181818;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1.25;
}

.ac-reviews-float[hidden] { display: none !important; }

.ac-reviews-float__close {
    position: absolute;
    top: 5px;
    right: 5px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #555;
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
}

.ac-reviews-float__close:hover,
.ac-reviews-float__close:focus-visible { background: #eee; color: #111; }
.ac-reviews-float__close:focus-visible,
.ac-reviews-float__link:focus-visible { outline: 2px solid #007f58; outline-offset: 2px; }

.ac-reviews-float__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: inherit;
    text-decoration: none;
}

.ac-reviews-float__link:hover { color: inherit; text-decoration: none; }
.ac-reviews-float__eyebrow { color: #666; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.ac-reviews-float__brand { font-size: 21px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.ac-reviews-float__brand-star { color: #00b67a; font-size: 26px; vertical-align: -1px; }
.ac-reviews-float__stars { display: flex; gap: 2px; }
.ac-reviews-float__stars span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 2px;
    background: #00b67a;
    color: #fff;
    font-size: 19px;
}
.ac-reviews-float__rating { font-size: 18px; font-weight: 700; }
.ac-reviews-float__cta { color: #007f58; font-size: 12px; font-weight: 700; }
.ac-reviews-float__link:hover .ac-reviews-float__cta { text-decoration: underline; }

@media (max-width: 767px) {
    .ac-reviews-float {
        left: auto;
        right: max(12px, env(safe-area-inset-right));
        /* Clear the mobile contact bar beneath it. */
        bottom: calc(140px + env(safe-area-inset-bottom));
        width: 158px;
        padding: 18px 10px 12px;
    }
    .ac-reviews-float__eyebrow { display: none; }
    .ac-reviews-float__brand { font-size: 17px; }
    .ac-reviews-float__brand-star { font-size: 21px; }
    .ac-reviews-float__stars span { width: 21px; height: 21px; font-size: 16px; }
    .ac-reviews-float__rating { font-size: 15px; }
}
/* ── Compact left-edge tab ────────────────────────────────────────────────────
   This was a 190px card pinned to the bottom-right, which on a phone landed on
   top of three things already competing for that corner: the live-chat
   launcher, the fixed contact bar and the ticker. Move it to the left edge,
   vertically centred, as a slim tab.

   Only the mark and the name are shown. The stars, rating and CTA stay in the
   DOM because the link's accessible name and the surrounding text come from
   them; they are just not drawn in the tab. */
.ac-reviews-float {
    left: 0;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: auto;
    padding: 8px 5px 10px;
    border-left: 0;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .16);
}

.ac-reviews-float__eyebrow,
.ac-reviews-float__stars,
.ac-reviews-float__rating,
.ac-reviews-float__cta {
    display: none;
}

.ac-reviews-float__link { gap: 6px; }

/* Reads bottom-to-top, the usual direction for a side tab. */
.ac-reviews-float__brand {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 13px;
    letter-spacing: -.02em;
}

.ac-reviews-float__brand-star { font-size: 15px; }

.ac-reviews-float__close {
    position: static;
    width: 22px;
    height: 22px;
    margin: 0 auto 2px;
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 767px) {
    .ac-reviews-float {
        left: 0;
        right: auto;
        bottom: auto;
        width: auto;
        padding: 8px 4px 10px;
    }
}

/* ── Bigger on desktop, a corner badge on a phone ────────────────────────────
   The slim tab was too small to read on a desktop, and on a phone a tab pinned
   to the middle of the left edge sits on top of the content next to it -
   there is no free gutter at that width. So the tab grows on desktop, and on
   mobile it becomes a round badge in the bottom-left: clear of the chat
   launcher on the right, clear of the centred contact bar, and above the
   fixed ticker. */
.ac-reviews-float {
    padding: 12px 9px 14px;
    border-radius: 0 16px 16px 0;
}

.ac-reviews-float__brand { font-size: 16px; }
.ac-reviews-float__brand-star { font-size: 19px; }

.ac-reviews-float__close {
    width: 26px;
    height: 26px;
    font-size: 20px;
}

@media (max-width: 767px) {
    .ac-reviews-float {
        top: auto;
        transform: none;
        /* Centred on .header-min-contact (bottom 9px, 56px tall): 9 + (56 - 52) / 2.
           Was 63px, which matched only the homepage while its ticker lifted the
           bar; the ticker is gone (2026-11-25), so every page now uses 9px. */
        bottom: calc(11px + env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
        right: auto;
        width: 52px;
        height: 52px;
        padding: 0;
        display: grid;
        place-items: center;
        border: 1px solid #e7e7e7;
        border-radius: 50%;
    }

    /* The mark alone. font-size: 0 drops the word without removing it from the
       link, which still needs it for its accessible name. */
    .ac-reviews-float__brand {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0;
    }

    .ac-reviews-float__brand-star { font-size: 26px; }

    .ac-reviews-float__link { gap: 0; }

    .ac-reviews-float__close {
        position: absolute;
        top: -7px;
        right: -7px;
        width: 22px;
        height: 22px;
        margin: 0;
        font-size: 15px;
        background: #fff;
        border: 1px solid #e7e7e7;
        box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    }
}

