/*
Theme Name: Ayekah
Theme URI: https://github.com/ayekah/ayekah-website
Author: Ayekah & Co.
Author URI: https://www.ayekah.co
Description: Block (full-site-editing) theme for ayekah.co. Native WordPress blocks, no page builder, no third-party requests at render time. Built against three hard targets: Lighthouse 90+ on mobile, WCAG 2.1 AA, and zero non-essential cookies.
Version: 0.3.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ayekah
Tags: full-site-editing, block-styles, editor-style, wide-blocks, accessibility-ready, blog, one-column, custom-logo, custom-menu, translation-ready
*/

/*
 * Nearly everything visual lives in theme.json. This file stays thin on purpose:
 * only the rules theme.json cannot express belong here.
 */

/* Skip link — WordPress core's, not ours. The theme's own was DELETED
   2026-09-01 (ruled 2026-08-30); the specification survives and retargets onto
   core's. See functions.php for the deletion and the two measured conditions.

   🚩 THIS IS A SPECIFICITY PROBLEM, NOT A STYLING ONE, AND THAT IS THE WHOLE
   REASON THE SELECTOR LOOKS LIKE THIS.

   Core ships its own inline stylesheet for this element:

       .skip-link.screen-reader-text:focus { background-color:#eee; color:#444;
         left:5px; top:5px; padding:15px 23px 14px; z-index:100000 }

   TWO FIGURES, TWO RULES — stated with their scope, because a number without
   its population is this project's most-repeated defect:

     .skip-link.screen-reader-text          (0,2,0)  core's base/hiding rule
     .skip-link.screen-reader-text:focus    (0,3,0)  core's revealed rule
     a.skip-link.screen-reader-text:focus   (0,3,1)  this rule

   The old theme rule was a bare `.skip-link` at (0,1,0). THAT loses to both of
   core's on specificity at every load order, which is why core's grey #eee chip
   is what has been shipping and why an audited treatment was decorative.

   An EXACT two-class match at (0,3,0) is a different case and does NOT lose at
   every order — it ties, and order decides. Measured, all four cases, on a
   harness carrying core's own stylesheet:

     core base beats a LATER bare .skip-link          → core wins (specificity)
     exact (0,3,0) match declared AFTER core          → the match wins (order)
     exact (0,3,0) match declared BEFORE core         → core wins (order)
     a(0,3,1) declared BEFORE core                    → this rule wins

   🚩 SO WHY THE ELEMENT PREFIX, WHEN MATCHING WOULD WORK TODAY. Because the
   order that would make it work is core's, not ours. Core's rule is INLINED
   into <head> (`wp_maybe_inline_styles()` — the handle is in script-loader.php's
   inline list and carries a `path`), enqueued from
   `add_action( 'wp_enqueue_scripts', 'wp_enqueue_block_template_skip_link' )` in
   default-filters.php at priority 10 — registered during core bootstrap, so
   ahead of anything this theme registers at the same priority. Measured: core's
   <style> precedes `id='ayekah-css'` on all five captured routes. Nothing here
   sets that and no hook guarantees it stays.

   One element-level step removes the dependency entirely. Not `!important`, not
   a repeated class, not `:not()` padding, not an id — the minimum that makes the
   outcome unreachable rather than arranged. That is D8's own remedy: an
   order-dependent outcome fixed by ordering ships again the next time the
   emission order changes. Raised with Design as DCR-055, because the ruling
   asked for the exact match and it is followable — on an order we do not own.

   THE GROUND IS CARRIED, NOT INHERITED — upstream component-states.md § 4. The
   chip sits at the top of <body>, outside every scheme scope, so the aliases
   resolve at :root in all three cases: white ground, rubric label, 6.95:1, and
   the ring at 6.95:1 against the chip / 6.43:1 against paper. § 4's table gives
   a night row for a chip inside a night scope; this one cannot be inside one,
   so the paper row governs on every page. One ground, one audited ratio, no
   dependence on what the page opens with.

   z-index 200 is § 4's figure and it clears the sticky header, which is 100
   (--z-header, docs/tokens/layout.css) — checked rather than assumed.

   ⚠ ONE DEVIATION FROM § 4, RECORDED RATHER THAN SILENTLY TAKEN. § 4 prescribes
   the hidden state as off-canvas and says "NOT clip on a focusable element".
   Core hides it with clip-path + 1px box, and that is LEFT ALONE: the objection
   to clipping is about the revealed state being unreachable, and core's :focus
   sets clip-path:none, height:auto, width:auto — so the revealed state is fully
   unclipped. Overriding core's !important positioning to satisfy the letter of a
   row whose own spec does not call it load-bearing would be a change with no
   measured defect behind it. The three properties § 4 DOES call load-bearing —
   measured on all grounds, carries its own ground, reveals on :focus rather than
   :focus-visible — all hold. */
a.skip-link.screen-reader-text:focus {
	left: var(--wp--custom--gutter);
	top: var(--wp--preset--spacing--2);
	z-index: 200;
	padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
	background-color: var(--surface-raised);
	color: var(--text-accent);
	border: 1px solid var(--border-control);
	border-radius: var(--wp--custom--radius-sm);
	line-height: normal;
}

/* One focus ring, globally: 2px rubric at 3px offset, :focus-visible only.
   It is never removed, only offset. Rubric on paper is 6.43:1, well over the
   3:1 non-text floor. */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: var(--wp--custom--ring--width) solid var(--wp--preset--color--rubric);
	outline-offset: var(--wp--custom--ring--offset);
}

/* Scheme sections re-point the ring through the --focus-ring alias — night
   inverts it to the only accent that clears AA on that ground (rubric-lifted,
   6.50:1; rubric itself fails at 2.5:1 on night). Paper and veil resolve it
   back to rubric. */
:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) :where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline-color: var(--focus-ring);
}

/* Respect the reader's motion preference. */
@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;
	}
}

/* ---------------------------------------------------------------------------
   Semantic aliases — the :root block from docs/tokens/colors.css, imported
   byte-identical. The --ayk-* raw values repeat what theme.json ships as
   presets; they come along because the import rule is "copy the source, never
   fork it" — the aliases below them are why the block ships at all. Every
   scheme scope re-points these aliases; every consumer reads them.
   --------------------------------------------------------------------------- */
:root{
  /* --- Ground: paper ------------------------------------------------ */
  --ayk-white:#FFFFFF;          /* raised card only */
  --ayk-paper:#F7F6F3;          /* the page. warm, quiet, not parchment */
  --ayk-veil:#EFEDE7;           /* sunken band, quotes, table stripe */
  --ayk-hairline:#DCD8CF;       /* decorative rule between blocks. 1.3:1 —
                                   separator only, never an essential edge */
  --ayk-edge:#8B877F;           /* control boundary: input, select, checkbox.
                                   3.3:1 on paper — meets WCAG 1.4.11 */

  /* --- Ink ---------------------------------------------------------- */
  --ayk-ink:#24231F;            /* headline. 14.9:1 on paper */
  --ayk-ink-body:#3A3835;       /* running text. 10.4:1 on paper */
  --ayk-ink-muted:#65625C;      /* meta, captions. 5.6:1 on paper */
  --ayk-ink-faint:#8F8B83;      /* disabled text, watermarks. 3.2:1 — never
                                   for anything a reader must act on */

  /* --- Ground: night ------------------------------------------------ */
  --ayk-night:#1B1A18;          /* inverse surface */
  --ayk-night-raised:#262521;   /* inverse card */
  --ayk-night-hairline:#3D3B36; /* decorative */
  --ayk-night-edge:#6E6A63;     /* control boundary on night. 3.4:1 */

  /* --- Accent: rubric ------------------------------------------------
     The red a scribe reserved for the question in the margin. One accent
     carries ~90% of interactive meaning. */
  --ayk-rubric:#9A3B22;         /* 6.4:1 on paper; white on it 7.0:1 */
  --ayk-rubric-deep:#7A2C18;    /* hover / press */
  --ayk-rubric-lifted:#DA8B62;  /* accent ON night. 6.0:1 */
  --ayk-rubric-veil:#F1E6E0;    /* tint band, selection */

  /* --- Semantic, used sparingly ------------------------------------- */
  --ayk-affirm:#3B6144;         /* 6.6:1 on paper */
  --ayk-caution:#7A5A12;        /* 6.1:1 on paper */
  --ayk-alert:#A11F17;          /* 6.6:1 on paper — distinct from rubric */

  /* ================= Semantic aliases ================= */
  --text-heading:var(--ayk-ink);
  --text-body:var(--ayk-ink-body);
  --text-muted:var(--ayk-ink-muted);
  --text-faint:var(--ayk-ink-faint);
  --text-accent:var(--ayk-rubric);
  --text-accent-hover:var(--ayk-rubric-deep);
  --text-on-dark:#F2F0EC;
  --text-on-dark-muted:#A8A49C;
  --text-on-accent:#FFFFFF;

  --surface-page:var(--ayk-paper);
  --surface-raised:var(--ayk-white);
  --surface-sunken:var(--ayk-veil);
  --surface-inverse:var(--ayk-night);
  --surface-inverse-raised:var(--ayk-night-raised);
  --surface-accent:var(--ayk-rubric);
  --surface-accent-hover:var(--ayk-rubric-deep);
  --surface-accent-veil:var(--ayk-rubric-veil);

  --border-hairline:var(--ayk-hairline);
  --border-strong:var(--ayk-edge);
  --border-inverse:var(--ayk-night-hairline);
  --border-control:var(--ayk-edge);
  --border-accent:var(--ayk-rubric);

  --focus-ring:var(--ayk-rubric);
  --focus-ring-inverse:var(--ayk-rubric-lifted);

  --selection-bg:var(--ayk-rubric-veil);
  --selection-fg:var(--ayk-ink);
}

/* ---------------------------------------------------------------------------
   Schemes — the three section-level grounds: paper, veil, night.

   tokens/colors.css scopes the inversion to [data-ayk-scheme="night"];
   WordPress emits a registered block style as a class, .is-style-night. Both
   selector forms are listed on every scope so the imported source stays
   byte-identical and either entry point works; the source is NOT forked to
   match WordPress's class emission. The paper and veil scopes have no source
   counterpart — the source's :root IS the paper ground — so they are authored
   here following the same pattern, restating the :root aliases so a scheme
   nested inside another scheme resolves correctly.

   Every value re-points a semantic alias, foreground and background together.
   A scheme is a closed pairing: the editor exposes no colour control inside
   one, and functions.php strips colour attributes out of a scheme's rendered
   subtree, so these aliases are the only colour authority in a section. See
   docs/DESIGN-SYSTEM.md ("Section schemes") and KNOWN-ISSUES #17.

   Ratios are from docs/guidelines/contrast.md, and it now covers every
   pairing this block can reach.

   🚩 Corrected 2026-08-23. These lines read "the exceptions the audit does not
   yet cover are --text-heading #F4F2EE on night, and ink #24231F on veil
   (KNOWN-ISSUES #16/#17)". Both are in the table — on-dark-heading / night at
   15.55:1 and ink / veil at 13.43:1 — and KNOWN-ISSUES #16 is CLOSED.
   The dates are the whole of it: this comment landed at 09:08 on 2026-08-16
   (PR #23) and the regenerated audit landed at 12:10 the SAME DAY (PR #24),
   adding exactly the two rows named here and closing the entry. Three hours,
   then seven days unread, in the file that is this theme's colour authority —
   and it pointed a reader at a closed entry as though it were open.
   #17 stands and is cited on its own above: it is the binding gap, not an
   audit gap.
   --------------------------------------------------------------------------- */
