/* ==========================================================================
   archive-service.css — Service post-type archive (/services/)
   Concatenated 2026-05-12 css-master refactor from three main.css sections:
     - Services archive v2 — design review fixes (2026-04-29)
     - /services/ war-room pass (2026-04-30)
     - Services landing — 2026-04-30 rebuild
   Conditionally enqueued via inc/setup.php on is_post_type_archive('thisismyurl_service').
   Cascade order preserved: v2 → war-room → landing (matches main.css source order).
   ========================================================================== */

/* ==========================================================================
   Services archive v2 — design review fixes (2026-04-29)
   Pricing-at-a-glance hero, trust strip, restructured listing card with
   visible price band and verb-led CTAs.
   ========================================================================== */

/* Hero: replace the empty right column with a pricing-at-a-glance table */
.archive-hero--service .archive-hero__layout {
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}

.archive-hero--service .archive-hero__actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.archive-hero--service .archive-hero__secondary-link {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  /* WCAG 2.5.5: 44x44 touch target. flex centering preserves the
     border-bottom underline behaviour on hover/focus. */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.25rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.archive-hero--service .archive-hero__secondary-link:hover,
.archive-hero--service .archive-hero__secondary-link:focus-visible {
  color: var(--color-text);
  border-bottom-color: var(--color-border-strong);
}





.services-pricing-glance {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.services-pricing-glance__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 0.25rem 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-border);
}

.services-pricing-glance__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.services-pricing-glance__label {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.98rem;
  letter-spacing: -0.005em;
}

.services-pricing-glance__price {
  margin: 0;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
  text-align: right;
  white-space: nowrap;
}

.services-pricing-glance__note {
  margin: 0;
  grid-column: 1 / -1;
  color: var(--color-text-medium, var(--color-muted));
  font-size: 0.86rem;
  line-height: 1.45;
}



@media (max-width: 760px) {
  
  .services-pricing-glance__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* Trust strip directly under the services hero */
.services-trust-strip {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--color-border);
  margin-top: 0;
}

.services-trust-strip__label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-muted);
  text-align: center;
}

.services-trust-strip__brands {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 860px) {
  .services-trust-strip__brands {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .services-trust-strip__brands {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services-trust-strip__brands li {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-trust-strip__brands img {
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.services-trust-strip__brands li:hover img,
.services-trust-strip__brands li:focus-within img {
  filter: none;
  opacity: 1;
}

.services-trust-strip__brands li a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Service listing v2: price column | body | verb CTA */
.service-listing--v2 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.service-listing--v2 .service-listing__row {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--color-border);
}

/* Price column hosts a 24-28px icon + price-stack (audience, price, recent). */
.service-listing--v2 .service-listing__price-col {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.service-listing--v2 .service-listing__price {
  margin: 0;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  order: 2;
}

/* Hierarchy flip: audience first (uppercase eyebrow), price below in mono. */
.service-listing--v2 .service-listing__audience {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  order: 1;
}

.service-listing--v2 .service-listing__body {
  display: grid;
  gap: 0.45rem;
}

.service-listing--v2 .service-listing__title {
  margin: 0;
  font-size: clamp(1.2rem, 0.95rem + 0.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--color-text);
}

.service-listing--v2 .service-listing__title a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.2s ease;
}

.service-listing--v2 .service-listing__title a:hover,
.service-listing--v2 .service-listing__title a:focus-visible {
  background-size: 100% 1px;
}

.service-listing--v2 .service-listing__lead {
  margin: 0;
  color: var(--color-text-medium, var(--color-text));
  line-height: 1.55;
  max-width: 60ch;
}

.service-listing--v2 .service-listing__cta {
  display: flex;
  align-items: center;
}

.service-listing--v2 .service-listing__btn {
  /* Reset the navy-pill base styles inherited from .service-listing__btn
     (line ~10569). The v2 listing uses a plain text link, not a pill.
     min-height + flex centering enforces the WCAG 2.5.5 44x44 touch target. */
  background: var(--color-accent);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  transition: background 0.18s ease, transform 0.18s ease;
}

.service-listing--v2 .service-listing__btn:hover,
.service-listing--v2 .service-listing__btn:focus-visible {
  background: var(--color-accent-strong);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .service-listing--v2 .service-listing__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .service-listing--v2 .service-listing__price-col {
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: baseline;
    gap: 0.6rem;
  }
  .service-listing--v2 .service-listing__cta {
    margin-top: 0.5rem;
  }
}


/* ==========================================================================
   /services/ war-room pass (2026-04-30)
   New classes added by the services-archive audit fix:
   - hero subtitle, scoping ladder, EEAT band
   - services pull-quote band (between trust strip and intro)
   - services training pillar banner (above listing)
   - per-row tertiary "Or book a call" link
   ========================================================================== */

.archive-hero--service .archive-hero__lead {
  font-size: 1rem;
  color: var(--color-text-medium, var(--color-text));
  max-width: 60ch;
}

/* --- Pull-quote band (between trust strip and gateway intro) ----------- */

/* --- Training pillar banner (above listing) ---------------------------- */

.services-training-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  margin: 1.5rem auto 0.5rem;
  padding: 1.25rem clamp(1rem, 2vw, 1.5rem);
  border: 1px solid var(--color-border, rgba(0,0,0,0.12));
  border-radius: 6px;
  background: var(--color-surface, transparent);
}

.services-training-banner__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-medium, var(--color-text));
  font-weight: 700;
}

.services-training-banner__heading {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
}

.services-training-banner__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-medium, var(--color-text));
  max-width: 70ch;
}

