/* ============================================================
   RETAIL & E-COMMERCE INDUSTRY PAGE — workflow-automation
   design-system rollout. Applies the capability-page standard
   (ac-capp-system.css, itself the homepage system) to
   /industries/retail-ecommerce/ only; every rule is scoped
   body.page-template-page-industry-retail so the other five
   industry pages keep the shared dark ind-shared.php design.

     1. SPACING  — 9rem side gutters on every band (→3rem ≤960,
        →1.25rem ≤600), the shared 7rem/5rem/3.5rem vertical
        rhythm, 1680px content inners (gutter moves to the band).
     2. COLOUR   — light theme below the hero: white grounds +
        #08222E ink; the HERO stays dark (same hands-off rule as
        the capability heroes). The friction canvas and landscape
        featured card stay dark feature panels retoned to the
        standard #08222E, exactly like the ROI calculator.
     3. TYPE     — unified section-heading scale (Inter,
        clamp(2.5rem,4vw,3.75rem)/700/1.1/-0.02em), the one
        plain-caps eyebrow spec, 24px/1.7 #5A6B75 section intros,
        left-aligned section headers, homepage header-stack rhythm
        (eyebrow →1.25rem→ heading →20px→ intro; header →4rem→
        content), and the 20px card-body / 1.5rem card-title
        standard.

   Loads AFTER ac-interior-system (same 101-priority block);
   body-scoped selectors + !important beat ind-shared.php's
   in-body <style> block and inline style attrs. Fully
   reversible: delete this file + its wp_enqueue_style().
   Applied 2026-07-28. Modelled on ac-capp-system.css.
   ============================================================ */

