/* ==========================================================================
   AC RADIUS SYSTEM — site-wide corner-radius scale (2026-08-18)
   ==========================================================================
   Rolls out the corner-radius refinement that was trialled on the homepage
   (2026-08-17) to every page. Pulls the site's rounded corners back to a
   tighter, more premium scale.

   WHY A SEPARATE, LATE-LOADED FILE
   The radii it replaces are scattered across ac-homepage.min.css,
   ac-capabilities.min.css, ac-firm.min.css, ac-industries.css,
   ac-projects.css, ac-security.css, ac-profile.css and ~20 block patterns
   that carry inline <style> blocks. Several of those .min files have drifted
   from their unminified sources, so editing them in place is unsafe. This
   file is enqueued LAST (priority 102, after the page systems at 100/101)
   and every rule carries a `body ` prefix, so it outranks BOTH the page
   stylesheets (cascade order) and the pattern inline styles (specificity —
   0,1,1 beats a bare 0,1,0 class even though inline <style> comes later in
   the document). Reverting the whole rollout = dequeue this one file.

   THE SCALE
     --ac-r-sm  8px   inputs, small controls, nav hover chips
     --ac-r-md  10px  small cards, media, sub-panels, nav rows
     --ac-r-lg  12px  cards, panels
     --ac-r-xl  16px  large framed sections and CTA bands

   INTENTIONALLY UNCHANGED
     - 50% circles, avatars, dots, arrow badges
     - small pill TAGS (.ac-badge, .ac-google-review, .ac-hero__address-badge,
       .ac-impact-card__badge, .racetrack-badge, .ac-post-card__category) —
       they read as tags, not panels, so a full pill is still correct
     - ALL BUTTONS — see the note in §2
     - the Kattie recruitment landing (.kn-*), which is a separate sub-brand
     - mobile squaring in ac-mobile-fixes.css / ac-mobile-fullbleed.css, which
       uses !important and still wins

   A handful of radii could not be reached from here because their source
   rule is !important at equal-or-higher specificity. Those were edited at
   source instead: .ac-cta (ac-homepage.unmin.css), .ac-hero-form__card
   (ac-capp-system.css §9, ac-offer-system.css), .ac-indv-stat /
   .ac-indv-featured / .ac-indv-related__cutout (ac-ind-system.css).
   ========================================================================== */

/* --------------------------------------------------------------------------
   §1 TOKENS
   --ac-radius / --ac-radius-lg are the legacy tokens declared in
   ac-homepage.unmin.css and ac-capabilities.css and consumed by the
   capabilities, industries, projects, firm and security stylesheets.
   Retuning them here (this file loads later, same :root specificity) moves
   ~40 card rules onto the new scale in one go.
   -------------------------------------------------------------------------- */
:root {
  --ac-r-sm: 8px;
  --ac-r-md: 10px;
  --ac-r-lg: 12px;
  --ac-r-xl: 16px;

  --ac-radius: 12px;      /* was 12px  — unchanged, restated for clarity */
  --ac-radius-lg: 12px;   /* was 20px (homepage) / 1rem (capabilities) */
}

/* --------------------------------------------------------------------------
   §2 BUTTONS: DELIBERATELY LEFT AS PILLS
   Every CTA in this system carries a 50% circular arrow badge inside it
   (.ac-hero-btn__circle, .ac-nav-cta__circle, .ac-pill-cta__circle,
   .ac-bento__panel-cta-circle, .ac-lead-form__btn-circle). A circle inside a
   tight corner reads as a mistake; a pill end is concentric with it and reads
   as intentional. So .ac-hero-btn*, .ac-nav-cta, .ac-pill-cta,
   .ac-bento__panel-cta, .ac-lead-form__btn, .ac-cap-hero buttons and every
   100px/999px action keep their original 36-40px pill.
   Pill actions against 12px cards is a deliberate contrast, not an oversight.
   If buttons are ever tightened, the inner circles must become rounded
   squares in the same pass.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   §3 SHARED CHROME — header, nav, mobile menu (every page)
   -------------------------------------------------------------------------- */
body .ac-header-pill { border-radius: 14px; }
body .ac-nav__list a { border-radius: var(--ac-r-sm); }
body .ac-mobile-menu a { border-radius: var(--ac-r-md); }

/* --------------------------------------------------------------------------
   §4 HOMEPAGE + LOCATION PAGES — the components from the 2026-08-17 trial
   -------------------------------------------------------------------------- */
body .ac-bento__card,
body .ac-bento__panel { border-radius: var(--ac-r-lg); }
body .ac-bento__panel-media { border-radius: var(--ac-r-md); }

body .ac-impact-card { border-radius: var(--ac-r-lg); }
body .ac-impact-card__stat,
body .ac-impact-card__panel { border-radius: var(--ac-r-md); }

body .ac-industries--framed .ac-industries__frame { border-radius: var(--ac-r-xl); }
body .ac-industries__banner { border-radius: var(--ac-r-lg); }
body .ac-ind-card { border-radius: var(--ac-r-md); }

body .ac-testimonials__card { border-radius: var(--ac-r-lg); }
body .ac-post-card { border-radius: var(--ac-r-md); }

body .ac-lead-form__card { border-radius: var(--ac-r-lg); }
body .ac-lead-form__card input,
body .ac-lead-form__card textarea { border-radius: var(--ac-r-sm); }
body .ac-lead-form__msg { border-radius: var(--ac-r-sm); }

body .ac-capabilities__center { border-radius: var(--ac-r-lg); }
body .ac-cap-pill { border-radius: var(--ac-r-lg); }

