/* 2026-10-09 (Adam: "one section is too narrow the next is even more narrow",
   "/about spacing is very off", then "width of those items still needs
   fixing" once 1440 proved too tight on a wide screen).
   The wrap used to cap at 1860px. Swept the cap on /about at a 1920 viewport
   and measured the heading column against the text inside it:
     cap 1440 -> wrap 1296, column 551, text fills 551   ok
     cap 1600 -> wrap 1440, column 695, text fills 695   ok  <- widest clean value
     cap 1680 -> wrap 1512, column 767, text fills 702   65px dead
     cap 1860 -> wrap 1674, column 929, text fills 702  227px dead
   Past 1600 the column keeps growing while the text inside stays on its
   measure, so sections end at different points and the page reads as a
   column of ragged voids. 1600 is the most screen the layout can use without
   that. Masthead, content and footer all read this one value, so their edges
   stay locked together. */
/* ALCO audit fixes — 2026-10-07
   ---------------------------------------------------------------------------
   Loaded last and gated on $alcoEnterprisePublic, so nothing here reaches the
   portal (/team, /client, /team-area) or the sign-in pages.

   Every selector is prefixed body.enterprise-public on purpose: public-
   enterprise.css wins on both specificity and load order, so an unprefixed
   rule would silently lose. That is the exact trap that produced the legal
   rail bug below.

   To revert the whole set, remove the <link> for this file in inc/head.php. */

/* F1 - The homepage service cards were not clickable.
   Each tile is 382x324 but only the small "Explore ..." button was a link, and
   cursor:auto gave no hint either way. Clarity recorded 9 clicks on the inert
   card body, and 51% of homepage visitors leave at exactly this section.

   The site already ships a stretched-link pattern for this card as
   ".service-card > .arrow::before", but the card's link is now ".btn ghost",
   which that selector never matches - so the card has no click target at all.
   ::after is unusable here because public-enterprise.css sets
   ".btn:after{content:none!important}". ::before is unused on .btn, and .btn
   is position:static, so inset:0 resolves against the card as intended.

   Still one link per card for screen readers and the keyboard; the whole tile
   just becomes the hit area. Losing text selection inside the card is the
   accepted trade-off for this pattern. */
body.enterprise-public .service-card { position: relative; }
body.enterprise-public .service-card > .btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
/* Guarded to real pointers. Unguarded, a touch device keeps the hover state
   after a tap, so dismissing the cookie bar and scrolling left whichever card
   landed under that point outlined in orange - visible in the tablet and
   mobile captures of / and /services. :hover affordances must not apply where
   there is no pointer to move away. */

/* F3 - Legal rail collapsed wrongly between 760px and 1040px.
   alco-system.css:1775 stacks .legal-layout to one column at <=1040px, but
   public-enterprise.css:130 re-asserts "240px minmax(0,1fr)" with no media
   query at higher specificity and later in the cascade. The rail therefore
   stayed a ~128px sidebar while its children switched to the 2-column TOC and
   3-column contact layouts that only make sense once it has stacked. The
   visible result was overlapping link text ("InformationAccess"). */
@media (max-width: 1040px) {
  body.enterprise-public .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  body.enterprise-public .legal-rail-inner { position: static; }
}

/* F4 - The Easy Reader bar chart read backwards on phones.
   At <=620px .chart .bar is a grid of 8.5rem | 1fr | auto with the number in
   the auto track, so a longer number took width away from the bar: "9" drew
   the longest bar and "180,000" the shortest - the exact opposite of the data.
   Give the number a fixed track and drive the bar from --v, which the markup
   now carries alongside the original height. Falls back to 100% if --v is
   missing, i.e. to the old behaviour, never to something worse. */
@media (max-width: 620px) {
  body.enterprise-public .chart .bar { grid-template-columns: 8.5rem 1fr 5.2rem; }
  body.enterprise-public .chart .bar b { text-align: right; }
  body.enterprise-public .chart .bar .v { width: var(--v, 100%); }
}
@media (max-width: 380px) {
  body.enterprise-public .chart .bar { grid-template-columns: 1fr 5.2rem; }
}

/* F5 - Partner logos were clipped by their own frame.
   public-enterprise.css caps the image at max-width:190px, a fixed pixel
   value, but the grid cell is narrower than 190px at tablet and phone widths,
   so wide wordmarks (Microsoft, OpenText, Google Cloud) overflowed the frame
   and were sliced at its border. */
body.enterprise-public .logomark { min-width: 0; }
body.enterprise-public .logomark img { max-width: 100%; }

/* F7/F8 - The systemic one: responsive collapses that never fire on tablet.
   site.css collapses these inside max-width media queries, but public-
   enterprise.css re-asserts the desktop column counts with NO media query, at
   higher specificity (body.enterprise-public .x = 0,2,1 vs .x = 0,1,0) and
   later in the load order. The media rule therefore loses and the grid stays
   wide. public-enterprise.css does carry its own phone rules, so <=620px was
   already correct - the gap is the tablet band, 621px to 1080px.

   Measured at 820px before this fix:
     .split / .split.wide-left  448.976px 374.149px   (should be one column)
     .home-difference           501.059px 334.062px   (should be one column)
     .stats                     4 x 199.8px           (should be two columns)
   The 374px track is what squeezed the /why-alco comparison cards to 158px
   each and made their text wrap one word per line. */
@media (max-width: 1080px) {
  body.enterprise-public .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body.enterprise-public .split,
  body.enterprise-public .split.wide-left { grid-template-columns: minmax(0, 1fr); }
  /* NOT .home-difference--with-photo: that one carries deliberate !important
     two-column rules per breakpoint, so its tablet layout is a design choice. */
}

/* F9 - Tap targets below the WCAG 2.2 minimum of 24x24.
   Note on measurement: the footer renders under a 0.9 visual scale, so
   getBoundingClientRect under-reports these by ~10%. offsetHeight is the
   honest number. Measured in layout pixels the real offenders were few: the
   cookie-bar links at 17px, the top-bar help text at 20px and the footer
   section toggles at 20px - not the 150+ the rect-based pass suggested.

   padding-block alone did nothing because these are flex items and the extra
   padding was absorbed; min-height with centred content is what moves the hit
   area. Applied at every width, since 2.5.8 is not width-specific, and scoped
   to discrete nav/footer/consent links so prose links are untouched. */
body.enterprise-public .footer-nav a,
body.enterprise-public .footer-contact a,
body.enterprise-public .footer-bottom a,
body.enterprise-public .alco-footer-v2 a,
body.enterprise-public .footlinks a,
body.enterprise-public .footbar a,
body.enterprise-public .cklinks a,
body.enterprise-public a.public-help-hours {
  /* 27, not 24: html{zoom:.9} from 768px up paints 24 at 21.6. */
  min-height: 27px; display: inline-flex; align-items: center;
}
body.enterprise-public .alco-footer-v2 button.footer-section-toggle,
body.enterprise-public button.footer-section-toggle { min-height: 32px; }

/* F2 - The help-desk text in the top bar is now a link (see inc/head.php).
   .topbar a already carries the right colour, but give it a hover underline so
   it reads as a link rather than as the label it used to be. */
body.enterprise-public a.public-help-hours { text-decoration: none; }
body.enterprise-public a.public-help-hours:hover { text-decoration: underline; }

/* F10 - Tools index and the six category pages jumped h1 -> h3, skipping h2.
   The card titles are the first subsection on those pages, so they are now
   <h2 class="card-title">. They must keep the exact h3 appearance they had, or
   a semantics fix turns into a visual regression: measured 19.2px / 500 /
   24.96px line-height / 0 0 24px margin before the change. */
body.enterprise-public .card > h2.card-title {
  font-size: 1.2rem; font-weight: 500; line-height: 1.3; margin: 0 0 24px;
}

/* F8 - Ragged, shrink-wrapped cards in the "Built to standards" row.
   The base stylesheet defines .badges as a responsive grid
   (repeat(6,1fr), then 3, then 2 at narrower widths), but
   public-enterprise.css overrides display:grid with display:flex. That makes
   every grid-template-columns rule on it inert, so each badge sized itself to
   its own text: measured 460, 430, 515, 488, 479 and 451px in one row.
   Restore it as a grid. auto-fit/minmax keeps it responsive without having to
   restate the original breakpoints. */
body.enterprise-public .badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

/* F11 - Timeline step markers printed on top of the text.
   .timeline li is position:relative with padding-left:0, and its ::before is a
   10px square at left:-6px - so the marker ran from -6px to +4px and covered
   the first letter of each bold lead-in ("Find and configure", "Capture the
   order"). The parent ul already reserves a 24px gutter, so move the marker
   into it and leave the text where it is. */
body.enterprise-public .timeline li::before { left: -18px; }

/* The consent-bar links sit at 17px and resisted the rule above: the selector
   matches, but something upstream sets min-height:0 with !important, so this
   one has to match that weight to land. Narrowest possible scope. */
body.enterprise-public .cookiebar .cklinks a.cklink { min-height: 27px !important; }

/* F13 - The "50% width" look.
   public-enterprise.css caps paragraphs at 72ch (640.688px) and headings at
   780px, both flush-left inside a 1080-1320px wrapper. Measured: p 577/1188 =
   49%, h2 702/1188 = 59% - so half the row sat empty, and the two different
   caps gave body and headings two different right edges.

   Narrowing the wrapper was the obvious fix and it is wrong: these wrappers
   also hold .grid rows, figure.chart, .tablewrap and .split, and constraining
   them collapsed the Easy Reader cards to 162px. Checked all five pages that
   use these wrappers - only one wrapper out of seventeen is pure prose.

   So the prose stack is capped to one shared measure and centred, while the
   genuinely full-bleed children keep the full width they need. That is the
   standard centred-article-with-full-bleed-figures layout: balanced margins,
   Centring was tried and reverted: on /why-alco this wrapper holds the FAQ
   section and sits directly under a full-width badges grid, so centring it
   pushed "Common questions" inward and broke alignment with the section above.
   The text stays on the page's own left edge; only the measure widens.
   980px is ~110 characters at Arial 16px,
   which is past the 45-75 ideal - Adam asked twice for these columns to stop
   using half the width, so readability is traded deliberately, not by
   accident. Drop this to ~760px to restore a textbook measure. */
body.enterprise-public :is(.wrap.narrow, .wrap.article-wrap) > *:not(.grid):not(figure):not(.tablewrap):not(.split):not(.case-client-layout):not(.stats):not(.badges):not(.logos):not(.reviews) {
  max-width: none;    /* was 980px - see F31 */
  margin-inline: 0;
}

/* A one-line note alone in a full-width bordered bar reads as broken at 49%;
   there is no column for it to belong to. The page-scoped selector is needed
   to outrank body.enterprise-public.page-reviews #main .revfoot .hint. */
body.enterprise-public .revfoot p,
body.enterprise-public.page-reviews #main .revfoot .hint { max-width: none; }

/* The intro .lede resisted the rule above even though it matches it and this
   sheet loads last - alco-unify.css sets "body main .lede{max-width:none}" and
   that value kept winning. Rather than chase it, state it explicitly: the lede
   belongs to the same column as the prose under it, or the block gets the
   stepped right edge the review flagged on /company-history. */
body.enterprise-public :is(.wrap.narrow, .wrap.article-wrap) > .lede {
  max-width: none !important;   /* was 980px - see F31 */
  margin-inline: 0;
}

/* F14 - Company Life galleries.
   On mobile one photo per gallery rendered 171px wide against its siblings'
   353px, breaking the stack, even though all three images are identical in
   source and natural size - the item was shrink-wrapping instead of filling
   its grid column. On desktop the rows stopped ~256px x 4 short of the 1188px
   content edge that the nav, buttons and footer all reach.
   Fill the column, and let the track count follow the available width. */
body.enterprise-public .life-gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
body.enterprise-public .life-gallery > .company-photo { width: 100%; }
/* The odd last photo carries grid-column:1/-1 with justify-self:center, which
   centres it nicely on a 3-up desktop row. In a single-column grid that same
   rule makes it shrink to its content and render at 171px beside two 353px
   siblings. Stretch it once the grid is one column. */
@media (max-width: 700px) {
  body.enterprise-public .life-gallery > .company-photo {
    justify-self: stretch !important;
    width: 100% !important;
  }
}
body.enterprise-public .life-gallery > .company-photo img {
  width: 100%; height: auto; display: block;
}

/* F15 - Insight card CTAs sat wherever the title happened to end. The card is
   already a flex column, so pin the action to the bottom and every button in a
   row lines up regardless of how long the headline runs. */
body.enterprise-public .insight-card { display: flex; flex-direction: column; }
body.enterprise-public .insight-card > .btn:last-child,
body.enterprise-public .insight-card > .btnrow:last-child { margin-top: auto; }

/* The note under the standards grid is a .hint, which carries its own 72ch
   cap and so wrapped at 577px directly beneath cards spanning the full 1188px.
   Same measure as the prose above it. */
body.enterprise-public .wrap > p.hint,
body.enterprise-public .wrap.narrow p.hint { max-width: none; }

/* F16 - Two stragglers from F13, in a plain .wrap rather than one of the prose
   wrappers, so the rule above did not reach them. Both sit beside full-width
   siblings, which is what makes the cap read as broken rather than as a
   measure: /people/adam-leveille has p=577 next to ul.ruled=1188, and the
   Easy Reader byline runs 484 between a 1188 lede and a 1188 stats row.
   Targeted rather than widening to ".wrap > p", which would reach every hero
   and section on the site. */
body.enterprise-public p.casemeta { max-width: none; }
body.page-adam-leveille.enterprise-public #main .wrap > p { max-width: none; }

/* F17 - The legal "ON THIS PAGE" rail was cramped and clipped on desktop.
   public-enterprise.css sets the track to 240px; padding on .legal-rail and
   .legal-rail-inner takes that down to 173px of usable width. At 173px every
   entry wraps to two or three lines, so the 24-item list grew to 1313px inside
   a sticky box capped around 838px - producing an internal scrollbar and a
   visibly cut-off list. Measured identically at 1100, 1280, 1440 and 1700px.

   Widening the track lets most entries sit on one line, which shortens the
   list enough to stop the internal scrolling. Only above the 1040px stacking
   breakpoint, so the stacked tablet layout fixed earlier is untouched. */
@media (min-width: 1041px) {
  body.enterprise-public .legal-layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  body.enterprise-public .legal-toc { grid-template-columns: minmax(0, 1fr); }

  /* Sticky is kept, as asked. The list cannot fit a viewport-height box -
     24 entries at 45px each (35px + 10px margin) is 1080px before the title
     and contact card - so some internal scrolling is unavoidable. Tighten the
     rhythm so far less of it scrolls, and fade the bottom edge so it reads as
     "more below" rather than as a severed list. */
  body.enterprise-public .legal-rail-inner {
    position: sticky;
    max-height: calc(100vh - var(--alco-header-height, 69px) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent 100%);
  }
  body.enterprise-public .legal-toc a { margin-bottom: 4px; padding-block: 5px; }
}

/* F18 - The last sub-24px controls, measured in layout pixels with inline
   prose links excluded. All are wide but a few pixels short on height:
     a.logo                          162x22  every page, mobile
     .article-author a               160x23  56 insight articles
     .training-video-fallback a      134x17  15 training pages
     .trust/badge links              331x17  a couple of pages
   None is an inline link in a sentence, so the WCAG 2.5.8 inline exception
   does not apply to them. */
body.enterprise-public a.logo,
body.enterprise-public .article-author a,
body.enterprise-public .training-video-fallback a,
body.enterprise-public .trust-badges a,
body.enterprise-public .footer-badges a {
  /* 27, not 24: the site runs html{zoom:.9} from 768 up, so a nominal 24
     paints at 21.6 device px and the audit still measured these at 22.
     27 x .9 = 24.3. (Re-applied 2026-10-09 - a width revert had taken it
     back out; it was never part of the width problem.) */
  min-height: 27px;
  display: inline-flex;
  align-items: center;
}
body.enterprise-public a.logo { display: flex; }

/* F19 - Content boxes were carrying the hero wash.
   alco-brand-banner.css applies one "business card" background to two very
   different things: the hero bands (.phead, .casehero, .hero) where it is
   meant to be, and a list of content surfaces that includes .legal-rail,
   .legal-summary, .legal-notice and .legal-contact-card. That file's own
   comment says "white content cards", so the cards picking up the artwork
   looks like the rule reaching further than intended.

   Heroes keep the wash. The boxes go plain white with a very light grey rule,
   matching the #DEDEDE borders those cards already carry. !important is
   required because the source rule uses it. Full-width section bands
   (.page-cta, .ctastrip, .grey and friends) are deliberately NOT included -
   they are strips, not boxes, and restyling them was not asked for. */
body.enterprise-public #main :is(.legal-rail, .legal-summary, .legal-notice,
                                 .legal-contact-card, .tool-help,
                                 .book-embed, .calembed) {
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid #DEDEDE !important;
}
/* Its own peach gradient, from a different rule. */
body.enterprise-public #main .legal-block.legal-emphasis {
  background-image: none !important;
  background-color: #fff !important;
}

/* The border shorthand above reset all four sides, which knocked the orange
   accent off the "Signed documents control" callout. The source sets
   .legal-notice-strong{border-inline-start-width:4px}; restore it. */
