{
  "version": 1,
  "criteria": [
    {
      "id": "function-primary",
      "kind": "behavior",
      "description": "Primary mega disclosure and mobile toggle reach closed, open, navigation-open, and nested-open states via selector-driven interactions on [data-rml-root]",
      "automated": true
    },
    {
      "id": "one-tree",
      "kind": "structure",
      "description": "Exactly one primary links tree (#rml-primary-links / ul.ren-nav-links) serves desktop and mobile — no duplicated responsive branches",
      "automated": true
    },
    {
      "id": "top-level-count",
      "kind": "structure",
      "description": "Exactly four direct children of #rml-primary-links (> li count === 4): three ordinary ren-nav-link destinations plus one mega details/summary trigger",
      "automated": true
    },
    {
      "id": "affordance-count",
      "kind": "structure",
      "description": "Exactly one visible mega chevron (.rml-chevron); classless summary::after must be neutralized",
      "automated": true
    },
    {
      "id": "destination-anatomy",
      "kind": "structure",
      "description": "Open panel exposes exactly 3 groups × 4 destinations = 12 .rml-dest anchors with titles, 12 .rml-dest-desc descriptions, and 12 square .rml-dest-icon containers; no featured/raster media region",
      "automated": true
    },
    {
      "id": "rail-anatomy",
      "kind": "structure",
      "description": "Contrast link rail (.rml-rail) contains exactly one .rml-rail-heading and five .rml-rail-link anchors; rail is not a nested nav landmark",
      "automated": true
    },
    {
      "id": "alignment-primary",
      "kind": "visual-structure",
      "description": "Mega summary shares the centerY axis with peer primary links within 2px",
      "automated": true
    },
    {
      "id": "overflow-geometry",
      "kind": "visual-structure",
      "description": "Desktop panel sits under the bar (absolute); mobile panel stays in-flow; no horizontal overflow on html",
      "automated": true
    },
    {
      "id": "tablet-mega-composition",
      "kind": "visual-structure",
      "description": "At 834px (desktop shell, no hamburger): readable groups with visible descriptions and a distinct contrast rail; avoid unreadable three-column + edge-rail squeeze. At ≥64rem restore three-column primary groups + narrower edge-continued rail.",
      "automated": true
    },
    {
      "id": "edge-rail-hierarchy",
      "kind": "visual-structure",
      "description": "On wide desktop, rail is visibly narrower than the primary groups region and uses a distinct contrast surface; hierarchy remains recognizable even if exact 14rem source max-width adapts to tokens",
      "automated": true
    },
    {
      "id": "mobile-rows",
      "kind": "visual-structure",
      "description": "Mobile primary rows are full-width and start-aligned without nested-card details chrome; mega groups compact; descriptions visually hidden; rail links stacked",
      "automated": true
    },
    {
      "id": "keyboard-escape",
      "kind": "behavior",
      "description": "Summary opens by click/Enter/Space; Escape closes and restores focus to SUMMARY",
      "automated": true
    },
    {
      "id": "desktop-pointer-hover-pin",
      "kind": "behavior",
      "description": "Desktop (≥48rem) pointer hover may preview-open the mega disclosure; first click pins open; second click closes; pointer remains open when moving from summary into the panel (stable close region); leaving the disclosure+panel hit region closes unpinned hover-preview. Hover is additive to click/Enter/Space, not a replacement. State and ARIA/open remain synchronized.",
      "automated": true
    },
    {
      "id": "js-disabled-fallback",
      "kind": "behavior",
      "description": "With JavaScript disabled on mobile, the single tree, twelve destinations, and five rail links remain usable via native disclosure",
      "automated": true
    },
    {
      "id": "touch-targets",
      "kind": "behavior",
      "description": "Visible interactive targets inside [data-rml-root] meet 44×44 in a touch context",
      "automated": true
    },
    {
      "id": "reduced-motion",
      "kind": "behavior",
      "description": "prefers-reduced-motion disables block-local transitions and animations on panel/chevron/dest/rail",
      "automated": true
    },
    {
      "id": "axe-wcag",
      "kind": "behavior",
      "description": "Link-rail mega menu preview passes axe WCAG 2.1 A/AA",
      "automated": true
    },
    {
      "id": "theme-tokens",
      "kind": "behavior",
      "description": "Light and dark surfaces resolve through RenDS semantic tokens",
      "automated": true
    },
    {
      "id": "icon-sizing",
      "kind": "structure",
      "description": "Destination icons use ren-icon wrappers without inline SVG width/height attributes; destination icon containers are square",
      "automated": true
    },
    {
      "id": "landmark-single",
      "kind": "structure",
      "description": "Exactly one nav.ren-nav landmark inside [data-rml-root]; rail and mega do not introduce nested unlabeled nav",
      "automated": true
    },
    {
      "id": "quality-helpers",
      "kind": "structure",
      "description": "Link-rail suite adopts expectSingleVisibleAffordance, expectAligned, expectWidthRatio, expectNoOverflow, and inspectNativeChrome without dropping block-specific assertions",
      "automated": true
    },
    {
      "id": "render-matrix-10",
      "kind": "structure",
      "description": "render-matrix.json declares 10+ states with selector actions (including hover for desktop-light-hover-open) and expectedMarkers for 12 dest / 12 desc / 12 icons / 3 groups / 1 chevron / 1 rail / 1 rail heading / 5 rail links; tablet-light-open at 834px is a desktop-shell mega open without .ren-nav-toggle",
      "automated": true
    },
    {
      "id": "visual-review",
      "kind": "human-review",
      "description": "Codex reviewed fresh desktop and mobile captures against the reference brief and cascade map",
      "automated": false
    }
  ]
}
