/* 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-seo-case-study */
/* Individual SEO/PPC case studies only. Mirrors the updated archive, not the
   legacy caseStudy selectors consumed by other detail types and sliders. */
.ac-seo-study {
    --study-ink: #1d1d1f;
    --study-muted: #6e6e73;
    --study-blue: #0055d4;
    --study-surface: #f9f7f7;
    --study-line: #dedee3;
    color: var(--study-ink);
    background: #fff;
    font-family: "Outfit", sans-serif;
}
.ac-seo-study *, .ac-seo-study *::before, .ac-seo-study *::after { box-sizing: border-box; }
/* ID scope wins over the legacy site's multi-:not alignment rules without
   changing alignment on any archive or unrelated page. */
#seo-case-study h1, #seo-case-study h2, #seo-case-study h3,
#seo-case-study .cs-prose, #seo-case-study .cs-prose p {
    text-align: left !important;
    margin-inline: 0 !important;
}
#seo-case-study .ac-study-heading,
#seo-case-study #study-testimonials .mkt-testimonials__title {
    font-size: clamp(32px, 3.4vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
}
.ac-seo-study .cs-prose p, .ac-seo-study .cs-prose li { color: #6e6e73 !important; font-size: 16.8px !important; line-height: 1.68 !important; }
.ac-seo-study .ac-study-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}
.ac-seo-study .ac-study-section { padding: clamp(56px, 7vw, 100px) 0; scroll-margin-top: 110px; }
.ac-seo-study .ac-study-section--tinted { background: var(--study-surface); }
.ac-seo-study .ac-study-heading {
    margin: 0 0 24px;
    color: var(--study-ink);
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-align: left;
}
.ac-seo-study .ac-study-eyebrow {
    display: block;
    margin: 0 0 16px;
    color: var(--study-blue);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ac-seo-study .cs-prose {
    min-width: 0;
    color: #515157;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.ac-seo-study .cs-prose p { margin: 0 0 18px; }
.ac-seo-study .cs-prose > :last-child { margin-bottom: 0; }
.ac-seo-study .cs-prose h2, .ac-seo-study .cs-prose h3, .ac-seo-study .cs-prose h4 {
    margin: 28px 0 16px;
    color: var(--study-ink);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.25;
}
.ac-seo-study .cs-prose h2 { font-size: clamp(27px, 3vw, 38px); }
.ac-seo-study .cs-prose h3 { font-size: 25px; }
.ac-seo-study .cs-prose ul, .ac-seo-study .cs-prose ol { padding-left: 24px; margin: 16px 0 24px; }
.ac-seo-study .cs-prose li { margin-bottom: 8px; }
.ac-seo-study .cs-prose a { color: var(--study-blue); text-decoration: underline; text-underline-offset: 4px; }
.ac-seo-study .cs-prose img { max-width: 100%; height: auto; }
.ac-seo-study .cs-prose table { display: block; max-width: 100%; overflow-x: auto; }
.ac-seo-study a:focus-visible, .ac-seo-study [tabindex]:focus-visible {
    outline: 3px solid var(--study-blue) !important;
    outline-offset: 5px;
    border-radius: 4px;
}
.ac-seo-study .ac-study-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: var(--study-blue);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.ac-seo-study .ac-study-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ac-seo-study .ac-study-link span { transition: transform .18s ease; }
.ac-seo-study .ac-study-link:hover span { transform: translateX(3px); }
.ac-seo-study .ac-study-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 76px); }
.ac-seo-study .ac-study-grid > :only-child { grid-column: 1 / -1; max-width: 880px; }
.ac-seo-study .ac-study-hero { padding-top: clamp(88px, 7vw, 112px); padding-bottom: clamp(48px, 6vw, 84px); }
.ac-seo-study .ac-study-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(40px, 4.8vw, 68px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.03;
    color: var(--study-ink);
    overflow-wrap: anywhere;
}
.ac-seo-study .ac-study-hero__media { position: relative; min-width: 0; }
.ac-seo-study .ac-study-hero__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 20px;
    background: var(--study-surface);
}
.ac-seo-study .ac-study-hero__inset {
    display: block;
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 30%;
    max-width: 240px;
    max-height: 150px;
    object-fit: contain;
    margin: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    padding: 12px;
    background: #fff;
    border: 1px solid var(--study-line);
    border-radius: 14px;
}
.ac-seo-study .ac-study-image { display: block; width: 100%; height: auto; max-height: 540px; object-fit: contain; border-radius: 16px; }
.ac-seo-study .ac-study-image.is-fallback,
.ac-seo-study .ac-study-hero__image.is-fallback { height: 300px; object-fit: contain; padding: 48px; background: #ececf1; }
.ac-seo-study .ac-study-client__media { display: flex; justify-content: center; align-items: center; padding: 40px; background: var(--ac-band-card, #f9f7f7); border-radius: 18px; }
.ac-seo-study .ac-study-client__media img { max-height: 220px; object-fit: contain; }
.ac-seo-study .ac-study-results__intro { max-width: 850px; }
.ac-seo-study .ac-study-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin: 32px 0 0; }
.ac-seo-study .ac-study-stat { padding: clamp(24px, 3vw, 36px); background: var(--ac-band-card, #f9f7f7); border: 1px solid var(--study-line); border-radius: 18px; }
.ac-seo-study .ac-study-stat__value { display: block; margin-bottom: 12px; color: var(--study-blue); font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.ac-seo-study .ac-study-stat .cs-prose { font-size: 16px; line-height: 1.5; }
/* Objective only: open editorial columns, not stacked cards. Keep the CMS
   counters, titles, prose and links in their original template order. */
.ac-seo-study .ac-study-objective { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
#seo-case-study #study-objective .ac-study-eyebrow { display: none; }
#seo-case-study #study-objective .ac-study-heading { margin: 0; text-align: center !important; }
.ac-seo-study .ac-study-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--study-line); }
.ac-seo-study .ac-study-step { min-width: 0; padding: 36px clamp(24px, 3vw, 36px) 40px; background: transparent; border-radius: 0; }
.ac-seo-study .ac-study-step + .ac-study-step { border-left: 1px solid var(--study-line); }
.ac-seo-study .ac-study-step h3 { margin: 0 0 12px; color: var(--study-ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.ac-seo-study .ac-study-step .cs-prose { font-size: 15px; line-height: 1.8; }
#seo-case-study #study-objective .cs-prose,
#seo-case-study #study-objective .cs-prose p,
#seo-case-study #study-objective .cs-prose li { color: var(--study-muted) !important; }
.ac-seo-study .ac-study-step__counter { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 18px; color: var(--study-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ac-seo-study .ac-study-step__counter span { padding: 0; color: var(--study-line); background: transparent; border-radius: 0; font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.ac-seo-study .ac-study-campaign__panel { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 18px; background: var(--ac-band-card, #fff); overflow: hidden; }
.ac-seo-study .ac-study-campaign__background { width: 100%; height: auto; max-height: 260px; object-fit: cover; margin-bottom: 24px; border-radius: 12px; }
.ac-seo-study .ac-study-campaign__panel .ac-study-stat__value { font-size: clamp(38px, 4vw, 58px); }
.ac-seo-study .ac-study-campaign__panel .ac-study-image { margin-top: 24px; }
/* Campaign only: the statistic/media remains intact below the full-width rows. */
.ac-seo-study .ac-study-campaign__layout { display: block; }
.ac-seo-study .ac-study-campaign__intro { margin-bottom: 32px; }
.ac-seo-study .ac-study-campaign__pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 36px; list-style: none; }
.ac-seo-study .ac-study-campaign__pills li { max-width: 100%; padding: 9px 17px; border: 1px solid var(--study-line); border-radius: 100px; color: var(--study-ink); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.ac-seo-study .ac-study-campaign__row { border-top: 1px solid #d5d5da; }
.ac-seo-study .ac-study-campaign__row:last-child { border-bottom: 1px solid #d5d5da; }
.ac-seo-study .ac-study-campaign__row summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) 28px; align-items: baseline; gap: 24px; padding: 30px 0; cursor: pointer; list-style: none; color: var(--study-ink); }
.ac-seo-study .ac-study-campaign__row summary::-webkit-details-marker { display: none; }
.ac-seo-study .ac-study-campaign__number { color: #8a8a8f; font-size: 14px; font-weight: 600; }
.ac-seo-study .ac-study-campaign__label { font-size: clamp(23px, 3vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; overflow-wrap: anywhere; }
.ac-seo-study .ac-study-campaign__arrow { color: #8a8a8f; font-size: 30px; line-height: 1; transition: transform .2s ease; }
.ac-seo-study .ac-study-campaign__row[open] .ac-study-campaign__label,
.ac-seo-study .ac-study-campaign__row[open] .ac-study-campaign__arrow { color: var(--study-blue); }
.ac-seo-study .ac-study-campaign__row[open] .ac-study-campaign__arrow { transform: rotate(90deg); }
.ac-seo-study .ac-study-campaign__body { padding: 0 52px 32px 66px; }
.ac-seo-study .ac-study-campaign__layout > .ac-study-campaign__panel { margin-top: 40px; background: var(--ac-band-card, #fff); border: 1px solid var(--study-line); }
.ac-seo-study summary:focus-visible, .ac-seo-study button:focus-visible { outline: 3px solid var(--study-blue); outline-offset: 4px; }
/* Reuse the shared Swiper engine, with the original case-study cards. */
.ac-seo-study .ac-study-related.swiper { display: block; overflow-x: auto; }
.ac-seo-study .ac-study-related.swiper-initialized { overflow: hidden; }
.ac-seo-study .ac-study-related .swiper-wrapper { display: flex; align-items: stretch; height: auto; }
.ac-seo-study .ac-study-related .swiper-slide { width: calc((100% - 32px) / 3); height: auto; }
.ac-seo-study .ac-study-related:not(.swiper-initialized) .swiper-slide:not(:last-child) { margin-right: 16px; }
.ac-seo-study .ac-study-related__controls { display: flex; justify-content: flex-end; gap: 12px; padding: 24px 0 4px; }
#seo-case-study .ac-study-related__controls button { position: static; display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; margin: 0; border: 1px solid var(--study-line); border-radius: 50%; color: var(--study-blue); background: #fff; font: inherit; font-size: 24px; cursor: pointer; transform: none; }
#seo-case-study .ac-study-related__controls button::after { content: none; }
#seo-case-study .ac-study-related__controls button:disabled { opacity: .35; cursor: default; }
@media (max-width: 991px) {
    .ac-seo-study .ac-study-related .swiper-slide { width: calc((100% - 16px) / 2); }
}
@media (max-width: 767px) {
    .ac-seo-study .ac-study-campaign__row summary { grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 12px; padding: 24px 0; }
    .ac-seo-study .ac-study-campaign__body { padding: 0 0 26px 40px; }
    .ac-seo-study .ac-study-related .swiper-slide { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ac-seo-study .ac-study-campaign__arrow { transition: none; }
}
.ac-seo-study #study-testimonials { scroll-margin-top: 110px; }
.ac-seo-study #study-testimonials .mkt-testimonials { padding: clamp(48px, 6vw, 88px) 0; background: #fff; }
.ac-seo-study #study-testimonials .container { width: min(1200px, calc(100% - 48px)); max-width: none; padding: 0; }
.ac-seo-study #study-testimonials .mkt-testimonials__head { text-align: left; margin-bottom: 28px; }
.ac-seo-study #study-testimonials .mkt-testimonials__title { font-size: clamp(30px, 3.3vw, 46px); font-weight: 700; letter-spacing: -.04em; text-align: left; }
.ac-seo-study #study-testimonials .mkt-testimonials__grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: auto; gap: 18px; max-width: none; margin-inline: 0; }
.ac-seo-study #study-testimonials .mkt-tcard { padding: clamp(24px, 3vw, 40px); height: auto; background: #f9f7f7; border-radius: 16px; transform: none; }
.ac-seo-study #study-testimonials .mkt-tcard__quote { height: auto !important; max-height: none !important; overflow: visible !important; flex: none; padding-right: 0; white-space: pre-line; font-size: 18px; line-height: 1.7; }
.ac-seo-study #study-testimonials .wow { visibility: visible !important; animation: none !important; }
.ac-seo-study .ac-study-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.ac-seo-study .ac-study-card { display: flex; flex-direction: column; min-width: 0; background: var(--ac-band-card, #fff); border-radius: 26px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.ac-seo-study .ac-study-card__image { display: block; flex: 0 0 200px; width: 100%; height: 200px; background: #e9e9ee; overflow: hidden; }
.ac-seo-study .ac-study-card__image img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: top center; }
.ac-seo-study .ac-study-card__image img.is-fallback { object-fit: contain; padding: 40px; }
.ac-seo-study .ac-study-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.ac-seo-study .ac-study-card__pill { display: inline-flex; padding: 4px 12px; margin-bottom: 14px; background: rgba(0,85,212,.09); color: var(--study-blue); border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.ac-seo-study .ac-study-card h3 { margin: 0 0 12px; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-align: left; }
.ac-seo-study .ac-study-card h3 a { color: var(--study-ink); }
.ac-seo-study .ac-study-card__excerpt { margin: 0 0 20px; color: var(--study-muted); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.ac-seo-study .ac-study-card__cta { margin-top: auto; color: var(--study-blue); font-size: 14px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
@media (max-width: 991px) {
    .ac-seo-study .ac-study-related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .ac-seo-study .ac-study-grid { gap: 32px; }
}
@media (max-width: 767px) {
    .ac-seo-study .ac-study-container, .ac-seo-study #study-testimonials .container { width: calc(100% - 36px); }
    .ac-seo-study .ac-study-grid, .ac-seo-study .ac-study-objective, .ac-seo-study .ac-study-related, .ac-seo-study .ac-study-stats { grid-template-columns: minmax(0, 1fr); }
    .ac-seo-study .ac-study-hero h1 { font-size: clamp(38px, 10vw, 52px); }
    .ac-seo-study .ac-study-hero__image { max-height: 350px; }
    .ac-seo-study .ac-study-hero__inset { position: static; width: 46%; max-width: 180px; margin: -40px 16px 0 auto; }
    .ac-seo-study .ac-study-card__body { padding: 22px; }
    .ac-seo-study .ac-study-image.is-fallback { height: 240px; }
    .ac-seo-study .ac-study-steps { grid-template-columns: minmax(0, 1fr); }
    .ac-seo-study .ac-study-step { padding: 28px 0 32px; }
    .ac-seo-study .ac-study-step + .ac-study-step { border-left: 0; border-top: 1px solid var(--study-line); }
}
@media (prefers-reduced-motion: reduce) {
    .ac-seo-study .ac-study-link span { transition: none; }
}

/* ---------------------------------------------------------------------------
 * The brief, the work, and what changed.
 *
 * The page used to run headline -> figures -> a list of work -> related
 * studies. It never said what the figures were measured from, and never said
 * what the work was worth. These three carry that, and every one of them is
 * built from components the Marketing and Web Design pages already use - see
 * docs/design-system.md. Nothing new was invented for this page.
 *
 * The brief and the outcome share one shape: the heading holds a narrow left
 * column and the prose a wide right one, which is how the reference pages set
 * a section that is mostly reading.
 * ------------------------------------------------------------------------- */
.ac-seo-study .ac-proof-brief,
.ac-seo-study .ac-proof-strategy,
.ac-seo-study .ac-proof-challenge,
.ac-seo-study .ac-proof-outcome { --study-head-offset: 120px; }
.ac-seo-study .ac-proof-brief__layout,
.ac-seo-study .ac-proof-challenge__layout,
.ac-seo-study .ac-proof-strategy__layout,
.ac-seo-study .ac-proof-outcome__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px 72px;
    align-items: start;
}
/* The heading pins while its prose scrolls past, the way the FAQ and the
 * "problems you're facing" guides do. align-self: start is what makes it work:
 * a grid child stretches to the row height by default, which leaves sticky no
 * travel and no visible effect. The containing block is the grid area, so the
 * heading releases at the bottom of its own row rather than following the
 * reader down the page.
 *
 * Only below 992px does this stack, and a sticky heading on a phone would eat
 * the viewport, so it is desktop only. A short brief gets no travel and simply
 * sits where it always did - the pin only shows when there is more to read. */
@media (min-width: 992px) {
    .ac-seo-study .ac-proof-brief__head,
    .ac-seo-study .ac-proof-challenge__head,
    .ac-seo-study .ac-proof-strategy__head,
    .ac-seo-study .ac-proof-outcome__head {
        position: sticky;
        top: var(--study-head-offset, 120px);
        align-self: start;
    }
}
.ac-seo-study .ac-proof-brief__body .cs-prose p:first-child {
    margin-top: 0;
    color: #1d1d1f !important;
    font-size: 19px !important;
    line-height: 1.68 !important;
}
.ac-seo-study .ac-proof-outcome__body p:first-child { margin-top: 0; }

/* The baseline a figure is measured from. A quiet note, not a card: a box
   here would compete with the figures it exists to explain. */
.ac-seo-study .ac-proof-baseline {
    margin-top: 32px;
    padding: 22px 26px;
    border-left: 3px solid #0071e3;
    border-radius: 0 12px 12px 0;
    background: var(--ac-band-card, #f9f7f7);
}
.ac-seo-study .ac-proof-baseline__label {
    display: block;
    margin-bottom: 8px;
    color: var(--study-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.ac-seo-study .ac-proof-baseline p {
    margin: 0;
    color: var(--study-muted);
    font-size: 16.8px;
    line-height: 1.68;
}

/* The work, in two columns, all of it visible. These are the site's text cell
   at its measured values: transparent, square, 40px 32px 44px, and a 2px
   #0071e3 rule that wipes across the top edge on hover. The outer cells lose
   their side padding so the column edges line up with the heading above. */
.ac-seo-study .ac-proof-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 44px;
}
.ac-seo-study .ac-proof-step {
    position: relative;
    padding: 40px 32px 44px;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.ac-seo-study .ac-proof-step:nth-child(odd) { padding-left: 0; }
.ac-seo-study .ac-proof-step:nth-child(even) { padding-right: 0; }
/* The rules between cells.
 *
 * Measured on .mkt-why-item and .ac-seo-different__item, which carry the same
 * lattice on both reference pages: a vertical rule between columns and a
 * horizontal rule between rows, 1px rgba(0,0,0,.12), with no rule on the
 * outside of the grid - nothing above the first row and nothing right of the
 * last column. The hover bar sits ON the row rule, which is why it reads as
 * the rule lighting up rather than a line appearing out of nowhere.
 *
 * An earlier pass here reported this component as having no border at all.
 * That reading came from sampling cells 0-2, which are the top row and the
 * last column - the three cells in the grid that genuinely have no rule. */
.ac-seo-study .ac-proof-step { border-right: 1px solid rgba(0, 0, 0, .12); }
.ac-seo-study .ac-proof-step:nth-child(even) { border-right: 0; }
.ac-seo-study .ac-proof-step:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, .12); }
.ac-seo-study .ac-proof-step::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0071e3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.ac-seo-study .ac-proof-step:hover::before { transform: scaleX(1); }
.ac-seo-study .ac-proof-step__number {
    display: block;
    margin-bottom: 14px;
    color: #0071e3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
}
.ac-seo-study .ac-proof-step__title {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}
.ac-seo-study .ac-proof-step__body p { margin: 0; }
.ac-seo-study .ac-proof-step__body p + p { margin-top: 10px; }

@media (max-width: 991px) {
    .ac-seo-study .ac-proof-brief__layout,
    .ac-seo-study .ac-proof-strategy__layout,
    .ac-seo-study .ac-proof-challenge__layout,
    .ac-seo-study .ac-proof-outcome__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
    .ac-seo-study .ac-proof-steps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
    .ac-seo-study .ac-proof-step { padding: 30px 0 32px; border-right: 0; }
    .ac-seo-study .ac-proof-step:nth-child(n+2) { border-top: 1px solid rgba(0, 0, 0, .12); }
    .ac-seo-study .ac-proof-brief__body .cs-prose p:first-child { font-size: 18px !important; }
}

/* The hero summary. The mockup carried a line under the headline and the
   build shipped without one, so the hero ran straight from title to pills.
   Measurements are the reference hero's intro: 780px, centred, muted. */
.ac-seo-study #study-hero .ac-proof-summary {
    max-width: 780px;
    margin: 0 auto 26px;
    color: var(--study-muted);
    font-size: 17px;
    line-height: 1.68;
    text-align: center;
}
@media (max-width: 767px) {
    .ac-seo-study #study-hero .ac-proof-summary { font-size: 16px; margin-bottom: 22px; }
}

/* The campaign stat, over its panel. The figure is the point of the panel;
   the images are its setting, so it sits on top of them rather than beside. */
.ac-seo-study .ac-study-campaign__stat {
    position: absolute;
    left: clamp(24px, 3vw, 40px);
    bottom: clamp(24px, 3vw, 40px);
    padding: 20px 24px;
    border-radius: 14px;
    background: #121214;
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.ac-seo-study .ac-study-campaign__stat strong {
    display: block;
    color: #ffd84d;
    font-size: clamp(28px, 2.6vw, 36px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}
.ac-seo-study .ac-study-campaign__stat span {
    display: block;
    margin-top: 7px;
    color: #c7c7cf;
    font-size: 13px;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .ac-seo-study .ac-study-campaign__stat { left: 16px; bottom: 16px; padding: 14px 16px; border-radius: 12px; }
    .ac-seo-study .ac-study-campaign__stat span { font-size: 12px; }
}

/* The overview image sits under its prose, in the same column: a traffic chart
   or a screenshot is evidence for the paragraph above it, not a separate thing. */
.ac-seo-study .ac-proof-outcome__media {
    margin: 28px 0 0;
    padding: 0;
}
.ac-seo-study .ac-proof-outcome__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--study-line);
    background: var(--ac-band-card, #f9f7f7);
}

/* The objectives grid stacks rather than squeezing three columns onto a phone. */
@media (max-width: 991px) {
    .ac-seo-study .ac-study-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-seo-study .ac-study-step:nth-child(2n+1) { border-left: 0; }
}
@media (max-width: 767px) {
    .ac-seo-study .ac-study-steps { grid-template-columns: minmax(0, 1fr); }
    .ac-seo-study .ac-study-step { padding: 28px 0 30px; }
    .ac-seo-study .ac-study-step + .ac-study-step { border-left: 0; border-top: 1px solid var(--study-line); }
}

/* A strategy of several steps is a sequence, so the steps are separated by a
   rule rather than boxed - the same hairline the objectives grid uses. One
   step, which is what every study has until the repeater is filled, shows no
   rule at all and reads exactly as the single block did. */
.ac-seo-study .ac-proof-strategy__step + .ac-proof-strategy__step {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--study-line);
}
.ac-seo-study .ac-proof-strategy__step-title {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

/* Where a figure came from and when. Quiet by design: it is provenance, not a
   headline, and it must not compete with the number above it. */
.ac-seo-study .ac-study-stat__note {
    margin: 14px 0 0;
    color: var(--study-muted);
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .01em;
}

/* The paragraph that explains the three figures. Centred under the centred
   heading and capped at the hero intro's width, so the band reads as one
   block: heading, the sentence that frames the numbers, then the numbers. */
#seo-case-study .ac-proof-results__intro,
#seo-case-study .ac-proof-results__intro p {
    text-align: center !important;
    margin-inline: auto !important;
}
#seo-case-study .ac-proof-results__intro {
    max-width: 780px;
    margin-top: -14px;
    margin-bottom: 40px;
}
#seo-case-study .ac-proof-results__intro p { margin-bottom: 14px; }
#seo-case-study .ac-proof-results__intro p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    #seo-case-study .ac-proof-results__intro { margin-top: -6px; margin-bottom: 28px; }
}

/* The strategy section's lead image, under its heading.
   Fills the column the heading used to sit in alone. It scrolls with the
   sticky heading, so it stays in view while the approach is read beside it. */
.ac-seo-study .ac-proof-strategy__lead-media {
    margin: 28px 0 0;
    padding: 0;
}
.ac-seo-study .ac-proof-strategy__lead-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--study-line);
    background: var(--ac-band-card, #f9f7f7);
}
@media (max-width: 991px) {
    .ac-seo-study .ac-proof-strategy__lead-media { margin-top: 20px; max-width: 420px; }
}

/* The challenge, one row per problem. A rule between rows, not a box around
   each: Objectives above and The campaign below are both grids of cells, and a
   third would make the middle of the page a wall of them. */
.ac-seo-study .ac-proof-challenge__item + .ac-proof-challenge__item {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--study-line);
}
.ac-seo-study .ac-proof-challenge__item-title {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

/* ac-enquiry-popup */
/*
 * First-visit enquiry popup (owner, 2026-11-27; after the Third Space panel).
 * Dark side with the heading, white side with the form in underline fields.
 * Markup: inc/enquiry-popup.php. Breakpoints: md 768 only.
 */
.ac-enq {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 10040;
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	width: min(1180px, calc(100vw - 40px));
	overflow: hidden;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 1px rgba(17, 17, 26, .06);
	font-family: Outfit, sans-serif;
	opacity: 0;
	transform: translate(-50%, 40px);
	transition: opacity .4s ease, transform .5s cubic-bezier(.16, 1, .3, 1);
}
.ac-enq[hidden] { display: none; }
.ac-enq.is-open { opacity: 1; transform: translate(-50%, 0); }

.ac-enq__aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 36px 32px;
	background:
		radial-gradient(90% 70% at 0% 100%, rgba(246, 205, 74, .16) 0%, rgba(246, 205, 74, 0) 60%),
		#111114;
	color: #fff;
}
html body .ac-enq .ac-enq__title { margin: 0 !important; color: #fff !important; font-size: 34px !important; font-weight: 700 !important; letter-spacing: -.03em !important; line-height: 1.1 !important; text-align: left !important; }
.ac-enq__lead { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.5; }
.ac-enq__proof { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 13px; }

.ac-enq__main { position: relative; padding: 30px 40px 28px; }
.ac-enq__close {
	position: absolute; top: 16px; right: 16px; z-index: 2;
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: #f4f2f2; color: #1d1d1f; cursor: pointer; transition: background-color .2s ease, transform .3s ease;
}
.ac-enq__close:hover { background: #1d1d1f; color: #fff; transform: rotate(90deg); }
.ac-enq__close:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.ac-enq__intro { margin: 0 56px 18px 0; color: #1d1d1f; font-size: 15.5px; }
html body .ac-enq .ac-enq__intro a { color: #1d1d1f !important; text-decoration: underline !important; text-decoration-color: #f6cd4a !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }

/* Form: the CF7 Bootstrap grid laid out as underline fields. */
.ac-enq .wpcf7 form .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.ac-enq .wpcf7 form .row > div { width: auto; max-width: none; flex: none; padding: 0; margin: 0; }
.ac-enq .wpcf7 form .row > .col-md-12:first-child { grid-column: auto; }
.ac-enq .wpcf7 form .row > div:has(textarea) { grid-column: 1 / 3; }
.ac-enq .wpcf7 form .row > .col-12 { grid-column: 3; align-self: end; text-align: right !important; }
.ac-enq .ac-enq__hide { display: none !important; }
.ac-enq .wpcf7 label { display: block; margin: 0 0 2px; color: #6e6e73; font-size: 12.5px; font-weight: 500; }
.ac-enq .wpcf7 br { display: none; }
html body .ac-enq .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select) {
	width: 100%; height: auto; min-height: 0; padding: 8px 0 9px !important;
	border: 0 !important; border-bottom: 1px solid #cfcfd4 !important; border-radius: 0 !important;
	background: transparent !important; box-shadow: none !important;
	color: #1d1d1f; font-family: Outfit, sans-serif; font-size: 16px; line-height: 1.4;
}
html body .ac-enq .wpcf7 select {
	appearance: none; -webkit-appearance: none; padding-right: 24px !important; cursor: pointer;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 2px center / 16px no-repeat !important;
}
html body .ac-enq .wpcf7 textarea { height: 42px !important; resize: none; }
html body .ac-enq .wpcf7 :is(input, textarea, select):focus { outline: none !important; border-bottom-color: #1d1d1f !important; box-shadow: 0 1px 0 #1d1d1f !important; }
html body .ac-enq .wpcf7 input.wpcf7-submit { width: auto !important; min-width: 140px; margin: 0 !important; }
.ac-enq .wpcf7-not-valid-tip { margin-top: 4px; font-size: 12.5px; }
.ac-enq .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px 14px !important; border-radius: 12px; font-size: 14px; }
.ac-enq .wpcf7-spinner { position: absolute; }
.ac-enq__thanks { margin: 20px 0; color: #1d1d1f; font-size: 18px; font-weight: 600; }

@media (max-width: 991px) {
	.ac-enq { grid-template-columns: minmax(0, 1fr); }
	.ac-enq__aside { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 64px 18px 24px; }
	.ac-enq__lead, .ac-enq__proof { display: none; }
	html body .ac-enq .ac-enq__title { font-size: 24px !important; }
	.ac-enq__close { background: rgba(255, 255, 255, .14); color: #fff; top: 12px; }
	.ac-enq__main { padding: 20px 24px 22px; }
	.ac-enq__intro { margin-right: 0; }
}
@media (max-width: 767px) {
	.ac-enq { left: 0; right: 0; bottom: 0; width: 100%; max-height: 88vh; max-height: 88dvh; border-radius: 22px 22px 0 0; transform: translateY(40px); }
	.ac-enq.is-open { transform: none; }
	.ac-enq__main { overflow-y: auto; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
	.ac-enq .wpcf7 form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
	.ac-enq .wpcf7 form .row > .col-md-12:first-child,
	.ac-enq .wpcf7 form .row > div:has(select),
	.ac-enq .wpcf7 form .row > div:has(textarea),
	.ac-enq .wpcf7 form .row > .col-12 { grid-column: 1 / -1; }
	html body .ac-enq .wpcf7 input.wpcf7-submit { width: 100% !important; }
	.ac-enq__intro { font-size: 14.5px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ac-enq { transition: none; } }

/* The site's own form rules (forms.css: pill fields) and the global intro-link
   colour outrank class selectors; scope by the popup's id to win. */
html body #ac-enquiry-popup .wpcf7-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select),
html body #ac-enquiry-popup .wpcf7-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select):is(:hover, :focus) {
	height: auto !important; min-height: 0 !important; padding: 8px 0 9px !important;
	border: 0 !important; border-bottom: 1px solid #cfcfd4 !important; border-radius: 0 !important;
	background-color: transparent !important; box-shadow: none !important; color: #1d1d1f !important;
	font-size: 16px !important; letter-spacing: 0 !important;
}
html body #ac-enquiry-popup .wpcf7-form select { padding-right: 24px !important; }
html body #ac-enquiry-popup .wpcf7-form textarea { height: 42px !important; }
html body #ac-enquiry-popup .wpcf7-form :is(input, textarea, select):focus { border-bottom-color: #1d1d1f !important; box-shadow: 0 1px 0 #1d1d1f !important; }
html body #ac-enquiry-popup .ac-enq__intro a.ac-enq__meet,
html body #ac-enquiry-popup .ac-enq__intro a { color: #1d1d1f !important; }
html body #ac-enquiry-popup .wpcf7 label { margin-bottom: 0 !important; }
html body #ac-enquiry-popup .wpcf7 form .row { row-gap: 18px; }
html body #ac-enquiry-popup .wpcf7-form textarea.wpcf7-textarea,
html body #ac-enquiry-popup .wpcf7-form textarea.wpcf7-textarea:is(:hover, :focus) { height: 44px !important; max-height: 120px; }
@media (max-width: 767px) { html body #ac-enquiry-popup .wpcf7-form textarea.wpcf7-textarea { height: 64px !important; } }
@media (max-width: 991px) {
	/* Close sits in the dark header bar, not on the white form. */
	html body #ac-enquiry-popup .ac-enq__main { position: static; }
	html body #ac-enquiry-popup .ac-enq__close { top: 14px; right: 16px; background: rgba(255, 255, 255, .14); color: #fff; }
	html body #ac-enquiry-popup .ac-enq__close:hover { background: #fff; color: #1d1d1f; }
}
@media (max-width: 767px) {
	html body #ac-enquiry-popup { overflow-y: auto; }
	html body #ac-enquiry-popup .wpcf7 form .row { row-gap: 8px; }
	html body #ac-enquiry-popup .ac-enq__aside { padding: 16px 64px 16px 22px; }
	html body #ac-enquiry-popup .ac-enq__title { font-size: 22px !important; }
}

/* ac-podcast-cards */
/*
 * Homepage "Latest podcasts." (owner, 2026-11-26): same family as the Adult
 * Store cards - dark card, frosted chip, bold title, a frosted "Listen" pill
 * with a play disc, a quiet waveform, and the same smooth hover.
 * Markup: templates/common/podcast-card.php, on the homepage, news archive,
 * podcast category grid and SEO pages. Loaded sitewide.
 */
html body .ac-podcasts {
	--pod-ease: cubic-bezier(.16, 1, .3, 1);
}
html body .ac-podcasts .store-podcust-item {
	position: relative;
	display: block;
	height: 100%;
	padding: 0 !important;
	overflow: hidden;
	border-radius: 24px !important;
	background:
		radial-gradient(90% 70% at 100% 0%, rgba(246, 205, 74, .14) 0%, rgba(246, 205, 74, 0) 60%),
		linear-gradient(160deg, #1f1f24 0%, #0f0f12 100%) !important;
	box-shadow: 0 0 0 1px rgba(17, 17, 26, .06), 0 14px 36px rgba(17, 17, 26, .14) !important;
	color: #fff !important;
	text-decoration: none !important;
	isolation: isolate;
	transition: transform .7s var(--pod-ease), box-shadow .7s var(--pod-ease) !important;
}
html body .ac-podcasts .store-podcust-item::before { display: none !important; }
/* Sheen */
html body .ac-podcasts .store-podcust-item::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, 0) 66%);
	transform: translateX(-120%);
}
html body .ac-podcasts .ac-podcast-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 300px;
	height: 100%;
	padding: 28px;
}
html body .ac-podcasts .ac-podcast-card__chip {
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: rgba(255, 255, 255, .85);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1;
	text-transform: uppercase;
}
html body .ac-podcasts .ac-podcast-card__title {
	display: block;
	margin-top: 18px;
	color: #fff;
	font-size: clamp(22px, 1.8vw, 27px);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.18;
	transition: transform .7s var(--pod-ease);
}
/* Waveform */
html body .ac-podcasts .ac-podcast-card__wave {
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
	height: 44px;
	margin: auto 0 18px;
	padding-top: 24px;
	box-sizing: content-box;
}
html body .ac-podcasts .ac-podcast-card__wave i {
	flex: 1 1 0;
	height: var(--h);
	min-height: 4px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .22);
	transform-origin: center;
	transition: background-color .4s ease;
}
/* Listen pill */
html body .ac-podcasts .ac-podcast-card__listen {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 4px 4px 16px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
html body .ac-podcasts .ac-podcast-card__listen span {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%231d1d1f'/%3E%3C/svg%3E") 55% center / 14px no-repeat;
	transition: background-color .3s ease, transform .4s var(--pod-ease);
}
@media (hover: hover) {
	html body .ac-podcasts .store-podcust-item:hover,
	html body .ac-podcasts .store-podcust-item:focus-visible {
		transform: translateY(-8px);
		box-shadow: 0 0 0 1px rgba(17, 17, 26, .05), 0 34px 70px -10px rgba(17, 17, 26, .32) !important;
	}
	html body .ac-podcasts .store-podcust-item:hover::after { transform: translateX(120%); transition: transform 1.1s var(--pod-ease); }
	html body .ac-podcasts .store-podcust-item:hover .ac-podcast-card__title { transform: translateY(-3px); }
	html body .ac-podcasts .store-podcust-item:hover .ac-podcast-card__wave i {
		background: #f6cd4a;
		animation: ac-pod-wave 1.1s ease-in-out infinite alternate;
		animation-delay: calc(var(--i, 0) * 1ms);
	}
	html body .ac-podcasts .store-podcust-item:hover .ac-podcast-card__wave i:nth-child(3n)   { animation-delay: -.3s; }
	html body .ac-podcasts .store-podcust-item:hover .ac-podcast-card__wave i:nth-child(3n+1) { animation-delay: -.6s; }
	html body .ac-podcasts .store-podcust-item:hover .ac-podcast-card__listen { background: #fff; border-color: #fff; color: #1d1d1f; }
	html body .ac-podcasts .store-podcust-item:hover .ac-podcast-card__listen span { background-color: #f6cd4a; transform: scale(1.06); }
	html body .ac-podcasts .swiper-wrapper:has(.store-podcust-item:hover) .store-podcust-item:not(:hover) { filter: brightness(.7) saturate(.85); }
}
@keyframes ac-pod-wave {
	from { transform: scaleY(.55); }
	to   { transform: scaleY(1); }
}
html body .ac-podcasts .store-podcust-item:focus-visible { outline: 2px solid #0071e3; outline-offset: 4px; }
@media (max-width: 767px) {
	html body .ac-podcasts .ac-podcast-card { min-height: 270px; padding: 24px; }
	html body .ac-podcasts .ac-podcast-card__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .ac-podcasts .store-podcust-item,
	html body .ac-podcasts .store-podcust-item *,
	html body .ac-podcasts .store-podcust-item::after { transition: none !important; animation: none !important; transform: none !important; }
}

/* Equal-height cards whatever the title length. */
html body .ac-podcasts .swiper-wrapper { align-items: stretch !important; }
html body .ac-podcasts .swiper-slide { height: auto !important; display: flex; }
html body .ac-podcasts .swiper-slide > .store-podcust-item { flex: 1 1 auto; width: 100%; }

/* Grid layout (podcast category page): equal-height cards. */
html body .ac-podcasts .news-col { display: flex; }
html body .ac-podcasts .news-col > .store-podcust-item { flex: 1 1 auto; width: 100%; }
@media (hover: hover) {
	html body .ac-podcasts.row:has(.store-podcust-item:hover) .store-podcust-item:not(:hover) { filter: brightness(.7) saturate(.85); }
}
@media (max-width: 767px) { html body .ac-podcasts .ac-podcast-card__chip { font-size: 12.5px; } }

/* ac-adult-store-slider */
/*
 * Adult Store template cards and carousel, every instance (owner, 2026-11-26):
 * the homepage section and templates/common/ac-store-promo.view.php (Adult
 * Web Design and its sub-pages). Moved from home-store-heading.css, where it
 * began as a homepage-only refinement. Loaded sitewide from setup-assets.php (handle ac-adult-store-slider).
 */

/* ── Adult Store cards, refined (owner, 2026-11-26) ─────────────────────
   Taller cards, frosted type chip, larger name, an always-visible "View
   template" pill with an arrow disc, lift + glow on hover, matching arrows. */
html body .ac-home-store .ac-home-store-card {
	height: clamp(340px, 30vw, 440px);
	border-radius: 24px;
	box-shadow: 0 0 0 1px rgba(17, 17, 26, .06), 0 14px 36px rgba(17, 17, 26, .14);
	transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease;
}
html body .ac-home-store .ac-home-store-card__image::after {
	background: linear-gradient(180deg, rgba(12, 12, 14, 0) 38%, rgba(12, 12, 14, .55) 66%, rgba(12, 12, 14, .94) 100%);
}
html body .ac-home-store .ac-home-store-card__overlay {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 16px;
	padding: 24px 24px 24px 28px;
}
html body .ac-home-store .ac-home-store-card__type {
	grid-column: 1;
	justify-self: start;
	margin: 0 0 10px;
	padding: 6px 11px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
}
html body .ac-home-store .ac-home-store-card__overlay strong {
	grid-column: 1;
	font-size: clamp(24px, 2vw, 30px);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.1;
}
/* The CTA: a white pill with an arrow disc, always shown. */
html body .ac-home-store .ac-home-store-card__cta {
	grid-column: 2;
	grid-row: 1 / 3;
	align-self: end;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-height: none;
	margin: 0;
	padding: 5px 5px 5px 16px;
	border-radius: 999px;
	background: #fff;
	color: #1d1d1f;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
	opacity: 1;
	transition: background-color .25s ease, color .25s ease;
}
html body .ac-home-store .ac-home-store-card__cta span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #1d1d1f;
	color: #fff;
	font-size: 15px;
	transition: background-color .25s ease, color .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
html body .ac-home-store .ac-home-store-card__badge {
	top: 18px;
	right: 18px;
	padding: 7px 12px;
	box-shadow: 0 4px 14px rgba(246, 205, 74, .4);
	font-size: 11px;
}
@media (hover: hover) {
	html body .ac-home-store .ac-home-store-card:hover,
	html body .ac-home-store .ac-home-store-card:focus-visible {
		transform: translateY(-6px);
		box-shadow: 0 0 0 1px rgba(17, 17, 26, .06), 0 28px 60px rgba(17, 17, 26, .24);
	}
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__image img {
		transform: scale(1.04);
		filter: none;
	}
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__cta span {
		background: #f6cd4a;
		color: #1d1d1f;
		transform: translateX(2px);
	}
}
html body .ac-home-store .ac-home-store-card:focus-visible { outline: 2px solid #0071e3; outline-offset: 4px; }

/* Arrows: white discs with a soft shadow, like the other carousels. */
html body .ac-home-store .ac-unified-arrow {
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 6px 20px rgba(17, 17, 26, .18);
	color: #1d1d1f;
	font-size: 26px;
	line-height: 1;
	transition: transform .2s ease, background-color .2s ease;
}
@media (hover: hover) {
	html body .ac-home-store .ac-unified-arrow:hover { background: #fff; transform: scale(1.06); }
}

@media (max-width: 767px) {
	html body .ac-home-store .ac-home-store-card { height: 360px; border-radius: 20px; }
	html body .ac-home-store .ac-home-store-card__overlay { grid-template-columns: minmax(0, 1fr); padding: 20px; row-gap: 0; }
	html body .ac-home-store .ac-home-store-card__cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 14px; }
	html body .ac-home-store .ac-home-store-card__overlay strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	html body .ac-home-store .ac-home-store-card,
	html body .ac-home-store .ac-home-store-card__image img { transition: none; }
}

/* "New" tag: a frosted dark pill with a glowing yellow dot (owner, 2026-11-26). */
html body .ac-home-store .ac-home-store-card__badge {
	top: 20px;
	right: auto;
	left: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 13px 7px 11px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 999px;
	background: rgba(12, 12, 14, .55);
	-webkit-backdrop-filter: blur(12px) saturate(1.3);
	backdrop-filter: blur(12px) saturate(1.3);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1;
}
html body .ac-home-store .ac-home-store-card__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f6cd4a;
	box-shadow: 0 0 0 3px rgba(246, 205, 74, .22), 0 0 10px rgba(246, 205, 74, .9);
	animation: ac-new-pulse 2.4s ease-in-out infinite;
}
@keyframes ac-new-pulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(246, 205, 74, .22), 0 0 10px rgba(246, 205, 74, .9); }
	50% { box-shadow: 0 0 0 5px rgba(246, 205, 74, .08), 0 0 14px rgba(246, 205, 74, 1); }
}
@media (prefers-reduced-motion: reduce) {
	html body .ac-home-store .ac-home-store-card__badge::before { animation: none; }
}
@media (max-width: 767px) {
	html body .ac-home-store .ac-home-store-card__badge { top: 16px; left: 16px; }
}

/* "View template": frosted glass pill, white text, small white arrow disc
   (owner, 2026-11-26). Fills white on hover. */
html body .ac-home-store .ac-home-store-card__cta {
	gap: 10px;
	padding: 4px 4px 4px 16px;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 20px rgba(0, 0, 0, .25);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
html body .ac-home-store .ac-home-store-card__cta span {
	width: 30px;
	height: 30px;
	background: #fff;
	color: #1d1d1f;
	font-size: 14px;
}
@media (hover: hover) {
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__cta,
	html body .ac-home-store .ac-home-store-card:focus-visible .ac-home-store-card__cta {
		background: #fff;
		border-color: #fff;
		color: #1d1d1f;
		box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
	}
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__cta span {
		background: #f6cd4a;
		color: #1d1d1f;
		transform: translateX(3px);
	}
}

/* Exact arrows in the store cards and carousel (2026-11-26). */
html body .ac-home-store .ac-home-store-card__cta span {
	font-size: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (hover: hover) {
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__cta span { background-color: #f6cd4a; }
}
html body .ac-home-store .ac-unified-arrow { font-size: 0; }
html body .ac-home-store .ac-unified-arrow span { display: none; }
html body .ac-home-store .ac-unified-arrow::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	margin: auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body .ac-home-store .ac-unified-arrow--prev::before { transform: scaleX(-1); }

/* ── Store card hover, smoothed (owner, 2026-11-26): one long ease-out on
   every moving part, image drifts up, a sheen sweeps across, the text block
   rises, and sibling cards dim so the hovered one leads. ── */
html body .ac-home-store {
	--store-ease: cubic-bezier(.16, 1, .3, 1);
	--store-dur: .7s;
}
html body .ac-home-store .ac-home-store-card {
	transition: transform var(--store-dur) var(--store-ease), box-shadow var(--store-dur) var(--store-ease), opacity .5s ease, filter .5s ease;
	will-change: transform;
}
html body .ac-home-store .ac-home-store-card__image img {
	transition: transform 1.1s var(--store-ease), filter .6s ease;
}
html body .ac-home-store .ac-home-store-card__image::after {
	transition: opacity var(--store-dur) var(--store-ease);
}
html body .ac-home-store .ac-home-store-card__overlay > * {
	transition: transform var(--store-dur) var(--store-ease);
}
/* Sheen */
html body .ac-home-store .ac-home-store-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .14) 48%, rgba(255, 255, 255, 0) 66%);
	transform: translateX(-120%);
}
@media (hover: hover) {
	html body .ac-home-store .ac-home-store-card:hover,
	html body .ac-home-store .ac-home-store-card:focus-visible {
		transform: translateY(-8px);
		box-shadow: 0 0 0 1px rgba(17, 17, 26, .05), 0 34px 70px -10px rgba(17, 17, 26, .32);
	}
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__image img {
		transform: translateY(-10px) scale(1.035);
		filter: brightness(1.06);
	}
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__overlay > * { transform: translateY(-4px); }
	html body .ac-home-store .ac-home-store-card:hover::after {
		transform: translateX(120%);
		transition: transform 1.1s var(--store-ease);
	}
	/* Siblings step back */
	html body .ac-home-store .swiper-wrapper:has(.ac-home-store-card:hover) .ac-home-store-card:not(:hover) {
		opacity: .72;
		filter: saturate(.8);
	}
}
@media (prefers-reduced-motion: reduce) {
	html body .ac-home-store .ac-home-store-card,
	html body .ac-home-store .ac-home-store-card *,
	html body .ac-home-store .ac-home-store-card::after { transition: none !important; transform: none !important; }
}

/* Fixes: keep the arrow in the yellow hover disc (an earlier shorthand reset
   the image), and step siblings back by darkening, not fading - fading let the
   pale band show through and looked washed out. */
@media (hover: hover) {
	html body .ac-home-store .ac-home-store-card:hover .ac-home-store-card__cta span {
		background: #f6cd4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 15px no-repeat;
	}
	html body .ac-home-store .swiper-wrapper:has(.ac-home-store-card:hover) .ac-home-store-card:not(:hover) {
		opacity: 1;
		filter: brightness(.62) saturate(.85);
	}
}

/* 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-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);
    }
}

