/* ===================================================================
   THE CONTENT WRAPPER HAS TWO NAMES, AND ONLY ONE OF THEM WAS SCOPED.

   The mockups make `<main class="ea-main">` the page's own wrapper, so nine
   rules below are scoped to `.ea-main`. The five TEMPLATE files reproduce that
   wrapper as `<div id="ea-content" class="ea-main">` and those rules apply.
   The eight EDITOR-AUTHORED PAGES do not: their body renders inside Blocksy's
   `<div class="entry-content is-layout-constrained">` and carries no
   `.ea-main` anywhere, measured 2026-09-05.

   So every one of those nine rules was dead on all eight composed pages, and
   the visible cost was links painting brand blue on the brand blue band at a
   contrast ratio of 1.0, invisible, on the front page, About, the catalogue
   and their German twins. It survived two verification gates because a link
   that is present, correctly marked up and the wrong colour fails no
   structural check.

   `.entry-content` is added as an equivalent scope rather than the class being
   injected into Blocksy's wrapper, because the wrapper is the theme's and a
   filter on it would break the day Blocksy renames it. The two selectors mean
   the same thing to this stylesheet: "the page's own content area".
   ===================================================================*/

/* ===================================================================
   European Alternatives — the content layer

   WHAT THIS FILE IS. The always-drawn half of the portal's design system:
   the token alias block, the five rules that survive from the mockup's base
   layout, and the sections of `ea-shared.css` that every page type paints.
   Ported from concept/mockups/02-site-v1/css/ea-shared.css and, for §0 only,
   from concept/mockups/01-base-layout/css/ea-base.css.

   LOAD ORDER. It is enqueued with `ea-custom` as a dependency, so it lands
   AFTER ea-custom.css and after Blocksy's global.css. Nothing here restates a
   token ea-custom.css already declares: where the mockup name and the deployed
   name differ, §0 aliases one onto the other, so this file has exactly one
   source of truth for every value and ea-custom.css keeps it.

   WHAT IT DELIBERATELY EXCLUDES.
     - Everything in concept/mockups/02-site-v1/css/parts/. Each part ships as
       a per-block stylesheet registered through its own block.json and is
       enqueued on block render, not on every page.
     - Everything in css/pages/, which ships as per-template stylesheets.
     - The whole of ea-base.css apart from §0 below. Blocksy plus the deployed
       ea-custom.css render the shell: the header, the footer, the menu, the
       burger and the type foundation are theirs and a second copy here would
       fight a signed-off, parity-verified surface.
     - ea-shared.css §2b, the language-caret repair. It is spelled against the
       mockup's own header markup (`.ea-header .ea-menu__item--lang`), which
       WordPress never renders. Blocksy's equivalent is already handled in
       ea-custom.css §3.

   NEVER RENUMBER A SECTION. The numbers below are cited by name from the
   mockup page files, from the mockup README.md, from docs/ and from both
   WordPress concept documents, and renumbering breaks every one of those
   citations silently. A section that does not ship keeps its number and a
   comment saying where it went, rather than closing the gap.

   §5.1 AND §5.2 MAY NOT BE SEPARATED: one `max-width: 767px` block sets
   `padding-block` on `.ea-id` and `.ea-closing` together.

   Sections: 0 the surviving base layer · 1 tokens · 2 repairs · 3 surfaces ·
   4 primitives · 5.1 identity band · 5.2 closing band · 5.3 byline ·
   5.5 star placements · 5.7 micro-label · 5.10 logo container ·
   5.21 utility row · 5.28 provenance · 5.31 gold rule · 6 motion
   ==================================================================*/

/* ------------------------------------------------------------------
   0. The surviving base layer

   0a. The alias block (03 §1.2).

   The content layer reads custom properties that only ea-base.css declares,
   and ea-base.css does not ship. Each one is aliased onto the deployed
   ea-custom.css token where a counterpart exists, and declared outright where
   none does, so the responsive steps come across for free and no value is
   stated in two places.

   THIRTEEN, NOT TWELVE. 03 §1.2 counted twelve `:root`-carryable properties by
   parsing the shipping layer, which at the time did not include ea-base.css's
   own rules. Porting `.ea-section` below brings `--section-padding-y` with it,
   and it is the thirteenth.

   `--header-height` is the one that is NOT here, and it is not an oversight.
   Blocksy shadows it on `<body>` through `[data-header*="type-1"]`, so a
   `:root` alias can neither read nor override it, and the value it shadows in
   is the DECLARED 120px while the bar RENDERS 80px. The portal's own
   `--ea-header-height` already carries the rendered number, with its 70px step
   below 768px, from ea-custom.css §2. Port every mockup `var(--header-height)`
   onto `--ea-header-height` as the parts and pages arrive.
   ------------------------------------------------------------------*/

/* ------------------------------------------------------------------
   0 (continued). The root font size, which is the sixth surviving rule of
   ea-base.css and the one the plan's port list forgot. It is the most
   expensive omission in the whole port.

   MEASURED, not assumed. `concept/mockups/01-base-layout/css/ea-base.css`
   line 198 sets `html { font-size: var(--font-size) }` where `--font-size`
   is 17px, and its own comment beside the token reads "1rem === 17px on
   this site". Every rem in the mockup tree, in this file, in every
   css/parts/ file and in every css/pages/ file is authored against that.

   WordPress does not inherit it. Blocksy sets `--theme-font-size: 17px` on
   `:root` and applies it to `body`, and NOTHING sets a size on `html`.
   Measured in a real browser at 1440 on 2026-09-04 against the live staging
   site: `getComputedStyle(document.documentElement).fontSize` is **16px**
   while `body` is 17px.

   So without this rule every rem-based size in the content layer renders
   16/17 of its authored size, about 5.9 per cent small, portal wide. That is
   small enough to pass a glance and large enough to fail every geometry
   comparison in the build, and it would have surfaced in phase 6 or 7 as
   "everything is slightly wrong" with no obvious cause.

   WHY IT IS SAFE FOR THE SIGNED-OFF SHELL, checked rather than hoped. The
   deployed ea-custom.css uses rem in exactly five places and all five are
   heading MARGINS in the content area, which came from the mockup and are
   therefore correct at 17px and wrong at 16px. The header and footer
   geometry the parity harness measures (bar height, logo height, rail width,
   menu face and size) is px or a Blocksy theme mod in px, so none of it
   moves. `parity.mjs` is the check that proves this, and phase 1's gate runs
   it.

   -webkit-text-size-adjust travels with it, verbatim from the mockup.
   ------------------------------------------------------------------ */

html {
    font-size: 17px;
    -webkit-text-size-adjust: 100%;
}

:root {
    /* -- aliased onto a deployed token, responsive steps included ---- */
    --font-body: var(--ea-font-body);
    --font-heading: var(--ea-font-heading);
    --site-content-width: var(--ea-rail);
    --section-padding-x: var(--ea-section-x); /* 42.5px, 25.5px below 768 */
    --section-padding-y: var(--ea-section-y); /* 68px, 42.5 below 1024, 25.5 below 600 */
    --box-shadow: var(--ea-shadow-dropdown);
    --color-header-text-hover: var(--ea-header-text-hover);

    /* -- no counterpart in ea-custom.css, so declared here ----------- */
    --color-footer-link-hover: #d4d4d4;
    --transition-fast: 0.2s;
    --transition-base: 0.3s;

    /* Stated in px, not in the mockup's rem. The mockup runs a 17px root and
       this install runs Blocksy's 16px one, so `2rem` here would render 32px
       against the mockup's 34 and against the h2Typography theme mod, which is
       set to 34px / n6 for exactly this reason. Same arithmetic for the button
       radius, where the difference is a tenth of a pixel and the note matters
       more than the number. */
    --h2-font-size: 34px; /* 2rem at the mockup's 17px root */
    --h2-font-weight: 600;
    --btn-border-radius: 1.7px; /* 0.1rem at the mockup's 17px root */
}

/* 0b. The four shell helpers that survive from ea-base.css.

   `.ea-main` is the fifth and it is NOT here: ea-base gave it
   `padding-top: var(--header-height)` and `background: var(--color-content-bg)`,
   and neither survives. The offset is already applied by ea-custom.css to
   `main.site-main > .ct-container`, so a second one on `.ea-main` inside it
   would double the gap under a fixed header (03 §1.1 raised this as a
   hypothesis; ea-custom.css settles it). The background is restated by §2
   below in the portal's own token. `.ea-main` therefore appears once in this
   file, in §2, and carries only what §2 gives it. */