[data-ayk-scheme="paper"],
.wp-block-group.is-style-paper {
	--text-heading: var(--wp--preset--color--ink);
	--text-body: var(--wp--preset--color--ink-body);
	--text-muted: var(--wp--preset--color--ink-muted);
	--text-accent: var(--wp--preset--color--rubric);
	--text-accent-hover: var(--wp--custom--color--rubric-deep);
	--text-on-accent: var(--wp--preset--color--white);
	--surface-page: var(--wp--preset--color--paper);
	--surface-raised: var(--wp--preset--color--white);
	--surface-accent: var(--wp--preset--color--rubric);
	--surface-accent-hover: var(--wp--custom--color--rubric-deep);
	--border-hairline: var(--wp--custom--color--hairline);
	--border-control: var(--wp--custom--color--edge);
	--focus-ring: var(--wp--preset--color--rubric);

	background-color: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink-body);
}

[data-ayk-scheme="veil"],
.wp-block-group.is-style-veil {
	--text-heading: var(--wp--preset--color--ink);
	--text-body: var(--wp--preset--color--ink-body);
	--text-muted: var(--wp--preset--color--ink-muted);
	--text-accent: var(--wp--preset--color--rubric);
	--text-accent-hover: var(--wp--custom--color--rubric-deep);
	--text-on-accent: var(--wp--preset--color--white);
	--surface-page: var(--wp--preset--color--veil);
	--surface-raised: var(--wp--preset--color--white);
	--surface-accent: var(--wp--preset--color--rubric);
	--surface-accent-hover: var(--wp--custom--color--rubric-deep);
	--border-hairline: var(--wp--custom--color--hairline);
	--border-control: var(--wp--custom--color--edge);
	--focus-ring: var(--wp--preset--color--rubric);

	background-color: var(--wp--preset--color--veil);
	color: var(--wp--preset--color--ink-body);
}

[data-ayk-scheme="night"],
.wp-block-group.is-style-night {
	/* the design's own semantic aliases, re-pointed */
	--text-heading: var(--wp--custom--color--on-dark-heading);
	--text-body: var(--wp--custom--color--on-dark-body);
	--text-muted: var(--wp--custom--color--on-dark-muted);
	--text-accent: var(--wp--custom--color--rubric-lifted);
	--text-accent-hover: var(--wp--custom--color--rubric-lifted-hover);
	--text-on-accent: var(--wp--preset--color--night);
	--surface-page: var(--wp--preset--color--night);
	--surface-raised: var(--wp--custom--color--night-raised);
	--surface-accent: var(--wp--custom--color--rubric-lifted);
	--surface-accent-hover: var(--wp--custom--color--rubric-lifted-hover);
	--border-hairline: var(--wp--custom--color--night-hairline);
	--border-control: var(--wp--custom--color--night-edge);
	--focus-ring: var(--wp--custom--color--rubric-lifted);

	background-color: var(--wp--preset--color--night);
	color: var(--wp--custom--color--on-dark-body);
}

/* ---------------------------------------------------------------------------
   Consumers — deliberately IDENTICAL declarations under every scheme; only
   the alias definitions above differ. Identical on purpose: when schemes
   nest, both scopes' rules match the same descendant, and whichever wins the
   cascade applies the same var() — which then resolves by custom-property
   inheritance from the NEAREST scheme ancestor. Rule order between schemes
   can never change a rendered colour.
   --------------------------------------------------------------------------- */
:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) :is(h1, h2, h3, h4, h5, h6) {
	color: var(--text-heading);
}

:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) a:where(:not(.wp-element-button)) {
	color: var(--text-accent);
}

:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) a:where(:not(.wp-element-button)):hover,
:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) a:where(:not(.wp-element-button)):focus {
	color: var(--text-accent-hover);
}

:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) .wp-element-button {
	background-color: var(--surface-accent);
	color: var(--text-on-accent);
}

:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) .wp-element-button:where(:hover, :focus) {
	background-color: var(--surface-accent-hover);
	color: var(--text-on-accent);
}

:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) :is(hr, .wp-block-separator) {
	color: var(--border-hairline);
}

/* Core's Cover stylesheet hardcodes white text — a colour no attribute strip
   can reach, measured invisible on veil. Inside a scheme, Cover text resolves
   through the alias like everything else. (A Cover carrying MEDIA inside a
   scheme still puts text over an image — an unmeasurable ground; see
   DESIGN-SYSTEM.md "Section schemes" for that residual.) */
:is([data-ayk-scheme], .wp-block-group.is-style-paper, .wp-block-group.is-style-veil, .wp-block-group.is-style-night) .wp-block-cover {
	color: var(--text-body);
}

/* The muted text role — the closed replacement for the retired colour picker.
   Registered for core/paragraph in functions.php; reads the alias, so it
   resolves to ink-muted on paper and veil (5.62:1 / 5.19:1) and to
   on-dark-muted on night (7.00:1) with no per-scheme styling. */
.is-style-muted {
	color: var(--text-muted);
}

/* ---------------------------------------------------------------------------
   Motion tokens — the :root block and the reduced-motion block from
   docs/tokens/motion.css, imported byte-identical, the same way the semantic
   aliases above are imported from docs/tokens/colors.css. Copy the source,
   never fork it.

   WHY THE THEME TAKES THEM (Eduard, 2026-08-20). guidelines/component-states.md
   § D7 and § D8 both specify the nav hover as a colour move "over
   --duration-quick". The theme carried no motion tokens at all, so the hover
   shipped as a hard swap and said so in a comment below — correct at the time,
   because a literal 160ms would have re-created exactly the untokened-literal
   defect vertical-slice.md § 9 step 19 had just closed for the page header. What
   could not stand was the resulting state: a spec asking for a token the theme
   cannot resolve, with the gap recorded only in a comment. Taking the mirror
   closes it, and the next transition anywhere does not reopen the question.

   AND motion.css carries the reduced-motion collapse, which is an accessibility
   behaviour this site needs regardless of one hover.

   ⚠ TAKING THE TOKENS IS NOT LICENCE TO ADD MOTION. readme.md § Interaction
   states is unchanged: colour only, no lift, no scale, no shadow, no opacity
   fade, no travel. Exactly ONE declaration in this stylesheet consumes a motion
   token — the nav hover below, which the spec already called for. Anything else
   that wants one is a decision, not a wiring job.

   ⚠ THREE HOMES, as with the page-header set below: the design system, the
   mirror in docs/tokens/, and here. No build relationship between any of them.
   Any change is three edits, or it is a divergence.

   TWO INDEPENDENT ROUTES COLLAPSE MOTION, and the attribution is measured, not
   assumed. The global `*` rule near the top of this file forces
   transition-duration to 0.01ms !important under prefers-reduced-motion; the
   block below additionally re-points the tokens themselves to 1ms. Each was
   deleted from the live cascade in turn and the nav item re-measured —
   scripts/motion-probe/, 2026-08-21:

     both routes present            --duration-quick 1ms     transition 0.00001s
     token :root only (* deleted)   --duration-quick 1ms     transition 0.001s
     * rule only (:root deleted)    --duration-quick 160ms   transition 0.00001s
     BOTH deleted        <- CONTROL --duration-quick 160ms   transition 0.16s

   EACH ROUTE ALONE COLLAPSES IT, and the `*` rule is the one in force when both
   are present — 0.00001s is its 0.01ms, not the token's 1ms. So the token block
   is the belt and the `*` rule is the braces, and "the token carries reduced
   motion" is NOT the mechanism actually doing the work here. The control row is
   the reason any of the other three can be believed: it is what shows the
   measurement can still report a non-collapse.

   ON token-sync.py: these five durations plus --travel are declared TWICE in the
   source — once at full motion and once inside prefers-reduced-motion. The
   script's declarations() keeps the LAST value for a name, so it compares them
   at their REDUCED-motion values (1ms / 0px), on both sides. That is a real
   comparison and it is symmetric, but it does NOT cover the full-motion values:
   negative-tested 2026-08-21 by setting --duration-quick to 999ms here, which
   the script does NOT catch (exit 0), and by setting the reduced-motion 1ms to
   2ms, which it does (exit 1). The full-motion values are covered by the
   byte-identical import rule and by the diff against source, not by the gate.
   --------------------------------------------------------------------------- */
:root{
  --duration-instant:90ms; /* @kind other */
  --duration-quick:160ms; /* @kind other */
  --duration-calm:260ms; /* @kind other */
  --duration-slow:420ms; /* @kind other */
  --duration-breath:900ms; /* @kind other */

  --ease-quiet:cubic-bezier(.2,0,0,1); /* @kind other */
  --ease-out:cubic-bezier(0,0,.2,1); /* @kind other */
  --ease-in-out:cubic-bezier(.4,0,.2,1); /* @kind other */

  --transition-color:color var(--duration-quick) var(--ease-out),background-color var(--duration-quick) var(--ease-out),border-color var(--duration-quick) var(--ease-out); /* @kind other */
  --transition-quiet:all var(--duration-calm) var(--ease-quiet); /* @kind other */

  --travel:6px; /* @kind spacing */
}

@media (prefers-reduced-motion:reduce){
  :root{
    --duration-instant:1ms; /* @kind other */
    --duration-quick:1ms; /* @kind other */
    --duration-calm:1ms; /* @kind other */
    --duration-slow:1ms; /* @kind other */
    --duration-breath:1ms; /* @kind other */
    --travel:0px; /* @kind spacing */
  }
}

/* ---------------------------------------------------------------------------
   Page-header tokens — the second home.

   Design minted these on 2026-08-19 in the design system's own token files:
   --page-header-leading / -tracking / -measure / -lead-leading / -lead-measure
   in tokens/typography.css, and --page-header-gap in tokens/spacing.css (a
   space, so it lives with the spaces). They answer DCR-022 — six page-header
   figures the token layer did not contain, shipped here as literals with their
   derivation repeated at each point of use.

   THEY ARE DELIBERATELY NOT IN theme.json. Design's reason is that a page-header
   value must not become an editor preset any other block can point at; the
   pattern-named set is the whole mechanism. So they are declared here, as
   ordinary custom properties, and every consumer below reads them.

   ⚠ THREE HOMES — the same warning docs/tokens/spacing.css carries on --gutter,
   and the reason it carries it. A token minted in the design system is NOT a
   token here; the files have no build relationship. --gutter disagreed across
   them for a day and a brief was written from the wrong side of it.
   The six live in the design system, in docs/tokens/ (the mirror), and here.
   Any change to them is three edits, or it is a divergence.
   (This block read "TWO HOMES ... two edits" until 2026-08-19. It was written
   while the mirror carried none of the six, so the mirror was not counted as a
   home — an accurate description of the state that made the undercount easy.)

   What scripts/token-sync.py covers changed with the 2026-08-19 sync, and the
   split matters:
     - mirror <-> theme:  CHECKED. Before the sync the six were declared here and
       not in the mirror, so they name-matched nothing and nothing compared them;
       the alias surface read 46. With the mirror populated it read 52 and a
       divergence on any of the six exits 1 (negative-tested 2026-08-19 by setting
       --page-header-leading to 1.14 here and confirming the failure).
       (46 -> 52 -> 63: the last step is the eleven motion tokens taking a
       style.css counterpart on 2026-08-21. The tense is now past on purpose —
       a surface COUNT written in the present goes stale the next time the token
       surface grows, which is what happened to this sentence within two days of
       its being written. token-sync.py prints the live figure on every run.)
     - design system <-> mirror:  NOT CHECKED, and cannot be. Both sides of this
       script's comparison are local; that boundary is the one its own docstring
       names as the one it cannot cross. A value Design changes and nobody copies
       down is still invisible, and CONVENTIONS.md section 2's updatedAt rule is
       what covers it.

   DO NOT ROUND, and do not repoint at a neighbouring scale step. The header-block
   heights in guidelines/page-html.md § 1 are computed AT these values —
   FR 263.67 (768) / 257.42 (1440), EN 179.41 / 193.82. Rounding 1.06 to
   --leading-display 1.02 or --leading-title 1.14, or 1.42 to --leading-lead 1.36,
   changes the inputs and those figures stop reproducing. That is the half of
   § 9 step 19 a rounded token would still pass, which is why the step asserts
   the heights as well as the absence of the literals; scripts/page-header-check/check.mjs
   is that assertion, and it negative-tests the rounding.

   28px is NOT --space-7. The 4px scale skips 7 on purpose, and adding a step to
   hold one pattern's value would change what the scale means.
   --------------------------------------------------------------------------- */