.services-training-banner__actions {
  display: flex;
  align-items: center;
}

@media (max-width: 720px) {
  .services-training-banner {
    grid-template-columns: minmax(0, 1fr);
  }
  .services-training-banner__actions {
    justify-content: flex-start;
  }
}

/* --- Featured case-study card (between listing and FAQ on /services/) -- */

/* --- Mobile sticky CTA on /services/ archive hero --------------------- */

@media (max-width: 720px) {
  .archive-hero--service .archive-hero__actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: 0.6rem;
    padding: 0.6rem 0;
    /* Respect iOS home indicator: max() avoids collapsing the padding on
       devices without a safe-area inset. */
    padding-bottom: max(0.6rem, calc(0.6rem + env(safe-area-inset-bottom)));
    background: linear-gradient(
      to bottom,
      transparent 0,
      var(--color-surface, #fff) 30%,
      var(--color-surface, #fff) 100%
    );
  }
}


/* =====================================================================
 * Services landing — 2026-04-30 rebuild
 * Single-column hero, grouped listing, dedicated pricing band, stat band.
 * ===================================================================== */

/* Services hero layout — reverted to 2-col default; sigil in right column,
   text/CTA cluster in left. See .archive-hero--service .archive-hero__layout
   above (~line 8555) for the canonical declaration. */
.archive-hero--service .archive-hero__header {
  max-width: 64ch;
}

.archive-hero--service .archive-hero__valueprop {
  margin: 0.6rem 0 1.1rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.5;
  color: var(--color-text-medium, var(--color-text));
  max-width: 56ch;
  font-weight: 500;
}

.archive-hero--service .archive-hero__signature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border, rgba(0,0,0,0.12));
  border-left: 3px solid var(--color-accent, currentColor);
  border-radius: 4px;
  max-width: 60ch;
  background: var(--color-surface, transparent);
}

.archive-hero__signature-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.archive-hero__signature-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.archive-hero__signature-name {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.2;
}

.archive-hero__signature-credential {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-medium, var(--color-text));
}

.archive-hero__signature-link {
  margin-left: 0.25rem;
  color: var(--color-accent, currentColor);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.archive-hero__signature-link:hover,
.archive-hero__signature-link:focus-visible {
  border-bottom-color: currentColor;
}

/*
 * Training-event hero trainer strip — compact EEAT badge directly below
 * the H1 on event-CPT singulars. Mirrors the .archive-hero__signature
 * pattern (avatar + name + one-line credential + about link) so the
 * authority signal lands above the fold and a buyer scrolling into the
 * body already knows who is teaching.
 */

/* Service jump-nav: sits under the trust strip, three opinionated chips. */
.archive-jump-nav--service {
  margin: 0.5rem auto 1rem;
  position: static;
  top: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
}

.archive-jump-nav--service ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.archive-jump-nav--service li {
  margin: 0;
  padding: 0;
}

.archive-jump-nav--service a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-accent-soft, rgba(0,0,0,0.04));
  border: 1px solid var(--color-border, rgba(0,0,0,0.1));
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.archive-jump-nav--service a:hover,
.archive-jump-nav--service a:focus-visible {
  background: var(--color-accent, currentColor);
  border-color: var(--color-accent, currentColor);
  color: var(--color-surface, #fff);
}

/* Pricing-overview band — promoted out of the hero. */
.services-pricing-overview {
  margin: 2rem auto 0.5rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--color-border, rgba(0,0,0,0.12));
  border-left: 4px solid var(--color-gold, var(--color-accent));
  border-radius: 6px;
  background: var(--color-accent-soft, rgba(0,0,0,0.03));
}