/* Forty-eight elements in the mockups wear `.ea-shell` and twelve rules in the
   content layer are spelled against it. Aliased rather than rewritten onto
   Blocksy's `.ct-container`: the rename would touch every page stylesheet for
   no rendered difference. */
.ea-shell {
    max-width: var(--site-content-width);
    margin: 0 auto;
}

/* A pure shell helper: thirteen elements wear it and no rule in the content
   layer refers to it. */
.ea-section {
    padding: var(--section-padding-y) var(--section-padding-x);
}

/* An accessibility guarantee rather than a preference, and kept because
   Blocksy's own ring is a different colour. `.ea-band :focus-visible` in §3
   overrides it at (0,1,1) where the blue would vanish into the band. */
:focus-visible {
    outline: 2px solid var(--ea-blue);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------
   1. Content-area token layer (01 §3.2 to §3.5, and §5)
   ------------------------------------------------------------------*/
:root {
    /* -- blue ramp (01 §3.2) --------------------------------------- */
    --ea-blue-900: #002266;
    --ea-blue-700: #003399; /* EU blue, primary                       */
    --ea-blue-500: #2b5fc4;
    --ea-blue-100: #e6ecf7;
    --ea-blue-050: #f2f6fc;

    /* -- gold ramp (01 §3.2, §3.3) --------------------------------- */
    --ea-gold-700: #8a6a00; /* the ONLY gold allowed on text          */
    --ea-gold-600: #c98a05; /* ILLUSTRATION FILL ONLY, 2.95:1         */
    --ea-gold-500: #f2b903; /* fill only, never text, never an icon   */
    --ea-gold-400: #ffc61a; /* hover fill only; blue on it is 6.90:1  */
    --ea-gold-100: #fdf3d6;

    /* -- neutrals (01 §3.4) ---------------------------------------- */
    --ea-ink-900: #14181f;
    --ea-ink-700: #333333;
    --ea-ink-500: #5b6472;
    --ea-ink-300: #99a1ad; /* placeholder and disabled only           */
    --ea-line: #e2e6ec; /* decorative separation only                 */
    /* The second DECORATIVE step, never a third tier of meaning:
       --ea-line-strong draws the OUTER edge of a grid cell, the logo container
       inside one and the rule that closes a group head; --ea-line keeps every
       divider INSIDE a cell or inside a group. */
    --ea-line-strong: #ccd3de;
    --ea-border-control: #828c9b; /* a boundary that IS the control   */
    --ea-surface: #ffffff;
    --ea-surface-muted: #f5f7fa;

    /* -- semantic badge colours (01 §3.5) -------------------------- */
    --ea-pos-700: #1c7a4a;
    --ea-pos-100: #eaf5ef;
    --ea-warn-700: #8a5a00;
    --ea-warn-100: #fdf3d6;
    --ea-info-700: #003399;
    --ea-info-100: #e6ecf7;
    --ea-err-700: #b3261e; /* form validation ONLY (01 §3.5)          */
    --ea-err-100: #fdecea;

    /* -- shape (01 §5) --------------------------------------------- */
    --ea-radius-card: 10px;
    --ea-radius-pill: 999px;

    /* -- space (01 §5): the nine steps, nothing between them -------- */
    --ea-s1: 4px;
    --ea-s2: 8px;
    --ea-s3: 12px;
    --ea-s4: 16px;
    --ea-s5: 24px;
    --ea-s6: 32px;
    --ea-s7: 48px;
    --ea-s8: 64px;
    --ea-s9: 96px;

    /* -- prose measure (01 §4.4), roughly 68 characters ------------- */
    --ea-measure: 34em;
}

/* ------------------------------------------------------------------
   2. The repairs to the deployed system, content area only

   In the mockup these repaired ea-base.css, which was signed off and linked
   rather than copied, so its defects were corrected here instead. In the
   WordPress build ea-base.css is gone, so the button repairs are MERGED into
   the button itself rather than layered over a gradient that no longer exists,
   and the merge takes the whole `.ea-btn` family down one class: what was
   `.ea-main .ea-btn` at (0,2,0) is now `.ea-btn` at (0,1,0). Every relative
   order is preserved, because the band variants come down by the same step.

   THE MERGE WAS CHECKED AGAINST THE PAGE LAYER, not assumed: the only page
   rules that touch a button are `.ea-main .ea-btn` (about, methodology),
   `.ea-id .ea-btn` (press-kit) and `.ea-actions .ea-btn` (submit-service), all
   at (0,2,0). Each of them used to tie the repair and win on source order, and
   each now wins on specificity, which is the same outcome by a safer route.
   Nothing in the mockup declares `.ea-btn--outline` outside this file.

   The link rules below are NOT demoted. `.ea-main p a:not(.ea-btn)` at (0,2,2)
   is tied on purpose by `.ea-main p a.ea-badge` in parts/ea-badge.css, and the
   tie breaks on link order, so both selectors have to keep their exact shape.
   ------------------------------------------------------------------*/

/* Declared as `.ea-main` (0,1,0) rather than `.ea-main p` (0,1,1) so that
   `.ea-band p` in section 3 wins on specificity instead of on source order,
   and component rules can set their own colour without out-specifying it. */
/* The content area's surface is stated in the portal's own token rather than
   borrowed from ea-base.css's `--color-content-bg`. */
.ea-main,
.entry-content {
    color: var(--ea-ink-700);
    background: var(--ea-surface);
}

/* The one primary action (01 §2.4, 01 §3.3): solid EU gold under an EU blue
   label, 6.06:1. The hover LIFTS to --ea-gold-400 (6.90:1) and must not
   darken; ea-base.css's white label on its gradient failed at both ends, so
   the gradient, the white label and the resting box-shadow are not ported at
   all rather than being overridden a line later. */
.ea-btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0.63em 1.8em;
    border: 0;
    border-radius: var(--btn-border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800; /* only Lato 700 is loaded, so this renders as 700 */
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: var(--ea-blue-700);
    background: var(--ea-gold-500);
    transition:
        background var(--transition-base),
        border var(--transition-base),
        box-shadow var(--transition-base),
        color var(--transition-base),
        opacity var(--transition-base),
        transform var(--transition-base);
    cursor: pointer;
    -webkit-transform: translateZ(0);
}
.ea-btn > * {
    position: relative;
    z-index: 1;
}
.ea-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: inherit;
    background: var(--ea-gold-400);
    transition: opacity var(--transition-base) ease;
}
.ea-btn:hover::after {
    opacity: 1;
}
/* The label colour is now constant across rest, hover and focus, so ea-base's
   `:hover { color: #ffffff }` and the repair that undid it both disappear. */

/* Carried over from ea-base.css §8 and not dropped with the rest of the shell:
   Blocksy underlines links inside `.entry-content` at (0,1,1), which ties
   `.ea-btn:hover` and would win on order if this were spelled at (0,1,0). */
.ea-btn,
.ea-btn:hover,
.ea-btn:focus {
    text-decoration: none;
}

/* 01 §11 puts the touch minimum at 44 by 44px and ea-base.css's button
   measures 41.8px. The capability query is ALONGSIDE the width gate and does
   not replace it: a 1440px touch screen is a real device the gate misses. */
@media (max-width: 1024px) {
    .ea-btn {
        padding-block: 0.72em;
    }
}
@media (hover: none), (pointer: coarse) {
    .ea-btn {
        padding-block: 0.72em;
    }
}

/* Secondary action ON A BAND. The light-surface rule below paints
   --ea-blue-700 on --ea-blue-700, 1.00:1. Spelled at (0,2,0) so it beats that
   rule on specificity rather than on a page stylesheet's order. */
.ea-band .ea-btn--outline {
    background: transparent;
    color: #ffffff;
    box-shadow: inset 0 0 0 2px #ffffff;
}
.ea-band .ea-btn--outline::after {
    background: #ffffff;
}
.ea-band .ea-btn--outline:hover {
    color: var(--ea-blue-700);
}
.ea-band .ea-btn--outline:focus-visible:not(:hover) {
    color: #ffffff;
}