:root {
	--page-header-leading: 1.06;
	--page-header-tracking: -0.018em;
	--page-header-measure: 16ch;
	--page-header-lead-leading: 1.42;
	--page-header-lead-measure: 52ch;
	--page-header-gap: 28px;
}

/* ---------------------------------------------------------------------------
   Swap fallback for the serif — declared as its own face, the primary is
   untouched. size-adjust: 91.3% is the measured correction
   (docs/DESIGN-SYSTEM.md § Fonts). The face sits second in theme.json's serif
   stack, so it intercepts the swap ahead of Iowan Old Style / Palatino on
   platforms that have them.

   🚩 Corrected 2026-08-19. This comment read "Georgia renders 'Ayekah & Co.'
   ~9% wider than Newsreader; on a 193px wordmark that is ~17px of shift", and
   it ran three separate measurements together against the wrong subject:

     - **~9% is FRENCH PROSE, not the wordmark.** Georgia raw runs +7.3–10.2%
       wider than Newsreader across 17/19/33px. That reflow is the mass the
       91.3% is fitted to, and it is the whole case for the value.
     - **On the wordmark Georgia is +8.1px raw at 33px** — 201.02 against
       192.92 (guidelines/header.md § The wordmark, settled from the font
       file). That is +4.2%, not 9%.
     - **~17px is IOWAN OLD STYLE** (+16.4px raw), a different face in the same
       stack — the one the fallback is inserted ahead of.

   And the omission is the part that matters: on the wordmark the adjustment
   OVERSHOOTS, by −8.9px at 33px, because "Ayekah & Co." is atypically wide in
   Newsreader. **The wordmark is this value's worst case, not its justification**
   — which is the opposite of what the comment claimed, and it claimed it about
   "the most visible element of every page". Figures are
   docs/DESIGN-SYSTEM.md § Fonts's, quoted rather than re-derived.
   --------------------------------------------------------------------------- */
@font-face {
	font-family: "Newsreader Fallback";
	src: local("Georgia");
	size-adjust: 91.3%;
}

/* ---------------------------------------------------------------------------
   The gutter floor — clamp(1.25rem, 5vw, 4rem) → clamp(1rem, 5vw, 4rem).

   Approved by Eduard 2026-08-16 on Design's recommendation, to resolve the
   320px floor. The value itself lives in theme.json (custom.gutter), which
   cannot carry comments; this is its derivation record. tokens/spacing.css is
   the canonical record and now carries the lowered floor — synced 2026-08-17,
   and checked from here on by scripts/token-sync.py.

   What it buys. At 320 the air between wordmark and menu button goes
   4.08px → 12.08px. The mark's 28px clear space is met from 338px up.

   🚩 Superseded figures, kept so they are recognised rather than re-derived.
   This block previously read "0.69px → 8.69px" and "met from 342px up, not
   340". Every one of those came from a lockup of 235.31, which was the
   wordmark measured at weight 500. The wordmark ships at weight 400
   (font-weight below), where it measures 192.92 and the lockup 231.92. The
   three retired figures and their replacements:

       air at 320, old floor   0.69  →   4.08
       air at 320, this floor  8.69  →  12.08   (measured on staging, #21)
       clear space met from     342  →     338

   The range "5.35–12.03px across the 320–400 band" is withdrawn rather than
   corrected. Do not carry it forward.

   🚩 Corrected 2026-08-18, and this is the most dangerous entry in this file.
   These lines used to say the range "does not reproduce from any gutter/lockup
   pair" and that "nobody has been able to source it". Design sourced it, and
   the provenance is far worse than an unsourced number: it is 8.69 ± 1.7% —
   the retired air figure, carrying a tolerance derived from the very
   discrepancy the retired wordmark produced. The interval was computed FROM
   the error, so the error necessarily fits inside it.

   Why that matters more than the arithmetic: the upper bound 12.03 lands
   0.05px from the correct 12.08. Anyone who checked the shipped row against
   this band found the answer inside it and concluded the band was working. It
   WAS working — it was faithfully reporting that the shipped row agreed with
   the figure the band had been fitted to. A tolerance that confirms is worse
   than one that fails: it certifies the very thing it should have caught, and
   it does so most convincingly the more closely it was fitted. Do not treat
   "the measurement fell inside the band" as verification of anything until the
   band's own provenance is written down beside it. See guidelines/header.md,
   "The 5.35-12.03 band is a finding, not a withdrawal".

   Why not 340. The old 1.25rem floor bound flat at 20px across the whole of
   320–400, and that flatness is what made `air = vw − 319.31` valid and is how
   the 348 figure was derived. A 1rem floor removes the flatness: at 320, 5vw
   is exactly 16px = 1rem, and above 320 the 5vw term overtakes the floor and
   the gutter grows with the viewport. 340 is what you get by holding the
   gutter flat at 16px, which this clamp does not do. If 340 turns up in
   Design's notes, it is the stale figure.

   🚩 `air = vw − 319.31` is doubly retired. It carried the weight-500 lockup
   AND the flat 20px gutter this clamp removed, so it is wrong in two
   independent ways. Under this clamp there is no `air = vw − K` form at all
   above 320; the general expression is `air = 0.9·vw − 275.92`, and 307.92 is
   only the row total at the 320 floor, where 0.1·vw happens to equal 32.

   🚩 Site-wide change, header cause. --gutter is a site-wide token: below
   400px every section on every page loses 4px of horizontal padding each side,
   not just the header band. The reason the value moved is a header
   measurement, and a reader finding it in the token file needs to know that.

   🚩 Standing accepted exception. This improves the floor but does not resolve
   it. Between 320 and 337 the mark's 28px clear space is still unmet. That is
   accepted, not outstanding — recorded here so it is not rediscovered as a
   defect.

   🚩 This band read "320 and 341" until 2026-08-18 — twenty-six lines below
   the table in this same comment that retires the figure it came from. 341 is
   342 − 1, and 342 is listed up there as superseded by 338; if the clear space
   is met from 338 then the unmet band ends at 337. The correction was made and
   then not applied to its own restatement further down. A figure corrected in
   one place and restated in another is not corrected — and the restatement is
   the copy a reader scrolling to the exception will actually read.
   --------------------------------------------------------------------------- */

/* ---------------------------------------------------------------------------
   The header — the one fixed element in the system. Every number below is
   measured, not chosen; the derivation record is guidelines/header.md in the
   Ayekah & Co. Design System project. If any input changes (a nav label, the
   nav's size/weight/tracking, the switcher's labels or padding, the lockup's
   constants, the gutter clamp), re-derive from a measurement — never adjust
   by eye.

   Two thresholds, one drawer. 1180px moves the navigation into the drawer;
   544px moves the switcher in, as the drawer's first item. Mobile-first, so
   each literal appears in exactly one media-query block. Media queries cannot
   read custom properties and this theme has no build step, so the thresholds
   are literals here; the documented decisions are the token ask recorded with
   Design (--breakpoint-drawer: 1180px, --breakpoint-switcher: 544px in
   tokens/layout.css). The tokens are the record, not the source.
   --------------------------------------------------------------------------- */

/* The band: 96px (--header-height, derived from the lockup's clear-space rule)
   at every breakpoint. Solid --surface-page, hairline beneath — never
   translucent, never blurred. Fixed only after 120px of scroll, toggled by
   assets/js/header-scroll.js. */
.ayk-header {
	height: var(--wp--custom--header-height);
	background: var(--surface-page);
	border-bottom: 1px solid var(--border-hairline);
}

/* The row's blockGap is 0 deliberately: space-between owns the air between
   lockup and tools, so the 320px floor carries no gap term — at the floor the
   air between wordmark and menu button is exactly the space-between remainder
   (12.08px, measured on staging's own render, #21), per guidelines/header.md
   "The 320px caveat". A fixed gap here pushed the menu button through the
   right gutter at 320.

   🚩 This line used to read "0.69px by the derivation's figures; ~4px in this
   environment's rendering", and that parenthesis was the whole defect. There
   was no environment offset. The derivation's lockup was the wordmark measured
   at weight 500 (196.31, reproducible at 196.516); the shipped wordmark is
   weight 400 and measures 192.92. The "~4px" was 3.39px of wrong-weight type,
   reproducible on demand in any engine, and it was tolerated for weeks because
   it was written down as variance instead of being reproduced from the source.
   Nothing here varies by environment: three independently built harnesses and
   staging's own render all produce 231.92. */
.ayk-header .ayk-header__row {
	height: 100%;
}

.ayk-header.is-fixed {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100; /* --z-header, docs/tokens/layout.css */
}

/* The band leaves the flow when it fixes; reserve its height so content does
   not jump by 96px under the reader. */
html.ayk-header-fixed body {
	padding-top: var(--wp--custom--header-height);
}

