/* ==========================================================================
   four-column-results · Equinet · module.css · 2026-11-17
   Consumes /modules/tokens.css (require_css, module.html line 1). No brand-token
   declarations here. Every var(--equinet-…) fallback = the SVG-measured value.
   Geometry: 1920 × 868 artboard; cards x390 → 1530 (4 × 261 + 3 × 32 = 1140).
   ========================================================================== */

/* -- 1. Theme reset block — zero specificity, declared FIRST (theme isolation rule 8) -- */
:where(.four-column-results) :where(p, h1, h2, h3, h4, h5, h6, ul, ol, figure, blockquote) { margin: 0; }
:where(.four-column-results) :where(ul, ol) { padding: 0; list-style: none; }
:where(.four-column-results) :where(img, picture, svg) { max-width: 100%; }

/* -- 2. Root ---------------------------------------------------------------- */
.four-column-results {
  --four-column-results-css-version: "2026-11-17k";  /* deploy sentinel — read with getComputedStyle */
  box-sizing: border-box;
  position: relative;
  isolation: isolate;           /* decorative layers stack behind content without positioning the inner wrapper */
  overflow: clip;               /* clip, NOT hidden: parallax layers travel past the edges, and hidden would
                                   create a scroll container (layout containment rule 3). Do not "tidy" this. */
  /* Section padding is editor-driven (STYLE → section_padding); fallbacks = measured:
     top 72 = pencilBar rect y72 − artboard y0; bottom 96 = 868 − card_4 bottom 772 (= --equinet-space-4xl);
     left/right 24 = gutter (design centres the 1140 measure; --equinet-space-md). */
  padding: var(--four-column-results-pad-top, 72px) var(--four-column-results-pad-right, 24px)
           var(--four-column-results-pad-bottom, 96px) var(--four-column-results-pad-left, 24px);
}
.four-column-results *,
.four-column-results *::before,
.four-column-results *::after { box-sizing: inherit; }

.four-column-results__inner {
  position: relative;
  z-index: 1;                   /* content above lines (z 0); host isolation keeps both inside the section */
  max-width: 1140px;            /* 4 × 261 card + 3 × 32 gap = 1140 (x390 → x1530) */
  margin: 0 auto;
}

.four-column-results__sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: clip; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* -- 3. Background layers ---------------------------------------------------- */
.four-column-results__parallax-bg {
  position: absolute;
  top: -10%; left: 0;           /* 120% tall, centred, so ±10% travel never exposes an edge */
  width: 100%; height: 120%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
  pointer-events: none;
}

.four-column-results__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--equinet-color-charade-400, #8790A9);   /* Figma stroke/fill #8790A9 → currentColor */
}
.four-column-results__lines-svg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;                /* artboard width — the lines keep their exact relation to the 1140 card row */
  max-width: none;
  height: 868px;                /* artboard height */
  margin-left: -960px;          /* centre: 1920 / 2 */
  opacity: 0.7;                 /* Figma group ai-background-left opacity="0.7" */
  overflow: visible;
  transform-origin: 50% 0;
}
.four-column-results__layer { will-change: transform; }
.four-column-results__layer--grow {
  transform-box: view-box;
  transform-origin: 579.662px 216.455px;  /* scale about Ellipse 1205 centre (cx579.662 cy216.455) */
}

/* -- 4. Masthead ------------------------------------------------------------- */
.four-column-results__masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 0 32px;             /* lead line-box bottom 288.87 → cards y320 = 31.13 → 32 (--equinet-space-lg) */
  padding: 0;
}
.four-column-results__masthead > :last-child { margin-bottom: 0; }