/* Secondary action: outline, never the gold fill (01 §2.4). ea-base.css painted
   the label white on :hover AND on :focus but only :hover fades the blue fill
   in behind it, so the white stays on :hover alone or focus is 1.4:1. */
.ea-btn--outline {
    background: transparent;
    color: var(--ea-blue-700);
    box-shadow: inset 0 0 0 2px var(--ea-blue-700);
}
.ea-btn--outline::after {
    background: var(--ea-blue-700);
}
.ea-btn--outline:hover {
    color: #ffffff;
}
.ea-btn--outline:focus-visible:not(:hover) {
    color: var(--ea-blue-700);
}

.ea-main p a:not(.ea-btn),
.entry-content p a:not(.ea-btn) {
    color: var(--ea-blue-700);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.ea-main p a:not(.ea-btn):hover,
.entry-content p a:not(.ea-btn):hover {
    color: var(--ea-blue-500);
}
/* `.ea-btn-secondary` is a §4 primitive at (0,1,0) and loses to the (0,2,2)
   prose rule above. Do not exclude it there with `:not()`: its argument's
   specificity takes that rule to (0,3,2), beating parts/ea-badge.css §5.13. */
.ea-main p a.ea-btn-secondary,
.entry-content p a.ea-btn-secondary {
    color: var(--ea-blue-700);
    text-decoration: none;
}
.ea-main p a.ea-btn-secondary:hover,
.entry-content p a.ea-btn-secondary:hover {
    color: #ffffff;
}
/* (0,3,2), so it beats the light-surface rule above without any page
   having to restate it. */
.ea-main .ea-band p a:not(.ea-btn),
.entry-content .ea-band p a:not(.ea-btn) {
    color: var(--ea-gold-500);
}
.ea-main .ea-band p a:not(.ea-btn):hover,
.entry-content .ea-band p a:not(.ea-btn):hover {
    color: #ffffff;
}

/* 2b. DOES NOT SHIP. The mockup's one repair outside `.ea-main` centred the
   language caret in its own header markup, `.ea-header .ea-menu__item--lang >
   .ea-menu__toggle`. WordPress never renders that markup: Blocksy paints the
   header and ea-custom.css §3 already sizes the switcher and its flag. The
   number is kept so the citation from the mockup still resolves. */

/* ------------------------------------------------------------------
   3. Surfaces
   ------------------------------------------------------------------*/
.ea-band {
    position: relative;
    overflow: hidden;
    background: var(--ea-blue-700);
    color: #ffffff;
}
.ea-band h1,
.ea-band h2 {
    color: #ffffff;
}
/* (0,1,1) against `.ea-main`'s (0,1,0), so this wins on specificity and
   not on source order. Without it the hero subheadline renders ink-700
   on EU blue. */
.ea-band p {
    color: #ffffff;
}
/* The default focus ring is blue and would vanish on the blue band. */
.ea-band :focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.ea-wash {
    background: var(--ea-blue-050);
}
.ea-tint {
    background: var(--ea-blue-100);
}

/* ------------------------------------------------------------------
   4. Primitives
   ------------------------------------------------------------------*/

/* The user agent's `[hidden] { display: none }` is (0,0,0) and loses to every
   component that states a `display` of its own, so `hidden` on a `display: flex`
   `.ea-search__clear` would not hide it. This is what `!important` exists for. */
[hidden] {
    display: none !important;
}

.ea-num {
    font-variant-numeric: tabular-nums;
}

/* One flag set from the mu-plugin's flags/ directory, never the operating
   system's emoji, and never without the country name beside it (01 §9.2). It is
   decoration: it carries `alt=""` AND `aria-hidden="true"`, so the country is
   announced once. */
.ea-flag {
    display: block;
    flex: none;
    width: 22px;
    height: 22px;
    /* `margin-right: 8px` COMES FROM THE BASE LAYER AND THE PORT DROPPED IT.
       ../01-base-layout/css/ea-base.css:539 gives `.ea-flag` an 8px right
       margin and css/ea-shared.css:272 redeclares the primitive at the same
       (0,1,0) without resetting it, so in the mockup a flag in a flex row is
       separated from its label by the row's `gap` PLUS this margin. This block
       ported ea-shared.css's declaration and not the base layer's, so every
       flagged row on the portal sat 8px tight: measured on the search results
       at all four widths, flag-to-label 8px against the mockup's 16px.

       THE PROOF THAT IT IS INTENT AND NOT AN ARTEFACT is already in this tree.
       Three deployed rules reset it and say why in their own comments —
       records/alternative-single.css:139 ("The margin reset answers
       ea-base.css's `.ea-flag { margin-right: 8px }`, which nothing else
       resets"), :623 ("THE BASE-LAYER LEAK, RESET LOCALLY") and
       records/service-single.css:138. All three were no-ops resetting a margin
       that did not exist, and restoring it here is what gives them back the job
       they were written to do. */
    margin-right: 8px;
}
/* Inside a badge, where the pill's own 22px line box sets the height. */
.ea-flag--sm {
    width: 16px;
    height: 16px;
}
.ea-flag--48 {
    width: 48px;
    height: 48px;
}

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

/* `.ea-skip` IS NOT HERE, AND ITS ABSENCE IS THE DECLARATION. Two rules for it
   stood in this file selecting nothing, which is how it became the one class in
   phase 10's whole parity diff with no written source anywhere. Blocksy emits
   the skip link itself and does the same job, so porting the mockup's would put
   two skip links in the tab order.

   THE SUBSTITUTE WAS CHECKED RATHER THAN ASSUMED, because a broken skip link is
   a WCAG 2.4.1 failure and a dead rule hides one perfectly. Measured on `/`,
   `/services/web-analytics/` and `/de/`: `a.skip-link.screen-reader-text` points
   at `#main`, that element exists, the link is off-screen at rest, and the first
   Tab press focuses it and paints it at 150x50 at (4, 4) — larger than the 44px
   AAA target, let alone the 24px AA one. The German page carries it translated,
   "Zum Inhalt springen". */

/* The secondary button (02 §13): an outline in --ea-blue-700, never a second
   gold fill. It is deliberately NOT `.ea-btn--outline`, which was ea-base.css's
   and carried the deployed system's gradient machinery. */
.ea-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 var(--ea-s5);
    border: 2px solid var(--ea-blue-700);
    border-radius: var(--btn-border-radius);
    background: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: var(--ea-blue-700);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast);
}
.ea-btn-secondary:hover {
    background: var(--ea-blue-700);
    color: #ffffff;
}

/* The inline icon sprite. Hidden with a 0 by 0 box rather than `display: none`,
   which is the variant that cannot interfere with a <use> reference. */