/* --------------------------------------------------------------------------
   §5 CTA BANDS — the full-bleed dark bands that cap each page. They only
   round their top two corners; 40px/24px tops become 16px.
   (.ac-cta is handled at source in ac-homepage.unmin.css — its rule is
   !important.)
   -------------------------------------------------------------------------- */
body .ac-cap-cta,
body .ac-capp-cta,
body .ac-firm-cta,
body .ac-ind-cta,
body .ac-indp-cta,
body .ac-sec-cta { border-radius: var(--ac-r-xl) var(--ac-r-xl) 0 0; }

/* --------------------------------------------------------------------------
   §6 CAPABILITY PAGES
   -------------------------------------------------------------------------- */
body .ac-cap-bento__card,
body .ac-cap-bento__card::before { border-radius: var(--ac-r-lg); }
body .ac-cap-process__step-card { border-radius: var(--ac-r-lg); }
body .ac-cap-core__panel { border-radius: var(--ac-r-lg); }
body .ac-cap-core__panel-img { border-radius: var(--ac-r-md); }
body .ac-garage-slide { border-radius: var(--ac-r-lg); }
body .ac-garage-slide__visual { border-radius: var(--ac-r-md); }

/* --------------------------------------------------------------------------
   §7 THE FIRM
   -------------------------------------------------------------------------- */
body .ac-firm-expertise__grid { border-radius: var(--ac-r-xl); }
body .ac-firm-expertise__image img { border-radius: var(--ac-r-lg); }
body .ac-service-card { border-radius: var(--ac-r-lg); }
body .ac-firm-svc-card { border-radius: var(--ac-r-lg); }
body .ac-structure-card { border-radius: var(--ac-r-lg); }
body .ac-value-card { border-radius: var(--ac-r-lg); }

/* --------------------------------------------------------------------------
   §8 COMPANY PROFILE + LOCATION PAGES
   -------------------------------------------------------------------------- */
body .ac-problem-card { border-radius: var(--ac-r-lg); }
body .ac-profile-cta { border-radius: var(--ac-r-xl); }
body .ac-pf-form-card { border-radius: var(--ac-r-lg); }
body .ac-founders__card { border-radius: var(--ac-r-lg); }
body .ac-profile-garage .ac-garage-slide__visual { border-radius: 0 var(--ac-r-md) var(--ac-r-md) 0; }
body .ac-loc-diffs .ac-profile-whyus { border-radius: var(--ac-r-xl); }
body .ac-loc-ground-card { border-radius: var(--ac-r-lg); }

/* --------------------------------------------------------------------------
   §9 PROJECTS + INSIGHTS
   -------------------------------------------------------------------------- */
body .ac-proj-card { border-radius: var(--ac-r-lg); }
body .ac-insights-tools__featured { border-radius: var(--ac-r-lg); }
body .ac-ins-hero-post { border-radius: var(--ac-r-lg); }

/* --------------------------------------------------------------------------
   §10 INDUSTRY PAGES — the individual-industry composition lives in
   patterns/ind-shared.php as an inline <style> block, hence the `body `
   prefix rather than a source edit.
   -------------------------------------------------------------------------- */
body .ac-indv-landscape__frame { border-radius: var(--ac-r-xl); }
body .ac-indv-friction__canvas { border-radius: var(--ac-r-xl); }
body .ac-indv-detail { border-radius: var(--ac-r-lg); }
body .ac-indv-cap { border-radius: var(--ac-r-lg); }
body .ac-indv-cap__media { border-radius: var(--ac-r-md); }
body .ac-indv-cap__media::before { border-radius: 6px; } /* inset 16px inside a 10px media */
body .ac-indv-hero__visual { border-radius: var(--ac-r-lg); }
body .ac-indv-cap-scroll__img-wrap { border-radius: var(--ac-r-lg); }
body .ac-indv-related__card { border-radius: var(--ac-r-lg); }
body .fi-card { border-radius: var(--ac-r-lg); }
body .ai-card,
body .ai-card--standard::before { border-radius: var(--ac-r-lg); }

/* --------------------------------------------------------------------------
   §11 20 HOURS FREE OFFER + ROI CALCULATOR + READINESS QUIZ
   -------------------------------------------------------------------------- */
body .ac-offer-statcard { border-radius: var(--ac-r-lg); }
body .ac-offer-card-base { border-radius: var(--ac-r-lg); }
body .ac-how-media img { border-radius: var(--ac-r-lg); }
body .ac-safe-card::before { border-radius: 13px; } /* 1px outside a 12px card */
body .ac-roi-embed__results { border-radius: var(--ac-r-lg); }
body .arq-cta { border-radius: var(--ac-r-lg); }
body .arc-cta { border-radius: var(--ac-r-lg); }

/* --------------------------------------------------------------------------
   §12 CHILD THEME style.css COMPONENTS
   The child stylesheet still owns a handful of section/card radii. Overriding
   them here rather than editing style.css avoids having to bump the theme's
   Version: header for cache busting on every future tweak.
   .friction-label and .ac-like-btn keep their 20px — they read as a tag and a
   button respectively.
   -------------------------------------------------------------------------- */
body .ac-cases-card { border-radius: var(--ac-r-lg); }
body .ac-friction-card { border-radius: var(--ac-r-lg); }
body .ac-security { border-radius: var(--ac-r-xl); }
body .ac-security__card { border-radius: var(--ac-r-lg); }
body .ac-bottom-cta { border-radius: var(--ac-r-xl) !important; } /* source rule is !important */

/* Profile "cases" carousel re-skins the garage slide at 0,2,0 — match it. */
body .ac-profile-cases .ac-garage-slide { border-radius: var(--ac-r-lg); }