body.admin-bar .ayk-header.is-fixed {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* The lockup. Mark Ø28; wordmark 33px = 28 / (0.715 cap × 1.19 parity);
   gap 11px = round(33 × 0.34). Constants measured from Newsreader itself, in
   the design system's Logo.jsx.

   Width, because everything in the header derives from it: "Ayekah & Co." at
   33px / 400 / 0.015em measures 192.92, so the lockup is 28 + 11 + 192.92 =
   231.92. Measure it at the SHIPPED weight. The same string at weight 500 is
   196.516, and that figure — recorded as 196.31 — is where the retired 235.31
   lockup and every threshold built on it came from. Newsreader is variable
   (wght 400–600, opsz 6–72 default 18); `font-optical-sizing` is left at its
   `auto` default, so opsz tracks the 33px size. Pinning the axes by hand with
   `font-variation-settings` drops opsz to 18 and gives 188.69 — a third
   figure, and another way to measure the wrong thing.

   Do NOT align the mark by flex baseline + a negative bottom margin: an
   inline-block whose content is a replaced element takes its baseline FROM
   that element, so the margin is inert and the mark bottom lands on the text
   baseline (measured 10.96px high at 64px type upstream). Instead both
   children align to the top of the row and the mark is offset explicitly:
   with line-height 1 the baseline sits at 0.735em (ascent) from the top and
   the ink centre 0.2547em above it, so the offset that centres the Ø28 mark
   on the wordmark's ink centre is 33 × (0.735 − 0.2547) − 14 = 1.85px. */
.ayk-lockup {
	display: inline-flex;
	align-items: flex-start;
	gap: 11px;
	color: var(--text-heading);
	text-decoration: none;
}

.ayk-lockup:hover,
.ayk-lockup:focus {
	color: var(--text-heading);
}

.ayk-lockup__markbox {
	display: block;
	flex: none;
	margin-top: 1.85px;
}

.ayk-lockup__mark {
	display: block;
	width: 28px;
	height: 28px;
}

.ayk-lockup__wordmark {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 33px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: var(--wp--custom--tracking--wordmark);
	white-space: nowrap;
}

/* The navigation. Type comes from theme.json (sans 15px / 400 / 0.015em, gap
   24px); weight carries the current-state signal, so the current item is the
   500 exception with a 1px rubric underline. Core marks it aria-current.

   Both rules below are (0,4,0) — one class more than core's
   `.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content
   { color: inherit }`, which is (0,3,0). The extra class is the fix, not
   decoration: at (0,3,0) the outcome ties and is settled by whichever
   stylesheet loads last. guidelines/component-states.md § D8.

   🚩 The colour is stated because it was not landing at all. theme.json asks
   for `ink` through `:root :where(.wp-block-navigation a:where(:not(...)))`,
   and `:where()` contributes no specificity — so that rule is (0,1,0) and
   core's (0,3,0) `color: inherit` beat it at every load order. The nav has
   therefore always rendered --text-body #3A3835 inherited from the page, never
   the #24231F theme.json declares. That inherited value happens to BE the
   design system's rest spec (component-states.md § 2, `NavList` item), so the
   rest state was right by accident; the current item was not, and rendered
   --text-body with the rubric rule carrying the whole signal. Measured
   2026-08-19 through scripts/header-probe/states.mjs. */
.ayk-header .wp-block-navigation .wp-block-navigation-item__content[aria-current] {
	font-weight: 500;
	color: var(--text-heading);
	border-bottom: 1px solid var(--text-accent);
}

/* Hover is COLOUR ONLY — --text-body to --text-heading, no text-decoration.
   Decided 2026-08-19 (guidelines/component-states.md § D8). It is also D7's own
   spec for this component, so it CLOSES D7's `NavList` row rather than adding a
   state, and it removes the stack at source instead of arbitrating between two
   underlines.

   🚩 What shipped before: a theme.json nav-link `:hover` asking for rubric AND
   an underline. Neither half behaved as written. The colour lost to core at
   every order (above). The underline is (0,1,0) against core's (0,1,0)
   `.wp-block-navigation :where(a) { text-decoration: none }` — a TIE, so source
   order decided it, and the two orders give opposite results. Measured at 1400
   against the captured staging markup, 2026-08-19:

     core-blocks BEFORE theme-json  ->  hover underlines, and stacks a near-black
                                        rule above the current item's rubric one
     theme-json BEFORE core-blocks  ->  hover does nothing whatsoever

   Only the first reproduces the pair that was seen on staging, so that is
   staging's order — and harness.html had the other one, which is why
   states.mjs reported no stack against a defect that was really there.

   So the theme.json block is REMOVED rather than reordered. An order-dependent
   outcome fixed by ordering ships again the next time the emission order moves;
   what had to go was theme.json asking for half a rule it could not win.

   ✅ NOW ON THE TOKEN, 2026-08-21. § D8 specifies the move "over
   --duration-quick", and until today this comment recorded it as not
   implemented: the theme carried no motion tokens, so there was no
   --duration-quick to reference and a literal 160ms would have re-created the
   untokened-literal defect vertical-slice.md § 9 step 19 had just closed. The
   theme now takes docs/tokens/motion.css as a mirror (Eduard, 2026-08-20 — see
   the motion-tokens block above), so the token resolves and the hard swap is
   retired.

   THE TRANSITION IS NEW; THE END STATE IS NOT. The property list is `color`
   alone — not `all`, and not --transition-color, which would additionally
   animate background-color and border-color. The nav item's border-bottom is
   how the CURRENT page is marked (1px --text-accent), so putting it under a
   transition would animate a state signal that hover does not touch. Verified
   by rendering at both stylesheet orders, 2026-08-21: rest and hover resolve to
   the same computed colours as before the transition existed
   (#3A3835 -> #24231F, the 1.35:1 of § D9), and the only underline anywhere in
   the header is the current page's rubric rule. */
.ayk-header .wp-block-navigation .wp-block-navigation-item__content {
	transition: color var(--duration-quick) var(--ease-out);
}

.ayk-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--text-heading);
	text-decoration: none;
}

/* The language switcher — the design system's LanguageSwitch, both languages
   always shown, spelled out, in their own language, French first. Both are
   anchors; aria-current="true" marks the current one, which is --text-heading
   at 500 against the other language's --text-muted at 400.

   NEITHER language is underlined, 2026-08-19. The inactive one used to be, and
   that was the defect: in the nav two inches away an underline marks the page
   you ARE on, while here it marked the language you are NOT reading — one mark,
   opposite referents, in two adjacent controls. `FR · EN` was considered and
   rejected again: initials keep the inverted underline and only shorten it.
   Colour AND weight carry the distinction, so 1.4.1 holds (not colour alone),
   and this is a navigation landmark rather than a link inside a block of text —
   which is why it is not licence to drop underlines in prose.

   text-decoration carries no advance, so the switcher is still 144.344 and no
   threshold moves: the whole derivation below is untouched. See
   guidelines/header.md § `FR · EN` reconsidered and
   guidelines/component-states.md § D8 — they are one decision, and splitting
   them re-creates the collision.

   Base regime (below 544px): the bar copy hides and the drawer copy — injected
   first into the drawer by 15-language-switch-block.php — shows. */
.ayk-language-switch {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--2);
}

.ayk-language-switch--bar {
	display: none;
}

/* The separator declares the sans deliberately. The root family is the serif
   (theme.json styles.typography.fontFamily), so an undeclared middot inherits
   Newsreader's periodcentered — 0.2516em at opsz 15 against Instrument Sans's
   0.1031em, a dot 2.44x wider sitting between two sans words. That was an
   inheritance accident rather than a choice: every other glyph in this
   component declares the sans, and this one was written in the same breath and
   missed. Do not remove this line. See guidelines/header.md, "The separator". */
.ayk-language-switch__sep {
	font-family: var(--wp--preset--font-family--sans);
	color: var(--border-strong);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1;
}

.ayk-language-switch a {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	text-decoration: none;
	padding: 6px 2px;
}

.ayk-language-switch a:hover,
.ayk-language-switch a:focus {
	color: var(--text-accent-hover);
}

.ayk-language-switch a[aria-current="true"],
.ayk-language-switch a[aria-current="true"]:hover,
.ayk-language-switch a[aria-current="true"]:focus {
	font-weight: 500;
	color: var(--text-heading);
}

/* The menu button: a 44px square target (guidelines/header.md, "Where 544
   comes from"). */
.ayk-header .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-heading);
}

/* The drawer ground is the page's own — solid, per the band's rule. */
.ayk-header .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--surface-page);
	color: var(--text-body);
}

/* Switcher threshold — 544px, in this block only.
   Derivation (guidelines/header.md), switcher re-measured here 2026-08-18:
   lockup 231.92 + clear space 28 + switcher 144.34 + gap 16 + menu button 44
   = content 464.26px; gutters in their 5vw regime, so minimum viewport =
   464.26 / 0.9 = 515.84px → 544 on the 4px scale, +28.16px slack. Every term
   now agrees with header.md exactly.

   🚩 Retired: lockup 235.31, content 467.65, minimum 519.61, slack +21.95.
   The lockup was the wordmark at weight 500 (see the lockup comment above).

   🚩 The slack is not "protection against rendering variance". That phrasing
   is withdrawn with the figure it justified: the one disagreement it was ever
   invoked for turned out to be a wrong-weight measurement, not variance. The
   slack is what rounding 518.33 up to the 4px scale happens to buy, and it is
   still not room for new content.

   🚩 History of the switcher term, and read it before touching the separator.
   Until 2026-08-18 this block derived from `switcher 146.58` and argued that
   header.md's 144.34 "does not reproduce". Both statements were true of this
   theme at the time: .ayk-language-switch__sep declared no font-family and so
   inherited the serif root, the middot rendered in Newsreader, and 146.58 was
   this theme's honest rendering while that stood. The old figure was not
   wrong; it was the measurement of a defect.

   What the objection got wrong was not the measurement but which
   configuration ought to ship. Design read the same mechanism as an
   inheritance accident — every other glyph in the component declares the sans,
   and this one was written in the same breath and missed — and fixed their
   component on 2026-08-17. This stylesheet kept the bug one day longer. The
   declaration on the separator rule closes it.

   Measured after the fix, in a browser against the shipped woff2 at the
   conditions header.md names beside the figure (15px, 0.04em, current link
   500 and the other 400, sans separator): the switcher is 144.344px, and
   header.md's whole separator table reproduces term for term — serif middot
   3.773, sans middot 1.547, difference 2.227, pre-fix switcher 146.570.

   The threshold never moved at any point: 518.33 and 515.84 both round up to
   544 on the 4px scale. What changed is that the record and the theme agree.

   Re-confirmed 2026-08-18 by scripts/header-probe/, rendering the captured
   header markup against this stylesheet and the shipped woff2: the switcher
   is 144.34 with `Français` current and 144.23 with `English` current, and it
   decomposes as 67.67 + 1.55 middot + 59.13 + 2 x 8px gap. Every term in this
   block stands. (The gap of 16 is correct HERE and only here — below 1180 the
   nav is in the drawer and .ayk-header__tools keeps its generated spacing--4.
   The 1180 block's row is the other regime and takes 24; see the retirement
   recorded there.)

   From here up the switcher is in the bar: a French speaker never opens a
   menu to discover the site speaks French. */
@media (min-width: 544px) {
	.ayk-language-switch--bar {
		display: inline-flex;
	}

	.ayk-language-switch--drawer {
		display: none;
	}
}

/* Drawer threshold — 1180px, in this block only.
   Derivation, re-measured 2026-08-18 through scripts/header-probe/ against
   the shipped woff2, this stylesheet, and the header markup as WordPress
   actually renders it:
   row = lockup 231.92 + clear space 28 + switcher 144.34 + gap 24 + nav
   619.30 = 1047.56px with `Journal` current; minimum viewport = 1047.56 / 0.9
   = 1163.96px (binding case `Engagement sur mesure` current: nav 620.60, row
   1048.86, minimum 1165.40) → 1180, +14.60px slack at the binding case.

   Integer viewport scan, re-run 2026-08-18 in the nav-in-bar regime: air
   first reaches 28px at 1164 (28.04px there, 27.13px at 1163); binding case
   1166 (28.54px there, 27.63px at 1165). The scan and the arithmetic agree —
   1163.96 -> 1164, 1165.40 -> 1166. This replaces "air first reaches 28px at
   1159", which was scanned with the serif separator.

   🚩 ONE TERM WAS WRONG HERE: the gap was 16, and it is 24. Retired
   2026-08-18 along with the row 1039.59, minimum 1155.10, binding 1156.54
   and slack +23.46 that followed from it.

   16 is spacing--4, which is what the block-supports CSS generates for
   .ayk-header__tools. But this row only exists at >=1180, and the rule below
   overrides that group to spacing--6 (24px) inside exactly this media query —
   at a specificity (0,3,0) that beats the generated class (0,1,0). So the row
   that the threshold is about has always rendered with 24. The derivation
   took the base value while describing the overridden one, and the minimum
   viewport came out 8.9px low.

   The threshold is unaffected: 1165.40 is still inside 1180. The slack is
   what changed, from +23.46 to +14.60.

   🚩 The 0.02-0.03px nav residual is RESOLVED. It was attributed to "two
   shipped-component measurements in different environments." It was not: the
   probe reproduces header.md's 619.30 and 620.60 exactly, together with
   lockup 231.92, mark 28, wordmark 192.92, label sum 499.30, `Engagement sur
   mesure` 174.44 / 176.27, `Communauté` 98.24 and the sans middot 1.547 —
   ten figures, no tolerance. 619.33 / 620.63 does not reproduce and is
   retired. (619.30 is the itemised nav: six <li> summing to 499.30 plus five
   24px gaps. The container's own bounding rect reads 618.77 — flex subpixel
   rounding on the container, not a different nav.)

   🚩 Corrected within the same session, and worth the line: this block first
   carried "the switcher is 136.34, not 144.34." That was wrong. It came from
   a hand-rebuilt harness whose switcher CSS omitted `padding: 6px 2px` — 2px
   a side on each of two anchors, exactly the 8px it claimed to have found.
   144.34 is right and always was. The probe now renders captured artifacts
   rather than a transcription, which is what made the error visible.

   🚩 Retired: lockup 235.31, nav row 1046.96, minimum 1163.29, binding
   1164.73, slack +15.04.

   🚩 `gaps 48` does not reproduce and is written out here as its two real
   terms. The row's only separations are the mark's 28px clear space and the
   tools group's 16px blockGap (var:preset|spacing|4) — 44, measured on the
   rendered row. Nothing in the shipped CSS produces 48.

   Resolved 2026-08-18, in this theme's favour. These lines used to end
   "Reported to Design with the switcher; header.md still carries 48." It does
   not, and had not for a day. header.md now itemises the separation allowance
   as 28 + 16 = 44 — the exact decomposition above — and records both earlier
   values as named retirements: 48.00 was 24 + 24 with nothing behind either
   term, and an intermediate 52.00 was 28 + 24, the lockup side corrected by
   the clear-space rule while the adjacent term was carried forward
   unexamined. It also records that 44 was recoverable from its own 544
   itemisation the whole time. The objection above was right, it was raised,
   and it was adopted; only the sentence claiming it was still outstanding
   outlived it.

   🚩 The "±1.7% cross-environment band (1159.52–1163.29)" is withdrawn, not
   corrected. There is no such band — see the lockup comment above. It is also
   the exact mechanism Design's new rule names: the wordmark disagreement was
   −1.83% on the term actually measured, but the lockup is `28 + 11 +
   wordmark`, two exact constants and one measurement, so the same 3.59px
   diluted to −1.53% of the composite and slipped under a 1.7% trigger.
   Evaluate a tolerance on the quantity measured, never on a composite
   carrying constants.

   The navigation block ships overlayMenu:"always"; this block is where the
   theme flips it inline. It therefore depends on core's
   wp-block-navigation__responsive-container* class names — the same class of
   dependency the navigation render shim already carries (documented in
   docs/DESIGN-SYSTEM.md). */