.ea-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.ea-ico {
    width: 24px;
    height: 24px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ea-ico--sm {
    width: 18px;
    height: 18px;
}

.ea-illus {
    display: block;
    width: 100%;
    height: auto;
}

/* Computed star geometry (01 §9.4). A star is decoration and must never land
   behind type, so every placement is verified against the drawn polygons and
   never against the element box (checks/run.mjs (removed 2026-09-11)). */
.ea-stars {
    position: absolute;
    z-index: 0;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* ------------------------------------------------------------------
   5. Components
   ------------------------------------------------------------------*/

/* ---- 5.1 Identity band -------------------------------------------
   The blue band that opens a listing, a document or a form page.

   The H1's responsive step belonged to ea-base.css and now belongs to
   ea-custom.css, which drops it to 2.3rem at 768px. A page-level boundary at
   767 puts the same H1 one step apart at exactly 768 depending on which page
   you are on. */
.ea-id {
    padding: var(--ea-s7) var(--section-padding-x);
}
.ea-id__stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.ea-id__stack {
    position: relative;
    z-index: 1;
    max-width: var(--site-content-width);
    margin: 0 auto;
}
.ea-id__title {
    margin: 0 0 var(--ea-s3);
    font-weight: 800;
    line-height: 1.14;
}
.ea-id__lead {
    max-width: var(--ea-measure);
    margin: 0 0 var(--ea-s4);
}
.ea-id__lead:last-child {
    margin-bottom: 0;
}
/* THE CONCESSION, which is the band's second and any later lead paragraph.
   `ea_identity_band_lead()` in parts/part-identity-band.php classes the first
   one `.ea-id__lead` and every one after it `.ea-id__concede`, so this is a
   band sub-element and belongs here beside the lead rather than in the one page
   that draws it today: methodology.css's own header records that the class had
   a rule in the mockup and no element on the live page, and this is the other
   half of that repair.

   PORTED FROM concept/mockups/02-site-v1/css/pages/methodology.css §5. The
   measure cap is shared with the lead and resolves narrower on this element,
   543px against 578px, because `--ea-measure` is 34em and an em here is the
   concession's own 0.94rem. That is the mockup's behaviour and not a rounding:
   the step down in size is a step down in line length too.

   THE MOCKUP'S `color: rgba(255, 255, 255, 0.78)` IS DELIBERATELY NOT PORTED.
   It is a dead declaration in the mockup as well: `.ea-band p` in section 3 is
   (0,1,1) against this rule's (0,1,0) and paints solid white, which both sides
   measure. Carrying a dead declaration that names a contrast ratio is worse
   than omitting it, because the next reader takes it for the painted value. */
.ea-id__concede {
    max-width: var(--ea-measure);
    margin: 0 0 var(--ea-s5);
    font-size: 0.94rem;
    line-height: 28px;
}
/* Written at (0,3,0) so it beats the shorthand above on specificity rather than
   on position in the file, which is the mockup's own reason for the same
   selector. Below 768 the band's bottom padding is what separates the copy from
   the corner arc, and 24px of margin on top of it walks the concession into the
   45 degree star. */
@media (max-width: 767px) {
    .ea-id.ea-band .ea-id__concede {
        margin-bottom: 0;
    }
}
/* THE BAND ON A LIGHT SURFACE. `.ea-id` declares padding, a rail and type and
   NO ground; `.ea-band` is what supplies the EU blue, so this modifier supplies
   the two colours a head sitting on `.ea-wash` would otherwise be missing. */
.ea-id--light {
    padding-block: var(--ea-s5) var(--ea-s6);
}
.ea-id--light .ea-id__title {
    color: var(--ea-blue-900);
}
.ea-id--light .ea-id__lead {
    margin-bottom: 0;
    font-size: 1.06rem;
    line-height: 30px;
    color: var(--ea-ink-700);
}

.ea-id--media .ea-id__stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--ea-s8);
    align-items: center;
}
.ea-id--media .ea-id__text {
    min-width: 0;
}
.ea-id--media .ea-id__media {
    justify-self: end;
}

/* ---- 5.2 Closing band -------------------------------------------- */
.ea-closing {
    padding: var(--ea-s7) var(--section-padding-x);
}
.ea-closing__shell {
    position: relative;
    z-index: 1;
    max-width: var(--site-content-width);
    margin: 0 auto;
}
/* WHERE THE TWO COLUMNS BECOME ONE STAYS IN THE PAGE and is not promoted
   here: the corner star arc is anchored to the WINDOW and the action column to
   the RAIL, so the width at which they meet is a per-page ink measurement.
   The mockups bear that out with three different answers, 999 on eleven pages,
   900 on knowledge-hub and press-kit, 860 on methodology. */
.ea-closing__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--ea-s8);
    align-items: end;
}

/* THE FLOOR THE PARAGRAPH ABOVE STILL NEEDS, and the reason it needs one is
   measured. Leaving the collapse entirely to the pages meant five deployed
   sheets carried it and five did not, and a page without it never collapses at
   all: at 390 the methodology closing band resolved its tracks to `0px 320px`,
   which left the heading one character per line and the band 8606px tall
   against the mockup's 549px. The front page's came to 1399px against 543px
   and broke its heading mid-word. Two independent reviews and a direct
   measurement agree on the numbers.

   999 IS THE MOCKUPS' OWN MAJORITY and that is why it is the shared value:
   eleven of the thirteen page stylesheets collapse the plain row at exactly
   999, so this is the rule and the rest are the exceptions. The two exceptions
   that collapse EARLIER are both the `--document` variant, methodology at 860
   and press-kit at 900, and both keep their own rule in their own page sheet.
   Those selectors are (0,2,0) against this one's (0,1,0), so between their
   breakpoint and 999 they hold two columns exactly as their mockups do, and
   below it they collapse on their own terms. Nothing here has to know about
   them.

   ABOUT IS THE THIRD PAGE THAT DIFFERS AND ITS DIFFERENCE IS INERT, which is
   why it gets no scope of its own. `about.css` in the mockup states no closing
   collapse at all, so the mockup's About keeps the base `gap: 64px` and
   `align-items: end` at 390 while this floor gives it 32px and `start`. Both
   properties act on nothing: the About band is the `--statement` variant, whose
   row is `minmax(0, 1fr)` at every width, and it has exactly ONE child. Measured
   at 390, 880 and 1440 against the mockup, the row heights are 262, 198 and 198
   and the band heights 422, 326 and 326 — identical on both sides at all three.
   A gap with nothing to separate and an alignment with one item to align are a
   parity-diff entry and not a rendering difference, and adding a third page
   class to match them would take About out from under the floor that exists
   because a page whose sheet forgets the rule never collapses at all.

   TWO PAGES WERE KNOWINGLY OFF BY A NARROW BAND, AND ARE NOT ANY MORE.
   knowledge-hub.css collapses at 900 and submit-service.css at 1024, and
   neither page has a deployed stylesheet of its own to carry the difference.
   The breakpoints are still 99px early on knowledge-hub and 25px late on
   submit-service, in a window where both are already one column at the phone and
   two at the desk, and DECISIONS.md carries that. What is no longer true is
   the reason this comment gave for the VALUES being wrong too. It said
   expressing them "would need a body class keyed to the post id, which does not
   survive to production". A class keyed to the post id does not survive; a class
   keyed to the SLUG does, and `ea-front.php` had been adding exactly such a
   class for the front page the whole time. `ea-shell.php` now adds
   `ea-page-knowledge-hub` and `ea-page-submit-service`, and the two rules below
   restate only the declaration each mockup actually differs on.

   The `--document` variant is restated below rather than inherited. Its own
   rule is (0,2,0) and would otherwise beat a bare `.ea-closing__row` at (0,1,0)
   inside this media block, which is precisely how it came to be the
   worst-affected page in the first place. */
@media (max-width: 999px) {
    .ea-closing__row {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ea-s6);
        align-items: start;
    }
    /* THE TWO PAGES THE COMMENT ABOVE SAID COULD NOT STATE THEIR OWN VALUES.
       They can: `ea-shell.php` adds `ea-page-<slug>` for exactly these two, and
       a slug survives to production where a post id does not. Measured against
       the mockups at 390 and 880, the shared floor was giving both the majority
       value and both mockups say otherwise: knowledge-hub collapses at 24px, and
       submit-service's own sheet sets only columns and gap, so its `align-items`
       stays `end` from the base. Only the differing declaration is restated, so
       the shared collapse still owns everything else on both pages. */
    .ea-page-knowledge-hub .ea-closing__row {
        gap: var(--ea-s5);
    }
    .ea-page-submit-service .ea-closing__row {
        gap: var(--ea-s5);
        align-items: end;
    }
}
/* The floor under the `--document` variant, at the narrower of the two widths
   its pages measured, so neither methodology nor press-kit is contradicted and
   a document page that never gets a sheet of its own still cannot ship a
   collapsed heading. */
@media (max-width: 767px) {
    .ea-closing--document .ea-closing__row {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ea-s6);
        align-items: start;
    }
}
/* The prose measure of 01 §4.4, and a collision constraint rather than only a
   preference: at 38em the "Alternatives to" lead ran 68px further right at 768
   and the corner arc's ink crossed its last line. */
.ea-closing__text {
    max-width: var(--ea-measure);
}
.ea-closing__title {
    margin: 0 0 var(--ea-s3);
    max-width: 16em;
    font-weight: 800;
}
.ea-closing__lead {
    margin: 0;
}

.ea-closing__text .ea-byline:not(:first-child) {
    margin-top: var(--ea-s4);
}
.ea-closing__text .ea-byline:first-child {
    margin-bottom: var(--ea-s4);
}

/* `minmax(0, max-content)` rather than bare `max-content`: a long note in this
   column would otherwise size the track to the sentence's unwrapped width and
   push it out of the row. */
.ea-closing__actions {
    display: grid;
    grid-template-columns: minmax(0, max-content);
    justify-content: start;
    justify-items: stretch;
    gap: var(--ea-s3);
    flex: none;
}
.ea-closing__actions .ea-btn {
    justify-content: center;
    text-align: center;
}