.services-pricing-overview__header {
  margin: 0 0 1rem;
}

.services-pricing-overview__header .section-eyebrow {
  margin: 0 0 0.3rem;
}

.services-pricing-overview__header h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.services-pricing-overview__lede {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-medium, var(--color-text));
  font-style: italic;
  max-width: 60ch;
}

.services-pricing-overview .services-pricing-glance {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

/* Stat band — replaces the prior pull-quote with a mono numeral anchor. */

/* Diagnostics callout — funnel pass 2026-05-12.
 * Two productized fixed-scope entry-points surfaced above the listing groups.
 * Visual cue: warm accent-soft background like pricing-overview, but two-column
 * option layout instead of a band; clear price-first signal on each option. */
.services-diagnostics-callout {
  margin: 1.5rem auto 2rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--color-border, rgba(0,0,0,0.12));
  border-left: 4px solid var(--color-accent, var(--color-gold));
  border-radius: 6px;
  background: var(--color-accent-soft, rgba(0,0,0,0.03));
}

.services-diagnostics-callout__inner {
  display: grid;
  gap: 1.25rem;
}

.services-diagnostics-callout__heading {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.services-diagnostics-callout__lede {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-medium, var(--color-text));
  max-width: 65ch;
}

.services-diagnostics-callout__options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