@media (min-width: 1180px) {
	.ayk-header .wp-block-navigation__responsive-container-open.always-shown {
		display: none;
	}

	.ayk-header .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) {
		display: block;
		position: relative;
		width: 100%;
		z-index: auto;
		background-color: inherit;
	}

	.ayk-header .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) .wp-block-navigation__responsive-container-close {
		display: none;
	}

	/* Bar order above the threshold: nav, then switcher at its right. Below,
	   DOM order already reads switcher, then menu button. Three classes so
	   this outranks the (0,2,0) gap rule WordPress emits for the group's own
	   blockGap, which prints after this sheet. */
	.ayk-header .ayk-header__row .ayk-header__tools {
		gap: var(--wp--preset--spacing--6);
	}

	.ayk-header .ayk-header__tools .wp-block-navigation {
		order: -1;
	}
}

/* ------------------------------------------------------------------------
   Page header — page.html
   Spec: Design's guidelines/page-html.md § 1, read at source 2026-08-18.

   ALL TWELVE FIGURES ARE NOW TOKENS. Six always were — title-l, lead,
   container 1100, the hairline colour, --text-heading, --text-muted. The other
   six shipped here as literals until 2026-08-19, listed in this comment with
   their spec value so the gap was visible rather than discovered. Design
   answered DCR-022 by minting them; they are declared in the :root block above
   under "Page-header tokens — the second home", which carries the two-homes
   warning and the do-not-round rule.

       h1 line-height     --page-header-leading
       h1 letter-spacing  --page-header-tracking
       h1 max-width       --page-header-measure
       title->sub gap     --page-header-gap
       sub line-height    --page-header-lead-leading
       sub max-width      --page-header-lead-measure

   The values are in the :root block and only there — writing them here as well
   would be the same two-copies-no-relationship shape the block warns about, one
   file down.

   (The earlier version of this comment cited the ask as DCR-020. It is
   DCR-022; DCR-020 is the SITE-MAP staleness request.)

   NOT taken from the spec, deliberately — three places where page-html.md's
   own numbers disagree with the shipped tokens, and the token wins:

     * Horizontal gutter. Design's templates/page/Page.dc.html hard-codes
       clamp(1.25rem,5vw,4rem) throughout. That floor was RETIRED on
       2026-08-16 (docs/tokens/spacing.css:33 — lowered to 1rem to resolve the
       320px header floor). page-html.md's own prose and both its measured
       tables use the current 1rem floor and are correct: content at 320 is
       288.00, which is 320 - 2x16, not 320 - 2x20. So the divergence is
       inside Design's delivery, between the document and its reference
       render. Nothing is declared here at all — theme.json's root padding
       already applies var(--wp--custom--gutter).

     * Section padding. Spec says clamp(3.5rem,8vw,6.5rem) top and
       clamp(2.5rem,5vw,3.5rem) bottom; --rhythm is clamp(3.5rem,7vw,6rem)
       and --rhythm-tight clamp(2rem,4vw,3rem). The tokens are used. The two
       differ by at most 0.5rem at the ceiling and by nothing at the floor,
       and no measured figure in the spec depends on the section padding —
       the header-block heights are h1 + gap + subhead only.
   ------------------------------------------------------------------------ */

/* The header band is the WIDE measure, not the reading measure. `page.html`
   gives the group and its hairline align=wide, which resolves to
   layout.wideSize 1100 — page-html.md § 1, "content capped at --container
   1100". contentSize 720 is the prose measure (66ch of Newsreader at the
   reading size) and belongs to post-content, not to the header. Caught by
   measuring the render: the hairline came out 720px wide.

   The group's own layout is `default` (flow), not `constrained`, so it does
   not re-apply contentSize to its own children and undo this. The h1 and the
   subheading are capped by their own --page-header-measure /
   --page-header-lead-measure instead, which is what § 1 specifies. */
.ayk-page-header {
	/* No min-height, no fixed height, no vertical centring. page-html.md § 1
	   rule 1: this block's height is the one dimension that moves between
	   languages — French adds a subheading line at 320 on all five authored
	   pages — and anything that fixes it breaks French first. */
	padding-top: var(--wp--custom--rhythm--default);
	padding-bottom: var(--wp--custom--rhythm--tight);
}

.ayk-page-header__title {
	font-size: var(--wp--preset--font-size--title-l);
	line-height: var(--page-header-leading);
	letter-spacing: var(--page-header-tracking);
	color: var(--text-heading);
	max-width: var(--page-header-measure);
	text-wrap: pretty;
}

/* The subheading slot.

   Backed by post_excerpt and by nothing else — one field per page per
   language, which is what lets the two operations on it be checked against
   each other. See the README section "The subheading slot".

   Its margin is the --page-header-gap, declared here rather than as the group's
   blockGap so that it collapses with the slot when the slot is absent: on a
   title-only page the excerpt block renders nothing, and a gap declared on
   the parent would leave --page-header-gap of air below the h1 with nothing
   under it. */
.ayk-page-header__sub {
	/* Instrument Sans, per § 1 — set as fontFamily on the block in page.html so
	   it is a token reference rather than a literal. The root font-family is
	   the serif and core/post-excerpt inherits it, so without this the
	   subheading rendered in Newsreader. Caught by measuring the render. */
	margin-top: var(--page-header-gap);
	line-height: var(--page-header-lead-leading);
	color: var(--text-muted);
	max-width: var(--page-header-lead-measure);
	text-wrap: pretty;
}

/* core/post-excerpt wraps its text in a <p> and sets its own margins; the
   measure and colour have to reach the child, and the child must not add a
   second margin above the --page-header-gap already declared on the wrapper. */
.ayk-page-header__sub .wp-block-post-excerpt__excerpt {
	margin: 0;
	max-width: inherit;
}

/* The hairline under the header, per § 1. Full content width, not the
   --page-header-measure / --page-header-lead-measure caps above it. */
.ayk-page-header__rule.ayk-page-header__rule {
	margin: 0;
	border: 0;
	border-top: 1px solid var(--border-hairline);
	background: none;
	opacity: 1;
}

/* ------------------------------------------------------------------------
   Body content — one left edge, and one ratio between the two gaps around a
   heading. Design's guidelines/compositions.md § 4, BOTH questions, ruled
   2026-08-23 (question 1) and 2026-08-24 (question 2).

   These two rules close docs/KNOWN-ISSUES.md #27 and DCR-027. They are here,
   directly under the page header, because question 1 is about the header's
   relationship to the prose beneath it and nowhere else.
   ------------------------------------------------------------------------ */

/* QUESTION 1 — "Keep the wide rule; anchor the prose to the wide left edge."

   templates/page.html renders core/post-content at align:full, and core's
   constrained layout centres every ordinary child at contentSize 720 while
   giving align=wide children wideSize 1100. Two centred boxes of different
   widths do not share a left edge, so the page header hangs 190px left of the
   paragraph it titles and the edge alternates down the page — SEVEN times on
   About at 1440, in both trees.

   THE MEASURE IS PRESERVED BY max-width, NOT BY CENTRING. The ruling's own
   sentence, and it is the whole implementation: --measure-prose is untouched,
   the 720 cap is untouched, and only the CENTRING goes. The column is moved to
   where a wideSize box begins.

       margin-left = max(0, (W - wideSize) / 2)

   W is post-content's own content box, so this is the same arithmetic core
   uses to centre the wide child — evaluated once and handed to every child
   instead. Three consequences worth stating because each was measured:

     - An align=wide child lands EXACTLY where it already was: its max-width is
       wideSize, so (W - wideSize)/2 is the centred position. The rule is a
       no-op for wide furniture and moves only prose. That is why "one edge for
       every child" can be written as one declaration rather than two.
     - Below W = 1100 the term goes negative and max() clamps it to 0, which is
       where both measures already sit. Nothing moves at 320 or 768, and no
       breakpoint is introduced to achieve that — the clamp IS the breakpoint,
       derived rather than chosen.
     - alignfull is excluded, as it is from core's own rule. A full-bleed band
       is meant to touch the viewport edge; Home's night band therefore keeps
       left 0 and Home cannot reach an edge-change count of zero. That is
       correct, not a miss.

   var(--wp--style--global--wide-size) is core's own custom property, emitted
   from theme.json layout.wideSize. NO TOKEN IS MINTED HERE and none is needed;
   this rule reads the same 1100 the rule it overrides reads.

   Doubled specificity, and it is load-bearing twice over: core's rule is
   (0,1,0) AND carries !important on both margins, so this needs !important to
   engage at all and (0,2,0) to win without depending on stylesheet order —
   the same device, and the same reasoning, as .ayk-six / .ayk-team below.
   Verified by measuring the render, not by reading the cascade. */
.wp-block-post-content.is-layout-constrained
	> :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.aligncenter)),
.wp-block-post-content .is-layout-constrained
	> :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.aligncenter)) {
	margin-left: max(0px, (100% - var(--wp--style--global--wide-size)) / 2) !important;
	margin-right: auto !important;
}

/* The second selector is Home's night band, and it is here because LOOKING at
   the page found what the probes could not. alignfull is excluded above, so the
   band keeps left 0 and stays full-bleed — correct. But the band is ITSELF a
   constrained container, and its own children were still centred at 720 inside
   it. With the rest of the page re-anchored to 170 the band's text sat alone at
   360: the same 190px offset this ruling exists to remove, surviving inside the
   one element the rule had to skip.

   It needs no second arithmetic. The band is align=full with global padding, so
   its content box is 1440 - 2 x 64 = 1312 — the SAME width post-content's own
   content box has — and max(0, (1312 - 1100)/2) = 106 puts its children at 170
   beside everything else. One formula, evaluated one level down.

   Measured blast radius: exactly one container, in both trees. `.ayk-night-band`
   is the only constrained layout nested inside post-content on any of the twelve
   pages; every other section is is-layout-flow. Below the width where the wide
   cap binds the term clamps to 0 and the band's children sit at the gutter,
   which is where they already were — 320 and 768 do not move.

   scripts/content-probe/ now reports nightInnerLeft beside nightLeft, so the
   next time this diverges a probe says so instead of an eye. */