/* 01 §8.3's methodology link. The `inline-flex` plus `min-height` puts the
   44px target (01 §11) on the link itself rather than on a block that fills
   the column. */
.ea-closing__more {
    margin: 0;
    font-size: 0.82rem;
    line-height: 22px;
    text-align: center;
}
.ea-closing__more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ea-s2);
    min-height: 44px;
    color: var(--ea-gold-500);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.ea-closing__more a:hover {
    color: #ffffff;
}
/* The pull is negative because the link's 44px hit area (01 §11) puts 12.5px of
   empty box above its ink, so a 12px grid gap reads as 24px of air. Done here
   and not on the grid `gap`, which also spaces the press kit's contact block. */
.ea-closing__actions .ea-closing__more {
    margin-top: calc(-1 * var(--ea-s2));
}
.ea-closing__cue {
    width: 18px;
    height: 18px;
}

/* MODIFIER: the closing band of a long document. Its second column is a stated
   width rather than `auto`, because a column sized to a long note takes the
   row apart. */
.ea-closing--document .ea-closing__row {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    /* THE GAP HAS TO COME BACK WITH THE COLUMNS. This rule re-expands the row at
       (0,2,0) so a document page stays two-column above its own breakpoint, and
       it beats the shared `max-width: 999px` collapse on specificity — but that
       collapse also sets `gap: var(--ea-s6)`, and nothing restored it, so the
       row was two columns at a one-column gap. Measured on `/methodology/` at
       880, where its mockup is still two columns: 32px against the mockup's
       64px, which moved the copy column to 443px against 411px.

       Restating `--ea-s8` here rather than raising the collapse's specificity,
       because the collapse is right for every page that is genuinely one column
       and the defect is only that this variant did not take its own gap back.
       Pages that collapse EARLIER state their own gap inside their own media
       query, at the same (0,2,0) but in a later sheet, so press-kit's 24px and
       methodology's below 860 still win. */
    gap: var(--ea-s8);
}

/* One column, not two with an empty second track: a two-track grid keeps its
   column gap even when the second track is empty, which cost the About page's
   copy 64px of rail. */
.ea-closing--statement .ea-closing__row {
    grid-template-columns: minmax(0, 1fr);
}
.ea-closing--statement .ea-closing__text {
    max-width: 28em;
    margin-inline: auto;
    text-align: center;
}
.ea-closing--statement .ea-closing__title {
    max-width: none;
}

/* This block sets `padding-block` on `.ea-id` and `.ea-closing` together, which
   is why §5.1 and §5.2 may not be split into two files. */
@media (max-width: 767px) {
    .ea-id,
    .ea-closing {
        padding-block: var(--ea-s6);
    }
}

/* ---- 5.3 The byline block (01 §8.1, 02 §8) ------------------------ */
.ea-byline {
    display: flex;
    align-items: center;
    gap: var(--ea-s3);
}
.ea-portrait {
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ea-blue-100);
    border: 2px solid var(--ea-blue-700);
}
.ea-portrait + .ea-portrait {
    margin-left: -20px;
}

/* WHY PARITY REPORTS `display: inline` HERE AND THE MOCKUP `block`, on four
   pages, and why nothing is wrong. The rule above is byte-identical to
   `css/ea-shared.css:580` and neither declares `display`; the difference is
   structural and it is the `<picture>` wrapper ShortPixel needs for WebP.
   In the mockup the `<img class="ea-portrait">` is a direct child of
   `.ea-byline`, which is `display: flex`, so its computed `display` is
   BLOCKIFIED to `block`. Here the flex item is the `<picture>` and the image is
   an ordinary inline child of it, so the same rule computes `inline`.

   MEASURED, so it is attribution and not assertion: at 1440 the portrait is
   48x48 on both sides, its parent is 48px tall on both, and its offset inside
   that parent is 0 on both. `.ea-person__photo` is the same cause at 72x72.
   Forcing `display: block` here would make a computed value match and change
   nothing a reader sees, which is why it is declared instead. The `-20px`
   overlap is stated separately for `picture + picture` further down for exactly
   the same reason. */

/* AND THE SAME WRAPPER BREAKS THE OVERLAP, which is the other half of the same
   defect and was missed when the half above was fixed. The stack of maintainer
   portraits overlaps by design: `.ea-portrait + .ea-portrait { margin-left:
   -20px }` above, restated at -14px below 768. With ShortPixel's wrapper in
   place the adjacent sibling of a `<picture>` is another `<picture>`, never an
   `.ea-portrait`, so the selector matches nothing and the negative margin is
   never applied.

   Measured on the front page at 1440: the three portraits step 60px apart live
   against the mockup's 40px, and `.ea-byline__text` therefore starts at x=368
   against 328. It is wrong on all four pages that draw a byline, in both
   languages, and no check in the tree could see it because every portrait is
   individually the right size and in the right order.

   Stated as `picture + picture` rather than by adding `> img` anywhere: the
   wrapper is the flex item, so the wrapper is what has to carry the margin.

   AND IT SITS HERE, BESIDE THE RULE IT MIRRORS, NOT WHERE IT WAS FIRST
   WRITTEN. Placed further down the file it came after the narrow-width
   block that restates the overlap at -14px, tied it on specificity and won
   on source order, so the phone kept the desktop overlap: measured at 390,
   the portraits stepped 28px apart against the mockup's 34. Two rules that
   answer the same question belong next to each other. */
.ea-byline > picture + picture {
    margin-left: -20px;
}
/* ROUND 20, ITEM S4: THE PORTRAIT-TO-TEXT GAP, ONCE, FOR THE WHOLE PORTAL.

   The client, on /service/piwik-pro/: "The gap between the author's avatar and
   the text 'Facts checked by EA Editorial on 7 September 2026' could be a little
   smaller. The same goes for all other placements of this kind on other
   subpages, where a similar gap exists, which you should correct at the same
   time."

   IT WAS 20px AND IT WAS TWO MECHANISMS. `.ea-byline` is a flex row with
   `gap: var(--ea-s3)`, 12px, and the text ALSO carried `margin-left:
   var(--ea-s2)`, 8px, so the one pair in the row a reader actually looks at was
   spaced by both while every other pair in it was spaced by the gap alone. The
   margin is what goes: a component whose spacing is stated twice cannot be
   changed in one place, which is exactly the sweep this item asked for.

   MEASURED, BEFORE AND AFTER, ON EVERY SURFACE THAT DRAWS THIS COMPONENT. The
   20px was identical across all of them, which is why one declaration answers
   for all of them: the service record's band, fact panel and our-take
   signature, the alternative-to record's band, the Knowledge Hub article, the
   front page's closing band, and the press kit's contact card, at 1440, 1200,
   1025, 768 and 390, in both languages. 12px after, everywhere, and 12px is not
   a new number: it is `--ea-s3`, the gap this component already declares.

   WHAT WAS MEASURED AND DELIBERATELY LEFT ALONE, because "a similar gap" is not
   the same component. The About page's people row (`.ea-person`, a 72px
   unringed photograph beside a name, role and sentence) already sits at 16px
   above 1164 and 12px below it, both of them the signed-off mockup's own
   values, and both already tighter than the byline was. The expert-profile
   masthead (`.ea-prof-id`, a 96px photograph beside an H1) sits at 24px and
   stacks on a phone. Neither is a byline and neither was over-spaced; the
   round-20 report carries their numbers. */
.ea-byline__text {
    margin: 0;
    max-width: 28em;
    font-size: 0.82rem;
    line-height: 22px;
}
.ea-byline__text strong {
    font-weight: 700;
}
/* The CHILD combinator matters and is not tidiness: the review date wraps two
   `<span class="ea-num">` numerals of its own, and a descendant selector turns
   those into blocks as well, breaking the date over three lines. */
.ea-byline__text > span {
    display: block;
}
.ea-band .ea-byline__text {
    color: rgba(255, 255, 255, 0.78);
}
.ea-band .ea-byline__text strong {
    color: #ffffff;
}

@media (max-width: 767px) {
    .ea-byline {
        flex-wrap: nowrap;
        align-items: center;
        gap: var(--ea-s3);
    }
    .ea-portrait {
        width: 36px;
        height: 36px;
    }
    .ea-portrait + .ea-portrait,
    .ea-byline > picture + picture {
        margin-left: -14px;
    }
    .ea-byline__text {
        width: auto;
        /* The phone restated the same 8px and is dropped with it. The flex gap
           is `--ea-s3` at this width too, so the phone and the desktop are one
           number rather than two that happen to agree. */
        margin: 0;
    }
}