/* 2-up layout (legacy 2-option callout) — tablet ≥720px. */
@media (min-width: 720px) {
  .services-diagnostics-callout__options:not(.services-diagnostics-callout__options--4up) {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

/* 4-up audit ladder layout — 2x2 on tablet, 4-across on wide desktop.
 * The grid uses auto-fit minmax so cards don't squeeze under their
 * minimum readable width; the ladder reads top→down on mobile,
 * 2x2 mid-range, then opens to a 4-card stepper on large screens. */
.services-diagnostics-callout__options--4up {
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .services-diagnostics-callout__options--4up {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .services-diagnostics-callout__options--4up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* Visual ladder cue — the free discovery card sits as the obvious entry,
 * the deep audit as the destination. Subtle accent-soft tint on the
 * outer two carries the "this is a ladder" framing. */
.services-diagnostics-callout__option--free {
  background: var(--color-accent-soft, rgba(206, 162, 67, 0.04));
}

.services-diagnostics-callout__option--deep {
  border-color: var(--color-gold);
  border-width: 2px;
}

/* Footnote — sits below the 4-card row and carries the "credits against
 * builds + included in build pricing" policy. Smaller type, italicized,
 * less prominent than the cards themselves but legible at scan distance. */
.services-diagnostics-callout__footnote {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-text-medium, var(--color-text));
  border-top: 1px solid var(--color-border, rgba(0,0,0,0.08));
  padding-top: 0.85rem;
}

.services-diagnostics-callout__option {
  padding: 1rem 1.1rem;
  border-radius: 5px;
  background: var(--color-bg, #fff);
  border: 1px solid var(--color-border, rgba(0,0,0,0.10));
}

.services-diagnostics-callout__price {
  margin: 0 0 0.3rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1rem;
}

.services-diagnostics-callout__price strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.services-diagnostics-callout__price-unit {
  color: var(--color-text-medium, var(--color-text));
  font-size: 0.9rem;
}

.services-diagnostics-callout__option-name {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.services-diagnostics-callout__option-desc {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-medium, var(--color-text));
}

/* Outcome-led CTA on each diagnostics option — distinct from the listing
 * row CTA below so the callout earns its placement. Verb-first phrasing
 * is "Get the 5-day audit" / "Book the 7-day LMS review", not the row's
 * "See the WordPress audit". Funnel-pass 2026-05-12.
 */
.services-diagnostics-callout__cta {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.services-diagnostics-callout__cta a {
  color: var(--color-accent, var(--color-link, currentColor));
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.15s ease;
}

.services-diagnostics-callout__cta a:hover,
.services-diagnostics-callout__cta a:focus-visible {
  opacity: 0.75;
}

/* Service-listing groups — three named buckets with heading + lede. */
.service-listing-group {
  margin: 0 0 2rem;
  padding-inline: clamp(1rem, 2vw, 1.5rem);
  scroll-margin-top: 4rem;
}
/* Open up the gap between successive groups so each heading reads as a
   new section rather than a continuation of the previous card row
   (live-review 2026-05-12: ~3x the previous 2rem gap). First group keeps
   its natural offset from the section above. */
.service-listing-group + .service-listing-group {
  margin-top: 6rem;
}

.service-listing-group__header {
  margin: 0 0 0.75rem;
  padding: 0;
}

.service-listing-group__heading {
  margin: 0 0 0.6rem;
  /* Promoted to <h2> for proper outline; visual differentiation handled by
     the gold left-rule below so the heavier semantic weight does not also
     dominate the type scale.
     Scale bumped above --fs-h2 (live-review 2026-05-12, designer note):
     pairs the new 6rem inter-group margin with stronger heading weight
     so each named group reads as its own section instead of a row in a
     flat list. Caps below --fs-h1 so the page H1 still leads the outline. */
  font-size: clamp(1.9rem, 1.35rem + 2.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--color-text);
  border-left: 4px solid var(--color-gold);
  padding-left: 0.85rem;
}

.service-listing-group__lede {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-medium, var(--color-text));
  font-style: italic;
  max-width: 60ch;
}

.service-listing-group .service-listing--v2 {
  margin-top: 0.4rem;
}

/* Service tier cluster — funnel pass 2026-05-12.
 * Renders inside a service-listing-group when a category has 2+ rows that
 * all carry a tier value (good/better/best, surfaced as Start/Grow/Scale).
 *
 * Top margin (2.5rem) buys the visual gap above each category heading
 * so the categories read as their own beats inside a group rather than
 * one continuous run of cards. Single-cluster variant (one service in
 * its own named category — e.g. Newspaper sites today) shares the same
 * top margin but renders a single row instead of a tier grid.
 */
.service-tier-cluster {
  margin: 2.5rem 0 1.75rem;
  scroll-margin-top: 4rem;
}

.service-tier-cluster:first-child {
  margin-top: 1rem;
}

.service-tier-cluster__header {
  margin: 0 0 0.85rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-gold-soft, rgba(206, 162, 67, 0.4));
}

.service-tier-cluster__heading {
  margin: 0 0 0.25rem;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-text);
}

.service-tier-cluster__lede {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-medium, var(--color-text));
  max-width: 70ch;
}

/* Growth subhead — sits under the cluster lede and carries the
 * "designed to grow" message that the Start/Grow/Scale labels
 * are explicitly phases of one journey, not three separate products. */
.service-tier-cluster__growth {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.005em;
  color: var(--color-text-medium, var(--color-text));
  max-width: 70ch;
}

/* Single-cluster variant: one named category with one service. Uses the
 * standalone row treatment inside a captioned section so the category
 * heading is still visible (lets the user see the ladder is in flight
 * for that category) but the layout matches the rest of the
 * standalone rows. */
.service-tier-cluster--single .service-listing--v2 {
  margin-top: 0.5rem;
}

.service-tier-cluster__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .service-tier-cluster__cards--2up {
    grid-template-columns: 1fr 1fr;
  }
  .service-tier-cluster__cards--3up {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .service-tier-cluster__cards--4up {
    /* 2x2 at tablet — four 1fr columns crammed below desktop width
     * squeeze the audience clause into ragged 5-6 line wraps. */
    grid-template-columns: 1fr 1fr;
  }
  .service-tier-cluster__cards {
    column-gap: 1.15rem;
    row-gap: 0.55rem;
    /* Subgrid row tracks so each card aligns its internal slots to the
       same horizontal lines (live-review 2026-05-12). Layout:
         1. tier eyebrow
         2. price
         3. title
         4. audience clause   ← uniform height across the row
         5. lead paragraph    (1fr — absorbs the slack so CTAs bottom-align)
         6. recent-client     (optional; row collapses when absent everywhere)
         7. CTA
       Below 720px the cards stack and use the inherited flex layout. */
    grid-template-rows: auto auto auto auto 1fr auto auto;
  }
  .service-tier-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 7;
    /* The flex `gap: 0.45rem` from the base rule is replaced by the
       parent grid's row-gap so subgrid tracks are spaced consistently. */
    gap: 0;
  }
  .service-tier-card__tier      { grid-row: 1; }
  .service-tier-card__price     { grid-row: 2; }
  .service-tier-card__title     { grid-row: 3; }
  .service-tier-card__audience  { grid-row: 4; }
  .service-tier-card__lead      { grid-row: 5; }
  .service-tier-card__recent    { grid-row: 6; }
  .service-tier-card__cta       { grid-row: 7; }
}