/* pencilBar-Toggle: rect 849.5,72 · 221 × 32 · rx 8 · #FCE9E0 */
.four-column-results__pill {
  display: inline-flex;
  align-items: center;
  height: 32px;                 /* rect height 32 */
  margin: 0 0 24px;             /* rect bottom 104 → h2 line-box top 129.54 = 25.54 → 24 (±2 snap; --equinet-space-md) */
  /* left 24 = text x873.5 − rect x849.5. Right 21.6 = 24 − 2.4: CSS letter-spacing adds 0.2em × 12 = 2.4px
     after the last glyph; Figma centres without it (shaped 172.49 vs SVG box 173). */
  padding: 0 21.6px 0 var(--equinet-space-md, 24px);
  border-radius: var(--equinet-radius-pill, 8px);
  background-color: var(--equinet-color-orange--pale, #FCE9E0);
  color: var(--equinet-color-orange, #E06730) !important;  /* design-locked, no field. 2.90:1 — logged (see module.html) */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-kicker, 12px);
  font-style: normal;
  font-weight: var(--equinet-fontweight-kicker, 700);  /* SVG "bold" → 700: same exporter wrote "bold" for the proven-700 stat */
  letter-spacing: var(--equinet-letterspacing-kicker, 0.2em);
  line-height: 1;               /* centred by flex; baseline calc 91.74 vs SVG 91.92 */
  text-transform: uppercase;
  white-space: nowrap;
}

/* h2-Toggle — type-locked (no -Font field): doubled root + !important (theme isolation rule 12) */
.four-column-results.four-column-results .four-column-results__heading {
  margin: 0 0 28px !important;  /* h2 line-box bottom 207.54 → lead line-box top 236.87 = 29.33 → 28 */
  padding: 0 !important;
  font-family: var(--equinet-font-heading, 'Open Sans', sans-serif) !important;
  /* 40px at design width. Line 2 = 351.0px shaped at 40px (8.78em); below ~404px viewports the size
     follows the available measure so "BEHIND THE ENGINE" never overflows: (100vw − 48 gutters) / 8.9em. */
  font-size: clamp(28px, calc((100vw - 48px) / 8.9), var(--equinet-fontsize-h2, 40px)) !important;
  font-style: normal !important;
  font-weight: var(--equinet-fontweight-display, 800) !important;
  font-stretch: 100% !important;  /* wdth 100 recovered: "THE RECORD" 235.50 vs 235.56; "BEHIND THE ENGINE" 351.00 vs 351.20 */
  line-height: 0.975 !important;  /* baselines y164.555 → y203.555 = 39px on 40px. Module-local: --equinet-lineheight-caps
                                     is 1.0 (40px) — 1px difference logged, not tokenised */
  letter-spacing: var(--equinet-letterspacing-caps, -0.04em) !important;  /* PNG ink 233/344 vs shaped 232.5/344.5 */
  text-transform: var(--equinet-text-transform-h2, uppercase) !important;
  color: var(--equinet-color-heading, #242630) !important;
  text-wrap: balance;
}
.four-column-results.four-column-results .four-column-results__heading-bold,
.four-column-results.four-column-results .four-column-results__heading-light {
  display: block;
  font: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}
.four-column-results.four-column-results .four-column-results__heading-bold {
  font-weight: var(--equinet-fontweight-display, 800) !important;   /* SVG font-weight="800" */
  text-shadow: var(--equinet-shadow-heading, -2px 2px 4px rgba(0, 0, 0, 0.15));  /* filter0: dx−2 dy2 std2 → blur 4, α.15 */
}
.four-column-results.four-column-results .four-column-results__heading-light {
  font-weight: var(--equinet-fontweight-light, 300) !important;     /* SVG font-weight="300"; no filter */
}

/* Lead-Toggle — Source Sans 3 italic 20/26, navy */
.four-column-results__lead {
  max-width: 520px;             /* ≥ 507.9 (line 1 SVG width, shaped 507.2) and < line 1 + " This" (≈547) → breaks after "2026." as drawn */
  margin: 0 0 0;
  padding: 0;
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-lead, 20px);
  font-style: var(--equinet-fontstyle-lead, italic);
  font-weight: var(--equinet-fontweight-body, 400);   /* shaped 507.20 vs 507.89; 300/500 miss by 3% */
  line-height: var(--equinet-lineheight-lead, 1.3);   /* baselines 256.11 → 282.11 = 26 / 20 */
  letter-spacing: var(--equinet-letterspacing-body, 0em);
  color: var(--equinet-color-lead--accent, #00426C);
}

/* -- 5. Cards grid (subgrid — equal heights, rows aligned for any copy) ------- */
.four-column-results__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: var(--equinet-space-lg, 32px);   /* card_2 x683 − card_1 right 651 = 32 */
  row-gap: 0;                   /* card-row separation is a margin on later cards (subgrid inherits row-gap) */
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
/* fewer than four cards: keep the 261px design column, centred */
.four-column-results__cards[data-count="1"] { grid-template-columns: minmax(0, 1fr); max-width: 261px; }
.four-column-results__cards[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 554px; }  /* 2 × 261 + 32 */
.four-column-results__cards[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 847px; }  /* 3 × 261 + 2 × 32 */

.four-column-results__card {
  position: relative;
  display: grid;
  grid-row: span 5;             /* top · visual · eyebrow · title · body */
  grid-template-rows: subgrid;
  row-gap: 0;
  margin: 0;
  padding: 0 0 var(--equinet-space-md, 24px);   /* body line-box bottom 704.70 → card bottom 728 = 23.30 → 24 */
  list-style: none;
  border-radius: var(--equinet-radius-card, 7px);   /* rect rx 7 */
  /* paint1_radial: white to 51.92%, #F6F5F5 at 100%, origin 7px from the top-left corner. Figma's ellipse is
     rotated (matrix 335.5 531 −333.035 242.379); CSS cannot rotate a radial, so radii are fitted to the
     corner values t(TR)=0.574 → 254/0.574 = 442.5 = 169.5% of 261; t(BL)=0.753 → 408/0.753 = 541.8 = 132.8%
     of 408. Max deviation ≈3/255 at the bottom-right corner. Module-local design treatment. */
  background-color: var(--equinet-color-surface, #FFFFFF);
  background-image: radial-gradient(169.5% 132.8% at 2.68% 0%,
                    var(--equinet-color-surface, #FFFFFF) 51.92%,
                    var(--equinet-color-surface--alt, #F6F5F5) 100%);
  transition:
    transform var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out),
    box-shadow var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out),
    border-radius var(--equinet-motion-duration--ui, 200ms) var(--equinet-motion-ease--ui, ease),
    opacity var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out);   /* hover dimming of the OTHER cards (section 6c) */
}

/* Optional resting shadow (STYLE → show_card_shadow). Token = the Figma "Passive Card Shadow" (1px 1px 10px, α.13), the same
   resting shadow the pricing cards use. Declared BEFORE the linked-card hover rule (section 6): both score (0,2,0), so source
   order lets the hover shadow win. box-shadow is already in the card's transition list, so it eases like the hover shadow. */
.four-column-results--card-shadow .four-column-results__card {
  box-shadow: var(--equinet-shadow-card--passive, 1px 1px 10px rgba(0, 0, 0, 0.13));
}

/* Large resting shadow (STYLE → show_card_shadow on + card_shadow_style = large): the big soft "active" shadow
   (--equinet-shadow-card--hover, -4px 34px 34px α.07) shown at rest. Applied to the WHOLE ROW as one drop-shadow() instead of per card:
   it follows the silhouette of the cards, so it is one continuous shadow — no darkening where a card's shadow would bleed over its
   neighbour on flush cards, correct around the rounded outer corners, and correct for a short last row. The cards' own box-shadow
   (the passive one above, and the linked-card hover one) is switched off so shadows never double; the row's shadow follows the
   hovered card as it lifts. CSS drop-shadow() takes a standard deviation, not a box-shadow blur radius: 34px blur → 17px here
   (measured in Chromium: max difference 1/255 against box-shadow 34px; 34px would render twice as soft).
   PROMOTION CANDIDATE: --equinet-shadow-card--hover-filter: -4px 34px 17px rgba(0, 0, 0, 0.07) — literal for now, because a var() to a
   token that is not in tokens.css would silently run on its fallback. (0,3,0) beats the linked-hover rule (0,2,0). */
.four-column-results--card-shadow.four-column-results--shadow-large .four-column-results__card { box-shadow: none; }
.four-column-results--card-shadow.four-column-results--shadow-large .four-column-results__cards {
  filter: drop-shadow(-4px 34px 17px rgba(0, 0, 0, 0.07));
}

/* Row placement inside the subgrid — a toggled-off element leaves its track empty, so siblings stay aligned */
.four-column-results__card-top { grid-row: 1; }
.four-column-results__visual   { grid-row: 2; }
.four-column-results__eyebrow  { grid-row: 3; }
.four-column-results__title    { grid-row: 4; }
.four-column-results__body     { grid-row: 5; }

/* topContainer: card y320 → visual rect y376 = 56 */
.four-column-results__card-top {
  display: flex;
  align-items: center;
  height: 56px;                 /* fixed zone — label baseline calc 351.74 vs SVG 351.92 */
  margin: 0;
  padding: 0 var(--equinet-space-md, 24px);     /* text x414 − card x390 = 24 */
}
.four-column-results__tag {
  margin: 0;
  padding: 0;
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-kicker, 12px);
  font-style: normal;
  font-weight: var(--equinet-fontweight-kicker, 700);
  letter-spacing: var(--equinet-letterspacing-kicker, 0.2em);
  line-height: 16px;
  text-transform: uppercase;
  color: var(--four-column-results-tag-color, var(--equinet-color-orange, #E06730));  /* STYLE → tag_color (field-driven, no !important) */
  transform-origin: 0 50%;      /* grows rightwards from the 24px text edge, so the left alignment never moves */
  transition:
    transform var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    text-shadow var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out);  /* base rule, not :hover */
}

/* visual-Toggle-Image: rect 261 × 146 at y376, #F6F5F5 → white (paint2_linear, top → bottom) */
.four-column-results__visual {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--equinet-space-sm, 16px);
  height: 146px;                /* fixed rect: 522 − 376 */
  margin: 0;
  /* top 36 = badge y412 − 376; sides 24 = stat x415→414 (1px Figma nudge snapped) and 1530 − badge right 1505.62 ≈ 24.38 */
  padding: 36px var(--equinet-space-md, 24px) 0;
  background-image: linear-gradient(180deg, var(--equinet-color-surface--alt, #F6F5F5) 0%, var(--equinet-color-surface, #FFFFFF) 100%);
  position: relative;
  isolation: isolate;           /* backdrop layers (z −1) stay inside the zone */
}
/* A lone stat OR a lone badge is centred horizontally. Vertical position is deliberately unchanged, so every stat in
   the row keeps the same baseline whether or not its neighbour has a badge (centre y 68 with, 68 without). */
.four-column-results__visual--single { justify-content: center; }
.four-column-results__visual--single .four-column-results__stat { text-align: center; }

/* -- Draftsman hint (STYLE → show_stat_drafting): one motif per card, kept to a whisper ------------------------- */
.four-column-results__visual--drafting {
  color: var(--equinet-color-charade-400, #8790A9);   /* the design's line colour, as currentColor for the SVG */
}
.four-column-results__drafting {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  /* no overflow declaration: an outer <svg> already crops to its box, which is what crops the r 76.8 rings on a 146px zone */
  pointer-events: none;
  opacity: 0.26;                /* a hint, not a feature. Decorative only — heading 242630 stays > 13:1 on the lines */
}
.four-column-results__drafting-rings {
  transform-box: view-box;
  transform-origin: 50% 50%;
  transition: transform var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out);  /* base rule */
}
.four-column-results__drafting--v0 .four-column-results__drafting-rings { transform-origin: 0% 50%; }    /* scale about each motif's own centre */
.four-column-results__drafting--v1 .four-column-results__drafting-rings { transform-origin: 50% 84%; }
.four-column-results__drafting--v2 .four-column-results__drafting-rings { transform-origin: 100% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .four-column-results__card:hover .four-column-results__drafting-rings,
  .four-column-results__card:focus-within .four-column-results__drafting-rings { transform: scale(1.06); }
}
.four-column-results__stat,
.four-column-results__visual-img { position: relative; z-index: 1; }
.four-column-results__stat {
  flex: 0 1 auto;
  min-width: 0;
  margin: 4px 0 0;              /* stat line-box top 415.76 − 376 = 39.76 → 40; minus zone padding 36 = 4 */
  padding: 0;
  /* "Equinet Figures" = self-hosted Open Sans 700 digits with onum kept (declared in module.html) */
  font-family: "Equinet Figures", var(--equinet-font-heading, 'Open Sans', sans-serif);
  font-size: var(--equinet-fontsize-h1, 56px);       /* DUP VALUE reuse: 56px stat = --equinet-fontsize-h1 */
  font-style: normal;
  font-weight: var(--equinet-fontweight-bold, 700);  /* "100" advance with onum: 700 = 91.921 vs SVG 91.92; 600 = 89.21; 800 = 96.76 */
  font-stretch: 100%;
  line-height: var(--equinet-lineheight-h1, 56px);   /* single line; baseline calc 465.49 = SVG 465.488 */
  /* Digit rhythm, re-tuned 2026-11-17 (the comp's tabular figures left a 10.3px hole between the 1s in 2011 and after the 1 in 100,
     against 2.3px between the other digits — spread 8.0px, measured in Chromium at 4x).
     Fix: proportional old-style figures + tracking −0.01em + a −0.07em pull on a "1" that precedes a digit (.four-column-results__one).
     Grid-searched over 12 typical stats (2011 2013 2023 2026 100 1999 15 21 11 2019 1995 2010): spread 2.7px, no pair under 1.9px
     (nothing touching). Deliberate deviation from the SVG's −0.03em / tabular advance (122.56 → ≈ 114); the stat's vertical position
     is unchanged so rows stay aligned. "pnum" is in the Equinet Figures subset (onum, lnum, pnum, tnum retained). */
  letter-spacing: -0.01em;
  /* Old-style figures: PNG "3" ink bottom y473 vs "0" y464 (9px = 16% of 56) in "2013" and "2023" — still old-style, now proportional. */
  font-variant-numeric: oldstyle-nums proportional-nums;
  font-feature-settings: "onum" 1, "pnum" 1, "kern" 1;
  font-kerning: normal;
  color: var(--equinet-color-heading, #242630);
  /* Soft figure shadow = --equinet-shadow-heading (Figma −2px 2px 4px α.15), the token the pricing figure already
     ships with. The "+" suffix inherits it. The comp's stat has no filter — added at request 2026-11-17. */
  text-shadow: var(--equinet-shadow-heading, -2px 2px 4px rgba(0, 0, 0, 0.15));
  white-space: nowrap;
}
.four-column-results__stat-value { color: inherit; }
.four-column-results__one { margin-right: -0.07em; }   /* optical kern: "1" followed by a digit — see the digit-rhythm note on .four-column-results__stat */
.four-column-results__stat-suffix {
  color: var(--equinet-color-orange--light, #F5844D);  /* "+" fill #F5844D — 2.53:1, logged */
}
.four-column-results__visual-img {
  flex: 0 0 auto;
  display: block;
  width: 73.6186px;             /* image 5: 73.6186 × 73.0051 */
  height: 73.0051px;
  margin: 0;
  object-fit: contain;
}

/* bottomContainer */
.four-column-results__eyebrow {
  margin: 0;
  padding: 20px var(--equinet-space-md, 24px) 0;     /* visual bottom 522 → eyebrow line-box top 542.18 = 20.18 → 20 */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-kicker, 12px);
  font-style: normal;
  font-weight: var(--equinet-fontweight-kicker, 700);
  letter-spacing: var(--equinet-letterspacing-kicker, 0.2em);
  line-height: 16px;            /* baseline calc 553.74 vs SVG 553.92 */
  text-transform: uppercase;
  color: var(--four-column-results-eyebrow-color, var(--equinet-color-night-500, #9DA3B5));  /* STYLE → eyebrow_color */
}

/* h4-Text — type-locked (no -Font field) */
.four-column-results.four-column-results .four-column-results__title {
  margin: 0 !important;
  padding: 12px var(--equinet-space-md, 24px) 0 !important;  /* eyebrow line-box bottom 558.18 → title top 570.87 = 12.69 → 12 */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif) !important;
  font-size: var(--equinet-fontsize-h5, 20px) !important;   /* DUP VALUE reuse: 20px */
  font-style: normal !important;
  /* Weight is editor-driven (STYLE → card_title_weight, default 600 = Figma title + the weight sibling modules use).
     History 2026-11-17: 700 measured visibly heavier than the sibling card titles (stroke 4.1–4.6px vs 3.2–3.8px at the same
     size; Bold vs Semibold in a zoomed crop). Token fallback = --equinet-fontweight-semibold. */
  font-weight: var(--four-column-results-title-weight, var(--equinet-fontweight-semibold, 600)) !important;
  line-height: 22px !important;  /* baselines 588.11 → 610.11 = 22; module-local (no 22px token) */
  letter-spacing: var(--equinet-letterspacing-body, 0em) !important;
  text-transform: none !important;
  color: var(--equinet-color-heading, #242630) !important;
  text-shadow: var(--equinet-shadow-heading--h4, -0.5px 0.5px 1px rgba(0, 0, 0, 0.15));  /* filter1: dx−.5 dy.5 std.5 → blur 1, α.15 */
  /* Greedy wrap at the 213px measure (261 − 2 × 24) reproduces the PNG breaks for cards 1, 2 and 4. `pretty` only
     avoids one-word orphans in editor copy. Card 3's default uses a no-break space ("workshops&nbsp;run") to give
     "Leadership / workshops run" as drawn. `balance` was tested and rejected: Chromium broke 2 of 4 titles differently. */
  text-wrap: pretty;
}

.four-column-results__body {
  margin: 0;
  padding: var(--equinet-space-md, 24px) var(--equinet-space-md, 24px) 0;  /* title bottom 614.87 → body top 638.70 = 23.83 → 24 */
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-body, 16px);
  font-style: normal;
  font-weight: var(--equinet-fontweight-body, 400);
  line-height: var(--equinet-lineheight-body, 1.375);  /* baselines 654.688 → 676.688 = 22 / 16 */
  letter-spacing: var(--equinet-letterspacing-body, 0em);
  color: var(--equinet-color-body, #3B3F51);
  text-wrap: pretty;
}

/* -- 6. Linked cards: whole-card target via stretched title link ------------ */
.four-column-results .four-column-results__title-link,
.four-column-results .four-column-results__title-link:link,
.four-column-results .four-column-results__title-link:visited,
.four-column-results .four-column-results__title-link:hover,
.four-column-results .four-column-results__title-link:active,
.four-column-results .four-column-results__title-link:focus,
.four-column-results .four-column-results__title-link:focus-visible {
  color: inherit !important;    /* title colour is design-locked above; never the theme link colour */
  font: inherit !important;     /* weight/family/size/line-height come from the locked h-tag, never a theme `a { font-weight … }` rule
                                   (an inherited value is the lowest-priority declaration, so a theme anchor rule would otherwise win) */
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  text-decoration: none !important;
  background: none !important;
  outline: none;
  box-shadow: none;
}
.four-column-results .four-column-results__title-link::after {
  content: "";
  position: absolute;
  inset: 0;                     /* covers the card — the card is the click target */
  z-index: 2;
  border-radius: var(--equinet-radius-card, 7px);
}
.four-column-results .four-column-results__title-link:focus-visible::after {
  outline: 2px solid var(--equinet-color-navy, #00426C);  /* 10.5:1 on white — visible focus (2.4.7) */
  outline-offset: 4px;
}
.four-column-results__card--linked:hover,
.four-column-results__card--linked:focus-within {
  box-shadow: var(--equinet-shadow-card--hover, -4px 34px 34px rgba(0, 0, 0, 0.07));
}
@media (prefers-reduced-motion: no-preference) {
  .four-column-results__card--linked:hover,
  .four-column-results__card--linked:focus-within { transform: translateY(-4px); }
}

/* -- 6b. Card hover / focus: tag grows, 6px orange rule wipes in, bottom corners square off ------
   Applies to EVERY card (hover or keyboard focus-within). The 4px lift stays linked-cards-only (section 6). */
.four-column-results__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                    /* inset at the card's bottom edge, over the 24px bottom padding — no text overlap, no layout shift */
  height: 6px;                  /* requested 6px rule */
  z-index: 1;                   /* below the stretched title-link (z 2) so the whole card stays the click target */
  background-color: var(--equinet-color-orange, #E06730);  /* solid fill, no gradient */
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;      /* wipes in from the left */
  pointer-events: none;
  /* leaving: quicker, symmetrical ease. Entering timing is declared in the hover rule below. */
  transition:
    transform var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    opacity var(--equinet-motion-duration--ui, 200ms) var(--equinet-motion-ease--ui, ease);
}
.four-column-results__card:hover,
.four-column-results__card:focus-within {
  /* a 6px square-ended rule cannot sit inside 7px rounded corners */
  border-bottom-left-radius: var(--equinet-border-radius-none, 0px);
  border-bottom-right-radius: var(--equinet-border-radius-none, 0px);
}
.four-column-results__card:hover::after,
.four-column-results__card:focus-within::after {
  opacity: 1;
  transform: scaleX(1);
  /* entering: the wipe token with the decelerating entrance ease; 60ms stagger lets the corners square off first */
  transition:
    transform var(--equinet-motion-duration--wipe, 0.45s) var(--equinet-motion-ease--enter, cubic-bezier(0.33, 0, 0.2, 1)) var(--equinet-motion-stagger, 60ms),
    opacity var(--equinet-motion-duration--ui, 200ms) var(--equinet-motion-ease--ui, ease) var(--equinet-motion-stagger, 60ms);
}
@media (prefers-reduced-motion: no-preference) {
  /* The label lifts out of its top bar: it rises 2px, grows 8% and picks up a soft shadow, so it reads as raised off the card
     surface rather than just bigger. Transform + text-shadow only — nothing reflows. Shadow = --equinet-shadow-heading--price
     (-1px 1px 3px, α.15): the softest existing heading shadow that still shows on 12px text. */
  .four-column-results__card:hover .four-column-results__tag,
  .four-column-results__card:focus-within .four-column-results__tag {
    transform: translateY(-2px) scale(1.08);   /* 1.08 → ≈ +8px on a 107px label; a 12px label needs more than the button's 1.03 (= +0.4px) */
    text-shadow: var(--equinet-shadow-heading--price, -1px 1px 3px rgba(0, 0, 0, 0.15));
  }
}

/* -- 6c. Hover dimming (STYLE → dim_other_cards + dim_opacity): while one card is hovered or focused, the rest fade ------
   :has() scopes it to a card actually under the pointer — hovering a gutter or the strip's padding dims nothing. Hover is limited to
   real hover devices (a tap would leave the others dimmed until the next tap); keyboard focus works everywhere. Without :has() support
   the rules drop and nothing dims. (0,6,0) beats the entrance state .is-in-view (0,4,0). Value = --four-column-results-dim, set on the
   section from the slider (default 50% → 0.5). */
@media (hover: hover) {
  .four-column-results--dim .four-column-results__cards:has(.four-column-results__card:hover) .four-column-results__card:not(:hover) {
    opacity: var(--four-column-results-dim, 0.5);
  }
}
.four-column-results--dim .four-column-results__cards:has(.four-column-results__card:focus-within) .four-column-results__card:not(:focus-within) {
  opacity: var(--four-column-results-dim, 0.5);
}

/* -- 7. Entrance motion (JS adds .is-motion-ready; content visible without JS) -- */
@media (prefers-reduced-motion: no-preference) {
  .four-column-results.is-motion-ready .four-column-results__reveal {
    opacity: 0;
    translate: 0 24px;          /* individual `translate`, so the hover `transform` never fights it */
    transition:
      opacity var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease--enter, cubic-bezier(0.33, 0, 0.2, 1)),
      translate var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease--enter, cubic-bezier(0.33, 0, 0.2, 1)),
      transform var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out),
      box-shadow var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out),
      border-radius var(--equinet-motion-duration--ui, 200ms) var(--equinet-motion-ease--ui, ease);  /* kept in this list: a shorter list here would drop the radius transition */
    transition-delay: calc(var(--four-column-results-i, 0) * var(--equinet-motion-stagger, 60ms));
  }
  .four-column-results.is-motion-ready .four-column-results__reveal.is-in-view {
    opacity: 1;
    translate: 0 0;
  }
  /* once revealed, hover responds immediately (no stagger delay) and opacity eases at the UI duration for the hover dimming. This is a
     COMPLETE list, not an addition: a shorter list at higher specificity would drop transitions (the shared-block trap). */
  .four-column-results.is-motion-ready .four-column-results__reveal.is-revealed {
    transition-delay: 0s;
    transition:
      transform var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out),
      box-shadow var(--equinet-motion-duration--slow, 0.6s) var(--equinet-motion-ease, ease-in-out),
      border-radius var(--equinet-motion-duration--ui, 200ms) var(--equinet-motion-ease--ui, ease),
      opacity var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out);
  }
}

/* -- 8. Primary button (universal inclusion — no button in this design, so no markup) -- */
.four-column-results .btn-primary,
.four-column-results .btn-primary:link,
.four-column-results .btn-primary:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--equinet-btn-height, 56px);
  padding: 0 var(--equinet-space-lg, 32px);
  border: 0;
  border-radius: var(--equinet-btn-radius, 7px);
  background-color: var(--equinet-btn-fill--primary, #E06730) !important;
  color: var(--equinet-btn-label, #FFFFFF) !important;
  box-shadow: var(--equinet-shadow-btn--primary, -6.88px 7.76px 19.53px rgba(208, 79, 20, 0.22));
  font-family: var(--equinet-font-body, 'Myriad Pro', 'Source Sans 3', sans-serif);
  font-size: var(--equinet-fontsize-btn, 16px);
  font-weight: var(--equinet-fontweight-btn, 600);
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    transform var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    background-color var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    border-color var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out),
    box-shadow var(--equinet-motion-duration, 0.3s) var(--equinet-motion-ease, ease-in-out);
}
.four-column-results .btn-primary:hover,
.four-column-results .btn-primary:focus-visible {
  background-color: var(--equinet-btn-fill--primary--hover-dark, #D04F14) !important;
  color: var(--equinet-btn-label, #FFFFFF) !important;
  border-radius: var(--equinet-btn-radius--hover, 8px);
  box-shadow: var(--equinet-shadow-btn--primary--hover-dark, -6.88px 7.76px 19.53px rgba(208, 79, 20, 0.2));
}
.four-column-results .btn-primary:focus-visible {
  outline: 2px solid var(--equinet-color-navy, #00426C);
  outline-offset: 3px;
}
.four-column-results .btn-primary:active {
  background-color: var(--equinet-btn-fill--primary--hover-dark, #D04F14) !important;
  color: var(--equinet-btn-label, #FFFFFF) !important;
}
@media (prefers-reduced-motion: no-preference) {
  .four-column-results .btn-primary:hover { transform: scale(var(--equinet-btn-scale--hover, 1.03)); }
  .four-column-results .btn-primary:active { transform: scale(var(--equinet-btn-scale--active, 0.99)); }
}

/* -- 9. No-subgrid fallback (Chrome < 117 / Safari < 16 / Firefox < 71) ------- */
@supports not (grid-template-rows: subgrid) {
  .four-column-results__cards { row-gap: var(--equinet-space-lg, 32px); }
  .four-column-results__card { display: flex; flex-direction: column; }
  .four-column-results__card-top,
  .four-column-results__visual { flex: 0 0 auto; }
  .four-column-results .four-column-results__title { min-height: 56px; }  /* 12 pad + 2 lines × 22 — keeps bodies aligned for ≤ 2-line titles */
  .four-column-results__body { flex: 1 0 auto; }
}

/* -- 10. Responsive ---------------------------------------------------------- */
/* Desktop ≥ 1200: as designed. Card rows 2+ (5–8 cards) separated by 32px. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1200px) {
    .four-column-results__card:nth-child(n + 5) { margin-top: var(--equinet-space-lg, 32px); }
  }
}

/* 768–1199: 2 × 2. At 1024 a 4-up column would be (1024 − 48 − 96) / 4 = 220px, but stat (~113) + badge (73.6)
   + 2 × 24 padding needs ≈235. Grid capped at 2 × 340 + 32 so cards stay close to the design proportion. */
@media (max-width: 1199px) {
  .four-column-results__cards,
  .four-column-results__cards[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 712px;
  }
  .four-column-results__lines-svg { transform: scale(0.8); }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 768px) and (max-width: 1199px) {
    .four-column-results__card:nth-child(n + 3) { margin-top: var(--equinet-space-lg, 32px); }
  }
}

/* ≤ 767: single column, mobile section padding clamps (editor values honoured, never above the mobile rhythm) */
@media (max-width: 767px) {
  .four-column-results {
    padding-top: min(var(--four-column-results-pad-top, 72px), var(--equinet-space-3xl, 56px));
    padding-bottom: min(var(--four-column-results-pad-bottom, 96px), var(--equinet-space-3xl, 56px));
    padding-left: min(var(--four-column-results-pad-left, 24px), 20px);
    padding-right: min(var(--four-column-results-pad-right, 24px), 20px);
  }
  .four-column-results__cards,
  .four-column-results__cards[data-count="2"],
  .four-column-results__cards[data-count="3"] {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }
  .four-column-results__lead {
    max-width: 100%;
    font-size: var(--equinet-fontsize-h6, 18px);  /* mobile lead 18px — precedent pricing-hero-banner */
  }
  /* 0.6 scale centred would put the Ellipse 1205 circle at x = 195 + (579.66 − 960) × 0.6 = −33 on a 390 screen;
     +96px brings its centre to ≈63 so the drawing stays legible at the left edge, as on desktop. */
  .four-column-results__lines-svg { transform: translateX(96px) scale(0.6); }
}
@supports (grid-template-rows: subgrid) {
  @media (max-width: 767px) {
    .four-column-results__card:nth-child(n + 2) { margin-top: var(--equinet-space-md, 24px); }
  }
}

/* -- 10b. Flush cards (STYLE → flush_cards): no gutter, square inner corners, stretched to the module width ----------------- */
/* The row fills the whole content box of the section: section width minus the editable left/right padding (STYLE → section_padding),
   so an editor widens or narrows the strip with that one field. The 1140px design measure and every card-count cap are lifted here —
   the masthead keeps its own centred measure. Columns stay 1fr, so each card is (width ÷ columns): 4-up, 2 × 2 and 1-up all fill.
   Titles and bodies wrap at the card's real width (no longer the 213px comp measure), and the subgrid keeps rows aligned.
   Doubled root (0,3,0) beats the base and data-count rules and the per-breakpoint row margins, without !important. */
.four-column-results.four-column-results--flush .four-column-results__inner { max-width: none; }
.four-column-results.four-column-results--flush .four-column-results__cards {
  column-gap: 0;
  row-gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}
/* Flush width = "Content width" (STYLE → flush_width): the same strip, held to the 1140px design measure and centred. Cards still stretch to
   fill it (4-up → 285px each). (0,4,0) beats the full-width rules above; below ~1190px the viewport is narrower than the cap, so the strip
   fills the content box exactly as the full-width option does. */
.four-column-results.four-column-results--flush.four-column-results--flush-contained .four-column-results__inner { max-width: 1140px; }
.four-column-results.four-column-results--flush.four-column-results--flush-contained .four-column-results__cards { max-width: 1140px; margin: 0 auto; }
.four-column-results.four-column-results--flush .four-column-results__card {
  margin-top: 0;                /* removes the 32px / 24px row separation */
  border-radius: 0;             /* adjoining rounded corners would leave notches … */
}
/* … so only the CONVEX corners of the whole group are rounded: a corner is round when no other card touches it on either side
   (nothing above AND nothing to the left for top-left, and so on). That is the first card's left corners and the last card's right
   corners in a single row, and it generalises to wrapped rows, a short last row (the staircase) and the single column. Done with
   structural selectors per column count c (4 ≥1200, 2 at 768–1199, 1 ≤767), so no JS and no flash:
     TL  card 1                         TR  card c, or the last card when the row is short
     BL  first card of the last row     BR  last card, plus a card of the row above that sits over an empty cell
   :where() keeps these at (0,3,0): the hover squaring rule below (0,4,0) still wins. */
@media (min-width: 1200px) {    /* c = 4 */
  .four-column-results.four-column-results--flush .four-column-results__card:where(:first-child) { border-top-left-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:nth-child(4), :last-child:nth-child(-n + 4)) { border-top-right-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:nth-child(4n + 1):nth-last-child(-n + 4)) { border-bottom-left-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:last-child, :nth-child(4n):nth-last-child(-n + 4)) { border-bottom-right-radius: var(--equinet-radius-card, 7px); }
}
@media (min-width: 768px) and (max-width: 1199px) {    /* c = 2 */
  .four-column-results.four-column-results--flush .four-column-results__card:where(:first-child) { border-top-left-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:nth-child(2), :last-child:nth-child(-n + 2)) { border-top-right-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:nth-child(2n + 1):nth-last-child(-n + 2)) { border-bottom-left-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:last-child, :nth-child(2n):nth-last-child(-n + 2)) { border-bottom-right-radius: var(--equinet-radius-card, 7px); }
}
@media (max-width: 767px) {     /* c = 1 */
  .four-column-results.four-column-results--flush .four-column-results__card:where(:first-child) { border-top-left-radius: var(--equinet-radius-card, 7px); border-top-right-radius: var(--equinet-radius-card, 7px); }
  .four-column-results.four-column-results--flush .four-column-results__card:where(:last-child) { border-bottom-left-radius: var(--equinet-radius-card, 7px); border-bottom-right-radius: var(--equinet-radius-card, 7px); }
}
/* Hover/focus: the 6px orange rule needs square bottom corners, so an outer rounded corner squares off while the card is active
   (the radius already transitions). (0,4,0) beats the :where() corner rules above. */
.four-column-results.four-column-results--flush .four-column-results__card:hover,
.four-column-results.four-column-results--flush .four-column-results__card:focus-within {
  border-bottom-left-radius: var(--equinet-border-radius-none, 0px);
  border-bottom-right-radius: var(--equinet-border-radius-none, 0px);
}

/* -- 11. Reduced motion — withdraw everything, unconditionally ---------------- */
@media (prefers-reduced-motion: reduce) {
  .four-column-results__tag,
  .four-column-results__card:hover .four-column-results__tag,
  .four-column-results__card:focus-within .four-column-results__tag { transform: none !important; transition: none !important; }
  /* the rule still appears on hover/focus (a state change, not motion) — instantly, full width, no wipe */
  .four-column-results__card::after,
  .four-column-results__card:hover::after,
  .four-column-results__card:focus-within::after { transform: none !important; transition: none !important; }
  .four-column-results__drafting-rings,
  .four-column-results__card:hover .four-column-results__drafting-rings,
  .four-column-results__card:focus-within .four-column-results__drafting-rings { transform: none !important; transition: none !important; }
  .four-column-results__layer,
  .four-column-results__parallax-bg { transform: none !important; will-change: auto; }
  .four-column-results__card,
  .four-column-results__card--linked:hover,
  .four-column-results__card--linked:focus-within,
  .four-column-results .btn-primary,
  .four-column-results .btn-primary:hover,
  .four-column-results .btn-primary:active { transform: none !important; transition: none !important; }
  .four-column-results .four-column-results__reveal { opacity: 1 !important; translate: none !important; transition: none !important; }
  /* hover dimming still applies (it is emphasis, not motion) — instantly; !important to get past the reveal's opacity:1 above */
  @media (hover: hover) {
    .four-column-results--dim .four-column-results__cards:has(.four-column-results__card:hover) .four-column-results__card:not(:hover) { opacity: var(--four-column-results-dim, 0.5) !important; }
  }
  .four-column-results--dim .four-column-results__cards:has(.four-column-results__card:focus-within) .four-column-results__card:not(:focus-within) { opacity: var(--four-column-results-dim, 0.5) !important; }
}