/* THE LIGHT-SURFACE VARIANT (02 §8), a modifier rather than a page override.
   It carries NO MARGIN on purpose: the colour treatment is the component and
   where the block sits is the page's, so each page states its own step. */
.ea-byline--dated .ea-byline__text {
    color: var(--ea-ink-500);
}
.ea-byline--dated .ea-byline__text strong {
    color: var(--ea-ink-900);
}
.ea-byline--dated .ea-byline__text a {
    color: var(--ea-blue-700);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    padding-block: 13px;
}
.ea-byline--dated .ea-byline__text a:hover {
    color: var(--ea-blue-500);
}
/* `.ea-byline--dated` and `.ea-band .ea-byline__text` are both (0,2,0), so on a
   band the later rule wins and the byline paints ink on EU blue. Restated here
   at (0,3,0) rather than reordered: order alone is a trap for the next edit. */
.ea-band .ea-byline--dated .ea-byline__text {
    color: rgba(255, 255, 255, 0.78);
}
.ea-band .ea-byline--dated .ea-byline__text strong {
    color: #ffffff;
}
.ea-band .ea-byline--dated .ea-byline__text a {
    color: var(--ea-gold-500);
}
.ea-band .ea-byline--dated .ea-byline__text a:hover {
    color: var(--ea-gold-400);
}

/* `.ea-portrait`'s ring is --ea-blue-700 and every portrait on this portal sits
   in a band of the same colour, 1.00:1, so on a band the ring is white. On a
   light surface the blue ring is correct and stays. */
.ea-band .ea-portrait {
    border-color: #ffffff;
}

/* WORDPRESS WRAPS EVERY PORTRAIT IN <picture> AND THAT BREAKS `flex: none`.
   ShortPixel serves AVIF and WebP through a `<picture>` element, so the flex
   item in a byline row is the wrapper and not the `<img>` that carries the
   sizing. The image keeps its own rules and the wrapper takes the row's
   remaining space, so a portrait squashes: measured on submit-service at 390,
   three portraits at 24x36, 23x36 and 24x36 where all three should be 36x36
   circles. The mockups have no `<picture>` anywhere, so no mockup rule answers
   this and it has to be stated here. */
.ea-byline > picture {
    display: block;
    flex: none;
}

/* ---- 5.4 DOES NOT SHIP HERE. The people row moved to
   parts/ea-people-row.css on 2026-09-02 and becomes a block stylesheet. */

/* ---- 5.5 Star placements the pages agree on ---------------------
   Only these two. Every other offset in the motif was solved per page by a
   collision sweep against that page's own copy and is not interchangeable. */
.ea-stars--closing-corner {
    right: -104px;
    top: -84px;
    width: 300px;
    height: auto;
    transform: rotate(90deg);
}
.ea-stars--band-corner {
    display: none;
    right: -64px;
    bottom: -76px;
    width: 300px;
    height: auto;
}

/* ---- 5.7 The micro-label ------------------------------------------
   The uppercase line that names a part without competing with the heading
   above it. The body face is DECLARED rather than inherited because one of
   these labels sits on an `<h3>`, which would take the heading face instead. */
.ea-label {
    margin: 0 0 var(--ea-s2);
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ea-ink-700);
}
/* On a band, 0.78 white is 7.15:1 on --ea-blue-700 (01 §3.4). */
.ea-band .ea-label {
    color: rgba(255, 255, 255, 0.78);
}

/* ---- 5.10 The logo container (01 §9.3, 02 §11) ---------------------
   `overflow: hidden` keeps a full-bleed mark's square corners inside the radius,
   and `display: block` keeps an inline image's baseline out. The optical
   padding is the inner-padding rule further down, see there for why it now
   lives in CSS rather than in the files. */
.ea-logo {
    overflow: hidden;
    background: var(--ea-surface);
    border: 1px solid var(--ea-line-strong);
}
/* A DESCENDANT SELECTOR, NOT A CHILD ONE, and the difference is ShortPixel.
   It wraps most `<img>` in `<picture>`, so `.ea-logo > img` matched only the
   unwrapped ones: measured 2026-09-08 on `/alternative-to/`, 18 of 120 alt
   logos matched and 102 did not. It looked correct anyway because the emitters
   write `width` and `height` attributes on the tag, so this was latent rather
   than visible, and it would have surfaced the first time a logo was not
   square. The `<picture>` needs the box rules too: it is inline by default, so
   without them it is a shrink-wrapped inline box inside a sized square. */
.ea-logo > picture {
    display: block;
    width: 100%;
    height: 100%;
}
.ea-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* THE INNER PADDING, added 2026-10-26 at the product owner's request. The
   mockup-era normaliser that baked padding into the files (LEARNINGS.md 164)
   was removed on 2026-09-11 and the live logo step only contain-fits, so
   measured that day 98 of 135 card logos sat edge to edge and only 7 carried
   10 per cent or more of their own margin. A square icon on a coloured plate
   then filled the tile and the white surface with its hairline disappeared.

   On the IMAGE, not the tile, because a percentage padding resolves against the
   containing block's width, and for the image that is the tile, so one value
   scales with every size. The monogram plate has no image and keeps its
   centring. The 18 and 24px marks are left out: they sit inline in running
   text and a margin there costs the mark a third of its ink. */
.ea-logo:not(.ea-logo--18):not(.ea-logo--24) img {
    padding: 8%;
}

.ea-logo--40,
.ea-logo--48,
.ea-logo--64,
.ea-logo--96 {
    display: block;
    flex: none;
    border-radius: var(--ea-radius-card);
}
/* `--18` and `--24` are the two sizes `ea_record_logo()` writes that this
   section did not declare, so the class it emitted was a no-op and the mark
   was sized only by whatever context class happened to sit beside it
   (`.ea-tile__logo` on the front page, `.ea-xref__mark` on the category
   archive). Both measured at exactly 18 and 24 already, so this changes no
   rendering; what it removes is a trap, because deleting the context rule
   would have silently resized a mark that appears to declare its own size.

   The category-single mockup asked for exactly this and named the file:
   "Lifting `.ea-logo--24` into css/ea-shared.css §5.10 beside --40 and --48 is
   the right home for it and is reported to the coordinator rather than done
   here, because that file is shared and no builder owned it this round."

   DELIBERATELY WIDTH AND HEIGHT ONLY. The group above adds `display: block`,
   `flex: none` and the card radius. `.ea-tile__logo` is `inline-block` with a
   4px radius and `vertical-align: -4px`, and it is (0,1,0) exactly as these
   are, so a shared `display` here would be decided by stylesheet order rather
   than by intent and would move the front page's inline marks. The two sizes
   keep the radius their own context sets. */
.ea-logo--18 {
    width: 18px;
    height: 18px;
}
.ea-logo--24 {
    width: 24px;
    height: 24px;
}
.ea-logo--40 {
    width: 40px;
    height: 40px;
}
.ea-logo--48 {
    width: 48px;
    height: 48px;
}
.ea-logo--64 {
    width: 64px;
    height: 64px;
}
.ea-logo--96 {
    width: 96px;
    height: 96px;
}
.ea-logo--ring {
    box-shadow:
        0 0 0 3px var(--ea-surface),
        0 0 0 4px var(--ea-ink-300);
}
.ea-logo--mono {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ea-ink-500);
}

/* ---- 5.21 The closing utility row (13 §2.11) -----------------------
   No share buttons, no tag cloud and no newsletter: six icons would compete
   with the correction path, and the URL is already in the address bar.

   IN THE MOCKUP AND NOT IN THE PLAN'S TABLE. The master plan's §5.3 mapping
   omits §5.21 and `ea-shared.css` itself keeps it. The mockup is the authority
   on what the shared layer contains, so it ships. */
.ea-utility {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--ea-s2) var(--ea-s4);
    margin: var(--ea-s5) 0 0;
    font-size: 0.82rem;
    line-height: 22px;
}

/* Stated OUTSIDE any `min-width` media block on purpose: a `max-width: 767px`
   query nested inside a `min-width: 1025px` one can never match at any width. */