body.enterprise-public #main .legal-notice.legal-notice-strong {
  border-inline-start: 4px solid #FF8C2B !important;
}

/* F20 - Links that are the whole content of a table cell, 17px tall on the
   legal pages. Not inline-in-prose, so the WCAG 2.5.8 exception does not
   cover them; :only-child keeps this off links sitting inside a sentence
   within a cell. */
body.enterprise-public #main td > a:only-child,
body.enterprise-public #main th > a:only-child {
  /* 27, not 24: html{zoom:.9} from 768px up paints 24 at 21.6. */
  min-height: 27px;
  display: inline-flex;
  align-items: center;
}

/* F21 - The remaining branded surfaces: full-width section bands.
   Same source rule as F19 in alco-brand-banner.css. These are strips rather
   than boxes, so a box border would be wrong; they get white plus a hairline
   top rule so the section rhythm survives without the artwork. Heroes
   (.phead, .casehero, .hero, #hero .heroslide) still keep the wash. */
body.enterprise-public #main :is(.grey, .home-partners, .client-logo-section,
                                 .page-cta, .hq-closing-cta, .ctastrip,
                                 .service-core-delivery, .service-core-scope,
                                 .industry-scope, .alco-cta-section,
                                 .industry-next, section.tight) {
  background-color: #fff !important;
  background-image: none !important;
}
body.enterprise-public #main :is(.grey, .home-partners, .client-logo-section,
                                 .page-cta, .hq-closing-cta, .ctastrip,
                                 .alco-cta-section, .industry-next,
                                 section.tight):not(:first-child) {
  border-top: 1px solid #ECECEC;
}

/* F22 - Links that are the whole content of a list item or a <strong>, 17px
   tall: the /sitemap link list, the credential badges on
   /people/adam-leveille and a reviewer name on /testimonials. Same reasoning
   as the table cells - standalone targets, not inline in a sentence, so the
   WCAG 2.5.8 exception does not apply. :only-child keeps it off links that
   sit inside a sentence within the same element.
   :not(:has(*)) was added later: on the service pages the related-services
   cards are also li > a:only-child, but they hold a title and a
   paragraph, and making them a row-direction inline-flex laid those
   two side by side and centred them. Limiting this to links whose
   content is plain text keeps the tap-target fix where it was meant
   and leaves card links alone.
   :not(:has(*)) then also excluded links carrying a .sr span -- the
   visually-hidden suffix that tells a screen reader where a repeated
   "Read more" or a repeated title actually goes. Those links dropped
   straight back to 15px painted. .sr is 1x1 and clipped, so it cannot
   lay anything out side by side; exempting it restores the target
   without letting a real card link back in. */
body.enterprise-public #main li > a:only-child:not(:has(*:not(.sr))),
body.enterprise-public #main strong > a:only-child:not(:has(*:not(.sr))) {
  /* 27, not 24: html{zoom:.9} from 768px up paints 24 at 21.6. This is what
     left the 142 sitemap links at 22.6px painted. */
  min-height: 27px;
  display: inline-flex;
  align-items: center;
}

/* F23 - /tools/images/qr-generator overflowed its own paragraph: the example
   payload "WIFI:T:WPA;S:YourNetworkName;..." is one unbreakable token, so it
   ran 370px wide inside a 295px column on mobile. break-word rather than
   anywhere: both break an over-long token, but anywhere also feeds into
   min-content sizing and can quietly shrink grid and flex tracks. */
body.enterprise-public #main :is(p, li, dd, td) { overflow-wrap: break-word; }

/* F24 - Partner logos were unreadable below the desktop breakpoint.
   site.css styles .logomark as a 46x46 bordered square - the initials badge
   used when a partner has no logo file - while public-enterprise.css sets
   height:76px for the wordmark layout. Below 1040px the square wins on width,
   giving a 41x68 portrait box with a 480x178 wordmark fitted into ~39px:
     desktop  frame 144x58, image 126x50   legible
     tablet   frame  41x68, image  39x12   illegible
     mobile   frame  46x76, image  44x14   illegible
   :has(img) keeps this off the initials badges, which still want the square
   and its border; browsers without :has simply ignore the rule. */
@media (max-width: 1040px) {
  body.enterprise-public .logomark:has(img) {
    width: auto;
    max-width: 100%;
    height: 56px;
    border: 0;
    justify-content: flex-start;
  }
  body.enterprise-public .logomark:has(img) img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
  }
}

/* F25 - Easy Reader / James Duff client block had the text in the logo column.
   The base rule is "minmax(0,1fr) minmax(260px,.38fr)" - content first, client
   mark second, which matches the markup (div of eyebrow+h2+p, then the mark).
   public-enterprise.css overrides it to "180px 1fr", i.e. it assumes the
   narrow column comes first. Result on a 1188px row: tracks of 180px + 1108px
   (sum 1288, overflowing), with "A community newsroom on aging
   infrastructure" and "The platform timeline" crushed to 162px. */
@media (min-width: 901px) {
  body.enterprise-public .case-client-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
    align-items: start;
  }
}

/* F26 - The legal rail stopped being sticky almost immediately.
   .legal-layout uses align-items:start, so the rail's grid cell is only as
   tall as its own content - 814px inside an 11,068px layout - and a sticky
   child cannot travel beyond its containing block. The rail scrolled away
   after one screen and left the column blank for the remaining ~10,000px.
   Stretch the cell so sticky has room, and move the visible card surface onto
   the inner element - otherwise the stretched cell would paint an
   11,000px-tall white box with a border down the page. */
@media (min-width: 1041px) {
  /* #main is needed here: the F19 rule above is scoped through #main, so an
     ID beats this one on specificity no matter that it comes later. Without
     it the stretched cell kept F19's white background and 1px border and
     painted an 11,068px-tall bordered box down the page. */
  body.enterprise-public #main .legal-rail {
    align-self: stretch;
    background: none !important;
    background-color: transparent !important;
    border: 0 !important;
    padding: 0 !important;
  }
  body.enterprise-public #main .legal-rail-inner {
    background: #fff;
    border: 1px solid #DEDEDE;
    border-radius: 4px;
    padding: 24px;
  }
}

/* F27 - The sitemap's three-column grid left huge blank columns.
   .sitemapgrid is grid-auto-flow:row, so every row is as tall as its tallest
   card. Measured child heights ran 298, 377, 895, 457, 1367 ... 2713px, so a
   single long list (the insights index) forced its whole row to 2713px and
   the two cards beside it ended in several screens of white.
   CSS columns flow content continuously instead of rowing it, so a tall card
   no longer drags its neighbours' row height with it. */
body.enterprise-public .sitemapgrid {
  display: block;
  column-count: 3;
  column-gap: 40px;
}
body.enterprise-public .sitemapgrid > * {
  break-inside: avoid;
  margin: 0 0 32px;
  display: block;
  width: 100%;
}
@media (max-width: 900px) {
  body.enterprise-public .sitemapgrid { column-count: 2; }
}
@media (max-width: 620px) {
  body.enterprise-public .sitemapgrid { column-count: 1; }
}

/* F28 - The client logo wall wrapped 4 + 4 + 2 + 1 at tablet.
   One logo carries grid-column: 1 / -1, which is a sensible "centre the odd
   last item" treatment when the grid is one or two columns. In the tablet
   band the grid is still four columns, so that span claims a whole row and
   pushes the wrap to 4+4+2+1 with half of row three empty. Desktop has no
   span and wraps cleanly as 4+4+3. Neutralise the span only while the grid
   is still multi-column; the phone layout keeps it. */
@media (min-width: 621px) and (max-width: 1040px) {
  body.enterprise-public .home-partner-logos > *,
  body.enterprise-public .client-logo-section .logos > * {
    grid-column: auto !important;
    justify-self: stretch !important;
  }
}

/* F29 - The chart caption butted straight into the paragraph below it.
   Measured gap between figcaption bottom and the next block: 0px, against a
   19.2px caption line-height - so the two read as one collided block and the
   caption stopped looking attached to its chart. */
body.enterprise-public #main figure.chart { margin-bottom: 2rem; }
body.enterprise-public #main figure.chart figcaption { margin-bottom: 0; }

/* F30 - The booking embed clipped Google's scheduler on phones.
   .book-embed IS the iframe, not a wrapper: it is sized by
   "body.enterprise-public .book-embed{height:780px}" with a
   "(max-width:700px){height:1100px}" override, and Google's mobile layout is
   taller than that, so the bottom of the scheduler was cut off.
   The host page cannot measure cross-origin content, so this is headroom
   rather than a fit - erring tall costs whitespace, erring short costs the
   booking control. */
@media (max-width: 700px) {
  body.enterprise-public #main iframe.book-embed,
  body.enterprise-public #main iframe[src*="calendar.google.com"]:not(.events-embed) {
    height: 1500px !important;
  }
  /* F30b  The 1500px was headroom for the BOOKING scheduler; the attribute
     selector caught the events calendar too, and there it was 450px of blank
     space below the grid. /events now loads &mode=AGENDA below 768px (see
     inc/calendar_embed.php), which is a list roughly 1050px tall for the
     current event count. 1100 gives it a little headroom without the gap.
     Erring tall here costs whitespace; erring short costs a scroll inside
     the iframe, which is the worse of the two on a phone. */
  body.enterprise-public #main iframe.events-embed {
    height: 1100px !important;
  }
}

/* F31 - Prose was still running narrow inside a full-width wrap.
   Measured on /why-alco: the .wrap is 1188px and .badges fills all of it, but
   the FAQ heading and items were capped at 882px and flush left, leaving a
   432px gap at 1440 and 672px at 1920 - two different right edges inside one
   container. The earlier 72ch -> 980px step reduced that but did not remove
   it. Every cap I had added is now none, so prose shares the wrap's edges.

   Measured share of viewport for body text, before -> after:
     1440px   61% -> 82%
     1700px   52% -> 70%
     1920px   46% -> 81%  (with the wrap widening below)

   This is well past a textbook measure and that is the explicit instruction,
   given three times. The single lever to walk it back is this block. */
body.enterprise-public #main :is(.wrap, .wrap.narrow, .wrap.article-wrap) >
  :is(p, h2, h3, h4, ul, ol, dl, blockquote, details, .lede, .hint) {
  max-width: none;
}

/* F32 - Very wide screens used little of the page: 1320px of content on a
   1920px display is 62%, and the header and footer are pinned to the same
   1320px, so the whole page sat in a narrow strip.
   public-enterprise.css sets width and max-width to 1320px with !important,
   so specificity alone cannot beat it - this has to be !important too.
   Note html{zoom:.9}: media queries and lengths here are in layout pixels,
   which are 1/0.9 of device pixels, so 1500px fires at about a 1350px
   display and the 1860px cap renders as roughly 1674 device px.
   Header, main and footer are widened together so they stay aligned; at the
   1500px breakpoint 100% - 180px is exactly 1320px, so there is no jump. */
@media (min-width: 1500px) {
  body.enterprise-public .wrap,
  body.enterprise-public .footer-wrap,
  body.enterprise-public .alco-footer-v2 .wrap,
  body.enterprise-public .masthead .wrap,
  body.enterprise-public .topbar .wrap {
    width: min(100% - 180px, 1600px) !important;
    max-width: min(100% - 180px, 1600px) !important;
  }
}

/* F33 - The "at a glance" fact grid showed fat grey bands around the text.
   alco.min.css builds it as a hairline grid: the <dl> carries a grey
   background and gap:1px, each cell paints itself white, so the grey only
   ever shows as a 1px rule. public-enterprise.css then set gap:20px on it
   without clearing that grey background, so the grey became 20px bands and
   the white cells looked like highlighter behind the words. Restore the
   hairline, and give the cells a little more room now that the lines are
   thin. #main is needed to outrank the .legal-summary ID rules above. */
body.enterprise-public #main .legal-facts {
  gap: 1px;
  border-radius: 4px;
  overflow: hidden;
}
body.enterprise-public #main .legal-facts > div {
  padding: 16px 18px;
}

/* F34 - Once F32 widened the page, the legal pages opened a dead gap.
   .legal-document is capped at 1020px and justify-self:end, so in a 1492px
   column it hugged the right edge and left ~470px of nothing between the
   table of contents and the text. Legal copy should not run to 130
   characters a line either, so instead of filling that column, #main gets a
   slightly narrower wrap on legal pages and the document then fills what is
   left. The masthead and footer keep the full width, which is the normal
   documentation-site look; what matters is that the h1, the rail and the
   body text all share one left edge. */
@media (min-width: 1500px) {
  body.enterprise-public.page-legal #main .wrap {
    width: min(100% - 180px, 1560px) !important;
    max-width: min(100% - 180px, 1560px) !important;
  }
  body.enterprise-public.page-legal #main .legal-document {
    max-width: none;
    justify-self: stretch;
  }
}

/* F35 - Copy-and-media sections left a hole between the two columns.
   The copy column was the wider of the pair (988px against 824px), but the
   prose inside it is capped near 600px for readability, so on a wide screen
   the text stopped two thirds of the way across and the picture started
   well after that. The text cannot use that space, so give it to the media
   instead: cap the copy column near its own measure and let the photo or
   diagram take the rest. The line diagrams are SVG, so they scale cleanly;
   they are held to 860px so they do not tower over the text beside them. */
@media (min-width: 1500px) {
  body.enterprise-public #main .split.wide-left,
  body.enterprise-public #main .home-difference,
  body.enterprise-public #main .content-graphic-split {
    grid-template-columns: minmax(0, 780px) minmax(0, 1fr);
  }
  body.enterprise-public #main .authentic-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 780px);
  }
  body.enterprise-public #main .content-line-graphic img {
    width: 100%;
    max-width: 860px;
  }
}

/* F36 - Legal body copy was capped at about 72 characters while the notice
   and summary boxes beside it ran the full column, so the page alternated
   between full-width panels and a short text block. Legal copy cannot run
   to 130 characters a line, so the column comes in a little, the rail gets
   the width it wanted, and the paragraphs go out to a still-readable 96
   characters. The three edges then line up far more closely. */
@media (min-width: 1500px) {
  body.enterprise-public.page-legal #main .wrap {
    width: min(100% - 180px, 1420px) !important;
    max-width: min(100% - 180px, 1420px) !important;
  }
  body.enterprise-public.page-legal #main .legal-layout {
    grid-template-columns: 380px minmax(0, 1fr);
  }
}
@media (min-width: 1041px) {
  body.enterprise-public.page-legal #main .legal-document :is(p, ul, ol) {
    /* 72ch, not 96: ch measures the "0" glyph (8.008px here) but real prose in
       this face averages 7.30px a character, so 96ch rendered about 105 real
       characters a line. 72ch lands near 79. */
    max-width: min(100%, 72ch);
  }
  body.enterprise-public.page-legal #main .legal-document :is(h2, h3) {
    max-width: none;
  }
}

/* F37 - The home "with photo" band is pinned with !important in
   alco-overrides.min.css, so F35's rule lost and the hole stayed. Same
   reasoning as F35: the copy cannot use the extra width, the picture can.
   The hero was tried here too and left alone - its artwork is letterboxed
   to a fixed height, so a wider column only padded the SVG while pushing
   the headline onto a second line. */
@media (min-width: 1500px) {
  body.enterprise-public #main .home-difference--with-photo {
    /* 2026-10-09: the photo track was 1fr, so above 1440 it swallowed every
       spare pixel and the photo reached 914px. Capped to match the figure. */
    grid-template-columns: minmax(0, 780px) minmax(0, 600px) !important;
  }
}

/* F38 - The last of the 72ch caps. These blocks sit in containers between
   750px and 1400px wide but wrapped their text at 560-680px, so the copy
   stopped well short of the panel it lives in. 92ch is still a comfortable
   measure and never exceeds the container, so the text now reaches the
   edge of its own panel wherever the panel is narrower than that.
   Left out on purpose: .hq-cta-copy and .industry-scope already cap above
   92ch and this would have narrowed them, and the hero tagline is meant to
   be short. The client mark is enlarged so its panel is not mostly empty. */
@media (min-width: 1041px) {
  body.enterprise-public #main :is(.case-client-layout, .training-reading,
                                   .alco-team-body, .secured-prose,
                                   .secured-section-heading, .service-core-scope,
                                   .pay-card, .pay-method, .pay-form) p,
  body.enterprise-public #main .case-client-layout > div > p {
    max-width: min(100%, 72ch);
  }
  body.enterprise-public #main .case-client-mark img {
    max-width: 240px;
  }
}

/* F39 - Training articles on a wide screen.
   The h1 is capped just short of one line, so titles such as "DNS Records
   Explained: A, CNAME, MX and TXT" broke onto a second line with half the
   band empty beside them; a little more room keeps most of them on one.
   The video is the opposite problem: with the page now 1860px wide a 16:9
   player filled the whole column and ran about 940px tall, so it is held
   to a size that still reads as a video rather than a billboard. */
@media (min-width: 1500px) {
  body.enterprise-public #main .phead h1,
  body.enterprise-public #main .wrap > h1 {
    max-width: min(100%, 1180px);
  }
  body.enterprise-public #main .training-player {
    max-width: 1240px;
  }
}