/* ── Palette (mirrors ac-capp-system.css) ── */
body.page-template-page-industry-retail {
  --lt-page:      #FFFFFF;
  --lt-surface:   #FFFFFF;
  --lt-tint:      #E9F3F7;
  --lt-ink:       #08222E;
  --lt-grey:      #5A6B75;
  --lt-border:    rgba(9, 32, 42, 0.10);
  --lt-border-brand: rgba(7, 169, 209, 0.22);
  --lt-attn:        #E5484D;
  --lt-attn-strong: #C62B30;

  background-color: var(--lt-page) !important;
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-indv-page {
  background: var(--lt-page) !important;
  color: var(--lt-ink) !important;
}

/* HERO — stays dark like the capability heroes: the retail photo
   as a CSS background under the same left-heavy dark scrim as the
   workflow-automation hero, copy layered on top. */
body.page-template-page-industry-retail .ac-indv-hero {
  /* The retail photo is much brighter than the capability heroes'
     imagery — heavier scrim than the workflow 0.84/0.62/0.38 recipe
     so the band still reads dark and the white copy holds contrast. */
  background:
    linear-gradient(90deg, rgba(1,13,18,0.92) 0%, rgba(1,13,18,0.78) 45%, rgba(1,13,18,0.52) 100%),
    url('../images/industries/retail.jpg') center / cover no-repeat,
    #010D12 !important;
  color: #FFFFFF;
}

/* ============================================================
   1a. 9rem SIDE GUTTERS on every band (hero included, horizontal
       only — matches the capability pages)
   ============================================================ */
body.page-template-page-industry-retail :is(
  .ac-indv-hero,
  .ac-indv-landscape,
  .ac-indv-friction,
  .ac-indv-capabilities,
  .ac-indv-related,
  .ac-roi-embed,
  .ac-cta-wrapper-bg,
  .ac-footer
) {
  padding-left: 9rem !important;
  padding-right: 9rem !important;
}
@media (max-width: 960px) {
  body.page-template-page-industry-retail :is(
    .ac-indv-hero, .ac-indv-landscape, .ac-indv-friction,
    .ac-indv-capabilities, .ac-indv-related,
    .ac-roi-embed, .ac-cta-wrapper-bg, .ac-footer
  ) {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}
@media (max-width: 600px) {
  body.page-template-page-industry-retail :is(
    .ac-indv-hero, .ac-indv-landscape, .ac-indv-friction,
    .ac-indv-capabilities, .ac-indv-related,
    .ac-roi-embed, .ac-cta-wrapper-bg, .ac-footer
  ) {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* ============================================================
   1b. VERTICAL RHYTHM — 7rem / 5rem / 3.5rem, margins zeroed
   ============================================================ */
body.page-template-page-industry-retail :is(
  .ac-indv-landscape,
  .ac-indv-friction,
  .ac-indv-capabilities,
  .ac-roi-embed,
  .ac-cta-wrapper-bg
) {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 960px) {
  body.page-template-page-industry-retail :is(
    .ac-indv-landscape, .ac-indv-friction, .ac-indv-capabilities,
    .ac-roi-embed, .ac-cta-wrapper-bg
  ) {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}
@media (max-width: 600px) {
  body.page-template-page-industry-retail :is(
    .ac-indv-landscape, .ac-indv-friction, .ac-indv-capabilities,
    .ac-roi-embed, .ac-cta-wrapper-bg
  ) {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

/* ============================================================
   1c. CONTENT INNERS → 1680px (gutter lives on the band, so the
       shells stop carrying their own calc(100% - 48px) inset)
   ============================================================ */
body.page-template-page-industry-retail .ac-indv-shell {
  width: 100% !important;
  max-width: 1680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.page-template-page-industry-retail .ac-indv-capabilities .ac-indv-shell {
  padding: 0 !important;
}
body.page-template-page-industry-retail .ac-indv-landscape__frame {
  max-width: none !important;
}
body.page-template-page-industry-retail .ac-roi-embed__inner {
  max-width: 1680px !important;
}

/* ============================================================
   2. TYPE — unified scales
   ============================================================ */

/* Section headings (capability spec: Inter,
   clamp(2.5rem,4vw,3.75rem), 700, 1.1, -0.02em) */
body.page-template-page-industry-retail :is(
  .ac-indv-intro h2,
  .ac-indv-friction__header h2,
  .ac-roi-embed__header h2
) {
  font-size: clamp(2.5rem, 4vw, 3.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  text-wrap: balance;
}
@media (max-width: 768px) {
  body.page-template-page-industry-retail :is(
    .ac-indv-intro h2, .ac-indv-friction__header h2, .ac-roi-embed__header h2
  ) {
    font-size: clamp(2rem, 8vw, 2.75rem) !important;
  }
}

/* Eyebrow / kicker labels — ONE plain-caps spec: Inter 0.8rem /
   700 / 0.14em / caps, no pill, no border, no padding. Ink on the
   light bands; white where they sit on a dark panel. */
body.page-template-page-industry-retail :is(
  .ac-indv-label,
  .ac-indv-badge,
  .ac-roi-embed .ac-badge
) {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 1.25rem !important;
  display: inline-block !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail :is(
  .ac-indv-hero .ac-indv-badge,
  .ac-indv-friction__header .ac-indv-label,
  .ac-roi-embed .ac-badge
) {
  color: #FFFFFF !important;
}

/* Section intros — 24px / 1.7 grey, homepage header-stack rhythm:
   eyebrow →1.25rem→ heading →20px→ intro; header block →4rem→
   content (2.5rem ≤768). Headers LEFT aligned (the friction
   header and the ROI/CTA conversion panels keep their centred
   feature-panel composition). */
body.page-template-page-industry-retail .ac-indv-intro {
  justify-items: start !important;
  text-align: left !important;
  margin-bottom: 4rem !important;
}
body.page-template-page-industry-retail .ac-indv-intro h2 {
  margin: 0 !important;
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-indv-intro p {
  font-size: 24px !important;
  line-height: 1.7 !important;
  color: var(--lt-grey) !important;
  margin: 20px 0 0 !important;
  max-width: 780px !important;
}
@media (max-width: 768px) {
  body.page-template-page-industry-retail .ac-indv-intro {
    margin-bottom: 2.5rem !important;
  }
}
body.page-template-page-industry-retail .ac-roi-embed__header p {
  font-size: 24px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.75) !important;
}
body.page-template-page-industry-retail .ac-roi-embed__header {
  margin-bottom: 4rem !important;
}
body.page-template-page-industry-retail .ac-roi-embed__header h2 {
  margin: 0 !important;
}
body.page-template-page-industry-retail .ac-roi-embed__header p {
  margin: 20px 0 0 !important;
}

/* Grids straight after a header — the 4rem gap is carried by the
   header, so their own top margins go. */
body.page-template-page-industry-retail .ac-indv-cap-scroll {
  margin-top: 0 !important;
}

/* ============================================================
   3. HERO — dark, but on the homepage/capability type scale and
      the full-viewport composition (≥961px; natural flow below,
      incl. the body{zoom:0.80} 100vh/0.80 correction)
   ============================================================ */
body.page-template-page-industry-retail .ac-indv-hero__title {
  font-size: clamp(2.2rem, 5vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.11 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 1.25rem !important;
  max-width: none !important;
}
body.page-template-page-industry-retail .ac-indv-hero__body {
  font-size: 1.75rem !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 900px !important;
  margin: 0 0 3.5rem !important;
}
/* Single left copy column hugging the left gutter (capability hero
   recipe) — the shared 1680px shell rule would otherwise centre it. */
body.page-template-page-industry-retail .ac-indv-hero__grid {
  max-width: 1160px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
@media (min-width: 961px) {
  body.page-template-page-industry-retail .ac-indv-hero {
    height: calc(100vh / 0.80) !important;
    min-height: calc(100vh / 0.80) !important;
    max-height: min(calc(100vh / 0.80), 1125px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  /* Nudge the copy below the fixed nav pill */
  body.page-template-page-industry-retail .ac-indv-hero__grid {
    margin-top: 2rem;
  }
}

/* Trusted-by carousel — flow position below the copy (<961px), pinned
   absolute at the hero's bottom edge on the 9rem gutters ≥961px, exactly
   the capability/firm hero treatment. The carousel's edge fades
   (::before/::after) paint solid var(--ac-bg), which shows as dark
   patches over the hero photo — replace with a transparency mask. */
body.page-template-page-industry-retail .ac-indv-hero .ac-trust-carousel {
  margin-top: 3.5rem !important;
  max-width: none !important;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
body.page-template-page-industry-retail .ac-indv-hero .ac-trust-carousel::before,
body.page-template-page-industry-retail .ac-indv-hero .ac-trust-carousel::after {
  display: none !important;
}
/* Label — crisp full white with a soft shadow so it stays readable
   over the hero photograph. */
body.page-template-page-industry-retail .ac-indv-hero .ac-trust-carousel__label {
  color: #ffffff !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
@media (min-width: 961px) {
  body.page-template-page-industry-retail .ac-indv-hero .ac-trust-carousel {
    position: absolute !important;
    left: 9rem !important;
    right: 9rem !important;
    bottom: 2.5rem !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 2;
  }
}

/* ============================================================
   4. COLOUR — light theme below the hero
   ============================================================ */

/* ── Landscape (already light) — stat cards on the /profile/
      "The Problem" card design, adapted to the light band:
      checkerboarded dark-gradient (#083344→#003333) and light-teal
      (#D2F0F5) cards, 24px radius, no borders or icons, the profile
      42px Inter-800 "hook" value (teal gradient on light cards,
      white on dark) over 19px plain copy. The featured (4th) card
      keeps its dark emphasis; the first stat joins it so the 2×2
      grid alternates like the profile scroll strip. The old tint
      frame is stripped so cards sit straight on the white band. ── */
body.page-template-page-industry-retail .ac-indv-landscape {
  background: var(--lt-page) !important;
}
body.page-template-page-industry-retail .ac-indv-landscape__frame {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
/* One row of four vertical cards, staggered like the profile strip:
   odd cards dark and raised, even cards light-teal and pushed down
   5rem (the profile nth-child rhythm). Collapses to a staggered
   2-column at tablet, single column (no stagger) on phones. */
body.page-template-page-industry-retail .ac-indv-landscape__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  align-items: start !important;
}
body.page-template-page-industry-retail :is(.ac-indv-stat, .ac-indv-featured) {
  border: none !important;
  border-radius: 24px !important;
  padding: 2.5rem 2rem !important;
  min-height: 270px !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
/* Hover — the site card lift (translateY + brand-teal glow) */
body.page-template-page-industry-retail :is(.ac-indv-stat, .ac-indv-featured):hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(7, 169, 209, 0.20) !important;
}
/* Odd cards — dark, raised (profile rhythm) */
body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(odd) {
  background: linear-gradient(135deg, #083344, #003333) !important;
}
/* Even cards — white (light-theme take on the profile #D2F0F5),
   pushed down; the soft shadow keeps their edge on the white band */
body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(even) {
  background: #FFFFFF !important;
  margin-top: 5rem !important;
}
/* The profile problem cards carry no iconography */
body.page-template-page-industry-retail :is(.ac-indv-stat__icon, .ac-indv-featured__icon) {
  display: none !important;
}
/* Values = the profile "hook": Inter 42px / 800 / -0.03em —
   teal gradient on the light cards, solid white on the dark */
body.page-template-page-industry-retail :is(.ac-indv-stat__value, .ac-indv-featured__value) {
  font-size: 42px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;
  margin: 0 0 0.75rem !important;
}
body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(even) :is(.ac-indv-stat__value, .ac-indv-featured__value) {
  background: linear-gradient(135deg, #07A9D1, #06CFC3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #07A9D1 !important;
}
body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(odd) :is(.ac-indv-stat__value, .ac-indv-featured__value) {
  background: none !important;
  -webkit-text-fill-color: #FFFFFF !important;
  color: #FFFFFF !important;
}
/* Copy = the profile topic/tail: 19px / 1.6 */
body.page-template-page-industry-retail :is(.ac-indv-stat__copy, .ac-indv-featured__copy) {
  font-size: 19px !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(even) :is(.ac-indv-stat__copy, .ac-indv-featured__copy) {
  color: #083344 !important;
}
body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(odd) :is(.ac-indv-stat__copy, .ac-indv-featured__copy) {
  color: rgba(255, 255, 255, 0.75) !important;
}
@media (max-width: 1200px) {
  body.page-template-page-industry-retail .ac-indv-landscape__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  body.page-template-page-industry-retail .ac-indv-landscape__grid {
    grid-template-columns: 1fr !important;
  }
  body.page-template-page-industry-retail .ac-indv-landscape__grid > :nth-child(even) {
    margin-top: 0 !important;
  }
}

/* ── Friction ("Common Challenges") — sits directly on the white
      page: the dark panel chrome is stripped, the flowing-lines SVG
      runs edge to edge (band gutters zeroed, shell uncapped), and
      the header/pills/detail cards flip to light-theme styling. ── */
body.page-template-page-industry-retail .ac-indv-friction {
  background: var(--lt-page) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.page-template-page-industry-retail .ac-indv-friction .ac-indv-shell {
  max-width: none !important;
}
body.page-template-page-industry-retail .ac-indv-friction__canvas {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  /* Match the flowing-lines SVG's 1440×760 aspect so the full-bleed
     background isn't cropped at the bottom by object-fit: cover. */
  aspect-ratio: 1440 / 760;
}
body.page-template-page-industry-retail .ac-indv-friction__header h2 {
  color: var(--lt-ink) !important;
}
/* Two lines exactly: widen the 760px header so "Where Retail &
   E-commerce" holds one line, and break before the accent span. */
body.page-template-page-industry-retail .ac-indv-friction__header {
  width: min(1100px, calc(100% - 48px)) !important;
}
body.page-template-page-industry-retail .ac-indv-friction__header h2 .ac-indv-accent {
  display: block;
}
body.page-template-page-industry-retail .ac-indv-friction__header .ac-indv-label {
  color: var(--lt-ink) !important;
}
/* Floating pills — white light-theme chips with a firmer border so
   they hold their edge against the white band */
body.page-template-page-industry-retail .ac-indv-pill {
  background: #FFFFFF !important;
  border: 1px solid rgba(9, 32, 42, 0.18) !important;
  color: var(--lt-ink) !important;
  font-size: 1rem !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 18px rgba(9, 32, 42, 0.10);
}
body.page-template-page-industry-retail .ac-indv-node:hover .ac-indv-pill {
  background: #FFFFFF !important;
  border-color: rgba(7, 169, 209, 0.45) !important;
  box-shadow: 0 12px 32px rgba(7, 169, 209, 0.18) !important;
}
/* Hover detail cards — white cards, card-typography standard
   (1.5rem titles / 20px body), bordered for contrast on white */
body.page-template-page-industry-retail .ac-indv-detail {
  background: #FFFFFF !important;
  border: 1px solid rgba(9, 32, 42, 0.18) !important;
  box-shadow: 0 18px 48px rgba(9, 32, 42, 0.16) !important;
  width: 360px;
}
body.page-template-page-industry-retail .ac-indv-detail h3 {
  font-size: 1.5rem !important;
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-indv-detail p {
  font-size: 20px !important;
  line-height: 1.6 !important;
  color: var(--lt-grey) !important;
}
body.page-template-page-industry-retail .ac-indv-detail__icon {
  color: #07A9D1 !important;
  background: rgba(7, 169, 209, 0.10) !important;
  border: none !important;
}

/* ── Capabilities (dark → white) ── */
body.page-template-page-industry-retail .ac-indv-capabilities {
  background: var(--lt-page) !important;
}
body.page-template-page-industry-retail .ac-indv-capabilities .ac-indv-intro h2 {
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-indv-capabilities .ac-indv-intro p {
  color: var(--lt-grey) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item {
  border-left-color: rgba(8, 34, 46, 0.12) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item.is-active {
  border-left-color: #00b4d8 !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item h3 {
  font-size: 1.5rem !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item.is-active h3 {
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item:not(.is-active) h3 {
  color: rgba(8, 34, 46, 0.40) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item p {
  font-size: 20px !important;
  line-height: 1.65 !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item.is-active p {
  color: var(--lt-grey) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item__icon {
  color: #07A9D1 !important;
  background: rgba(7, 169, 209, 0.08) !important;
  border-color: var(--lt-border-brand) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item.is-active .ac-indv-cap-item__icon {
  background: rgba(7, 169, 209, 0.14) !important;
  border-color: rgba(7, 169, 209, 0.35) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item__label {
  color: rgba(8, 34, 46, 0.35) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-item.is-active .ac-indv-cap-item__label {
  color: rgba(7, 169, 209, 0.85) !important;
}
body.page-template-page-industry-retail .ac-indv-cap-scroll__img-wrap {
  box-shadow: 0 24px 60px rgba(9, 32, 42, 0.18) !important;
}

/* ── Related capabilities — small companion strip (capability
      standard): sub-heading scale, tighter rhythm, white ground ── */
body.page-template-page-industry-retail .ac-indv-related {
  background: var(--lt-page) !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}
body.page-template-page-industry-retail .ac-indv-related .ac-indv-intro {
  margin-bottom: 2rem !important;
}
body.page-template-page-industry-retail .ac-indv-related .ac-indv-intro h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-indv-related__grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
}
@media (max-width: 1400px) {
  body.page-template-page-industry-retail .ac-indv-related__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 700px) {
  body.page-template-page-industry-retail .ac-indv-related__grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Cutout cards (related services) — photo media on top; a white
      inset label plate (bottom-left) and a white icon pin (top-right)
      are cut INTO the media. The .ac-cutout__corner SVGs are quarter
      "square-minus-disc" fillers, plate-coloured, that turn each
      plate/media junction into an inverted radius. The base SVG shape
      fills the BOTTOM-LEFT of its box (concave toward top-right):
      label corners use it as-is, pin corners rotate it 180°. ── */
body.page-template-page-industry-retail .ac-indv-related__cutout {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--lt-surface);
  border: 1px solid var(--lt-border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
body.page-template-page-industry-retail .ac-indv-related__cutout:hover {
  transform: translateY(-4px);
  border-color: var(--lt-border-brand);
  box-shadow: 0 6px 24px rgba(9, 32, 42, 0.10);
}
body.page-template-page-industry-retail .ac-cutout__media {
  position: relative;
  height: clamp(190px, 14vw, 250px);
  background: var(--lt-tint);
  overflow: hidden;
}
body.page-template-page-industry-retail .ac-cutout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
body.page-template-page-industry-retail .ac-indv-related__cutout:hover .ac-cutout__media img {
  transform: scale(1.05);
}
/* Faint top scrim so the white pin reads against bright photos */
body.page-template-page-industry-retail .ac-cutout__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 13, 18, 0.10) 0%, rgba(1, 13, 18, 0) 38%);
  pointer-events: none;
  z-index: 1;
}
body.page-template-page-industry-retail .ac-cutout__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  color: var(--lt-surface);
  pointer-events: none;
}
body.page-template-page-industry-retail .ac-cutout__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--lt-surface);
  color: var(--lt-grey);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 13px 20px 12px 1.75rem;
  border-top-right-radius: 18px;
}
body.page-template-page-industry-retail .ac-cutout__corner--label-side { left: 100%; bottom: 0; }
body.page-template-page-industry-retail .ac-cutout__corner--label-over { left: 0; bottom: 100%; }
body.page-template-page-industry-retail .ac-cutout__pin {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lt-surface);
  color: #07A9D1;
  padding: 12px 1.15rem 14px 16px;
  border-bottom-left-radius: 18px;
}
body.page-template-page-industry-retail .ac-cutout__pin > svg:not(.ac-cutout__corner) {
  width: 22px;
  height: 22px;
  display: block;
}
body.page-template-page-industry-retail .ac-cutout__corner--pin-side { right: 100%; top: 0; transform: rotate(180deg); }
body.page-template-page-industry-retail .ac-cutout__corner--pin-under { top: 100%; right: 0; transform: rotate(180deg); }
body.page-template-page-industry-retail .ac-cutout__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.75rem 1.75rem;
}
body.page-template-page-industry-retail .ac-cutout__body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lt-ink);
  margin: 0 0 0.65rem;
}
body.page-template-page-industry-retail .ac-cutout__body p {
  font-size: 20px;
  line-height: 1.65;
  color: var(--lt-grey);
  margin: 0 0 1.5rem;
  flex: 1;
}
body.page-template-page-industry-retail .ac-cutout__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--lt-border);
  padding-top: 1.15rem;
  margin-top: auto;
}
body.page-template-page-industry-retail .ac-cutout__footer-note {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(90, 107, 117, 0.75);
}
body.page-template-page-industry-retail .ac-cutout__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #07A9D1;
  white-space: nowrap;
  transition: color 0.2s ease;
}
body.page-template-page-industry-retail .ac-indv-related__cutout:hover .ac-cutout__link {
  color: #0690b2;
}

/* ── ROI calculator — stays a DARK feature panel, retoned
      #010D12 → #08222E per the dark-tone standard ── */
body.page-template-page-industry-retail .ac-roi-embed {
  background: #08222E !important;
}
body.page-template-page-industry-retail .ac-roi-s-row input[type=range]::-webkit-slider-thumb {
  border-color: #08222E !important;
}
body.page-template-page-industry-retail .ac-roi-s-row input[type=range]::-moz-range-thumb {
  border-color: #08222E !important;
}

/* ── CTA (dark panel → soft cyan brand panel, homepage treatment) ── */
body.page-template-page-industry-retail .ac-cta-wrapper-bg {
  background: var(--lt-page) !important;
}
body.page-template-page-industry-retail .ac-cta {
  background: linear-gradient(180deg, #EAF6FA 0%, #DCEFF4 45%, #CDE7EF 100%) !important;
}
body.page-template-page-industry-retail .ac-cta__glow {
  display: none !important;
}
body.page-template-page-industry-retail :is(
  .ac-cta__title, .ac-cta__heading, .ac-cta__subtitle, .ac-cta__reassurance, .ac-cta-note
) {
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail .ac-cta__subtitle {
  color: var(--lt-grey) !important;
}
body.page-template-page-industry-retail .ac-cta .ac-btn--outline {
  color: var(--lt-ink) !important;
  border-color: var(--lt-border-brand) !important;
}
body.page-template-page-industry-retail .ac-cta .ac-btn--outline:hover {
  color: var(--ac-primary) !important;
  border-color: var(--ac-primary) !important;
}
/* Coral conversion moment — same as the homepage final CTA */
body.page-template-page-industry-retail .ac-cta .ac-btn--cta-white {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #FF6B5E 0%, var(--lt-attn) 100%) !important;
  border-color: transparent !important;
}
body.page-template-page-industry-retail .ac-cta .ac-btn--cta-white:hover {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, var(--lt-attn) 0%, var(--lt-attn-strong) 100%) !important;
  box-shadow: 0 10px 30px rgba(229, 72, 77, 0.35) !important;
  border-color: transparent !important;
}

/* ── Footer — homepage light footer treatment ── */
body.page-template-page-industry-retail .ac-footer {
  background: #FFFFFF !important;
  color: var(--lt-ink) !important;
}
body.page-template-page-industry-retail :is(
  .ac-footer__heading,
  .ac-footer__desc,
  .ac-footer__reach-cta
) { color: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer__brand .ac-logo span { color: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer a { color: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer a:hover { color: var(--ac-primary) !important; }
body.page-template-page-industry-retail .ac-footer a.ac-footer__email-link,
body.page-template-page-industry-retail .ac-footer a.ac-footer__phone { color: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer__email svg { stroke: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer a.ac-pill-cta.ac-footer__map-pill {
  color: var(--lt-ink) !important;
  border: 1.5px solid rgba(8, 34, 46, 0.18);
}
body.page-template-page-industry-retail .ac-footer__linkedin svg path { fill: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer__linkedin--min { border-color: var(--lt-ink) !important; }
body.page-template-page-industry-retail .ac-footer__linkedin--min:hover { border-color: var(--ac-primary) !important; }
body.page-template-page-industry-retail .ac-footer__linkedin--min:hover svg path { fill: var(--ac-primary) !important; }
body.page-template-page-industry-retail .ac-footer__divider {
  background-color: var(--lt-border) !important;
  color: var(--lt-border) !important;
  opacity: 1 !important;
}

/* ============================================================
   5. SECTION DIVIDERS — the homepage's inset hairline between
      white bands (transparent for the first/last 9rem, matching
      the gutters). The band straight after the hero (landscape)
      is omitted, exactly like the homepage; the dark ROI / cyan
      CTA panels separate themselves.
   ============================================================ */
body.page-template-page-industry-retail { --ac-divider-inset: 9rem; }
@media (max-width: 960px) { body.page-template-page-industry-retail { --ac-divider-inset: 2rem; } }
@media (max-width: 600px) { body.page-template-page-industry-retail { --ac-divider-inset: 1.5rem; } }

body.page-template-page-industry-retail :is(
  .ac-indv-friction,
  .ac-indv-capabilities,
  .ac-indv-related
) {
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    to right,
    transparent var(--ac-divider-inset),
    rgba(9, 32, 42, 0.22) var(--ac-divider-inset),
    rgba(9, 32, 42, 0.22) calc(100% - var(--ac-divider-inset)),
    transparent calc(100% - var(--ac-divider-inset))
  ) 1;
}

/* ============================================================
   6. PAGE-BOTTOM SECTIONS (added 2026-07-28): team → lead form
      → testimonials → FAQ, the Sydney / 20-hours-free stack
      appended after the related strip in
      templates/page-industry-retail.html. firm-team and lead-form
      carry their own 9rem gutters in their base styles; the
      others are aligned here. Mirrors ac-offer-system.css §1.
   ============================================================ */

/* ── Gutters: interior-system gives .ac-founders / .ac-capp-faq 7rem —
      lift to the page's 9rem line (3rem ≤960, 1.25rem ≤600) ── */
body.page-template-page-industry-retail :is(
  .ac-founders,
  .ac-testimonials,
  .ac-indr-faq
) {
  padding-left: 9rem !important;
  padding-right: 9rem !important;
}
@media (max-width: 960px) {
  body.page-template-page-industry-retail :is(
    .ac-founders, .ac-testimonials, .ac-indr-faq
  ) {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}
@media (max-width: 600px) {
  body.page-template-page-industry-retail :is(
    .ac-founders, .ac-testimonials, .ac-indr-faq
  ) {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* ── Vertical rhythm on the two bands without their own ──────── */
body.page-template-page-industry-retail :is(.ac-testimonials, .ac-indr-faq) {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 960px) {
  body.page-template-page-industry-retail :is(.ac-testimonials, .ac-indr-faq) {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}
@media (max-width: 600px) {
  body.page-template-page-industry-retail :is(.ac-testimonials, .ac-indr-faq) {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

/* interior-system also puts 7rem gutters on the .ac-firm-team wrapper
   group, which would stack with .ac-founders' own — zero the wrapper
   (same fix as ac-offer-system.css). */
body.page-template-page-industry-retail .ac-firm-team {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Testimonials: only the inner is capped at 1680 — the background
   curve SVG stays full-bleed (ac-offer-system recipe). */
body.page-template-page-industry-retail .ac-testimonials__inner {
  padding-left: 0;
  padding-right: 0;
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
}

/* Eyebrow standard on the shared patterns' .racetrack-badge (the cyan
   pill base in style.css) — restate the plain-caps light spec used by
   every other eyebrow on this page. */
body.page-template-page-industry-retail .racetrack-badge {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  color: var(--lt-ink) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 0 1.25rem !important;
  display: inline-block !important;
}

/* FAQ: open item's chevron turns coral (homepage light rule) */
body.page-template-page-industry-retail .ac-capp-faq__trigger[aria-expanded="true"] .ac-capp-faq__icon {
  stroke: var(--lt-attn) !important;
}

/* Hairline divider above the team band (same inset hairline the other
   white bands use — related → team boundary). */
body.page-template-page-industry-retail .ac-founders {
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    to right,
    transparent var(--ac-divider-inset),
    rgba(9, 32, 42, 0.22) var(--ac-divider-inset),
    rgba(9, 32, 42, 0.22) calc(100% - var(--ac-divider-inset)),
    transparent calc(100% - var(--ac-divider-inset))
  ) 1;
}

/* ── Team band — the Sydney treatment of the shared firm-team
      pattern: left-aligned header, no OUR TEAM badge, no See-more
      toggle, no culture quote/gallery band; Jonathan (DOM card 5)
      replaces Michael (card 3) in the visible first row. ── */
body.page-template-page-industry-retail .ac-founders__header { text-align: left !important; }
body.page-template-page-industry-retail .ac-founders .ac-section-label { display: none !important; }
body.page-template-page-industry-retail .ac-founders__more { display: none !important; }
body.page-template-page-industry-retail .ac-culture-section { display: none !important; }
body.page-template-page-industry-retail .ac-founders__subtext { font-size: 20px !important; }
body.page-template-page-industry-retail .ac-founders__grid .ac-founders__card:nth-child(3) { display: none !important; }
body.page-template-page-industry-retail .ac-founders__grid:not(.is-expanded) .ac-founders__card:nth-child(5) { display: block !important; }
body.page-template-page-industry-retail .ac-founders__grid .ac-founders__card:nth-child(1) { order: 1; }
body.page-template-page-industry-retail .ac-founders__grid .ac-founders__card:nth-child(2) { order: 2; }
body.page-template-page-industry-retail .ac-founders__grid .ac-founders__card:nth-child(5) { order: 3; }
body.page-template-page-industry-retail .ac-founders__grid .ac-founders__card:nth-child(4) { order: 4; }