/* 4-up breakpoint bumped from 1080px → 1280px 2026-05-12 per designer
 * review. Below 1280px the four cards each sat under ~280px wide with
 * 0.9rem prose — line lengths fell to ~30–35 characters per card,
 * pushing 60–90 word leads into 14–15 line walls. 1280px is the wide-
 * laptop cutoff (MBP 13" logical width); below it the 2x2 grid is
 * comfortable and renders the same content at readable line lengths. */
@media (min-width: 1280px) {
  .service-tier-cluster__cards--4up {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.service-tier-card {
  position: relative;
  padding: 1.1rem 1.2rem 1.25rem;
  border: 1px solid var(--color-border, rgba(0,0,0,0.12));
  border-radius: 6px;
  background: var(--color-bg, #fff);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* "Better" tier — strengthened 2026-05-12 from the design review.
 * The previous 2px gold border + accent-soft background read as no
 * emphasis at all against a row of white cards. Adds a gold-tinted
 * box-shadow ring and a subtle lift so the tier the user is steered
 * toward draws the eye without needing a ribbon claim. */
.service-tier-card--better {
  border-color: var(--color-gold);
  border-width: 2px;
  background: var(--color-accent-soft, rgba(206, 162, 67, 0.04));
  box-shadow:
    0 0 0 1px var(--color-gold),
    0 10px 28px -12px rgba(11, 31, 58, 0.22);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .service-tier-card--better {
    transform: none;
  }
}

.service-tier-card__tier {
  margin: 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-medium, var(--color-text));
}

.service-tier-card--better .service-tier-card__tier {
  color: var(--color-gold-text);
}

.service-tier-card__tier-label {
  display: inline-block;
}

.service-tier-card__price {
  margin: 0;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.service-tier-card__price a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.service-tier-card__title {
  margin: 0.1rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-tier-card__title a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.service-tier-card__title a:hover,
.service-tier-card__title a:focus-visible {
  border-bottom-color: currentColor;
}

.service-tier-card__audience {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-medium, var(--color-text));
}

.service-tier-card__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text);
}

.service-tier-card__recent {
  margin: 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--color-text-medium, var(--color-text));
}

.service-tier-card__cta {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.service-tier-card__cta a {
  color: var(--color-link, currentColor);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.service-tier-card__cta a:hover,
.service-tier-card__cta a:focus-visible {
  border-bottom-color: currentColor;
}

/* Per-row icon: 24px monoline glyph, top-aligned in price column. */
.service-listing__icon {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex: 0 0 auto;
  margin-top: 0.15rem;
}

.service-listing--v2 .service-listing__price-stack {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.service-listing__recent {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-muted, var(--color-text-medium));
  order: 3;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.service-listing__recent-dot {
  color: var(--color-accent);
  font-weight: 700;
}

/* Deflector training banner (after listing) — reuses the prior banner's
   layout but signals subordinate role with a softer treatment. */
.services-training-banner--deflector {
  margin: 2rem auto 1.5rem;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
}

.archive-related--service {
  border-top-color: var(--color-accent);
}

/* Rate-anchor line — qualification gate under the H1 CTAs.
   Subdued: muted color, small mono type, italic. Does not compete with the
   H1 buyer promise; it is the filter that earns the right to name a price. */
.archive-hero__rate-anchor,
.hero-rate-anchor {
  margin: 0.75rem 0 0;
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 56ch;
}

/* Cadence modifiers on listing-row price strings.
   recurring = /mo retainer — slightly warmer to signal ongoing relationship.
   project = one-time band — default accent, no modifier needed, but explicit
   for override clarity. Both use the same mono stack; cadence is signalled
   only by the text content (the price string includes "/mo" or not) + a
   subtle color shift so two identical dollar numbers are visually distinct. */
.service-listing--v2 .service-listing__price--recurring {
  /* --color-gold-text: AA-compliant amber (5.09:1 on white) — WCAG 1.4.3 fix. */
  color: var(--color-gold-text, var(--color-accent));
}

.service-listing--v2 .service-listing__price--project {
  color: var(--color-accent);
}

/* Glance-table cadence parity: recurring rows get the gold treatment. */

/* --- Comparison block: side-by-side options on a single page ------------ */
/* Used on /services/team-training/ to present onsite vs remote delivery. */

/* --- Featured callout variant -------------------------------------------- */
/* Heavier visual weight than callout--note; used for hero engagements. */
.callout--featured {
  border-left-color: var(--color-accent);
  background: var(--color-accent-soft);
}

/* --- CTA block: bottom-of-page closer ----------------------------------- */
/* Used as <aside class="cta-block"> after the body to drive contact action. */
.entry-content .cta-block,
.single-entry .cta-block {
  margin: 2.5rem 0 1rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
}

.entry-content .cta-block > h2,
.single-entry .cta-block > h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.entry-content .cta-block > p:last-child,
.single-entry .cta-block > p:last-child {
  margin-bottom: 0;
}

/* CTA-block modifiers used by the /donate/ page body (cta-block--primary,
   cta-block--soft) and any future ranked sequences. Definitions kept
   colocated with .cta-block. Designer R12 follow-on, 2026-05-03. */

/* Ranked sponsor sequence — opt-in via .cta-block-ranked-list wrapper.
   When editor's seeder wraps a sequence of sibling .cta-block elements
   in <div class="cta-block-ranked-list"> AND drops the typed leading
   number from each <h3>, this CSS counter renders a gold ordinal
   marker reinforcing the visual rank. Inert until both conditions met,
   so it's safe to ship before the seeder lands. */

/* --- Legal disclaimer callout (terms / privacy) ----------------------- */
/* Liability-adjacent paragraphs that need visual separation from
   procedural body copy. Editor applies via wp_kses-safe class on the
   block wrapper. Designer R-T, audit 2026-05-03. */
.entry-content .legal-disclaimer-callout,
.single-entry .legal-disclaimer-callout,
.page-entry .entry-content .legal-disclaimer-callout {
  margin: 1.6rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-gold);
  border-left-width: 4px;
  border-radius: var(--radius-md);
  background: var(--color-gold-soft);
  color: var(--color-text-strong);
}

.entry-content .legal-disclaimer-callout > :first-child,
.single-entry .legal-disclaimer-callout > :first-child,
.page-entry .entry-content .legal-disclaimer-callout > :first-child {
  margin-top: 0;
}

.entry-content .legal-disclaimer-callout > :last-child,
.single-entry .legal-disclaimer-callout > :last-child,
.page-entry .entry-content .legal-disclaimer-callout > :last-child {
  margin-bottom: 0;
}

.entry-content .legal-disclaimer-callout :where(h2, h3, h4), .single-entry .legal-disclaimer-callout :where(h2, h3, h4), .page-entry .entry-content .legal-disclaimer-callout :where(h2, h3, h4) {
  /* Override the global page-entry h3/h4 colour rule; the callout
     sits on a tinted gold-soft surface, the heading needs the
     strong neutral for contrast. */
  color: var(--color-text-strong);
  margin-top: 0;
}

/* --- Paired Download CTA ------------------------------------------------- */
/* Inline branded card rendered inside single.php for blog posts that have a
   paired Downloads CPT entry. Matches the visual register of the dedicated
   single-download page sidebar CTA so the inline blog-post card and the
   dedicated download page feel like the same brand surface. Tokens only;
   no hardcoded colors. Single-column under 640px. */



/* ==========================================================================