/* QUESTION 2 — "The heading binds down."

   Body content separates every pair of siblings by one flat 32px, so a heading
   sits the same distance above the prose it introduces as below the block it
   follows, and groups nothing. The heading's FOLLOWING-sibling gap halves;
   every other sibling gap is unchanged.

   No new value, no new token, no new breakpoint: preset 4 (16px) is exactly
   half preset 8 (32px), which is styles.spacing.blockGap in theme.json and the
   value core's `:root :where(.is-layout-constrained) > *` emits. The two gaps
   are therefore A RATIO rather than two decisions.

   Written as --wp--preset--spacing--4 rather than the ruling's --space-4: the
   two names are the same 16px in the two trees, and this theme addresses the
   scale through the preset aliases. Same translation, and the same reason, as
   .ayk-alos-card's padding.

   h5/h6 are excluded deliberately — in the design system's base/elements.css
   those are the eyebrow cut (sans, uppercase, --tracking-label), a label above
   a block rather than a heading over prose, and their spacing is owned where
   they are used.

   Descendant, not child: the acceptance is "every h2/h3/h4 in body content",
   and headings inside an align=wide group are body content. Where a heading
   sits in a GRID cell (.ayk-team, .ayk-six) the separation is the grid gap and
   neither core's rule nor this one reaches it — scripts/content-probe/ reports
   those headings separately rather than filtering them away. */
.wp-block-post-content.is-layout-constrained :where(h2, h3, h4) + * {
	margin-block-start: var(--wp--preset--spacing--4);
}

/* --- Bespoke § 3, the four-step sequence as an ordered list ---------------
   compositions.md § 2, ruled upstream 2026-08-23: the four steps are a
   SEQUENCE and should announce as a list of four — the same reasoning that
   makes § 2's six-up a <ul>. list-style is none because the ordinals are
   CONTENT (01 — Conversation, 04 — Prestation) and a marker would number them
   twice.

   THE RULING SAYS "no visual change at any width, in either language", AND
   THAT IS WHAT THIS BLOCK ENGINEERS RATHER THAN INHERITS. As direct children
   of post-content the four h3s took their gaps from two rules: core's flat
   32px blockGap between siblings, and A2's halving of a heading's following
   gap. Inside <li>s they are no longer post-content's direct children, so
   core's rule stops reaching them and the 32 has to be restated here.

   A2 still reaches, and that is not luck — it is written as a DESCENDANT
   selector (line 1234, "headings inside an align=wide group are body
   content"), so `h3 + p` inside an item is still 16 with nothing added.

   Measured, not asserted: `stepGaps` in scripts/content-probe/shoot.mjs
   asserts 16 above the first item, 32 between items, 16 from each heading to
   its paragraph, and list-style-type none — at 320 / 768 / 1440, both trees.
   The four headings leave gapBad's population when they enter the <li>s
   (gapFlowCount drops by four on Bespoke); stepGaps is what picks them up,
   deliberately as a separate term rather than by loosening gapBad, which was
   tried and would have dragged in ten Journal archive cards the ruling has
   never governed. */
.ayk-steps {
	list-style: none;
	padding-inline-start: 0;
}

/* An item's children sit outside post-content's direct-child margin reset, so
   they arrive carrying UA margins. Zeroed here. A2 is (0,2,0) against this
   rule's (0,1,1), so the paragraph under each heading still takes its 16. */
.ayk-steps > li > * {
	margin-block: 0;
}

/* The 32 core's blockGap gave these four while they were siblings. */
.ayk-steps > li + li {
	margin-block-start: var(--wp--preset--spacing--8);
}

/* ------------------------------------------------------------------------
   The #team fragment landing — page-html.md § 3, "The anchor, and the missing
   landmark".

   Three /team/* URLs 301 into About §8. Without a scroll offset a fragment
   arrival puts the first bio's second paragraph under the sticky header, so
   the landing position is part of the design rather than a wave-two detail.
   STATUS.md's row was corrected on 2026-08-18: owner CC, ships now.

   The spec gives 121px and its derivation: 96 (--header-height, sticky) + 1
   (the hairline beneath it) + 24 (--space-6) of air. Written here as the
   derivation rather than as 121, so that moving the header height moves this
   with it. The three terms are the three tokens; the literal 1px is the
   hairline's own border-width, which is not a token in either tree.

   This rule ships BEFORE the markup it targets. About §8 is page content and
   the pages are not entered yet, so #team does not exist on any page today —
   the selector matches nothing and costs nothing. It ships now because the
   anchor and its offset are one decision, and shipping the offset with the
   content would mean deciding it twice.
   ------------------------------------------------------------------------ */

#team {
	scroll-margin-top: calc(
		var(--wp--custom--header-height) + 1px + var(--wp--preset--spacing--6)
	);
}

/* ------------------------------------------------------------------------
   About §6 and §8 — the six-up list and the team rows
   Spec: Design's guidelines/page-html.md § 2 and § 3, read at source
   2026-08-19 (project updatedAt 2026-08-19T10:57:47Z).

   These two sections are PAGE CONTENT, not template output: they are inserted
   once per language tree from patterns/about-sections-{fr,en}.php, and
   Polylang owns their strings — the two plate accessible names included.
   The decision, its two rejected alternatives and its recorded cost are in
   Design's guidelines/bilingual.md § "Accessible names in theme-level
   patterns"; the assertion is § 9 step 20, checked here by
   scripts/about-strings-check.py.

   WHY THE GEOMETRY IS HERE AND THE MARKUP IS NOT. Design records the cost of
   the content route as "a structural change is two edits, one per tree". The
   mitigation is this block: every dimension lives in these classes, so a
   geometry change stays one edit in one file and only the DOM shape is
   doubled. Do not move any of this into the patterns as inline styles — that
   is what would make the cost real.
   ------------------------------------------------------------------------ */

/* The two section wrappers. Both take the WIDE measure (1100), not the reading
   measure: they are page furniture, like .ayk-page-header, and they carry
   align=wide in the pattern so post-content's constrained layout caps them at
   wideSize. Their own layout is flow, so they do not re-apply contentSize 720
   to the grid inside them — the same shape, and the same reason, as the page
   header group.

   Vertical rhythm comes from the rhythm tokens rather than from § 2/§ 3's
   literal clamps, on the same grounds the page header used: the two differ by
   at most 0.5rem at the ceiling and by nothing at the floor, and no measured
   figure in either section depends on the section padding. */
/* Core puts margin-block-start: var(--wp--preset--spacing--8) on every child of
   post-content's constrained layout, so without this the separation between the
   two sections is 32px ADDED to both of their paddings — a band ~25% deeper
   than the spec's, arrived at by addition rather than by decision. The section
   paddings are the whole rhythm here, as they are in Design's own render. */
.ayk-about-inquiry.ayk-about-inquiry,
.ayk-about-team.ayk-about-team {
	margin-block-start: 0;
	margin-block-end: 0;
}

.ayk-about-inquiry {
	padding-top: var(--wp--custom--rhythm--tight);
	padding-bottom: var(--wp--custom--rhythm--default);
}

.ayk-about-team {
	padding-top: var(--wp--custom--rhythm--default);
	padding-bottom: var(--wp--custom--rhythm--default);
}

/* The six-up heading sits --space-11 above its list in Design's render (44px).
   Not a preset step; written as the literal it is. */
.ayk-about-inquiry .ayk-six {
	margin-top: 44px;
}

/* §6 — Areas of inquiry. A list, not a card grid, and not the Card component:
   six items must announce as a list of six, so <ul>/<li> with the same
   hairline-topped column treatment the 3-up already uses. page-html.md § 2
   also records what this is NOT: Card gains no launch consumer, and there is
   no "6-up component" to own, because what the handoff named is a
   composition. */
.ayk-six {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--wp--preset--spacing--16);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Each item owns its own rule and its own height. FR runs 1-2 lines per item
   against EN's 1, so rows are uneven by language — never a fixed item
   height, and no row-gap: the hairline plus the padding is the separation. */
.ayk-six > li {
	border-top: 1px solid var(--border-hairline);
	padding: var(--wp--preset--spacing--5) 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--title-s);
	line-height: 1.2;
	color: var(--text-heading);
	text-wrap: pretty;
}

/* §8 — the team rows. Two people, and only ever two, so this is two rows of
   one rather than a grid: at two it is complete by construction, with no
   third cell to look empty and no repeat(auto-fill) to collapse. */
.ayk-team {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--8);
	align-items: start;
}

/* THE PLATE HAS A CEILING — page-html.md § 3, ruled 2026-08-24.

   The plate track is 0.62fr of (team width - 56) below, and above roughly
   V = 1222 the team fills the wide band at 1100, which makes the plate
   0.31 x (1100 - 56) = 323.64 wide and 404.55 tall. That is LARGER than the
   288 x 360 slab the 220px floor exists to prevent, arrived at from the other
   direction. Ruled ceiling: 290 x 362.5.

   🚩 CAP THE GRID, NEVER THE TRACK. minmax(220px, 290px) would reach the same
   ceiling at 1440 and RAISE the 768 render on the way — at 768 the track is
   0.31 x (691.22 - 56) = 196.92, below the 220 floor, so the floor binds and
   the plate is 220; a 290 track ceiling does not change that, but any track
   rewrite invites one that would. Capping the grid leaves the track arithmetic
   untouched and moves nothing below the width where the cap binds.

   The cap is where 290 comes out of the track formula:

       290 = 0.31 x (Wteam - 56)  ->  Wteam = 991.48

   and it binds only when the wide band would exceed it. Below V = 1102 the
   band is 0.9V < 991.48 and this max-width is inert — 0.9V = 991.48 at
   V = 1101.6. So "nothing below V ~ 1102 moves" is a consequence of the number
   rather than a claim tested beside it.

   991.48px is a literal for the same reason 72px below is: it is a derived
   geometry figure with no step on the 4px scale, docs/tokens/ is a mirror and
   minting is Design's. Left-anchored, which is the parent's flow default made
   explicit — .ayk-about-team's layout is flow, so nothing centres this. */
.ayk-team {
	max-width: 991.48px;
	margin-inline: 0 auto;
}

/* 72px between the two people, against 32 inside one. Not a preset: the 4px
   scale has no 18 step, and page-html.md § 3 gives 72 as the row gap between
   people specifically. */
.ayk-team + .ayk-team {
	margin-top: 72px;
}

.ayk-team figure {
	margin: 0;
}

/* The portrait plate. THE PLACEHOLDER TREATMENT IS THE SHIPPING TREATMENT —
   Eduard, 2026-08-18; there is no photography timeline and nothing about the
   plate says "temporary". docs/KNOWN-ISSUES.md #13 is closed on that basis,
   with the alt-text obligation the one live thing left in it.

   Two hairlines with 9px between them is the whole idea: a mount, the way a
   print sits in a window mat. No shadow, no radius, no tint, no diagonal, no
   camera glyph, no initials — an avatar monogram is invented imagery, which
   the system forbids.

   Below 768 the plate keeps its 220px width rather than stretching to the
   full measure: a full-width empty plate is a 288x360 blank slab at 320. */
.ayk-plate {
	max-width: 220px;
	aspect-ratio: 4 / 5;
	background: var(--surface-sunken);
	border: 1px solid var(--border-hairline);
	padding: 9px;
	box-sizing: border-box;
}

.ayk-plate__frame {
	display: flex;
	align-items: flex-end;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	border: 1px solid var(--border-hairline);
	padding: 18px;
}

/* Caption colour, corrected upstream and inherited here: page-html.md § 3 had
   #8A867E, which is not a token in docs/tokens/colors.css and measures 3.10:1
   on veil — below the 4.5:1 text floor. --text-muted is 5.19:1 on veil. */
.ayk-plate__caption {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.4;
	color: var(--text-muted);
}