@media (max-width: 767px) {
    .ea-utility {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .ea-utility__label {
        margin-bottom: var(--ea-s1);
    }
    .ea-main .ea-utility a,
    .entry-content .ea-utility a {
        padding-block: 11px;
    }
}
.ea-utility__label {
    color: var(--ea-ink-500);
}
.ea-main .ea-utility a,
.entry-content .ea-utility a {
    color: var(--ea-blue-700);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    padding-block: 13px;
}
.ea-main .ea-utility a:hover,
.entry-content .ea-utility a:hover {
    color: var(--ea-blue-500);
}

/* ---- 5.28 The provenance line (11 §2.3b, 26 §4) --------------------
   IT MAY NOT BE DROPPED AT ANY BREAKPOINT and it may not move below the list
   it describes. That is Art. 7(4a) of Directive 2005/29/EC rather than a
   design preference, which is why no media query in this file touches it. */
.ea-provenance {
    max-width: var(--ea-measure);
    margin: var(--ea-s4) 0 0;
    font-size: 0.88rem;
    line-height: 22px;
    color: var(--ea-ink-500);
}

/* ---- 5.31 The gold section rule (01 §3.3, 14 §2.7) -----------------
   EU gold as a decorative SHAPE only: gold on text is 1.79:1 and forbidden.
   The rule sits on the SEAM between two bands, never on a strip of white.
   The front page draws the same 3px line on its own `.ea-cluster`; unifying
   the two gives the alternatives overview seven gold lines it lacks. */
.ea-gold-rule {
    border-top: 3px solid var(--ea-gold-500);
}

/* ------------------------------------------------------------------
   6. Motion (01 §10)
   ------------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================================================
   THE FULL-BLEED SECTIONS WERE NOT FULL BLEED, AND IT IS THE LARGEST
   VISUAL DEFECT ON THE PORTAL.

   WordPress core ships, for any block container with `is-layout-constrained`:

       .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
           max-width: var(--wp--style--global--content-size);
           margin-left: auto;
           margin-right: auto;
       }

   Blocksy renders the page body as `<div class="entry-content
   is-layout-constrained">`, and NO SECTION ON THIS PORTAL CARRIES
   `alignfull`, so every one of them matched that rule. Measured at 1440px on
   /about/ before this fix: every `.ea-section`, `.ea-id` and `.ea-closing`
   sat at x=180 w=1080 with `max-width: 1080px`, against x=0 w=1440 and
   `max-width: none` in the signed-off mockup.

   THE CONSEQUENCE IS NOT ONLY THE BAND. Each section's own 42.5px padding
   then bit inside an already-capped box, so the content measure came out at
   995px instead of 1080px and every card on the portal was about 8 per cent
   narrow. So one core rule moved both the bands and everything inside them.

   WHY AN OVERRIDE RATHER THAN `alignfull` ON EVERY BLOCK. `alignfull` would
   have to be written into the attributes of every section on eight composed
   pages and re-applied by every future compose run, and a page an editor
   builds by hand would silently lose it. The portal's own section classes ARE
   the statement "this element spans the viewport", so the rule is expressed
   once, where that meaning lives.

   Specificity: core's selector is (0,1,0), because `:where()` contributes
   nothing. `.is-layout-constrained > .ea-section` is (0,2,0) and wins on
   specificity rather than on source order, which is what keeps it working
   whatever order the bundler emits.
   ===================================================================*/
.is-layout-constrained > [class^="ea-"],
.is-layout-constrained > [class*=" ea-"] {
    /* ENUMERATION REPLACED BY A PATTERN, after the list had grown to nine class
       names and still missed two. `.ea-forms` on the submit page and
       `.ea-catalogue` on the catalogue were each boxed to 1080px, and each put
       its own `.ea-shell` at 223/995 instead of 180/1080, so the page looked
       almost right and every card inside it was 8 per cent narrow.

       Every top-level `ea-` region on this portal spans the viewport and
       carries its own shell for the measure, so the pattern states the rule the
       enumeration was approximating. A new section gets it without anybody
       remembering to add a line, which is what the two misses cost.

       `max-width` wins on specificity at (0,1,1) against core's (0,1,0), and
       against our own single-class rules. The margin needs `!important`
       because core writes `margin-left: auto !important` and an important
       declaration is decided in a different cascade layer from a normal one. */
    max-width: none;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;

    /* THE OTHER HALF OF THE SAME CORE RULE, and it is the most visible
       divergence on the portal. `:root :where(.is-layout-constrained) > *`
       also carries `margin-block-start: var(--theme-content-spacing)`, which
       Blocksy sets to 1.5rem, so every top-level section after the first
       opened with a 25.5px margin. Measured at 1440 on /about/: bands at
       y=80, 400, 1088, 1527, 2100 with a 25 or 26px gap before each of the
       last four, against 80, 576, 1475, 1980, 2300 abutting exactly in the
       signed-off mockup. Because these sections carry their own grounds — EU
       blue on `.ea-band`, the tints on `.ea-wash` and `.ea-tint` — each gap
       is a white stripe across the page, four of them on About alone, and it
       repeats on every composed page.

       Zero is the mockup's value everywhere, not an approximation of it: the
       vertical rhythm on this portal lives in each section's own padding, so
       a gap between them is a second, competing source of spacing. Same
       specificity argument as above, (0,2,0) against core's (0,1,0), so no
       `!important` is needed and none is used. */
    margin-block-start: 0;
}

/* THE SAME CORE RULE, ONE LEVEL FURTHER IN, and this is the half that was left.
   The block above stops `:root :where(.is-layout-constrained) > *` putting
   25.5px between the SECTIONS. Inside a section the children sit in their own
   layout container, so the same declaration puts the same 25.5px between a
   component and whatever precedes it. The margin sweep found it on five
   components across three pages: About's `.ea-values__close` and
   `.ea-matter__lead`, the press kit's `.ea-boiler__intro`, `.ea-closing__para`
   and `.ea-press-contact__legal`, and the countries index's
   `.ea-excluded__parts`, every one of them 25.5px where the mockup has 0.

   THE VALUE IS NEUTRALISED AT ITS SOURCE, NOT OUT-SPECIFIED. Blocksy's rule
   reads `margin-block-start: var(--theme-content-spacing)`, so setting that
   custom property to 0 on the portal's own sections makes the declaration
   compute to nothing while leaving every component's own margin completely
   alone.

   THE OBVIOUS ALTERNATIVE WAS TRIED FIRST AND WAS WRONG, which is why this
   comment is long. A rule zeroing `margin-block-start` on
   `.entry-content .ea-* :where(.is-layout-flow) > *` is (0,3,0) against a
   component's (0,1,0), so it zeroes a DECLARED margin as readily as an
   inherited one. It fixed six components and broke one: `.ea-ledger` lost its
   own 24px top margin on About. The margin sweep caught that in the very next
   pass, and every future component with a declared top margin would have had to
   be restated by hand as an enumeration nobody could close. Neutralising the
   variable has no such list.

   (A first draft of this comment also blamed that rule for `.ea-sr-only` losing
   its `-1px`. That was wrong and is corrected rather than quietly dropped:
   CDP's matched-rule list shows `.ea-sr-only` losing to core's own
   `:root :where(.is-layout-flow) > *` at the same (0,1,0) on source order, both
   before and after. It is restated below on its own account.)

   SCOPED TO THE PORTAL'S OWN SECTIONS. Setting the property on `.entry-content`
   would reach a page an editor writes from plain blocks, where core's spacing is
   the only spacing there is and removing it would collapse the page into a
   wall. */
.entry-content :is([class^="ea-"], [class*=" ea-"]) {
    --theme-content-spacing: 0px;
}

/* `.ea-sr-only`'s `margin: -1px` LOSES TO CORE ON SOURCE ORDER, AND IS LEFT
   THAT WAY DELIBERATELY. Both are (0,1,0) and core's
   `:root :where(.is-layout-flow) > *` is emitted later in the bundle, so the
   press kit's hidden string computes 0/-1 against the mockup's -1/-1.

   RESTATING IT AT (0,2,0) WAS TRIED AND MADE THINGS WORSE, which is why this is
   a comment and not a rule. A blanket `.entry-content .ea-sr-only { margin:
   -1px }` took the sweep from 11 mismatches to 15: it still lost its
   block-start half to press-kit.css's own `.ea-quotes.is-layout-flow > *` at
   equal specificity, and it forced `-1px` onto `.ea-filter__count.ea-sr-only`
   on both taxonomy archives, where the mockup deliberately sets 0. The margin
   of a visually-hidden element is context-dependent in the mockups and a single
   portal-wide value is wrong for it.

   WHAT IT COSTS, measured rather than waved away: one pixel of block-start on
   an element that is 1px square, clipped to nothing, and absolutely positioned.
   It cannot move visible layout. Recorded here so the sweep's two remaining
   `.ea-sr-only` lines are a known deviation rather than an unread failure. */

/* ===================================================================
   BLOCKSY'S HEADING MARGIN BEATS EVERY CARD TITLE ON SOURCE ORDER.

   Blocksy ships:

       :is(.is-layout-flow, .is-layout-constrained) :where(h1,h2,h3,h4,h5,h6) {
           margin-block-end: calc(0.3em + 10px);
       }

   That is specificity (0,1,0), because `:where()` contributes nothing and
   `:is()` takes the weight of its heaviest argument, here a class. This
   stylesheet's own `.ea-cell__title { margin: 0 }` is ALSO (0,1,0), so the two
   tie and the winner is whichever the bundle emits last, which is Blocksy.

   Measured at 1440px on the front page: `.ea-tile__title` carried
   `margin-bottom: 15.1px` against the mockup's `0px`, and
   `.ea-cluster__title` 20.2px against 4px. Every card on the portal was about
   15px taller than it was drawn, which compounds down a grid of 52 tiles.

   A tie broken by source order is not a cascade anybody can reason about, so
   the fix is to stop tying. `.entry-content` and `.ea-main` are the portal's
   two content wrappers, and adding either takes these to (0,2,0), which wins
   on specificity and keeps winning whatever order the bundler chooses.
   ===================================================================*/
.entry-content .ea-cell__title,
.ea-main .ea-cell__title,
.entry-content .ea-tile__title,
.ea-main .ea-tile__title,
.entry-content .ea-cluster__title,
.ea-main .ea-cluster__title,
.entry-content .ea-card__title,
.ea-main .ea-card__title,
.entry-content .ea-service-card__title,
.ea-main .ea-service-card__title {
    margin-block-end: 0;
}

.entry-content .ea-cluster__title,
.ea-main .ea-cluster__title {
    margin-block-end: 4px;
}

/* THE ENUMERATION ABOVE WAS FIVE CLASSES AND THE TIE REACHES TEN MORE, which
   three independent page reviews found separately before anybody connected
   them: the methodology scope title, the knowledge hub topic name, four press
   kit titles, three submit-service titles and the answers title. Every one of
   them declares its own margin at (0,1,0) in the ported component CSS, ties
   with Blocksy's heading rule, and loses on the order the LiteSpeed bundle
   happens to emit.

   THE VALUES ARE MEASURED OFF THE MOCKUPS, NOT COPIED FROM THE SOURCE, which
   matters because a component's declared margin and its computed one are the
   same string here only when the tie does not fire. Each number below was read
   from the mockup at 1440 AND at 390 and is the same at both, so none of them
   is a width-dependent value flattened into a constant.

   THIS IS STILL AN ENUMERATION AND THAT IS A KNOWN WEAKNESS. The full-bleed
   rule in this file was an enumeration of nine class names that still missed
   two, and became a pattern for exactly that reason. A pattern cannot work
   here: a rule general enough to beat Blocksy at (0,2,0) would also beat each
   component's own (0,1,0) declaration, so it would have to restate every
   value anyway. What replaces the pattern is a check — verify/wp's
   margin sweep compares every `ea-` heading's computed margin against the
   mockup's on every page, so the next class to join this tie is reported
   rather than discovered by a reader. */
.entry-content .ea-answers__title,
.ea-main .ea-answers__title {
    margin-block-end: 24px;
}
.entry-content .ea-scope__title,
.ea-main .ea-scope__title,
.entry-content .ea-criteria__title,
.ea-main .ea-criteria__title,
/* `.ea-article-card__title` joined this tie on 2026-09-06, found by a gate
   rather than by a reader: the Knowledge Hub's card titles carried
   `margin-bottom: 17.65px`, which is `calc(0.3em + 10px)` at their 25.5px, in
   place of the 12px their own block stylesheet declares. It is the same tie
   this block exists for, and the block sheet cannot win it from where it
   loads. */
.entry-content .ea-article-card__title,
.ea-main .ea-article-card__title {
    margin-block-end: 12px;
}
.entry-content .ea-topic__name,
.ea-main .ea-topic__name {
    margin-block-end: 0;
}
.entry-content .ea-dl__title,
.ea-main .ea-dl__title,
.entry-content .ea-asset__name,
.ea-main .ea-asset__name,
.entry-content .ea-boiler__title,
.ea-main .ea-boiler__title,
.entry-content .ea-panel__title,
.ea-main .ea-panel__title {
    margin-block-end: 8px;
}
.entry-content .ea-mission__title,
.ea-main .ea-mission__title,
.entry-content .ea-next__title,
.ea-main .ea-next__title {
    margin-block-end: 32px;
}

/* `.ea-label` loses to a DIFFERENT core rule and is included here because the
   symptom is identical. `:root :where(.is-layout-flow) > * { margin-block-end:
   0 }` is (0,1,0), ties with `.ea-label`'s own `margin: 0 0 var(--ea-s2)` and
   wins on order, so the uppercase micro-label sits flush on the paragraph it
   introduces. Measured 0px against the mockup's 8px on the countries index and
   on About. About's own sheet then raises it to 24px, which is a page override
   and stays in the page. */
.entry-content .ea-label,
.ea-main .ea-label {
    margin-block-end: var(--ea-s2);
}

/* ===================================================================
   THE SHELL, FOR SECTIONS THAT DO NOT CARRY ONE.

   The mockups wrap every section's content in `<div class="ea-shell">`, which
   is `max-width: var(--site-content-width); margin: 0 auto`. Six of the eight
   composed pages emit no such wrapper, because their sections are `core/group`
   blocks whose children sit directly inside.

   That cost nothing while the sections were boxed to 1080px by core's
   constrained-layout rule, since the box did the shell's job by accident. The
   moment the bands were made full bleed, the same content ran the full 1440px
   less padding: measured on /about/, children at x=43 w=1355 against the
   mockup's single child at x=180 w=1080, and the press kit's cards at 665.5px
   against 528px.

   SO THIS IS THE OTHER HALF OF THE FULL-BLEED FIX rather than a separate
   defect, and it is expressed in CSS rather than by adding a wrapper to six
   compose scripts. Stacked block children each centre at the same measure, so
   the result is what one shared wrapper would produce, and a page an editor
   builds by hand gets it without having to know the rule.

   `:not(.ea-shell)` so a section that DOES carry one is left alone rather than
   constrained twice, and `:not(.alignfull)` so a child that deliberately spans
   the section keeps doing it.
   ===================================================================*/
.entry-content .ea-section > *:not(.ea-shell):not(.alignfull),
.ea-main .ea-section > *:not(.ea-shell):not(.alignfull) {
    max-width: var(--site-content-width, 1080px);
    margin-inline: auto;
}

/* ===================================================================
   THE LISTING LIST, IN THE SHARED LAYER WHERE IT BELONGS.

   `.ea-list` and `.ea-list--grid` are ported from the mockup's
   `css/parts/ea-listing-row.css`, which is a PART rather than a page sheet.
   In this build the grid half had come to rest inside
   `css/pages/category-single.css`, which is enqueued on one template.

   The cost was measured on `/alternative-to/paypal/`: the markup carries
   `ul.ea-list.ea-list--grid.ea-related`, byte-identical to the mockup, and the
   list computed `display: block` with its cards at 223/1038 instead of
   `display: grid` with cards at 180/349. The classes were right and the rule
   was on another page.

   That is the same shape as the `.ea-xref` chips and `.ea-empty` panel before
   it: a shared component whose stylesheet lives with one of its consumers.
   A component used on more than one template belongs in the shared layer, and
   the test is not "does this page look right" but "does every page that emits
   the class load the rule".
   ===================================================================*/
.ea-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: var(--ea-s3);
}

@media (min-width: 768px) {
    .ea-list--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--ea-s4);
    }
}

@media (min-width: 1024px) {
    .ea-list--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