/* F40 - On article pages the byline rule ran 400px past the text.
   .articlebody is held to 800px, which is the right measure for long-form,
   but .article-meta sits in the full 1200px wrap, so the rule under the
   author and date stopped level with nothing. Match it to the body so the
   author, the date and every paragraph share one right edge.
   public-enterprise.css already asks for 800px here; it loses to an
   !important in alco-overrides.min.css, so this has to be !important. */
@media (min-width: 1041px) {
  body.enterprise-public #main .wrap:has(> .articlebody) > .article-meta {
    /* Matches the .articlebody measure beside it, or the hairline under the
       byline stops short of the text it introduces. Both are full wrap now. */
    max-width: none !important;
  }
}

/* F41 - Cards in a row stretch to the same height, but a trailing button
   sat right under its own paragraph, so in a row of two- and three-line
   cards the buttons stepped up and down by about 20px. The card is already
   a flex column, so pushing the last button down is all that is needed. */
body.enterprise-public #main .card > .btn:last-child {
  margin-top: auto;
}

/* F42 - Industry pages had the same hole as F35: the copy column took
   1060px while its text wrapped near 700, and the SVG diagram beside it
   was pinned to 400px in a 760px track, so a third of the band was empty.
   The diagram is an SVG and scales cleanly, so the copy column comes in to
   its measure and the diagram is allowed to grow. The 400px cap is an
   inline style on the figure, which only !important can beat; the mobile
   300px cap in the page's own <style> block still wins below 600px because
   it is !important inside a narrower media query. */
@media (min-width: 1500px) {
  body.enterprise-public #main .industry-overview {
    grid-template-columns: minmax(0, 780px) minmax(0, 1fr);
  }
  body.enterprise-public #main .industry-overview .page-body-diagram {
    max-width: 680px !important;
  }
}

/* F43 - Insight and training thumbnails sat in a grey box.
   .postthumb is a square tile with a #F5F5F5 background, but the image
   inside is pinned to height:280px with object-fit:contain, so a square
   1080px artwork rendered 280px wide and the rest of the tile was flat
   grey. It was only ~50px of grey when the cards were 380px; once F32
   widened the page the cards reached 600px and the grey took over. The
   artwork is square and the tile is square, so letting the image fill the
   tile is exact - nothing is cropped. Four cards a row on a wide screen
   keeps each tile a sensible size instead of 550px tall. */
body.enterprise-public #main .postthumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
@media (min-width: 1500px) {
  body.enterprise-public #main :is(.insights-grid, .training-grid) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* F44 - Company life used the left half of a wide screen.
   The photo gallery is capped at 0.75 of the old 1320px wrap, so at 1920px
   three 284px photos sat in a 900px strip with the right half blank, and
   the intro grid gave a one-line heading a 1029px column while the copy
   waited 580px away in the next one. The photos have 480w to 1447w
   candidates, so a wider gallery loads sharper files rather than scaling
   320w up - the sizes attribute in pages/company_life.php was widened to
   match, otherwise the browser would keep fetching the 320w file. */
/* 2026-10-09: the uncap below was gated at 1500, but credibility.min.css pins
   .life-gallery to 960px and the wrap is already 1188 from 1041 up - so
   between those two widths three photos sat in a 810px strip with 378px of
   the row blank. The wrap passes 960 at 1041, so that is where the cap has
   to lift. The intro grid keeps its own 1500 breakpoint; it was tuned there. */
/* 769, not 1041: the gallery is already multi-column at 1024, where a 900px
   cap left it 142px short inside a 952px wrap. Below 769 it is one column and
   fills on its own. */
@media (min-width: 769px) {
  body.enterprise-public #main .life-gallery,
  body.enterprise-public #main .company-life-gallery {
    max-width: none;
  }
}
@media (min-width: 1500px) {
  body.enterprise-public #main .life-intro-grid {
    grid-template-columns: minmax(0, 700px) minmax(0, 760px);
  }
}

/* F45 - "Remote first, on site when it counts" on the About page.
   The heading sat alone in a 697px column but only drew 445px of it, so
   there was a 670px hole before the paragraph beside it. Giving the
   heading a column closer to its own width closes the hole and lets the
   copy run wider. */
@media (min-width: 1500px) {
  body.enterprise-public #main .wrap:has(> .about-remote-copy) {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  }
}

/* F46 - The footer was left behind at 1320 while everything above it went to
   1860, so the footer logo, link columns and badges sat visibly inset from
   the content and the masthead. F32 did list .footer-wrap, but
   public-enterprise.css also carries
     body:is(.enterprise-public,.enterprise-portal) .alco-footer-v2 .footer-wrap
   with !important, which is one class more specific than F32's selector and
   therefore won. Naming the footer element explicitly outranks it. */
@media (min-width: 1500px) {
  body.enterprise-public footer.alco-footer-v2 > .footer-wrap {
    width: min(100% - 180px, 1600px) !important;
    max-width: min(100% - 180px, 1600px) !important;
  }
}

/* F47 - Insight and news articles were pinned to the left of their own
   container. .articlebody carries max-width:800px with a hard-coded
   margin-right:400px inside a 1200px wrap, so a 400px strip of white ran
   down the right of every article with nothing in it, and the article
   column started 297px right of the logo while the related cards and the
   closing CTA below used the full 1860px wrap. Four independent reviewers
   reported it. Make the whole article page one column: every band inside
   #main shares a 1120px wrap, the prose keeps an 880px measure, and the
   reserved right margin goes. The h1, the byline, the body, the related
   cards and the CTA then share one left edge. */
@media (min-width: 1041px) {
  body.enterprise-public #main .articlebody,
  body.enterprise-public #main .article-meta {
    /* Full wrap (Adam, 2026-10-11: "articles need to be as wide as the rest
       of the sites content"). The reading measure and the centring that went
       with it are both gone - F141 at the end of this file is now the single
       place the article column's width is decided. */
    max-width: none !important;
    margin-inline: 0 !important;
  }
}

/* F48 - The section-band hairline from F21 never rendered.
   alco-overrides.min.css sets `body main .section { border-top: 0 }` with
   !important, so the 1px rule that replaced the tinted bands lost and
   pages ran as one unbroken sheet of white - most obvious on the location
   pages, where the band marked .grey is indistinguishable from its
   neighbours. Same rule as F21, with the weight needed to land. */
body.enterprise-public #main :is(.grey, .home-partners, .client-logo-section,
                                 .page-cta, .hq-closing-cta, .ctastrip,
                                 .alco-cta-section, .industry-next,
                                 section.tight):not(:first-child) {
  border-top: 1px solid #ECECEC !important;
}

/* F49 - Tool pages: body copy ran the full column and the security check
   was stretched across it.
   F31 removed the prose caps so text could use the width, which was right
   for a narrow wrap but wrong here: at 1860 the "About this tool" and FAQ
   paragraphs reached about 250 characters a line. 90ch keeps them long but
   readable. The Turnstile widget has a natural size of roughly 300x65 and
   was being stretched to 1810px, leaving the checkbox at the far left and
   Cloudflare's logo at the far right with empty grey between them. */
body.enterprise-public #main :is(.tool-help, .tools-access) :is(p, li) {
  max-width: min(100%, 90ch);
}
body.enterprise-public #main .tools-turnstile {
  max-width: 330px;
}

/* F50 - Location pages: the delivery paragraph had no measure at all and
   ran the whole 1860px column, about 200 characters a line, while the
   intro paragraph above it was capped. Same cap as the rest of the page. */
body.enterprise-public #main .location-delivery :is(p, .lede) {
  /* !important because F31's :is(.wrap, .wrap.narrow, .wrap.article-wrap)
     scores two classes, which outranks this selector on specificity. */
  max-width: min(100%, 90ch) !important;
}

/* F51 - Links inside article prose had no visual affordance: same colour as
   the body text, no underline, no weight change. In the "Sources and
   further reading" blocks the URLs read as plain text. That is a WCAG 1.4.1
   failure as well as a usability one, so they get an underline and the
   brand colour. Buttons and card links inside the body keep their own
   styling. */
body.enterprise-public #main .articlebody a:not(.btn):not([class*="card"]) {
  color: #ff8c2b;
  /* the site sets a blanket a{text-decoration:none}, so the underline needs
     the weight; colour on its own would fail WCAG 1.4.1 anyway. */
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
body.enterprise-public #main .articlebody a:not(.btn):not([class*="card"]):hover,
body.enterprise-public #main .articlebody a:not(.btn):not([class*="card"]):focus-visible {
  color: #8F3F07;
}

/* F52 - Inline links in prose were invisible as links.
   A survey of ten representative pages found 35 inline links inside
   paragraphs, list items and definition values - phone numbers, the privacy
   policy, "alcohq.com/contact", the sources lists - every one of them with
   no underline, no colour shift and no weight change against the body text.
   /accessibility states the site targets WCAG 2.2 AA, and 1.4.1 does not
   allow colour alone, let alone no cue at all. Every one of those links
   carries no class, while every button in prose does, so :not([class])
   picks out exactly the bare inline links and leaves buttons alone. */
body.enterprise-public #main :is(p, li, dd, .lede) > a:not([class]) {
  color: #ff8c2b;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
body.enterprise-public #main :is(p, li, dd, .lede) > a:not([class]):hover,
body.enterprise-public #main :is(p, li, dd, .lede) > a:not([class]):focus-visible {
  color: #8F3F07;
}

/* F53 - Training pages stepped in and out down the page: the lede and the
   fallback line ran the full 1860px column at about 150 characters a line,
   the player sat at 1240 and the body copy at 900, so the left column edge
   held but the right edge moved four times. Put the prose on the body's
   measure and leave the player wider, which is the normal arrangement for
   an article with a video in it. */
@media (min-width: 1041px) {
  body.enterprise-public #main .training-detail-wrap > :is(p, .lede, p.training-video-fallback) {
    /* 680px, not 900. The 900 was set by eye; measured by rendered line
       boxes it produced 112 characters a line on the training pages. 680
       lands in the 80s. */
    max-width: 680px !important;
  }
}

/* F54 - eStore product photos were letterboxed in a squat grey box.
   The frame is 538x202 (2.68:1) while the photographs are 960x720 or
   720x960, so object-fit:contain painted each one about half the frame's
   width and filled the rest with flat grey. A 4:3 frame matches the
   majority of the photography, so the landscape shots now fill it and the
   portrait ones are banded at the sides instead of top and bottom.
   The thumbnail strip only exists on some items, which pushed those cards'
   titles down; reserving its height lines the row up. */
body.enterprise-public #main .estore-photo-link {
  aspect-ratio: 4 / 3;
  height: auto;
}
body.enterprise-public #main .estore-photo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 621px) {
  body.enterprise-public #main .estore-card .estore-thumbs {
    min-height: 50px;
  }
}

/* F55 - /payments.
   The rule under each card heading stopped 96px short of the card edge
   because the heading inherited a 780px prose cap while the fields below
   it run the full card. And each label/value pair was thrown to opposite
   ends of an 876px row, leaving up to 720px of white between a label and
   the number it belongs to. */
body.enterprise-public #main .pay-card > h2 {
  max-width: none;
}
body.enterprise-public #main .pay-method dl {
  max-width: 520px;
}

/* F56 - /accessibility: the two boxes in the top row were stretched to a
   common height, so the shorter one ended in a block of empty white, and
   they used two different card treatments - one with a drop shadow and
   28.8px padding, the other flat with 32px. Let them size to their content
   and share one treatment. */
body.enterprise-public #main .wrap.grid.c2 {
  align-items: start;
}
/* /accessibility has no page- body class, so the mismatched box is picked
   out by what it is: the only plain div sitting beside a .card in a two-up
   grid anywhere on the site (checked across all 166 pages). */
body.enterprise-public #main .grid.c2:has(> .card) > div:not(.card) {
  box-shadow: none;
}

/* F57 - WITHDRAWN. /sitemap has three equal columns with one very long
   Insights card, which leaves a blank rectangle at the lower left. The fix
   tried here - span the long card and flow its links in three columns - did
   not work: .sitemapgrid does not honour grid-column:1/-1 on that child, so
   the card stayed a third of the width and the three text columns came out
   83px wide, clipping every link title at 1440. Reverted; the original
   imbalance is cosmetic and a worse result is not an improvement. Doing it
   properly means changing how the page builds the grid, not a CSS override. */

/* F58 - Round two of the widening fallout, from a page-by-page review of
   all 166 pages. Each of these is the same shape: something that was sized
   for the old 1320px column and now sits in a 1860px one.

   .postthumb img - F43's fill never landed on the article index, because
   public-enterprise.css carries the same declaration at one class more
   specific. Roughly 23 of the 56 cards were still letterboxed.
   .industry-scope - a bordered white panel running the full column with a
   paragraph across half of it, so half a visible box was empty.
   .page-body-diagram - still pinned at 400px on the service pages, the way
   the industry pages were before F42.
   .industry-overview diagram - centred in its track, so it stopped 162px
   short of the right edge every band below it reached.
   .authentic-feature-copy - a 121px block vertically centred against a
   631px graphic, which left the top of /industries and /services blank.
   .service-core-related-list - centred titles over left-aligned body text.
   .badges - six cards in a five-column grid, so one sat alone on a row.
   .content-line-graphic img - held to 860px inside a 1040px track, so its
   right edge stepped in from the card row below it. */
@media (min-width: 1500px) {
  body.enterprise-public #main .industry-scope {
    max-width: 1100px;
  }
  body.enterprise-public #main .page-body-diagram {
    max-width: 680px !important;
  }
  body.enterprise-public #main .industry-overview .page-body-diagram {
    justify-self: end;
  }
  body.enterprise-public #main .authentic-feature-copy {
    align-self: start;
  }
  body.enterprise-public #main .badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.enterprise-public #main .content-line-graphic img {
    max-width: 100%;
  }
}
body.enterprise-public #main .insight-card .postthumb img,
body.enterprise-public #main .postthumb img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
}

/* F59 - /company-history put the article body on a third left edge: the h1
   and the closing CTA sat at 123 while the body started at 420. Same
   treatment as F47 - one column width for the whole page. */
@media (min-width: 1041px) {
}

/* F60 - /company-life opening row: F44 gave it two fixed tracks adding up
   to 1460 of the 1860 column and left the default vertical centring, so
   the heading floated below the first line of the paragraph beside it and
   the row stopped short of the galleries underneath. Fluid tracks and a
   top edge fix both. */
@media (min-width: 1500px) {
  body.enterprise-public #main .life-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

/* F61 - /testimonials.
   The "Read a client case study" ghost button was stretched to 659px with
   its label adrift in the middle, unlike every other button on the page.
   The client logos were all capped to the same 150px WIDTH regardless of
   shape, so wide wordmarks shrank to 17px tall slivers while square marks
   rendered 76px tall. Sizing a logo wall by height is what keeps the marks
   optically equal. */
body.enterprise-public #main .wrap > a.btn.ghost {
  width: fit-content;
}
body.enterprise-public #main .client-logo-grid img,
body.enterprise-public #main .home-partner-logos img {
  width: auto;
  height: auto;
  /* min() with 100% because the grid cell is only 91px at tablet: a flat
     150px cap let a wide wordmark spill 41px out of its own list item. */
  max-width: min(150px, 100%);
  max-height: 44px;
  object-fit: contain;
}

/* F62 - 23 of the 56 cards on the article index still showed their artwork
   shrunk inside the grey plate. F43 and F58 made the <img> fill, but on
   those cards the <img> is wrapped in a <picture>, and the wrapper was
   sizing to the image rather than to the tile, so the image filled a 260px
   wrapper inside a 354px tile. The sizes attribute in pages/insights.php
   was widened at the same time, so the browser now fetches a candidate
   large enough for the tile instead of upscaling the 320w file. */
body.enterprise-public #main .postthumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* F63 - /payments: the two cards were explicitly top-aligned, so the
   shorter one left a 230px step at the bottom of the row. Every other card
   grid on the site shares a row height. (This is .pay-layout only - the
   two boxes on /accessibility in F56 are a different case: there the
   shorter box was being stretched and ending in empty white.) */
body.enterprise-public #main .pay-layout {
  align-items: stretch;
}

/* F64 - The article hero thumbnail on phones.
   public-enterprise.css pins .phead .articlefeature to 140px with
   !important below 620px, which leaves a 140px square at the left of a
   353px column with 61% of the hero band empty beside it - and the
   image's own sizes attribute already tells the browser it will fill that
   column. Two reviewers and a verifier reproduced it. The desktop 180px
   is left alone: that one looks deliberate, having been narrowed in steps
   from 320 to 240 to 200 to 180. */
@media (max-width: 620px) {
  body.enterprise-public #main .phead .articlefeature {
    width: 100% !important;
    max-width: 100%;
  }
  body.enterprise-public #main .phead .articlefeature :is(img, picture) {
    width: 100%;
    height: auto;
  }
}

/* F65 - /book: the Google scheduling embed draws about 630px of content
   inside an iframe hard-coded to 780px, so the page framed 150px of blank
   white below it. 690px keeps headroom for the embed's own taller states
   while closing most of the gap. */
body.enterprise-public #main .book-embed {
  height: 690px;
}