/* The one uppercase string in this block, and it is the system's named
   exception — an eyebrow. The ROLE LINE below is deliberately not one. */
.ayk-plate__label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--micro);
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
}

.ayk-team__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--title-s);
	line-height: var(--wp--custom--leading--title);
	color: var(--text-heading);
	letter-spacing: 0;
}

/* The role line. Sentence case, no tracking, NO text-transform — this is the
   correction page-html.md § 3 § Titles makes to the shipped treatment, and it
   is not cosmetic: the previous 13px .11em uppercase rendering is the eyebrow,
   which readme.md names as the system's single uppercase exception, and a role
   line is not an eyebrow. It also rendered FONDATEUR where the string is
   byte-matched against the Law 25 privacy-officer disclosure — whose form is
   lower-case `fondateur` — so the one place a reader can check that match
   visually was showing a different string. */
.ayk-team__role {
	margin: 10px 0 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-muted);
}

/* The bio slot is sized for the LONG bio — the About-page prose, three
   paragraphs, ~1,500 characters in French — and deliberately not for the
   Journal byline. A slot that fits the byline is a slot that has to be
   redesigned the first time the real §8 copy lands. */
.ayk-team__bio {
	margin-top: var(--wp--preset--spacing--6);
	max-width: 62ch;
	font-size: var(--wp--preset--font-size--body);
	line-height: var(--wp--custom--leading--reading);
	color: var(--text-body);
}

.ayk-team__bio > p {
	margin: 0;
	text-wrap: pretty;
}

/* Core's layout rules put margin-block-start: var(--wp--preset--spacing--8)
   on every child of a flow or constrained group. Both of these blocks are
   grids whose separation is the grid gap (and, in the six-up, the hairline
   plus its padding), so that inherited margin would add 32px inside every
   cell and inside every bio.

   Doubled class for specificity: core's rule is
   `:root :where(.is-layout-flow) > *`, which is (0,1,0) because :where()
   contributes nothing — a single class ties it and then depends on stylesheet
   order, which is not something to rely on across a global-styles enqueue.
   Same device as .ayk-page-header__rule above. Verified by measuring the
   render, not by reading the cascade. */
.ayk-six.ayk-six > li,
.ayk-team.ayk-team > *,
.ayk-team__bio.ayk-team__bio > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* ...and then the bio's own paragraph rhythm is put back, at the same doubled
   specificity, or the neutralisation above wins and the three paragraphs run
   together as one slab. They did, in the first render of this section. */
.ayk-team__bio.ayk-team__bio > * + * {
	margin-block-start: var(--wp--preset--spacing--5);
}

/* Six-up reflow threshold — 544px, in this block only.
   Derivation (guidelines/page-html.md § 2, measured against the French): the
   binding item is `Accompagnement existentiel et des transitions` and the
   binding word is `Accompagnement`, advance 7.9605em. A column holds it when

       (0.9V - 64) / 2  >=  7.9605 x clamp(22, 17.6 + 0.011V, 28)
       -> 0.36243V >= 172.10  ->  V >= 474.94

   `clamp(22, 17.6 + 0.011V, 28)` IS --text-title-s. Written as the token and
   not only as the formula, because that is what makes "if the item size moves,
   544 re-derives" a trigger rather than a hope (page-html.md § 2).

   Set at 544 — the switcher literal already in this file — for +25.06px of
   column slack, which is +13.35% OF THE ADVANCE. The denominator is stated
   because header.md's rule makes it a condition: percentages go per measured
   term, never over a total, and the column `(0.9V - 64)/2` is two constants
   and a viewport carrying one measured quantity. Reusing 544 adds no third
   breakpoint literal while --breakpoint-drawer / --breakpoint-switcher are
   still post-launch record items.

       candidate   column    item size   7.9605 x size   slack    % of advance
       480         184.00       22.880        182.136    +1.86          +1.02%
       544         212.80       23.584        187.740   +25.06         +13.35%

   🚩 SYNCED 2026-08-23; both halves of this paragraph were wrong and the
   conclusion was not. It read "+25.02px of column slack (13.3%), against the
   +1.8px that 480 would give, WHICH IS INSIDE THE +/-1.7% RENDERING BAND AND
   SO WORTH NOTHING."

     - The figures are superseded: the same arithmetic to three places is
       +25.06 and 13.35%.
     - The ±1.7% band is WITHDRAWN — by this same file, 429 lines up, in as
       many words: "There is no such band." So this stylesheet argued from an
       instrument it had already retired, in a block written for a different
       subject. page-html.md § 2 swept the project and found THIS SENTENCE was
       the band's one live consumer; every other citation quotes it as
       withdrawn or as history.
     - And the re-derivation REVERSES what the band said about 480. The
       largest disagreement this record can source on a glyph-advance term is
       0.21% (the GPOS kern variation left unevaluated in the wordmark
       derivation, 0.40px on 193.32); the next is ~0.036% (the two-route
       spread on `ch`). 480's +1.02% is five times the larger, so it sits
       OUTSIDE every residue this record can source. A tolerance fitted to an
       unreproduced observation does not only absorb defects — it manufactures
       rejections, and this is that second shape.

   WHAT ACTUALLY RULES 480 OUT is stated, not computed: it is not a literal
   already in the system, so choosing it mints the third breakpoint literal
   the paragraph above declines to mint; and its +1.86px has no rendered
   confirmation — § 2's reflow table measures 430 (overflow +16.25px) and 560
   (0), and nothing between. 544 needs no measurement between them; 480 would.

   NOTHING HERE MOVES THE THRESHOLD. 544 is 544 under both arguments and the
   media query below is untouched, which is exactly why this survived: a
   comment that reaches the right value by a retired route is invisible to
   token-sync.py, to page-header-check and to every probe. None of them reads
   prose. The re-derivation is upstream's, made 2026-08-19; this is the sync,
   not a new argument. KNOWN-ISSUES #33.

   The shipped state before this pass was a FIXED 2-up from 1440 down to 320,
   with no media query at all: measured overflow was 63.13px at 320, 38.38 at
   375 and 16.25 at 430. */
@media (min-width: 544px) {
	.ayk-six {
		grid-template-columns: 1fr 1fr;
	}
}

/* Team reflow threshold — 768px, in this block only.
   Derivation (guidelines/page-html.md § 3): portrait floor 220 + gap 56 +
   prose floor 374.72 (40ch of Newsreader at the 17px bio size, 40 x 9.368)
   = 650.72 -> minimum viewport 650.72 / 0.9 = 723.02 -> set at 768, slack
   +40.48px (+6.2%). 768 is already one of guidelines/bilingual.md's three
   test widths, so this adds no width to the acceptance set either.

   The shipped state before this pass was minmax(220px,0.62fr) 1.38fr with no
   media query, which held the portrait at 220 all the way down and handed the
   deficit to the prose: a 12.00px prose column at 320 and 61.50px at 375. */
@media (min-width: 768px) {
	.ayk-team {
		grid-template-columns: minmax(220px, 0.62fr) 1.38fr;
		gap: 56px;
	}

	.ayk-plate {
		max-width: none;
	}
}

/* ===========================================================================
   Forms — the contact form and the newsletter signup (mu-plugin 18-forms.php).

   Control geometry is components/forms/{Field,Input}.jsx read at source
   2026-08-24: sans at the body size, 11px 14px padding, --surface-raised fill,
   1px --border-control, ink border on focus IN ADDITION TO the global ring
   (style.css:43 — both halves or neither, Input.prompt.md). States are
   component-states.md § 2's Input/Select rows; the error wiring (message line
   + aria-describedby + aria-invalid, both or neither) is strings-inventory
   § 5c. Forms sit on paper/veil only, never inside a night scheme —
   --ayk-alert measures 2.26:1 there (component-states.md D3); nothing
   re-points these colours at night BECAUSE nothing may host a form there.

   2px control corners: layout.css's --radius-sm, the value Input.jsx and
   Button.jsx carry.

   🚩 CORRECTED 2026-08-29 (CC-20). THIS COMMENT SAID THE VALUE "SHIPS AS A
   LITERAL, NOT A TOKEN … docs/tokens/ IS A MIRROR AND MINTING IS DESIGN'S."
   The reasoning was sound against what this repo could see, and it produced
   exactly the outcome Design's ruling forbids. It now reads
   var(--wp--custom--radius-sm), defined once in theme.json settings.custom.

   Design's clause, quoted rather than paraphrased, from readme.md § Borders,
   corners, depth (ruled 2026-08-26):

     "Write it as the token, never as a literal. A hand-written 2px is a value
      that will not move when the token does — and a build that believes the
      system is silent will mint what already exists."

   The clause lives HERE, at the line that broke it, rather than only in the
   entry where it was ruled. That placement is Design's own call, relayed in
   conversation 2026-08-27 and recorded with that provenance in DCR-047: a
   clause filed where it was ruled goes stale the way compositions.md's item 3
   did, while one filed where it was broken is read by the next person to touch
   the line. NOT read from an upstream file — if Design writes it upstream,
   that is the better source and supersedes this.

   And the other half of the same ruling, because this site is where a build
   decides which one applies:

     CONTROLS take --radius-sm. Anything the pointer or keyboard operates:
     Input, Textarea, Select, Checkbox, Button — INCLUDING WordPress core's
     standard Button block — IconButton, the Tag / badge object, and any card
     that becomes a control.

     SURFACES take 0. Plates, cards-as-blocks, bands, tables, images, rules,
     the page. Not "up to 2px" — 0. A surface with a radius is the thing
     "corners are square" exists to forbid.

   The qualifying set can change on a stated trigger; the value never depends
   on state. There is no geometry that appears on hover or on focus.

   theme.json's border.radius:false is untouched, and that is deliberate: it
   withdraws the EDITOR control and emits no CSS. Disabling a control and
   declaring a value are orthogonal, and having only the first is what let
   core's 9999px pill stand on 28 buttons.
   ======================================================================== */

/* --- § 3, the inquiry-path cards, as controls -------------------------------
   compositions.md § 3's rider, triggered by the form landing: hover
   hairline → ink, the global ring, a chosen state that is ANNOUNCED
   (aria-current="true", server-rendered from ?inquiry=) and visibly marked in
   the same grammar as the nav's current item — the accent border plus weight,
   never colour alone doing new work. Labels stay h2 at the lead size, italic,
   exactly as the static cards rendered before they became controls. */
.ayk-inq {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--6);
}

/* Three-up from 782px — core's own columns threshold, reproduced: these cards
   shipped as core/columns until the form landed, and this grid changes their
   mechanism, not their reflow. No new breakpoint is decided here. */
@media (min-width: 782px) {
	.ayk-inq {
		grid-template-columns: 1fr 1fr 1fr;
		gap: var(--wp--preset--spacing--12);
	}
}

.ayk-inq__card {
	position: relative;
	border: 1px solid var(--border-hairline);
	padding: var(--wp--preset--spacing--6);
	transition: border-color 120ms ease;
}

.ayk-inq__card:hover {
	border-color: var(--text-heading);
}

.ayk-inq__card.is-chosen {
	border-color: var(--border-accent);
}

.ayk-inq__label {
	margin: 0 0 var(--wp--preset--spacing--3);
	font-size: var(--wp--preset--font-size--lead);
	font-style: italic;
	font-weight: 400;
}

.ayk-inq__card.is-chosen .ayk-inq__label {
	font-weight: 500;
}

/* The whole card is the target: a stretched link. The label link carries the
   accessible name; its ::after covers the card. */
.ayk-inq__label a {
	color: var(--text-heading);
	text-decoration: none;
}