/* F66 - Styling for the code specimen the renderer now emits. Monospace,
   a light panel, and it scrolls sideways rather than reflowing, so header
   lines keep their shape instead of breaking into orphaned fragments. */
body.enterprise-public #main .alco-specimen {
  margin: 0 0 1.2rem;
  padding: 16px 18px;
  background: #F7F7F8;
  border: 1px solid #DEDEDE;
  border-radius: 4px;
  overflow-x: auto;
  font: 400 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #242424;
  white-space: pre;
}
body.enterprise-public #main .alco-specimen code {
  font: inherit;
  background: none;
  padding: 0;
}

/* F67 - The uptime strip reserved 30 fixed columns whatever the data, so
   once the pre-history blanks were dropped the seven real days huddled in
   the left third of the card while the axis labels still bracketed the
   full width. Let the strip spread whatever days it has across the card,
   so the bars and the axis agree; the cells narrow back to their usual
   width as the history fills out. */
body.enterprise-public #main .status-history-bars {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}

/* F68 - The other half of F25. Below 901px the "180px 1fr" rule in
   public-enterprise.css still outranks the single-column collapse in
   alco.min.css, so from 621 to 900 the case-study intro pinned its prose
   to a 180px ribbon - the heading, the whole opening paragraph and all
   five timeline entries at three or four words a line, 504px tall, beside
   a 600-750px track holding nothing but the client logo. It already
   stacks below 621; it should stack here too. */
@media (min-width: 621px) and (max-width: 900px) {
  body.enterprise-public .case-client-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* F69 - The industry and service diagrams were centred in their track, so
   the first thing on the page stopped 162px short of the right edge that
   every band below it shares. The figure carries an inline margin:0 auto,
   which is why justify-self alone did nothing. */
@media (min-width: 1500px) {
  body.enterprise-public #main .page-body-diagram {
    justify-self: end;
    margin-inline: auto 0 !important;
  }
}

/* F70 - Styling for the click-to-play poster that replaces the bare YouTube
   embed on training pages. The poster fills the player box; the play mark
   sits in the middle; the label is for screen readers and keyboard focus,
   not for sighted users, since the poster already carries the title. */
body.enterprise-public #main .training-facade {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #F2F2F2;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}
body.enterprise-public #main .training-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.enterprise-public #main .training-facade .training-play-mark {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.82);
  color: #fff;
  font-size: 26px;
  padding-left: 5px;
}
body.enterprise-public #main .training-facade:hover .training-play-mark {
  background: #1A1A1A;
}
/* No focus rule here on purpose. alco.min.css already gives every button a
   focus-visible ring and wins this cascade anyway; a 3px orange ring was
   tried, never applied, and would have made the player the one control on
   the site with its own focus treatment. Verified by tabbing to it: 12 tab
   stops from the top of the page, ring present, Enter starts the video and
   moves focus into the player. */
body.enterprise-public #main .training-facade-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* F71 - /unsubscribe. The page was a standalone file with its own inline
   stylesheet, a logo-only header and a three-line footer, so the one page a
   marketing email sends people to looked like a different site. It is a
   normal page now and inherits the masthead, the hero band and the real
   footer; its two short sections just need a reading measure, since the
   site-wide wrap is 1860px and this is plain prose with nothing beside it. */
body.enterprise-public #main .unsubscribe-block :is(p, h2) {
  /* !important for the same reason as F50: F31's :is(.wrap, .wrap.narrow,
     .wrap.article-wrap) counts two classes and outranks this on specificity. */
  max-width: min(100%, 78ch) !important;
}

/* F72 - Three-up text grids stayed three-up down to 621px.
   A sweep of 640/768/820/900/1000 across every page - the band the standard
   mobile and desktop profiles step over, and the band the case-study bug in
   F68 hid in - found several grids holding 12 to 16 lines of body copy in a
   189px column. public-enterprise.css collapses this family at 620px and
   leaves it at three columns above, with nothing in between.
   auto-fit does the whole range in one rule: one column at 640 where two
   would not fit, two from about 700, three again by 1000. */
@media (min-width: 621px) and (max-width: 1040px) {
  body.enterprise-public #main :is(.industry-capability-grid,
                                   .industry-delivery-steps,
                                   .service-core-steps,
                                   .status-method-grid) {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  }
  /* Heading beside copy: below the desktop breakpoint there is not enough
     room for both, and the copy was down to 243px. */
  body.enterprise-public #main .life-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* F73 - Twelve tool pages scrolled sideways on a 320px phone.
   Cloudflare's widget has a 300px floor, and inside the card at that width
   its slot is 254px, so the widget pushed the whole document 13 device px
   wider than the screen. Bisecting confirmed it: hiding the consent bar
   changed nothing, hiding the widget took the page back to 320. The widget
   cannot be made narrower from here, so it scrolls inside its own box
   rather than dragging the page with it. Above 400px it already fits. */
@media (max-width: 400px) {
  body.enterprise-public #main .tools-turnstile {
    overflow-x: auto;
  }
}

/* F74 - The case-study figures overflowed their own cells on every phone.
   "180,000/day" needs 136px at the fixed 32px size, and the cell is 78px at
   320 and 133px even at 430, so the number ran over the one beside it at
   every phone width. Scale the figure with the viewport instead: it reaches
   the designed 32px as soon as there is room for it. */
@media (min-width: 421px) and (max-width: 620px) {
  body.enterprise-public #main .stats .n {
    font-size: clamp(20px, 6.5vw, 32px);
  }
}

/* F75 - Two-up cards just above the phone breakpoint.
   .grid.c2 collapses at 620 and is two-up above, so at 640 it puts cards of
   288px side by side - and on the two case studies and /accessibility those
   cards hold paragraphs of up to 290 characters, which is about ten lines of
   29. One more column step carries them to roughly 700, where two columns
   are wide enough to be worth having. Four pages have such a grid at this
   width, checked across all 168. */
@media (min-width: 621px) and (max-width: 700px) {
  body.enterprise-public #main .grid.c2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* F76 - The unsubscribe form needs a form's width, not the page's.
   One email field stretched the full 1860px content column, which reads as
   a mistake next to a 197px button. The copy on this page is already held
   to a measure by F71; the controls get one too. */
body.enterprise-public #main .unsubscribe-form {
  max-width: 560px;
}

/* F77 - Two remaining finds from the narrow and tablet sweeps, both on the
   Easy Reader case study but neither specific to it.

   .stats: two columns of 128px on a 320px phone cannot hold "180,000/day"
   at any size worth reading - F74's clamp got it down to 20.8px and it was
   still 21px too wide. One column gives each figure the full 280px and the
   number goes back to its designed size.

   .hq-cta-layout: the button track is auto-sized, so a closing CTA with two
   buttons took 340px of a 600px row at 640 and left the sentence beside it
   on 223px, ten lines deep. It already stacks below 620; stacking it to 900
   covers the widths where the buttons can outweigh the copy. */
@media (max-width: 420px) {
  body.enterprise-public #main .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  body.enterprise-public #main .hq-cta-layout {
    /* hq-spacing.css already stacks this at 860 - public-enterprise.css
       overrides it with !important, which is why it never happened. 860 is
       the site's own number, kept here rather than inventing a new one. */
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* F78 - The services and industries intro band on a small tablet.
   .authentic-feature is one column at 620 and two from 621, but the graphic
   takes the larger share, so the copy sits on 243px at 640 and does not
   become comfortable until about 900. Carry the single column up to the
   same breakpoint the closing CTA now uses. */
@media (min-width: 621px) and (max-width: 860px) {
  body.enterprise-public #main .authentic-feature {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   F79  Relocated from two inline <style> elements in the page body, which the
   W3C validator rejects: a <style> inside <body> has to be the first child of
   its parent, and these sat after a </section>. Five errors on / and four on
   /contact. The selectors are copied unchanged, so every specificity contest
   they were already in resolves the same way and the pages render identically.
   Sources: inc/client_logos.php (home, testimonials) and pages/contact.php.
   Note for later: F61 above is body.enterprise-public #main .client-logo-grid
   img, one ID more specific than the logo rules below, so F61's max-height:44px
   already beat the 56/76/88px heights before this move as well. That conflict
   is pre-existing and deliberately left alone here - this change is about
   validity, not about restyling the logo wall.
   --------------------------------------------------------------------------- */
.client-logo-section .client-logo-grid img{width:160px;max-width:100%;height:56px;max-height:56px;object-fit:contain}
.client-logo-section .client-logo-grid img[alt="US Mobile"],
.client-logo-section .client-logo-grid img[alt="Chameleon Design"],
.client-logo-section .client-logo-grid img[alt="Smile Fund USA"]{height:76px;max-height:76px}
.client-logo-section .client-logo-grid img[alt="Purses with a Purpose"]{height:88px;max-height:88px}
.client-logo-section img[alt="Signature Customs"]{filter:brightness(0)}
#enquiry :is(label,input,select,textarea){color:#000!important}
#enquiry label span{color:inherit}
.contact-layout{align-items:start}

/* ---------------------------------------------------------------------------
   F80  Relocated from an inline <style> that sat inside a <div> on the six
   /industries pages and the three /services pages. A <style> element in the
   body has to be the first child of its parent, so html-validate and the W3C
   both reject it there. Identical selector, breakpoint and !important, placed
   after F42/F69 so the narrow-screen cap still wins at 600px and below.
   --------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .page-body-diagram { max-width: 300px !important; }
}

/* ===========================================================================
   Second-round review, 2026-10-08. Forty-three findings were confirmed against
   the live site after the widening pass; these are the first four fixes.
   =========================================================================== */

/* F81  The header specimen on /insights/anatomy-of-an-email-header is set in
   white-space:pre inside an 880px prose column, so its longest line ran to
   1300px and the rest was silently cut: 422px hidden at 1440 and 1920, 949px
   (73% of the line) on a 390px phone. Chrome's overlay scrollbar reserves no
   track, and lines 3 and 4 happen to end flush at the border, so nothing told
   a reader anything was missing. The hidden tail was
   "dkim=none; dmarc=fail header.from=vendor.example" - the exact evidence the
   next paragraph says to look for. Wrap instead of scroll. */
body.enterprise-public #main .alco-specimen {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* F82  F58 lifted the 860px cap off .content-line-graphic above 1500 so its
   right edge would meet the card row below it. The figures are aspect-locked
   SVGs, so all the surplus width became height: the intro figure on
   /industries and /services inflated to 1040x762 layout px beside a two-line
   paragraph 197px tall, and /partners doubled its diagram until its baked-in
   labels out-typed the body copy. Cap the figure, not the image, and pin it to
   the outer edge of its own track so the column edge is still honoured. */
@media (min-width: 1500px) {
  body.enterprise-public #main :is(.authentic-feature, .content-graphic-split) > figure.content-line-graphic {
    max-width: 640px;
  }
  /* 2026-10-11: this said `end` unconditionally, copied from the
     .content-graphic-split case below - but there the figure is the SECOND
     child, and here it is the FIRST. `end` pinned it to the right of its
     LEFT-hand track, so on /services and /industries the graphic sat 126px
     inboard (366 against a wrap starting at 240) while the card row below
     started at the page edge. Pin to whichever edge the figure's own track
     is actually on. */
  body.enterprise-public #main .authentic-feature > figure.content-line-graphic:first-child {
    justify-self: start;
  }
  body.enterprise-public #main .authentic-feature > figure.content-line-graphic:last-child {
    justify-self: end;
  }
  body.enterprise-public #main .content-graphic-split > figure.content-line-graphic {
    /* end, not start: the figure is the SECOND child here, in the right-hand
       track, so start pinned it to the middle of the page - measured
       861..1437 against a 123..1797 rail. */
    justify-self: end;
  }
  body.enterprise-public #main :is(.authentic-feature, .content-graphic-split) > figure.content-line-graphic img {
    width: 100%;
    max-width: 100%;
  }
}

/* F83  The closing CTA is a `1fr auto` grid, so widening the column to 1860
   sent the button to the far right - about 900 layout px from the sentence
   asking for it, with the copy capped at its own measure and a large hole
   between. Hold the CTA's inner layout to a width where the two still read as
   one unit. The band's background still spans the full column. */
@media (min-width: 1500px) {
  /* Do NOT touch the wrap's width here. It is the same .wrap every other
     block on the page uses, and its 180px gutter plus auto margins are what
     put every section on one left and right edge. Capping it centred the
     block ~300px inboard; capping it with margin-inline:0 pinned it to the
     viewport edge at x=0. Both were worse than the problem.
     The actual problem is the inner grid: `1fr auto` stretches the copy
     column across the whole row and parks the button at the far right, about
     900px from the sentence asking for it. Cap the copy column instead and
     let the button sit next to it. The wrap keeps the page's edges. */
  body.enterprise-public #main :is(.hq-closing-cta, .page-cta) > .wrap.hq-cta-layout {
    grid-template-columns: minmax(0, 1100px) auto !important;
    justify-content: start !important;
    column-gap: clamp(24px, 3vw, 72px) !important;
  }
}

/* F84  The prose-link treatment (F51/F52) matched `li > a` anywhere in #main,
   which swept in every link list on the site: all 167 links on /sitemap turned
   orange and underlined, and on the service pages it underlined whole related
   article cards, excerpt and all. `ul.ruled` is the site's link-list
   convention, not running copy, so take those back out. Separately the two
   links the rule SHOULD have caught - the phone number and email address in
   the contact card - sit in .contact-info, not in a paragraph, so they stayed
   plain black and read as unlinked text next to the street address. */
/* ul.ruled alone is too broad: the contact card's phone and email sit in one
   too, and those are exactly the links the review wanted treated as links.
   Name the two lists that are navigation instead. */
body.enterprise-public #main .sitemapgrid ul.ruled > li > a:not([class]),
body.enterprise-public #main ul.service-core-related-list > li > a:not([class]) {
  color: inherit;
  text-decoration: none !important;
}
body.enterprise-public #main .sitemapgrid ul.ruled > li > a:not([class]):hover,
body.enterprise-public #main ul.service-core-related-list > li > a:not([class]):hover {
  color: #c2560a;
  text-decoration: underline !important;
}

/* F82b  justify-self:end turns a grid item from stretch into shrink-to-fit, so
   the capped figure collapsed to the SVG's intrinsic 300px instead of filling
   its 640px box. Give it an explicit width so the cap is what decides. */
@media (min-width: 1500px) {
  body.enterprise-public #main :is(.authentic-feature, .content-graphic-split) > figure.content-line-graphic {
    width: 100%;
  }
}

/* F84b  The phone number and email in the contact card are plain <a> inside an
   li, so F51 should already colour them, but something later in the cascade
   was still painting them black and they read as unlinked text beside the
   street address. State it on the attribute selector instead of guessing which
   rule wins. */
body.enterprise-public #main a[href^="tel:"]:not([class]),
body.enterprise-public #main a[href^="mailto:"]:not([class]) {
  color: #ff8c2b !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
}

/* F85  The case-study template never got the prose measure cap the tool and
   legal pages got, so widening the column from 1320 to 1860 pushed its body
   copy to roughly 250 characters a line (measured 249ch on
   /case-studies/easy-reader) with the lede at 176ch. */
@media (min-width: 1500px) {

}

/* F86  The one full-width featured review on /testimonials was setting its
   body text across the whole 1860px column at about 202 characters a line,
   directly above review cards running a comfortable 96. Two measures on one
   screen, for the same kind of content. */
@media (min-width: 1500px) {
  body.enterprise-public #main figure.review :is(p, blockquote) {
    max-width: min(100%, 72ch) !important;
  }
}

/* F87  The location intro paragraph passed the ~90-character measure the rest
   of the pass enforces once the column widened. It was correct at 1440. */
@media (min-width: 1500px) {
  body.enterprise-public #main .location-intro :is(p, .lede) {
    max-width: min(100%, 90ch) !important;
  }
}

/* F88  F40 capped the byline row at 800px while the prose beside it measures
   880, so the hairline under the byline stopped 80 layout px short of the text
   it introduces - a rule that lines up with nothing. Match the prose. */

/* F89  F58 capped "Scope and responsibilities" at 1100px. It sits directly
   under a full-width three-up step grid, so its right border stopped partway
   across the second column, aligned to nothing. Below 1500 it already spans
   the full row; let it do the same above. */
@media (min-width: 1500px) {
  body.enterprise-public #main .industry-scope {
    max-width: none !important;
  }
}

/* F90  /company-history is a marketing page, but it renders in the 1120px
   article column, so its heading, body and closing CTA sat 333 layout px
   inboard of the masthead and footer. Put it on the same edges as every other
   marketing page and cap the prose instead of the container. */
@media (min-width: 1500px) {
  body.enterprise-public.page-company-history #main .wrap,
  body.enterprise-public:has(.page-company-history) #main .wrap {
    width: min(100% - 180px, 1600px) !important;
    max-width: min(100% - 180px, 1600px) !important;
  }

}

/* F91  The legal pages keep a narrower document column on purpose - F34, so a
   terms page is not read at 1860px - but that pulled the hero title inboard of
   the masthead too, which is the one thing the rest of today's pass was for.
   Let the page heading span the full column and leave the document where it
   is, so the title lines up and the prose stays measured. */
@media (min-width: 1500px) {
  body.enterprise-public:has(.legal-page) #main .phead > .wrap {
    width: min(100% - 180px, 1600px) !important;
    max-width: min(100% - 180px, 1600px) !important;
  }
}

/* F92  .split.wide-left was resolving to a 780px left track and a 1fr right
   one, so above 1500 the class named "wide-left" produced a narrow left and
   handed every new pixel to the right-hand child. On /pricing the aside grew
   to 1032 while the form card stayed 780 and stopped at its old height; on
   /careers the photo outgrew the copy and left a hole under the text. Give
   the surplus to the side the class names. */
@media (min-width: 1500px) {
  body.enterprise-public #main .split.wide-left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 780px) !important;
  }
}

/* F93  The three "Explore our services" links stretched to a full grid track
   each, so a two-word label sat centred in a 387px bordered bar - the links
   read as empty strips. Size them to their text. */
@media (min-width: 1041px) {
  body.enterprise-public #main nav.industry-service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  body.enterprise-public #main nav.industry-service-links a {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
  }
}

/* F94  One reviewer attribution on /testimonials is an outbound link to a Yelp
   profile but was styled exactly like the twenty plain-text attributions round
   it - no colour, no underline, no hover. */
body.enterprise-public #main figure.review :is(strong, figcaption) > a[href^="http"] {
  color: #ff8c2b;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
}

/* F95  Below the 1041 breakpoint the partner description sentence took the
   same 600 weight as the partner name above it, so nine cards read as two
   stacked headings each instead of a name and a description. */
@media (max-width: 1040px) {
  body.enterprise-public #main .logos .logonote {
    font-weight: 400;
  }
}

/* F96  Three-card rows drop to two columns at tablet width, which leaves the
   third card alone beside an empty half-width cell - three times over on the
   home page. Let a trailing odd card use the whole row. */
@media (min-width: 621px) and (max-width: 1040px) {
  body.enterprise-public #main .grid.c3 > *:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* F97  The industry detail pages kept their intro band in two columns at
   tablet width while the equivalent band on the service pages stacks, so the
   landscape diagram was squeezed into a 322px track and its baked-in labels
   became unreadable. Stack it, like the service pages already do. */
@media (max-width: 1040px) {
  body.enterprise-public #main .wrap.industry-overview {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.enterprise-public #main .wrap.industry-overview figure.page-body-diagram {
    max-width: 520px !important;
    margin-inline: 0 !important;
  }
}

/* F98  The click-to-play circle was a fixed 76px on a poster that scales with
   the column: 6% of the poster at desktop, 22% on a phone, where it covered a
   fifth of the artwork. Scale it with the poster and keep it a circle - at
   390 it was rendering 64x50, an egg, because a flex item with no height
   guard plus border-radius:50% is an ellipse. */
body.enterprise-public #main :is(.training-facade, .training-video-placeholder) .training-play-mark {
  width: clamp(52px, 9%, 88px) !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  flex: 0 0 auto !important;
}

/* F99  The affordance was inverted: the "video coming soon" placeholder, which
   cannot be played, wore the solid brand-orange button, while the posters that
   are actually clickable got a muted translucent grey one. Swap them, so the
   loud control is the one that does something. */
body.enterprise-public #main .training-facade .training-play-mark {
  background: #FF8C2B !important;
  color: #fff !important;
}
body.enterprise-public #main .training-video-placeholder .training-play-mark {
  background: rgba(26, 26, 26, .18) !important;
  color: #5A5F66 !important;
}

/* F100  .training-player carries a near-black background that the poster
   normally covers edge to edge. On the one page with no video the placeholder
   is 43px shorter than its wrapper, so two solid black bars sat above and
   below it. Nothing is being letterboxed there, so drop the backdrop. */
body.enterprise-public #main .training-player:has(.training-video-placeholder) {
  background: transparent !important;
  padding: 0 !important;
}

/* F101  "Sources and further reading" is one paragraph of bare URLs separated
   by <br> at body line-height, so on a phone it collapses into a wall of
   orange underline with no gap between entries and no way to tell a wrapped
   line from a new one. Give each entry its own block and a hanging indent. */
body.enterprise-public #main p > a[href^="http"] {
  display: inline-block;
  max-width: 100%;
  margin-block-end: .35rem;
  text-indent: 0;
  overflow-wrap: anywhere;
}

/* F102  The first two panels a phone visitor meets on a tool page look like
   the same component but are not: "Open this tool" pads 12px and "About this
   tool" pads 28px, so their text starts 16px apart and the two left edges
   step. Give them one inset. */
@media (max-width: 620px) {
  body.enterprise-public #main :is(section.tools-access, section.tool-help) {
    padding-inline: 20px;
  }
}

/* F103  Three measures stack inside one card on /accessibility - the body
   paragraphs stop about 122px short of the card's own inner edge while the
   list beneath them runs the full width, so the right edge steps in and out
   twice as you read down. One measure for the card. */
body.enterprise-public #main .card :is(p, li, dd) {
  max-width: min(100%, 72ch);
}

/* F104  At tablet width the partner line diagram is squeezed into a 296px
   track and renders smaller than it does on a 390px phone, which drops its
   baked-in labels to about 7px. Stack the band instead, the way the industry
   overview now does. */
@media (min-width: 621px) and (max-width: 1040px) {
  body.enterprise-public #main .content-graphic-split {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.enterprise-public #main .content-graphic-split > figure.content-line-graphic {
    max-width: 520px !important;
    margin-inline: 0 !important;
  }
}

/* F105  Source lists used to be one paragraph with <br> between entries, so
   there was no space between sources and a wrapped entry was indistinguishable
   from a new one. inc/crmdata.php now emits a real <ul class="article-sources">;
   this gives each entry room and a hanging indent, so the continuation of a
   long URL sits clear of the next source's first character. */
body.enterprise-public #main ul.article-sources {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  max-width: min(100%, 72ch);
}
body.enterprise-public #main ul.article-sources > li {
  margin: 0 0 .6rem;
  padding-left: 1.4em;
  text-indent: -1.4em;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
body.enterprise-public #main ul.article-sources > li:last-child {
  margin-bottom: 0;
}
/* F101 made every external link in a paragraph an inline-block with a bottom
   margin so the old <br> wall had some rhythm. Inside a real list that is no
   longer needed and would double the spacing. */
body.enterprise-public #main ul.article-sources > li > a[href^="http"] {
  display: inline;
  margin-block-end: 0;
  /* These measure 17px tall. min-height does nothing on an inline box, and
     inline-block would stop the long URLs wrapping, so the hit area grows
     with padding instead: 18.9 nominal text + 2x4 = 26.9, painting at 24.2.
     An inline box counts vertical padding in its border box, so this is a
     real target, not just a nicer number. (Re-applied 2026-10-09.) */
  padding-block: 4px;
}

/* F106  #20 verified. The industry intro figure only got justify-self:end
   above 1500, so at 1280 and 1440 its right edge stopped 60px short of the
   content column while every other block on the page met it - a ragged right
   margin on the first band of all five detail pages. The figure is already
   narrower than its track (360 in 533), so pinning it to the track end moves
   it without resizing it. */
@media (min-width: 1041px) and (max-width: 1499.98px) {
  body.enterprise-public #main .wrap.industry-overview > figure.page-body-diagram {
    /* justify-self:end computed correctly here but the figure still rendered
       centred in its track (measured 894..1254 inside a track of 834..1314).
       Auto margins right-align it without depending on that. */
    justify-self: end;
    margin-inline: auto 0 !important;
  }
}

/* F107  #32 verified, and the reviewer was right where I was wrong. The video
   poster GREW to the full column below 1500 (1320 layout px at a 1440 screen)
   and then SHRANK to the 1240px cap above it, so the poster was genuinely
   smaller on a 1920 screen than on a 1440 one. Raise the cap past the widest
   uncapped size so it never goes backwards. */
body.enterprise-public #main .training-player {
  /* 1600, not 1480: the wrap is min(100% - 180px, 1600px), and under
     html{zoom:.9} a 1480 cap painted 1332 against a 1440 wrap - the
     player stopped 108px short of every other block on the page. */
  max-width: min(100%, 1600px) !important;
}

/* F108  #41 verified: the sitemap's three columns ended 1059px apart at 1920
   and 1249px apart at 1440, because align-items:start lets each card in the
   final row stop at its own content height. Stretching them makes each row's
   cards share a bottom edge, so the grid reads as a grid instead of trailing
   off. CSS multi-column is deliberately not used here - it was tried on
   2026-10-07 and clipped the link titles. */
/* F108 WITHDRAWN. align-items:stretch made no measurable difference: the
   column bottoms still ended ~1000px apart, because the spread is caused by
   the Insights card holding roughly sixty links while its neighbours hold
   five. That is the shape of the content, not a layout fault, and the two
   CSS answers both have worse side effects - multi-column was tried on
   2026-10-07 and clipped the link titles, and forcing equal heights just pads
   the short cards with whitespace. Left for Adam to decide whether to split
   the Insights list. */

/* F109  #43 verified, and my earlier dismissal was wrong: I measured the
   <figure>, which does sit on the page margin, but the <img> inside it is
   centred. Below the two-column breakpoint that leaves the illustration
   floating 112-198px inside the edge the h1, both h2s, the form and the
   contact card all share. */
@media (max-width: 960px) {
  body.enterprise-public #main .contact-layout figure.content-line-graphic img {
    margin-inline: 0 auto !important;
  }
}

/* F110  The closing CTA again. F83 and its two corrections fixed the LEFT
   edge - the block now starts on the page margin - but the row's content
   still stopped ~480px short of the right rail at 1920 and 2560, because
   capping the copy column also pulled the button in behind it. Six agents
   reported it independently. Cap the copy for readability AND send the
   button to the rail, so the band fills the frame like every other block.
   Measured before: rail 1797, button right edge 1316. */
@media (min-width: 1500px) {
  body.enterprise-public #main :is(.hq-closing-cta, .page-cta) > .wrap.hq-cta-layout {
    grid-template-columns: minmax(0, 1100px) 1fr !important;
  }
  body.enterprise-public #main .wrap.hq-cta-layout > :is(.hq-cta-actions, .btnrow) {
    justify-self: end !important;
  }
}

/* F111  Several ledes carry no measure cap at all and run to the full rail:
   176 characters a line on the home page and /tools, 98-99 on
   /people/adam-leveille and /services/hosting. A lede is large type, so it
   needs a tighter measure than body copy, not a looser one. */
body.enterprise-public #main :is(p.lede, .lede) {
  /* 76ch, not 84: ch overstates badly in this font, so 84ch resolved to
     888px and the ledes on /why-alco and /about measured 108 and 104 real
     characters a line. 76ch lands them near 98 and 94 and leaves the
     typical lede about 82. Measured with canvas, not the ch unit. The
     F90b and F127 comments below still say 84ch; they mean this cap. */
  max-width: min(100%, 76ch);
}

/* F112  Touch targets at tablet width. The root carries zoom:0.9 from 768px
   up, so a control given the nominal 24px minimum actually paints at 21.6
   device px - under the floor, and invisible to any check that reads the CSS
   rather than the rendered box. Measured at 768 on the home page: 29 of 69
   links and buttons under 24px. 27px nominal lands at 24.3px painted. */
/* F112b  No upper bound. html{zoom:.9} is declared in alco-chrome.css for
   every width from 768 up, so a nominal 24px control paints at 21.6 device
   px on desktop too, not only on tablet. The original 1040px ceiling was
   wrong. Also covers the masthead logo and the consent-bar policy links,
   which the first pass missed. */
@media (min-width: 768px) {
  body.enterprise-public :is(
    header nav a, .masthead .mainnav a, .masthead a.logo,
    .cookiebar a, .cookiebar .cklink,
    .alco-footer-v2 a, .alco-footer-v2 button,
    .footer-nav a, .footlinks a, .footlinks button,
    .foot-svc a, .foot-company-links a
  ) {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    /* No justify-content here. It was added on 2026-10-09 to centre the social
       icons and the reasoning was wrong: "text links shrink-wrap" does not
       hold for the ones their parent stretches, so it also centred the nav
       dropdown items and the footer column headings, which are <button>s.
       The chips get it on their own below. */
  }
}

/* The social chip centring moved to alco-unify.css on 2026-10-11: that sheet
   is in BOTH tail bundles, and scoping it to .enterprise-public meant the
   signed-in footer never got it - the icons still sat 1px from the left edge
   of a 34px chip there. */

/* F113  Article pages still sat 297-333px inboard of their own masthead and
   footer after F47's 1120 cap was removed, because public-enterprise.css has
   a higher-specificity rule that pins them to var(--alco-wrap) - 1200px - with
   !important:
     body:has(.articlebody) .phead .articleintro,
     body:has(.articlebody) .section > .wrap { max-width: var(--alco-wrap)!important }
   Match its shape and give article pages the same rail the chrome uses, at
   both desktop bands. The prose keeps its own 880px measure, so only the
   frame moves - the heading, byline, related cards and CTA now line up with
   the logo and the footer. */
@media (min-width: 1041px) and (max-width: 1499.98px) {
  body.enterprise-public:is(:has(.articlebody), :has(.article-wrap)) #main .section > .wrap,
  body.enterprise-public:is(:has(.articlebody), :has(.article-wrap)) #main .phead .articleintro,
  body.enterprise-public:is(:has(.articlebody), :has(.article-wrap)) #main .phead > .wrap {
    width: min(1320px, calc(100% - 80px)) !important;
    max-width: 1320px !important;
  }
}
@media (min-width: 1500px) {
  body.enterprise-public:is(:has(.articlebody), :has(.article-wrap)) #main .section > .wrap,
  body.enterprise-public:is(:has(.articlebody), :has(.article-wrap)) #main .phead .articleintro,
  body.enterprise-public:is(:has(.articlebody), :has(.article-wrap)) #main .phead > .wrap {
    width: min(100% - 180px, 1600px) !important;
    max-width: min(100% - 180px, 1600px) !important;
  }
}

/* F111b  The lede cap needs !important: something upstream sets max-width:none
   at a higher specificity, so /tools and the home page were still running 176
   characters a line. */
body.enterprise-public #main :is(p.lede, .lede) {
  max-width: min(100%, 76ch) !important;
}

/* F114  The featured review measure was only capped above 1500, so at 1280
   and 1440 the lead card ran 141 characters a line while the review cards
   directly beneath it ran a comfortable 92. Cap it at every desktop width. */
@media (min-width: 1041px) {
  body.enterprise-public #main figure.review :is(p, blockquote) {
    max-width: min(100%, 72ch) !important;
  }
}

/* F115  F91 widened the legal page heading to the rail so the title lined up
   with the masthead, but left the document band at 1420 - so the heading now
   overhung the body it introduces by 198px a side. Give the body band the
   same rail. The rail column and the .legal-document prose measure are
   unchanged, so only the frame moves; this is the same treatment the article
   template now uses - full-width frame, capped prose. */
@media (min-width: 1500px) {
  body.enterprise-public:has(.legal-page) #main .section.legal-page > .wrap {
    width: min(100% - 180px, 1600px) !important;
    max-width: min(100% - 180px, 1600px) !important;
  }
}

/* F116  The cookie inventory table overflows its own container by 19px at
   1280 and 1440, cutting the final column. Let the wrapper scroll so nothing
   is lost, and let the cells wrap so it usually does not need to. */
body.enterprise-public #main .legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
body.enterprise-public #main table.legal-table :is(td, th) {
  overflow-wrap: anywhere;
}

/* F117  The IAMCP badge image starts 7px left of its own anchor box, so the
   badge is visibly offset from the link and from the Caldwell Chamber row
   above it, which is flush. */
body.enterprise-public footer .alco-membership-iamcp img {
  margin-left: 0 !important;
}

/* F116b  The table is forced 20px wider than its own scroll container, so the
   last column was clipped. overflow-x:auto already stops the content being
   lost; this lets it simply fit instead. */
body.enterprise-public #main table.legal-table {
  width: 100%;
  min-width: 0;
}

/* F118  In the unsubscribe form column the heading ran the full column width
   while the form beneath stopped at 627, leaving a ragged right edge under
   the heading. Hold the heading and its lede to the form's own measure so the
   block reads as one unit. */
@media (min-width: 1041px) {
  /* A length, not ch: ch scales with font-size, so 62ch on the 34px heading
     resolved to 1103px - wider than the column it was supposed to fit inside.
     560px matches the form's own cap directly beneath it. */
  body.enterprise-public #main .unsubscribe-layout > div > :is(h2, p) {
    max-width: min(100%, 560px) !important;
  }
}

/* F119  F96 fills a trailing odd card across the whole row so a 3-up grid
   does not leave an empty half cell at tablet width. That reads fine for the
   home page pathway cards, but on the article "More from ALCO" row - where
   every card carries a 16:9 thumbnail - it produces one card at twice the
   width of its neighbours with a correspondingly huge image. Keep the fill
   where it helps and opt the related-insights row out. */