.ayk-inq__label a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* The ring moves from the link's text box to the card boundary — the
   ArticleCard treatment (component-states.md § 2: "global ring around the
   whole block"). Moved, not removed: same width, same offset, same alias. */
.ayk-inq__label a:focus-visible {
	outline: none;
}

.ayk-inq__card:has(a:focus-visible) {
	outline: var(--wp--custom--ring--width) solid var(--focus-ring);
	outline-offset: var(--wp--custom--ring--offset);
}

.ayk-inq__card > p {
	margin: 0;
	font-size: var(--wp--preset--font-size--body);
	color: var(--text-body);
}

/* --- The form ----------------------------------------------------------- */

.ayk-formwrap {
	margin-top: var(--wp--preset--spacing--8);
}

.ayk-form {
	display: grid;
	gap: var(--wp--preset--spacing--6);
	/* 576px: a comfortable single-column control width inside the 720
	   measure. The fields cap; the page's left edge is the content column's,
	   so the form moves with the prose when the left-edge re-anchoring
	   (compositions.md § 4 q1, owed) lands. */
	max-width: 36rem;
}

.ayk-form__pair {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--wp--preset--spacing--6);
}

/* Two-up from 544 — the switcher literal this file already carries; no new
   breakpoint literal is minted for a name row. */
@media (min-width: 544px) {
	.ayk-form__pair {
		grid-template-columns: 1fr 1fr;
		gap: var(--wp--preset--spacing--4);
	}
}

.ayk-field {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2);
}

.ayk-field > label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
	color: var(--text-muted);
}

/* Ayekah marks the optional, never the required (Field.prompt.md) — so there
   is no asterisk legend anywhere. The marker drops the label's uppercase. */
.ayk-field__optional {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

.ayk-form input[type="text"],
.ayk-form input[type="email"],
.ayk-form select,
.ayk-form textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--body);
	line-height: var(--wp--custom--leading--body);
	color: var(--text-heading);
	background: var(--surface-raised);
	padding: 11px 14px;
	border: 1px solid var(--border-control);
	border-radius: var(--wp--custom--radius-sm);
	transition: border-color 120ms ease;
}

/* Focus darkens the border AND the global ring shows (style.css:43); the
   component may set neither on its own and remove neither. */
.ayk-form input:focus,
.ayk-form select:focus,
.ayk-form textarea:focus {
	border-color: var(--text-heading);
}

.ayk-form [aria-invalid="true"] {
	border-color: var(--ayk-alert);
}

.ayk-form textarea {
	resize: vertical;
	min-height: 10rem;
}

/* The select keeps the house chevron. Inline SVG data URI in ink #24231F:
   forms never sit on night (D3), so the glyph colour does not re-point. */
.ayk-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%2324231F' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 40px;
}

.ayk-field__error {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--leading--body);
	color: var(--ayk-alert);
}

.ayk-form__actions {
	margin: 0;
}

/* The submit is a CONTROL and takes the token — added 2026-08-29 (CC-20).

   It is not reached by anything else. The form emits
   <button type="submit" class="wp-element-button"> (18-forms.php), and core's
   pill rule is :where(.wp-block-button__link) — a class this button does not
   carry — so the submit computed border-radius 0 while the 28 core Buttons
   computed 9999px. Two different wrong answers from one missing declaration.

   theme.json's styles.blocks.core/button now covers the Button BLOCK; it does
   not reach a bare .wp-element-button emitted by a mu-plugin, which is why
   this rule exists here and is not a duplicate of it. Same token, one home. */
.ayk-form button[type="submit"].wp-element-button {
	border-radius: var(--wp--custom--radius-sm);
}

/* Disabled only DURING submission (D5) — never before first submit. */
.ayk-form button[disabled] {
	opacity: 0.42;
	cursor: not-allowed;
}

.ayk-form__below {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	color: var(--text-muted);
}

/* --- Notices (Notice.jsx's shape: a 2px semantic rule and the glyph carry
   the tone; the ground is the sunken veil, never a filled colour panel) --- */
.ayk-notice {
	display: flex;
	gap: var(--wp--preset--spacing--4);
	padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--5);
	border-inline-start: 2px solid var(--border-strong);
	background: var(--surface-sunken);
	margin-bottom: var(--wp--preset--spacing--6);
}

.ayk-notice > p {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	line-height: var(--wp--custom--leading--body);
	color: var(--text-body);
}

/* The notice takes focus on render (tabindex="-1" + autofocus — the
   strings-inventory § 5c wiring) so the outcome is announced. It is NOT
   keyboard-reachable — tabindex="-1" keeps it out of the tab order — so
   WCAG 2.4.7 does not apply to it, and the global ring here is not "removed
   from a control": there is no control. Found by looking (2026-08-24): the
   rubric ring around an AFFIRM notice reads as an alert border — a red box
   around a green check — which inverts the tone the 2px rule carries. */
.ayk-notice:focus {
	outline: none;
}

.ayk-notice__icon {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 2px;
}

.ayk-notice--affirm {
	border-inline-start-color: var(--ayk-affirm);
}

.ayk-notice--affirm .ayk-notice__icon {
	color: var(--ayk-affirm);
}

.ayk-notice--alert {
	border-inline-start-color: var(--ayk-alert);
}

.ayk-notice--alert .ayk-notice__icon {
	color: var(--ayk-alert);
}

/* --- The honeypot: off-screen, not display:none — it must exist for the
   things that fill every field, and carry its instruction for a screen
   reader in browse mode. Out of the tab order via tabindex="-1". ---------- */
.ayk-hp {
	position: absolute;
	left: -9999px;
	top: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ===========================================================================
   HOME (front-page) — the Group C compositions.

   Sources: guidelines/vertical-slice.md § 2 (nine sections, deck order) and
   guidelines/compositions.md § 6 (the ALOS card, ruled 2026-08-24). The
   treatments live here once, with class hooks in the installed content —
   compositions.md § 1's discipline: a later change is one edit in one
   stylesheet, never one per language tree.

   THE THIRD MEASURE IS GONE, deliberately. front-page.html carried
   contentSize 78rem (1248px) on main AND on post-content — a value from the
   OLD site's extraction record (docs/ayekah-current-tokens.css: "--wide:
   78rem; close to the old container"), written into the 2026-08-02 scaffold
   thirteen days before the design system delivered 720/1100, and appearing
   nowhere in any design document since. The template now uses page.html's
   shell (align:full post-content, constrained at theme.json's 720/1100), so
   Home renders in the same two measures as every other page. See
   DECISIONS.md, "The third measure was the old site's container".
   ------------------------------------------------------------------------ */

/* § 1 — the hero subheadline holds the lead measure (44ch), not the prose
   measure: vertical-slice.md § 2 row 1. The constrained layout's own
   max-width is :where()-scoped (specificity 0), so one class wins. */
.ayk-hero-sub {
	max-width: var(--wp--custom--measure--lead);
}

/* § 5 — the quality statement, the deck's one tonal break on Home. The
   ground is the night scheme (is-style-night, the closed pairing enforced in
   functions.php); this class carries only the band's own rhythm, the same
   tokens and the same reasoning as .ayk-about-team. */
.ayk-night-band {
	padding-top: var(--wp--custom--rhythm--default);
	padding-bottom: var(--wp--custom--rhythm--default);
}

/* § 6 — the ALOS card. compositions.md § 6, ruled 2026-08-24: a fourth
   composition on Card tone="sunken", NOT is-style-callout, and NOT a link —
   the text link inside is the only control. tone="sunken" translates as the
   veil scheme (is-style-veil = --surface-sunken, border transparent in
   Card.jsx, no radius).

   🚩 CORRECTED 2026-08-29 (CC-20). This read "no radius — theme.json sets
   border.radius:false and this theme ships none." Both halves were wrong, and
   in different ways:

     - "this theme ships none" was FALSE WHEN WRITTEN. The form controls a few
       hundred lines above shipped a hand-written border-radius:2px. The
       stylesheet contradicted itself and nothing noticed.
     - "theme.json sets border.radius:false" is TRUE AND DOES NOT MEAN THIS.
       A false setting removes the editor control and EMITS NO CSS, so it
       cannot make anything square. Reading it as a guarantee is precisely how
       core's :where(.wp-block-button__link){border-radius:9999px} stood on 28
       rendered buttons across eight pages.

   The card takes 0 because it is a SURFACE under Design's ruling, which is a
   reason that survives both corrections. See the forms section above for the
   ruling in full. padding var(--space-8) is preset 8, 32px. Geometry probe:
   scripts/content-probe/, Group C. */
.ayk-alos-card {
	padding: var(--wp--preset--spacing--8);
}

/* § 9 — the closing: two short serif lines at title-s, centred, with
   --rhythm-loose above (vertical-slice.md § 2 row 9). Font size is set here,
   not as a fontSize attr, for the same !important reason as the tease below. */
.ayk-closing {
	margin-block-start: var(--wp--custom--rhythm--loose);
	text-align: center;
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--title-s);
	line-height: var(--wp--custom--leading--title);
	color: var(--text-heading);
}

/* § 8 — the Journal tease: the definitive card composition
   (vertical-slice.md § 3a, 2026-08-17 — "design states it, the theme changes
   to match"): hairline rule above (hover → ink), {date} eyebrow, serif title
   (hover → accent), authored standfirst, NO author, NO tag. Reading time is
   deliberately absent — no block or function exists; § 3a names the fallback
   (keep it on the single's masthead when that is built). The first item is
   the featured size (title-m title, lead standfirst), every later item
   default — ONE query with the first templated differently, which answers
   vertical-slice.md § 7.3. Sizes live here rather than as fontSize attrs
   because preset classes carry !important and would beat the first-child
   override. Both trees ship identical query attrs: Polylang free filters a
   non-inherit query block by the current language (measured 2026-08-24,
   staging, both trees — 3 EN posts at /en/, the sole FR post at /fr/). */
.ayk-journal-tease .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ayk-journal-tease .wp-block-post {
	border-top: 1px solid var(--border-hairline);
	padding-top: var(--wp--preset--spacing--6);
	padding-bottom: var(--wp--preset--spacing--6);
	transition: border-color 120ms ease;
}

.ayk-journal-tease .wp-block-post:has(.wp-block-post-title a:hover) {
	border-top-color: var(--text-heading);
}

/* The eyebrow cut, on the date: sans, label size, tracked, uppercase, muted —
   base/elements.css's h5/h6 cut, which is what Eyebrow renders. */
.ayk-journal-tease .wp-block-post-date {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
	color: var(--text-muted);
	margin-block-end: var(--wp--preset--spacing--4);
}

.ayk-journal-tease .wp-block-post-title {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--title-s);
	line-height: var(--wp--custom--leading--title);
	letter-spacing: var(--wp--custom--tracking--title);
	text-wrap: balance;
	margin: 0;
}

.ayk-journal-tease .wp-block-post-title a {
	color: var(--text-heading);
	text-decoration: none;
}

.ayk-journal-tease .wp-block-post-title a:hover,
.ayk-journal-tease .wp-block-post-title a:focus {
	color: var(--text-accent);
}

.ayk-journal-tease .wp-block-post-excerpt {
	margin-block-start: var(--wp--preset--spacing--3);
	font-size: var(--wp--preset--font-size--reading);
	line-height: var(--wp--custom--leading--lead);
	color: var(--text-muted);
	max-width: var(--wp--custom--measure--lead);
}

.ayk-journal-tease .wp-block-post:first-child .wp-block-post-title {
	font-size: var(--wp--preset--font-size--title-m);
}

.ayk-journal-tease .wp-block-post:first-child .wp-block-post-excerpt {
	font-size: var(--wp--preset--font-size--lead);
}

/* Core's flat 32px sibling gap between cards would stack on the cards' own
   padding; the rule + the padding IS the separation — .ayk-six's reasoning.
   The date/title/excerpt margins above are the whole inside-the-card rhythm,
   so nothing broader is reset. */
.ayk-journal-tease .wp-block-post-template > .wp-block-post {
	margin-block-start: 0;
	margin-block-end: 0;
}