@media (min-width: 621px) and (max-width: 1040px) {
  body.enterprise-public #main .section.grey .grid.c3 > *:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

/* F118b  needs !important, like every other measure rule in this file. */


/* F120  /contact: the 520px cap on the line graphic bites once the right
   column grows past 520 layout px (about 1150-1499 CSS px), centring the
   illustration 29 layout px inboard of the h2 and the contact card stacked
   under it. Scoped to .contact-layout on purpose - F82 records that lifting
   this cap globally re-inflates the aspect-locked SVGs on /industries and
   /services. */
@media (min-width: 1041px) and (max-width: 1499px) {
  body.enterprise-public #main .contact-layout figure.content-line-graphic img {
    max-width: 100%;
    margin-inline: 0;
  }
}

/* F121  .prose-wide sets max-width:none, which removes the site's own prose
   measure and lets article bodies run to the full 880px wrap - a median of
   93 characters a line, and 103 at 768. A 40rem cap lands near 81. Three
   class selectors out-specify .prose-wide, so no !important is needed, and
   the cap is inert at 390 where the container is already narrower. */
.prose.prose-wide.articlebody {
  max-width: 40rem;
}

/* F122  The closing-CTA copy still ran 96 characters a line inside its 1100px
   track. Needs to out-specify two blanket !important rules above it. */
body.enterprise-public #main :is(.hq-closing-cta, .page-cta) .hq-cta-copy :is(p, .lede) {
  max-width: min(100%, 64ch) !important;
}

/* F123  The phone and email in the ruled contact aside are stacked inline
   links with a 17px hit area on a phone - the page's main conversion targets,
   under the 24px floor. Scoped to ul.ruled so the in-sentence mailto links in
   legal and unsubscribe prose are untouched. */
@media (max-width: 1041px) {
  body.enterprise-public #main ul.ruled li > a[href^="tel:"],
  body.enterprise-public #main ul.ruled li > a[href^="mailto:"] {
    display: inline-block;
    padding-block: 5px;
    /* 27, not 24: zoom .9 applies from 768px, inside this 1041px cap too. */
    min-height: 27px;
  }
}

/* F124 (rewritten 2026-10-09, Adam: "supposed to be only in the left corner").
   The original problem was real: the card is position:fixed with an opaque
   background, and on /payments it sat over the "Payment amount" input and
   took the clicks. My first fix made it a full-width bottom strip, which
   solved the overlap but turned a small card into a band across the whole
   footer. The card goes back to the bottom-left corner that alco-chrome.css
   already designs for, and the overlap is handled by reserving just enough
   room at the foot of the page instead of a third of the viewport.
   No consent wording, option or logic is changed - this is placement only. */
.cookiebar.cookiebar {
  inset: auto auto 24px 24px !important;
  width: min(420px, calc(100vw - 48px)) !important;
  max-width: none !important;
  max-height: min(72dvh, 560px) !important;
  padding: 20px !important;
  border-width: 1px !important;
  border-radius: 10px !important;
  box-shadow: rgba(23, 23, 23, .16) 0 10px 34px !important;
  overflow-y: auto;
}
.cookiebar.cookiebar .ckrow { max-width: none; margin-inline: 0 !important; }
/* The two small links read better under the buttons than centred between
   them, and they line up with the title and copy above. */
.cookiebar.cookiebar .cklinks { justify-content: flex-start !important; }

@media (max-width: 650px) {
  /* Below 650 alco-chrome.css already stretches it edge to edge, which is the
     right call on a phone - just keep it compact. */
  .cookiebar.cookiebar {
    inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px !important;
    width: auto !important;
    max-height: 60dvh !important;
    padding: 16px !important;
    border-radius: 10px !important;
  }
}

/* /payments lays its form down the left column (x 142-930 at 1920) - exactly
   where a bottom-left card lands, which was the original F124 defect: the
   card took the clicks on the amount field. The right half of that wrap is
   empty, so on this page the card sits bottom-right instead. Above 650px
   only; on a phone both are full width and the reservation below handles it. */
@media (min-width: 651px) {
  body.page-payments .cookiebar.cookiebar {
    inset: auto 24px 24px auto !important;
  }
}

/* Room at the foot of the page so the card never parks on top of the last
   control - 34-42dvh was sized for the full-width strip and is far too much
   for a 420px card. */
/* Removed (Adam, 2026-10-26: "whitespace below until i accept analytics"): the
   card floats and carries its own policy links, so no blank band is reserved. */

/* F121b  The 40rem cap lost to a max-width:none further down the cascade, so
   article bodies were still running 93 characters a line. State it. */
body.enterprise-public #main .prose.prose-wide.articlebody {
  max-width: 40rem !important;
}

/* F90b  The company-history measure only applied above 1500, so at 1280 and
   1440 its paragraphs still ran the full 1188px column. Restate it at 1041,
   the site's own desktop breakpoint - the same one the legal measure uses.
   .lede is dropped from the selector so it keeps its tighter 84ch cap rather
   than widening to 92ch below 1500. */
@media (min-width: 1041px) {
  body.enterprise-public.page-company-history #main :is(p, li, dd) {
    /* 72ch, not 92. Measured by rendered line boxes: 92ch produced a median
       of 108 real characters a line because ch is the "0" glyph, which is
       wider than this face's average character. 72ch lands in the 80s - the
       same correction the legal measure needed. */
    max-width: min(100%, 72ch) !important;
  }
}

/* F85b  The case-study measure had both of the faults this audit kept turning
   up: it was gated above 1500, so 1280 and 1440 ran uncapped at 188 characters
   a line, and 92ch still rendered 118 because ch is the "0" glyph rather than
   this face's average character. No media query - min(100%, ...) already keeps
   it inert at 390 and 768 where 100% wins - and 72ch, the value measured to
   land in the 80s on the legal and company-history pages. */
body.enterprise-public:has(.casehero) #main :is(p, li, dd) {
  /* 68ch: at 72ch the worst lines still hit 107 here. Same cap, different
     result from the legal and company-history pages, because characters per
     line also depends on how long the words are - this page has shorter ones.
     Measured, not estimated. */
  max-width: min(100%, 68ch) !important;
}

/* F125  The tool-page panels ("Open this tool" and "About this tool") have no
   measure cap, so their copy runs past 100 characters a line. The cap must
   apply at every width: at 768 the container is already narrower than the cap
   would be, so min() keeps it inert there. */
body.enterprise-public #main :is(.tool-help, .tools-access, .tool-intro) :is(p, li) {
  max-width: min(100%, 72ch) !important;
}

/* F112c  The consent-bar policy links already carry min-height:24px from the
   base stylesheet, which paints at 21.6 device px under html{zoom:.9}. The
   F112b rule lost to it on specificity, so state it. */
@media (min-width: 768px) {
  body.enterprise-public .cookiebar :is(a, .cklink) {
    min-height: 27px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* F112d  An existing rule, body.enterprise-public .cookiebar .cklinks
   a.cklink { min-height:24px !important }, outranks F112b/c. 24 CSS px paints
   at 21.6 device px under html{zoom:.9}; 27 paints at 24.3. Same selector, so
   this wins on source order. */
body.enterprise-public .cookiebar .cklinks a.cklink {
  min-height: 27px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* F126  A site-wide prose measure, instead of the page-by-page caps this
   audit kept having to add one template at a time.
   Measured by rendered line boxes, not by dividing width by font size: the
   tool and training pages were still running medians of 105-113 characters a
   line, because every cap so far was written for a specific template and
   those two never got one.
   72ch is the value measured to land in the 80s on the legal, company-history
   and industry pages. min(100%, ...) makes it inert wherever the container is
   already narrower - phones, cards, table cells - so it only bites where a
   paragraph would otherwise stretch across a full desktop rail.
   Deliberately NOT !important: any template that genuinely needs a wider
   measure can still say so, and the tighter per-page caps above still win. */
body.enterprise-public #main :is(p, li, dd) {
  max-width: min(100%, 72ch);
}

/* F127  The one-line tool intro is centred by auto inline margins while its
   own h1 above and the "Open this tool" / "About this tool" panels below are
   left-aligned, so it floats off the column's left edge. Its two siblings are
   already de-centred; the intro was missed. Keep the 84ch measure - that is
   what the auto margins were resolving against. */
body.enterprise-public #main .tool-center > p.lede.tool-intro {
  margin-inline: 0 !important;
  max-width: min(100%, 84ch);
}

/* F128  /why-alco: the "Measured service" band stacks at 900px but the 2-up
   card grid nested inside it only collapses at 620px, so between 901 and 1499
   two 32px-padded cards are forced into the narrow right-hand track - about
   27 characters a line. Collapse the nested grid while the band is still
   side by side. */
@media (min-width: 901px) and (max-width: 1499.98px) {
  body.enterprise-public #main .split.wide-left .grid.c2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* F129  Three white cards stack in the same column on the tool pages with
   three different treatments: .tools-access has a 10px radius and 24px
   padding, .tool-help has square corners, 28px padding and a different
   border grey. Match them. */
body.enterprise-public #main .tool-center > .tool-help {
  border: 1px solid #DCDFE3 !important;
  border-radius: 10px;
  padding: 24px;
}
@media (max-width: 620px) {
  body.enterprise-public #main .tool-center > :is(.tools-access, .tool-help) {
    padding-inline: 20px;
  }
}
body.enterprise-public #main .tool-workspace {
  border-radius: 10px;
}

/* F131 - tap targets, second pass of the 2026-10-09 audit. The first pass
   lifted the logo, byline, training fallback and badge links to 27px. These
   are the groups it missed, all still painting at 16-21.6 device px because
   a nominal 24 shrinks to 21.6 under the site's 0.9 page zoom:
     td/th > a            21.6px  legal and cookie tables
     .legal-rail-contact  21.4px  display:block, no min-height at all
     .skip                23.8px  visible once focused, so it is a real target
   None is a link inside a sentence, so WCAG 2.5.8's inline exception does
   not apply to any of them. */
body.enterprise-public #main :is(td, th) > a,
body.enterprise-public .legal-rail-contact > a,
body.enterprise-public a.skip {
  min-height: 27px !important;
  display: inline-flex !important;
  align-items: center !important;
}
body.enterprise-public .legal-rail-contact > a { display: flex !important; }

/* A tel: link that is the whole paragraph is a control, not a link in a
   sentence. Padding grows the hit box without disturbing the line box; an
   inline box counts its vertical padding in its border box, so this is a
   real target and not just a nicer measurement. */
body.enterprise-public #main p > a[href^="tel:"] { padding-block: 6px; }

/* F133 - photo scale (Adam, 2026-10-09: "this pic is massive").
   The home and about photo blocks put the text column on a cap but let the
   photo track take every remaining pixel, so above 1440 the photo kept
   growing while the copy stood still. Measured at 1920:
     .company-photo--home    912x684   (509x382 at 1440, which reads fine)
     .company-photo--outing  826x620
   600px holds the proportion the layout was designed around. The grid is
   pushed to space-between and the figures to the end of their track so the
   page's right edge still lines up with every other section. */
@media (min-width: 1441px) {
  body.enterprise-public #main figure.company-photo { max-width: 600px; }

  body.enterprise-public #main .home-difference--with-photo {
    grid-template-columns: minmax(0, 780px) minmax(0, 600px);
    justify-content: space-between;
  }
  body.enterprise-public #main .split.wide-left > figure.company-photo,
  body.enterprise-public #main .home-difference--with-photo > figure.company-photo {
    justify-self: end;
  }
  body.enterprise-public #main .company-life-gallery > figure.company-photo {
    justify-self: center;
  }
}

/* The contact page's line illustration grew the same way - 702x515 at 1920.
   It is vector, so it loses nothing by being smaller, and it sat taller than
   the form beside it. */
@media (min-width: 1441px) {
  body.enterprise-public #main .content-line-graphic { max-width: 560px; }
}

/* F134 - the three measures the closing audit found genuinely out of range.
   All three compute to max-width:none, so they ran the full content column:
     /careers        p.muted        213 characters a line at 1920
     /estore         p.estore-note  198
     /company-history  article <p>  102 at 768 (the wrap is only 732 there)
   Measured with canvas against the rendered text, not `ch`: at 16px this face
   averages 6.86px a character, so 68ch (545px) lands at about 79. Scoped to
   these three rather than applied broadly - a blanket measure is what made
   the section widths ragged earlier today. */
/* /careers and /estore carry no page-level body class, so these are scoped by
   their own class instead. min(100%, ...) keeps both inert wherever the
   container is already narrower. */
body.enterprise-public #main p.muted,
body.enterprise-public #main p.estore-note,
body.enterprise-public.page-company-history #main .article-wrap > p {
  max-width: min(100%, 68ch) !important;
}

/* F136 - ul.ruled is a card list, not running text (Adam: "the how we work
   section needs to be wider"). Each item carries its own border and sits in
   an 860px column, but the generic prose measure above matches `li` and was
   cutting them to 577px - 283px short of the page's right edge, while the
   photo band above reached it. Swept 14 pages for p/li/dd that carry a border
   or background and are capped more than 100px inside their parent: this list
   is the only one, so the exemption stays narrow. */
body.enterprise-public #main ul.ruled > li {
  max-width: none;
}

/* F137 - unify every section on the page width (Adam, 2026-10-09: "every
   single section must be unified in page width", "the remote first section
   needs full width alignment too").

   These are two-column bands whose right column holds prose. The track was
   much wider than the measure, so the text stopped short of the page edge
   while the photo and card bands reached it - at 1920, Remote first ended
   352px short and the company-life intro 111px.

   Stretching the prose to fill a 1032px track would mean about 113 characters
   a line, which is the readability problem we just removed. Sizing the track
   to the measure instead gets both: the track is the LAST one in the grid, so
   its right edge IS the wrap's right edge, and the prose fills it at roughly
   79 characters. The copy moves right to meet the page edge rather than the
   lines growing. */
@media (min-width: 1041px) {
  body.enterprise-public #main :is(#remote-first, .about-working) > .wrap,
  body.enterprise-public #main .life-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 34rem) !important;
  }
  /* ...and the prose fills that track instead of carrying its own narrower cap. */
  body.enterprise-public #main :is(#remote-first, .about-working) > .wrap > :last-child :is(p, li, dd),
  body.enterprise-public #main .life-intro-grid > :last-child :is(p, li, dd) {
    max-width: none !important;
  }
}

/* F138 - gallery figures fill their track (Adam: "more alignment issues").
   F133 caps figure.company-photo at 600px, which is right for the single
   large photo bands it was written for - those sit in a 1032px track and
   were reaching 914px. It is wrong inside the 2-up galleries, where each
   figure already has a track of its own: the cap left them 85px short at
   1920 and 142px at 1024, so the gallery stopped before the page edge while
   the text above reached it. Inside a gallery the track is the constraint,
   so the figure just fills it. */
/* 769, not 1041: the gallery is already 2-up at 1024, where it was still
   142px short. Below 769 it is a single column and fills anyway. */
@media (min-width: 769px) {
  body.enterprise-public #main :is(.company-life-gallery, .life-gallery) > figure.company-photo {
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }
}

/* F139 - an article page disagreed with itself. Measured at 1920:
     .articleintro   792px painted (115 characters a line)
     .articlebody    576px painted (84)
   both flush left, so the column visibly stepped in halfway down the page.
   The body's 40rem is the measure that was tuned for reading; the intro now
   matches it, which makes the article one column instead of two widths.
   Long-form prose stays on its measure rather than filling the 1440px wrap -
   that would be about 210 characters a line. */
body.enterprise-public #main .articleintro > .prose,
body.enterprise-public #main .articleintro p {
  max-width: none !important;
  margin-inline: 0 !important;
}

/* .articleintro.has-image is a two-track grid - 1388px for the copy and 180px
   for a small thumbnail - so the title centred inside the 1388 track while the
   body centred inside the 1440 wrap, leaving them 95px out of step. One column
   puts both on the same centre line; the thumbnail stacks under the title,
   which at 162px wide it can afford to do. */
@media (min-width: 1041px) {
  body.enterprise-public #main .articleintro.has-image {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  /* Left, not centred: that auto margin was right while the column was
     centred, but the column is the full site width now and the thumbnail was
     the only thing still floating in the middle. */
  body.enterprise-public #main .articleintro.has-image > figure.articlefeature {
    margin-inline: 0 !important;
    justify-self: start !important;
  }
}

/* F140 - the rest of the article column follows the body. The title and the
   source list carry their own caps, so without this they would stay flush
   left while the body and byline centred, which reads worse than either
   choice applied consistently. */

/* F141 - the article column is the site width (Adam, 2026-10-11: "articles
   need to be as wide as the rest of the sites content"). Every block in the
   column - title, thumbnail, byline, body, sources - now shares the same
   240..1680 edges as the cards, galleries and CTAs on every other page.

   Amended 2026-10-12: Adam asked for the line length to be capped after an
   audit measured 174-183 characters a line at 1440 (comfortable is 75-90).
   The column keeps its LEFT edge rather than centring, because the article's
   thumbnail is a 180px figure sitting at that same edge - centring the text
   would strand it. So every block still shares one left edge, which is what
   this block was written for; the lines simply wrap sooner. 40rem is 640px,
   about 88 characters at this font's measured 7.25px average. Measured with
   canvas, not the ch unit, which overstates badly in this font. */
/* .articleintro is itself the .wrap element on these pages, so it must keep
   the wrap's own width - uncapping it sent the page header full-bleed to
   0..1920. Only its inner .prose belongs in this list. */
body.enterprise-public #main :is(
  .articleintro > .prose, .article-meta,
  .articlebody, .prose.articlebody, .prose.prose-wide.articlebody,
  .article-sources
) {
  /* 803px, not 40rem. Adam, 2026-10-12: "post pages need to match the rest of
     the pages widths". Measured at an 1850px viewport, every page shares a
     1600px wrap but their body columns did not: /services and /why-alco ran
     780px, /company-history 719px, and the articles 640px - visibly the
     narrowest thing on the site. 803px is what the sitewide
     "min(100%, 72ch)" body cap resolves to at the base font size, so the
     article column now lines up with the other templates instead of sitting
     inside them. */
  max-width: min(100%, 803px) !important;
  width: 100% !important;
  margin-inline: 0 !important;
}
/* These inherit the column's cap above; they must not re-introduce one of
   their own, or the body would sit narrower than the title. */
body.enterprise-public #main .articlebody :is(p, li, dd, blockquote) {
  max-width: none !important;
}
/* The title carried its own 1180px cap, so it stopped 378px short of the body
   beneath it. Same edges for the whole column. */
body.enterprise-public:has(.articlebody) #main .articleintro h1 {
  max-width: none !important;
}

/* F142 - the last two blocks the width scan found short of the page edge.

   /industries/* at 1024: the intro .lede carries a 887px measure but the
   column is 952 there, so it stopped 153px short while the heading above it
   and the cards below reached the edge. The page is stacked at that width -
   there is nothing beside the lede for the slack to belong to.

   /services/* at 1440: the diagram is 360px in a 609px track and was sitting
   at its track's start, 94px inboard of the wrap. It is the second child, so
   end is the edge its own track is on - the same first-child/last-child
   distinction that had the /services hero graphic pinned the wrong way. */
@media (min-width: 769px) and (max-width: 1040px) {
  body.enterprise-public #main .industry-intro .lede {
    max-width: none !important;
  }
}
body.enterprise-public #main .service-core-intro .split > figure.page-body-diagram:last-child {
  /* margin-inline:auto has to go with this: auto margins on a grid item
     absorb the free space before justify-self ever gets a say, so `end`
     alone left the diagram sitting centred in its track. */
  justify-self: end !important;
  margin-inline: 0 !important;
}



/* ===== F143 Homepage hero enquiry form =====
   The hero held a three-box diagram that restated the nav, so it now asks for
   the enquiry instead. It posts to /contact, which already owns the
   validation, rate limiting, honeypot and Turnstile check.

   Two layout facts drive the rules below.
   - The hero's second column is about 445px at a 1440px viewport but only
     296px at 820px, and Turnstile reserves 300px for its own widget. Below
     1150px the form therefore leaves the column and sits full width under the
     hero copy, where the name/email pair also stays side by side instead of
     stacking into a tall ribbon.
   - html{zoom:.9} applies from 768px up, so nominal sizes paint at 0.9x: the
     28px interest rows paint at 25px, clearing the 24px minimum this site is
     audited against. The submit button has to fight for its height - a
     sitewide "body:is(...) #main :is(.btn, ...) { min-height:42px !important }"
     otherwise wins and paints it at 38px. That selector carries an id, so
     !important alone is not enough - the rule below matches its id and adds a
     class to outrank it. 48px paints at 43px, matching the field above it.
     Deliberately scoped to this one button rather than raising every button
     on the site, which is a separate question.
   public-enterprise.css hides .hero-image outright on the home page at phone
   widths. A contact form is the one thing that must not vanish there, so it is
   shown again and ordered after the hero buttons. Keyed on :has() so none of
   this touches a hero image that is in fact an image. */
body.enterprise-public.page-home .hero-image:has(.hero-enquiry) {
  display: block !important;
  height: auto !important;
  background: none !important;
}
body.enterprise-public.page-home .hero-image:has(.hero-enquiry)::before { display: none !important; }

.hero-enquiry {
  container: heroform / inline-size;
  box-sizing: border-box;
  margin: 0;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgb(16 24 40 / 5%), 0 10px 28px -14px rgb(16 24 40 / 12%);
  text-align: left;
}
.hero-enquiry label,
.hero-enquiry .hero-enquiry-interests legend {
  display: block;
  margin: 0 0 5px;
  padding: 0;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-2);
}
.hero-enquiry input[type="text"],
.hero-enquiry input[type="email"] {
  width: 100%;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  line-height: 1.45;
}
.hero-enquiry input::placeholder { color: var(--ink-3); opacity: 1; }
.hero-enquiry input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(255 140 43 / 18%);
}

/* Interests. The handler reads a fixed set of fields and these are not among
   them, so they carry no name and are folded into the subject by JS. */
.hero-enquiry .hero-enquiry-interests {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.hero-enquiry .hero-enquiry-interests > label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-height: 28px;
  font-size: .85rem;
  font-weight: 400;
  color: var(--ink-2);
  cursor: pointer;
}
.hero-enquiry .hero-enquiry-interests > label > input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.hero-enquiry .hero-enquiry-interests > label > span { min-width: 0; }

.hero-enquiry .hero-enquiry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0 0 12px;
}
.hero-enquiry .hero-enquiry-row > div { min-width: 0; }

/* 380px is the card's inner width at a 1440px viewport once padding and
   border are taken off, so the pairs split at desktop and stack in the
   narrower column a 1151px viewport produces. */
@container heroform (min-width: 380px) {
  .hero-enquiry .hero-enquiry-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
}
/* The interests need far less room than a labelled input pair, so they pair up
   earlier - at 300px, which the 312px card on a 390px phone clears. Leaving
   them on the 380px breakpoint stacked all four into a column and added 56px
   of height on exactly the screens with the least to spare. */
@container heroform (min-width: 300px) {
  .hero-enquiry .hero-enquiry-interests {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2px 14px;
  }
  .hero-enquiry .hero-enquiry-interests legend { grid-column: 1 / -1; }
}

.hero-enquiry .alco-turnstile { margin: 14px 0 0; }
#main .hero-enquiry button.btn.hero-enquiry-send {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  min-height: 48px !important;
  font-weight: 700;
}
.hero-enquiry .hero-enquiry-fine {
  margin: 10px 0 0;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--ink-3);
  text-align: center;
  max-width: none;
}
.hero-enquiry .hero-enquiry-fine a { color: var(--ink-2); text-decoration: underline; }

@media (max-width: 1150px) {
  body.enterprise-public.page-home .hero-single:has(.hero-enquiry) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.enterprise-public.page-home .hero-image:has(.hero-enquiry) {
    width: 100%;
    max-width: 620px;
    margin-top: 24px;
  }
}
@media (max-width: 768px) {
  body.enterprise-public.page-home .hero-image:has(.hero-enquiry) {
    order: 3;
    max-width: none;
    margin-top: 26px;
  }
  .hero-enquiry { padding: 20px 18px 18px; }
}

/* ===== F144 tap targets the earlier sweep did not reach =====
   Three cases, all just under the 24px painted minimum because of how their
   box is formed rather than because anything is visibly small. html{zoom:.9}
   applies from 768px up, so the nominal values here are 1/0.9 of the target.

   1. The sitemap's 142 links are fixed at source instead - an earlier rule
      above already covers them and only used 24px, which paints at 21.6.
      Widening the selector here would have re-caught the card links that rule
      deliberately leaves alone.
   2. Insight card titles are plain inline elements, whose rect is the font's
      content box (23px), not the 29.9px line box around it. Vertical padding
      on an inline element grows the hit area without moving the line, so it
      costs no layout.
   3. The calculator FAQ summaries land on 23.x and round to 24.
   Links sitting inside a sentence are deliberately left alone - WCAG 2.5.8
   exempts them, and padding them would break the running text they are in. */
#main .insight-card h3 > a,
#main .insight-card h2 > a {
  padding-block: 2px;
}
#main details > summary {
  min-height: 27px;
  display: flex;
  align-items: center;
}

/* F145  The contact page's phone and email links sat at 15px painted at
   desktop. A rule for exactly these already existed but was wrapped in
   @media (max-width: 1041px), so it only ever ran on narrow screens - the
   width cap was doing nothing useful, since what makes these links short is
   their inline display, not the viewport. Same selector and declarations,
   with no width condition. Still scoped to ul.ruled, so mailto links sitting
   inside legal and unsubscribe prose stay inline and exempt. */
body.enterprise-public #main ul.ruled li > a[href^="tel:"],
body.enterprise-public #main ul.ruled li > a[href^="mailto:"] {
  display: inline-block;
  padding-block: 5px;
  min-height: 27px;
}

/* ===== F146  Findings from the 2026-10-12 six-dimension audit =====

   (a) Text that paints below 12px. html{zoom:.9} from 768px up means a
       declared 12px paints at 10.8, and the legal, status, insight and case
       study pages all carry labels declared between 11.52px and 13.12px -
       every one of them lands under the 12px floor. 13.34px paints at 12.01.
       Scoped to the zoomed range so phones, where zoom is 1, keep their
       intended sizes. The same pre-zoom trap as the tap targets. */
@media (min-width: 768px) {
  body.enterprise-public #main :is(
    .legal-number,
    .legal-facts dt,
    .legal-table th,
    .legal-table td code,
    .legal-meta span > strong,
    .legal-meta span > time,
    .legal-related a > span,
    .legal-rail-contact > span,
    .postmeta,
    .postmeta time,
    .status-label,
    .status-axis > span,
    .status-metrics > span,
    .ctable th,
    .chart figcaption,
    .chart .bar em
  ) {
    font-size: 13.34px;
  }
}

/* (b) The highlighted figures on the Easy Reader case study were brand orange
       on white: 2.32:1, against the 4.5:1 that normal-size text needs. #B4500A
       is the same hue family darkened until it clears the bar (5.13:1 on
       white), so the highlighted bar still reads as highlighted. The bar fill
       itself keeps the bright orange - a block of colour only needs 3:1 and is
       decorative here anyway. */
body.enterprise-public #main .bar.on > b { color: #B4500A; }

/* (c) The focus ring is authored at 2px with a 3px offset and no media query,
       so above 768px the zoom paints it at 1.11px - half as thick as the same
       ring on a phone. These values paint at 2.01px and 3.01px. Same selector
       as the rule being corrected; this sheet loads last in the tail bundle. */
@media (min-width: 768px) {
  body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline-width: 2.23px !important;
    outline-offset: 3.34px !important;
  }
}

/* (d) Table rows still tinted on hover on the case study and legal pages, which
       the sitewide "no hover effects" rule did not reach because it was written
       for cards. Removing the tint, not the row itself. If the tint turns out to
       be wanted for scanning wide tables, delete this block - it is the only
       thing suppressing it. */
body.enterprise-public #main :is(table, .ctable, .legal-table) tbody tr:hover {
  background-color: transparent;
}

/* ===== F147  Finish the 12px floor =====
   F146 fixed the pages I had sampled and scoped everything to >=768px, which
   was wrong twice over. A full sweep of every template at both 1440 and 390
   found two separate groups:

   (a) Sizes declared BELOW 12px. These fail on a phone too, where zoom is 1,
       so they need a floor at every width. 11.52 and 11.83/11.84px.
   (b) Sizes declared at or above 12px that only fail once html{zoom:.9}
       applies from 768px up - 12, 12.8, 13 and 13.12px all land under 12
       painted. These need 13.34px, which paints at 12.01.

   Group (a) gets 12px everywhere and then joins group (b) above 768px. */
body.enterprise-public #main :is(
  .secured-card-number,
  .legal-table-note code,
  .legal-facts dt,
  .legal-number,
  .legal-related span,
  .legal-related a.is-current span
) {
  font-size: 12px;
}

@media (min-width: 768px) {
  body.enterprise-public #main :is(
    /* group (a), now also clearing the zoom */
    .secured-card-number,
    .legal-table-note code,
    .legal-facts dt,
    .legal-number,
    .legal-related span,
    .legal-related a.is-current span,
    /* group (b) */
    .review .revwhen,
    .eyebrow a,
    .article-author-role,
    .secured-steps span,
    .badge span,
    .hero-enquiry label,
    .hero-enquiry-interests legend,
    .hero-enquiry-fine,
    .hero-enquiry-fine a
  ) {
    font-size: 13.34px;
  }
}

/* F147b  The testimonials date resisted the rule above: a page-scoped
   "body.enterprise-public.page-reviews #main .review figcaption .revwhen"
   carries one more class and outranks it. Same selector, stated again so
   source order decides. */
@media (min-width: 768px) {
  body.enterprise-public.page-reviews #main .review figcaption .revwhen {
    font-size: 13.34px;
  }
}

/* F148  The one body-copy block outside the articles that ran past the same
   threshold: the trailing note under /why-alco's standards section, measured
   at 184 characters a line. It is a lone paragraph in a full-width wrap, so it
   gets the same 40rem measure and keeps its left edge. */
body.enterprise-public #main .wrap > p.hint {
  /* The width-unification pass uncaps .wrap children with !important, so this
     needs the same weight to land - specificity alone loses to it. */
  max-width: min(100%, 40rem) !important;
}

/* ===== F149  Contact page: the confirmation, and the oversized diagram =====

   (a) img/content-contact.svg is a 205x150 line drawing. The markup declared
       600x440 and the side column let it fill 578px - nearly three times its
       own size, which is what made it read as crude. The real dimensions are
       now in the markup; this caps the rendered width so it never stretches
       far past itself again. */
body.enterprise-public #main .content-line-graphic {
  max-width: 360px;
  margin-inline: 0;
}
body.enterprise-public #main .content-line-graphic img {
  width: 100%;
  height: auto;
}

/* (b) The confirmation. It used to be a two-line notice sitting in the wide
       half of a split, beside the diagram and the full contact list, so the
       page looked abandoned the moment it succeeded. It is now its own centred
       column. */
body.enterprise-public #main .contact-confirm {
  max-width: min(100%, 40rem);
  /* Left, not centred. The page banner above it starts at the wrap's left
     edge; a centred column underneath reads as a different page. Same reason
     the article column keeps its left edge. */
  margin-inline: 0;
}
body.enterprise-public #main .contact-confirm > h2 {
  margin: 32px 0 12px;
  font-size: 1.15rem;
}
body.enterprise-public #main .notice.ok.contact-receipt {
  padding: 26px 26px 22px;
  border-radius: var(--radius-lg);
}
body.enterprise-public #main .contact-receipt > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
body.enterprise-public #main .contact-receipt p {
  margin: 0;
  max-width: none;
}
/* The reference is the one thing worth keeping from this page, so it is set
   apart rather than run into the sentence before it. */
body.enterprise-public #main .contact-reference {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgb(16 24 40 / 10%);
  font-size: .85rem;
  color: var(--ink-3);
}
body.enterprise-public #main .contact-reference > strong {
  font-size: 1.1rem;
  letter-spacing: .02em;
  color: var(--ink);
}
body.enterprise-public #main .contact-next {
  margin: 0;
  padding-left: 1.2rem;
}
body.enterprise-public #main .contact-next > li {
  margin-bottom: 8px;
  max-width: none;
}
body.enterprise-public #main .contact-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}
/* The ruled contact list is reused verbatim from the form layout, where it
   sits in a narrow column; here it has the full measure, so it needs the
   spacing back. */
body.enterprise-public #main .contact-confirm ul.ruled {
  margin-top: 4px;
}

@media (max-width: 768px) {
  body.enterprise-public #main .notice.ok.contact-receipt { padding: 22px 20px 18px; }
  body.enterprise-public #main .contact-confirm-actions > .btn { width: 100%; }
}

/* F150  Standalone paragraphs sitting directly in a .wrap kept running the
   full 1600px column: 210-233 characters a line on /agent, /book, /estore and
   /people/adam-leveille. They are not in a card or a grid track, so nothing
   else was constraining them, and the width-unification pass had set
   max-width:none on this level deliberately so sections would reach the page
   edges. That was right for sections and wrong for a lone paragraph.

   This restores the measure every OTHER paragraph on the site already has
   (body.enterprise-public #main :is(p, li, dd) { min(100%, 72ch) }) for this
   one case. The .wrap itself is untouched, so the section still spans the full
   page width - only the line length changes. .lede and .hint are excluded
   because they carry their own, deliberately different caps. Measured with
   canvas; 6 of 33 such paragraphs were over 100 characters. */
body.enterprise-public #main .wrap > p:not(.lede):not(.hint) {
  /* !important because the width-unification pass sets max-width:none with
     that weight on this level; /book's paragraph stayed at 227 characters
     without it. */
  max-width: min(100%, 72ch) !important;
}

/* ===== F151  Click-to-load calendar facade =====
   The button stands in for the Google Calendar iframe until the visitor asks
   for it, so it has to occupy the same space - otherwise the page reflows by
   the full height of the calendar on click. It inherits the embed's own height
   rules by carrying that class alongside, and only adds the surface. */
body.enterprise-public #main .calendar-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 28px;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink-2);
  text-align: center;
  cursor: pointer;
}
body.enterprise-public #main .calendar-facade .calendar-facade-mark {
  font-size: 2rem;
  line-height: 1;
}
body.enterprise-public #main .calendar-facade .calendar-facade-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
body.enterprise-public #main .calendar-facade .calendar-facade-note {
  max-width: 42ch;
  font-size: 13.34px;
  line-height: 1.45;
  color: var(--ink-3);
}
/* The facade carries the embed's own class too, so .events-embed and
   .book-embed already give it the right height. These keep the dashed border
   visible inside that box rather than letting the height rule flatten it. */
body.enterprise-public #main .events-embed.calendar-facade,
body.enterprise-public #main .book-embed.calendar-facade {
  box-sizing: border-box;
}

/* ===== F152  /status shipped an empty container and grew it by 1,133px =====
   #status-groups is rendered empty and filled by service-status.js. Everything
   below it - the "how we measure" note and the closing CTA - was shoved down
   when the list arrived: a single layout shift of 0.3507 at desktop and 0.309
   at 390, reproducible on every connection speed and on repeat visits, because
   the shift is caused by the render and not by the network.

   Reserving the space the list will occupy turns that into a small adjustment.
   Measured heights with the current 9 services in 2 groups: 1259px at 1041+,
   1284 at 1024, 1308 at 820, 2466 at 390. Each value here is set to the
   SMALLEST height in its range, so the list only ever grows slightly into the
   reservation rather than shrinking out of it - shrinking is a shift too.

   These numbers follow the service count. If services are added or removed,
   re-measure #status-groups and update them, or the shift comes back. */
body.enterprise-public #status-groups { min-height: 2460px; }
@media (min-width: 769px)  { body.enterprise-public #status-groups { min-height: 1280px; } }
@media (min-width: 1041px) { body.enterprise-public #status-groups { min-height: 1255px; } }

/* ===== F153  Printing carried the whole site footer =====
   The print rules in alco.min.css hide ".foot". That class matches nothing -
   the footer was rebuilt as footer.alco-footer-v2 and the old selector was
   never updated, so every printed page carried 592px of footer: 38 links, the
   trust badges and the live status iframe. Measured on 17 pages; confirmed in
   real page.pdf() output, not just emulateMedia.

   .foot is left in the old rule in case anything still uses it; this adds the
   selectors that actually match, with the weight to beat whatever is setting
   them visible. The live-status iframe is hidden too - it prints as an empty
   box because its contents never load on paper. */
@media print {
  body.enterprise-public footer,
  body.enterprise-public .alco-footer-v2,
  body.enterprise-public iframe.footer-live-status,
  body.enterprise-public .cookiebar,
  body.enterprise-public .calendar-facade,
  body.enterprise-public #main .btnrow,
  body.enterprise-public .btnrow.hq-cta-actions {
    display: none !important;
  }
  /* A printed link that says "Contact us" is useless on paper. */
  body.enterprise-public #main a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    word-break: break-all;
  }
}


/* F154  Adam, 2026-10-12: "the image like this needs to be smaller. no image
   needs to be that long please." On /partners the line diagram painted
   324x238 beside a text block only 172 tall, so the panel ran well past the
   copy it illustrates; on a 390px phone it was a 257px-tall block of
   decoration. /services, /industries and /why-alco use the same figure.

   The cap has to be on HEIGHT, and width has to follow it. The base rule in
   public-enterprise.css sets width:100% with object-fit:contain, so a bare
   max-height would keep the box its full track width and letterbox the SVG
   inside it - same long panel, now with empty margins. Setting width:auto
   lets the intrinsic 600x440 ratio do the scaling and the whole figure, with
   the rounded border drawn inside the SVG, shrinks with it.

   170 painted, both widths: html{zoom:.9} from 768px up, so 189 declared
   paints 170 there and 170 declared paints 170 below. Width lands at 232
   painted either way. Adam chose this size knowing the labels baked into the
   SVG drop to roughly 6px and read as decoration - the alt text carries what
   they say. */
body.enterprise-public #main figure.content-line-graphic img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 170px !important;
  margin-inline: auto !important;
}
@media (min-width: 768px) {
  body.enterprise-public #main figure.content-line-graphic img {
    max-height: 189px !important;
  }
}


/* F155  Windows high-contrast mode, and three print defects.

   forced-colors: active replaces color and background-color with the user's
   palette but leaves SVG `fill` alone, so any icon drawn as a dark fill on
   the page background disappears against a dark canvas. Measured on a dark
   high-contrast theme: the 35 star glyphs on /testimonials and the footer
   social icons on every page both rendered at 1.17:1 - black on black.
   CanvasText makes them follow whatever text colour the user has chosen.

   Print: the cookie bar is already display:none on paper, but the body
   padding that reserves room for it was not, so a page printed while the
   bar was showing carried 320px of empty body and spilled one blank sheet
   (8 of 42 sampled paths). The printed-URL rule has word-break:break-all,
   which inside the 38px-wide partner logo cells on /about turned a URL into
   a 163px-tall column of two-character fragments - those links are logos,
   their destination is the logo. And the rule only matched absolute hrefs,
   so an internal link in prose printed with no destination at all. */
@media (forced-colors: active) {
  body.enterprise-public .stars svg,
  body.enterprise-public .stars svg path,
  body.enterprise-public .social a svg,
  body.enterprise-public .social a svg path,
  body.enterprise-public .footer-brand .social svg,
  body.enterprise-public .footer-brand .social svg path {
    fill: CanvasText !important;
    color: CanvasText !important;
  }
}
@media print {
  body:has(.cookiebar:not([hidden])),
  body.enterprise-public:has(.cookiebar:not([hidden])) {
    padding-bottom: 0 !important;
  }
  /* A logo's destination is the logo. */
  body.enterprise-public #main .logos a[href^="http"]::after {
    content: none !important;
  }
  /* Internal links in prose lost their destination entirely: the rule above
     only matches href^="http". Prose only - a list or a grid of links turns
     into a wall of URLs. */
  body.enterprise-public #main p > a[href^="/"]:not(.btn)::after {
    content: " (alcohq.com" attr(href) ")";
    font-size: 10pt;
    word-break: break-all;
  }
}

/* Public mobile/tablet controls retain their authored dimensions and touch targets. */
@media(max-width:1040px),(max-width:1366px) and (pointer:coarse){
 html:has(body.enterprise-public){zoom:1}
 body.enterprise-public :is(.btn,button:not([disabled]):not([aria-disabled="true"]),input[type=submit],input[type=button]){min-height:44px!important;box-sizing:border-box}
 body.enterprise-public .masthead :is(.mainnav>a,.navmore>summary,.navmore-menu a){min-height:44px!important;box-sizing:border-box;display:flex;align-items:center}
 body.enterprise-public .masthead #navtoggle{min-width:44px!important;min-height:44px!important}
 body.enterprise-public #privacy-choices{min-height:44px!important;box-sizing:border-box}
 body.enterprise-public :is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=password],input[type=number],input[type=date],input[type=time],select,textarea){font-size:16px!important;min-height:44px;box-sizing:border-box}
 body.enterprise-public .hero-enquiry .hero-enquiry-interests>label{min-height:44px}
}

/* A checkbox label is the touch target; keep its checkbox visually compact. */
@media(max-width:1040px),(max-width:1366px) and (pointer:coarse){body.enterprise-public .tool-workspace .checkline{min-height:44px;box-sizing:border-box}}

/* ======================================================================
   2026-10-19  Site audit, top five (Adam's request).
   1. Real size on desktop. alco-chrome.css sets html{zoom:.9} from 768px
      up; the public site now paints at 1. The portal keeps its zoom.
   2. Primary buttons are solid orange with ink text (about 9:1). Second
      actions keep the white outline. The cookie panel sits outside #main
      and .masthead, so Accept and Decline stay equal weight.
   3. Homepage text: one 17px body size, 20px hero line, 14px floor.
   4. Adam and Carly headshot pair on home and about, in place of stock.
   5. Tap-to-call in the header: icon beside the menu button on phones,
      icon and number from 1360px. Hidden 1041-1359px, where the menu has
      no room; the hero and footer still carry the number there.
   ====================================================================== */
html:has(body.enterprise-public){zoom:1}

html body.enterprise-public :is(#main,.masthead) .btn.primary{background:#ff8c2b!important;border-color:#ff8c2b!important;color: #fff!important;font-weight:600!important}
html body.enterprise-public :is(#main,.masthead) .btn.primary:is(:hover,:focus-visible){background:#c2560a!important;border-color:#c2560a!important;color: #fff!important}

html body.enterprise-public.page-home #main :is(.card p,.home-difference-copy p:not(.lede),.hq-cta-copy p,.home-practice-heading p){font-size:17px!important;line-height:1.6!important}
html body.enterprise-public.page-home #main .hero-description{font-size:20px!important}
html body.enterprise-public.page-home #main .hero-enquiry :is(label,legend,.hero-enquiry-fine,span){font-size:14px!important}

body.enterprise-public #main .leader-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-self:center;max-width:560px;width:100%;margin:0 0 0 auto}
body.enterprise-public #main .leader-pair-person{margin:0;border:1px solid #dedede;border-radius:7px;background:#fff;overflow:hidden}
body.enterprise-public #main .leader-pair-person img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
body.enterprise-public #main .leader-pair-person figcaption{padding:14px 16px 16px;border-top:1px solid #dedede}
body.enterprise-public #main .leader-pair-name{display:block;font:400 18px/1.3 Arial,Helvetica,sans-serif;color:#1a1a1a}
body.enterprise-public #main .leader-pair-role{display:block;margin-top:4px;font:400 14px/1.4 Arial,Helvetica,sans-serif}
@media (max-width:760px){
 body.enterprise-public #main .leader-pair{margin:24px 0 0;max-width:none;gap:12px}
 body.enterprise-public #main .leader-pair-person figcaption{padding:12px}
 body.enterprise-public #main .leader-pair-name{font-size:16px}
}

body.enterprise-public .masthead .navphone{display:none}
@media (min-width:1360px){
 body.enterprise-public .masthead .navphone{display:inline-flex;align-items:center;gap:7px;order:1;min-height:44px;padding:0 4px;color:#1a1a1a;font:600 15px/1 Arial,Helvetica,sans-serif;text-decoration:none;white-space:nowrap}
 body.enterprise-public .masthead .navphone svg{color:#ff8c2b}
 body.enterprise-public .masthead .navphone:hover .navphone-num{text-decoration:underline}
 body.enterprise-public .masthead .navtools{order:2}
}
@media (max-width:1040px){
 body.enterprise-public .masthead .navphone{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;margin-left:auto;border:1px solid #dedede;border-radius:4px;background:#fff;color:#ff8c2b;flex-shrink:0}
 body.enterprise-public .masthead .navphone + .navtoggle{margin-left:0!important}
 body.enterprise-public .masthead .navphone .navphone-num{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media (max-width:359px){body.enterprise-public .masthead .wrap{gap:10px}}

/* ======================================================================
   2026-10-19  Site audit, items 6-18 (Adam's request).
   7.  Menu links 15px where the header has room for them.
   8.  One heading scale: H1 40 (homepage hero 48), H2 28, H3 20.
       Phones: H1 32 (hero 36), H2 24, H3 18.
   9.  14px floor for small labels, dates, table heads and legal notes.
   12. Small orange text uses the darker #c2560a (about 5:1); #ff8c2b
       stays for shapes and big type.
   14. Homepage sections share one rhythm: 56px desktop, 32px phones.
   15. Text lines stop at about 72 characters.
   16. Shorter page title band, so content starts sooner.
   17. Closing call-to-action button sits under its text.
   18. Service pages get Talk to us and Call buttons near the top.
   ====================================================================== */
@media (min-width:1200px){
 html body.enterprise-public .masthead .mainnav > a,
 html body.enterprise-public .masthead .mainnav > details > summary{font-size:15px!important}
}

html body.enterprise-public #main h1{font-size:40px!important;line-height:1.15!important}
html body.enterprise-public.page-home #main .herohome h1{font-size:48px!important}
html body.enterprise-public #main h2{font-size:28px!important;line-height:1.25!important}
html body.enterprise-public #main h3{font-size:20px!important;line-height:1.3!important}
@media (max-width:760px){
 html body.enterprise-public #main h1{font-size:32px!important}
 html body.enterprise-public.page-home #main .herohome h1{font-size:36px!important}
 html body.enterprise-public #main h2{font-size:24px!important}
 html body.enterprise-public #main h3{font-size:18px!important}
}

html body.enterprise-public #main :is(
  .hero-enquiry-fine a, .badge span, .calendar-facade-note, .postmeta, .postmeta time,
  .casemeta, .bar em, .chart figcaption, table th,
  .status-label, .status-axis span, .status-metrics span, .status-event time,
  .legal-toc a, .legal-rail-contact span, .legal-meta strong, .legal-meta time,
  .legal-facts dt, .legal-number, .legal-table code, .legal-related a span
){font-size:14px!important}

html body.enterprise-public #main :is(.service-core-step, .industry-delivery-steps > li)::before{color:#ff8c2b!important}

html body.enterprise-public.page-home #main#main > section.section{padding-top:56px!important;padding-bottom:56px!important}
@media (max-width:760px){
 html body.enterprise-public.page-home #main#main > section.section{padding-top:32px!important;padding-bottom:32px!important}
}

html body.enterprise-public #main :is(p, li){max-width:72ch}

/* Page title band (revised): the page's orange section label sits above
   the title, in the darker orange for small text. The label is hidden
   sitewide by a body #main .eyebrow rule, hence #main#main. About 184px on
   desktop, 125px on phones (one-line title). */
html body.enterprise-public #main#main .phead{padding-top:56px!important;padding-bottom:52px!important;min-height:0!important}
html body.enterprise-public #main#main .phead .eyebrow{display:block!important;margin:0 0 12px!important;padding:0!important;background:none!important;border:0!important;color:#ff8c2b!important;font:700 14px/1.2 Arial,Helvetica,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important}
html body.enterprise-public #main#main .phead h1{margin:0!important}
@media (max-width:760px){
 html body.enterprise-public #main#main .phead{padding-top:32px!important;padding-bottom:28px!important}
 html body.enterprise-public #main#main .phead .eyebrow{margin-bottom:10px!important;font-size:13.5px!important}
}

/* Closing call to action (revised at Adam's request): text on the left, the
   button top right, level with the heading. Stacks below 861px. */
@media (min-width:861px){
 html body.enterprise-public #main#main .hq-cta-layout{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:48px!important;align-items:start!important}
 html body.enterprise-public #main#main .hq-cta-layout .hq-cta-actions{margin-top:0!important;align-self:start!important;justify-self:end!important;justify-content:flex-end!important}
 html body.enterprise-public #main#main .tools-service-cta > .wrap{align-items:start!important}
 html body.enterprise-public #main#main .tools-service-cta .btnrow{align-self:start!important;justify-self:end!important}
}
@media (max-width:860px){
 html body.enterprise-public #main#main .hq-cta-layout{display:block!important}
 html body.enterprise-public #main#main .hq-cta-layout .hq-cta-actions{margin-top:24px!important;justify-self:start!important;justify-content:flex-start!important}
}

html body.enterprise-public #main .service-core-intro-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 0}
/* Headings inside cards stay card-sized under the scale above. */
html body.enterprise-public #main .card :is(h2,h3){font-size:22px!important}
@media (max-width:760px){html body.enterprise-public #main .card :is(h2,h3){font-size:19px!important}}

/* 2026-10-19  Form buttons match the rest (Adam). The homepage Send message
   was 48px and full width; tool screens used their own 44px, 9px-radius,
   white "primary". Both now follow .btn / .btn.primary: 36px on desktop,
   44px touch targets on phones and touch tablets, 4px radius, orange primary. */
@media (min-width:1367px),(min-width:1041px) and (pointer:fine){
 html body.enterprise-public #main .hero-enquiry button.btn.hero-enquiry-send{width:auto!important;min-height:36px!important;align-self:flex-start!important;justify-self:start!important}
 html body.enterprise-public #main .tool-workspace .btn{min-height:36px!important}
}
@media (max-width:1040px),(max-width:1366px) and (pointer:coarse){
 html body.enterprise-public #main .hero-enquiry button.btn.hero-enquiry-send{min-height:44px!important}
}
html body.enterprise-public #main .tool-workspace .btn{border-radius:4px!important;font-size:15px!important;font-weight:400!important;padding:6px 14px!important}
html body.enterprise-public #main .tool-workspace .btn-primary{background:#ff8c2b!important;border-color:#ff8c2b!important;color: #fff!important;font-weight:600!important}
html body.enterprise-public #main .tool-workspace .btn-primary:is(:hover,:focus-visible){background:#c2560a!important;border-color:#c2560a!important;color: #fff!important}
html body.enterprise-public #main .card .btn{font-size:15px!important}
/* Every button in page content uses the same 15px text. */
html body.enterprise-public #main#main .btn{font-size:15px!important}

/* 2026-10-19  Buttons size to their text and line up with the content on
   desktop. Old rules gave closing-section buttons min-width:168px, pushed the
   closing button right from 1500px up (justify-self:end), and stretched card
   buttons to the card width. Phones keep their full-width stacks. */
@media (min-width:1041px){
 html body.enterprise-public #main#main .btn{min-width:0!important;width:auto!important;max-width:100%;align-self:flex-start!important;justify-self:start!important}
 html body.enterprise-public #main#main .btnrow:not(.hq-cta-actions):not(.tools-service-cta .btnrow){justify-self:start!important}
}
