/* CAE select-one-of-N — the only styling the surface needs (d ruling, plate #41, 2026-09-04).
 *
 * Enqueued ONLY on a page whose interaction-surfaces row matches the queried page's slug
 * (inc/cae-interact-surface.php::cae_intsurf_enqueue), so no other served page gains a byte.
 *
 * It deliberately paints nothing the design draws. The three rules are:
 *  1. `hidden` has to win. The panel is a clone of the drawn card, whose own per-node class rule
 *     sets `display:flex`; a class selector outranks the UA's `[hidden]{display:none}`, so
 *     without this every panel would be visible at once. Scoped to declared panels only.
 *  2. A class hook on the selected trigger. The design's selected TILE is a background layer of
 *     the grid, not an element (stacked-bands-cae.css), so moving it is a design ruling this
 *     lane does not own -- see the contract doc, fork 1. This hook is what that ruling would use.
 *  3. A visible focus ring, because these anchors are now keyboard-operable as a roving tablist
 *     and the drawn band has no focus treatment of its own.
 */

[data-cae-intsurf-panel][hidden] {
  display: none !important;
}

/* ── declared panel gap (HOMEPAGE8, KATE SHAWVER 869ew09tx 2026-09-11) ───────────────────────
 * "Add more padding bewten the news/events tabs and the beginnig of the events list." MEASURED
 * BEFORE THIS RULE (news-events): the strip's own bottom edge and the visible panel's top edge
 * coincide exactly (gap 0.00px, sealed Playwright, 1440 and 1024) -- the containing frame
 * (19357:232311, named "News" in Figma) has layoutMode NONE (its two children are placed by
 * absolute coordinates, not auto-layout), so the compiler stamps no itemSpacing for it and the
 * generic flex-column fallback the theme gives every `wp-block-group` renders with
 * `gap: normal` (0). THE NUMBER IS THE DESIGN'S OWN, measured from those same absolute boxes:
 * the tab-strip wrapper 19357:232319 runs y -310 to -241 and the drawn News panel 19357:232312
 * starts at y -201 -- a gap of exactly 40 design px -- corroborated by the SAME wrap gap the
 * 'event-list' builder already ships one level down in this exact Figma file (event-list.css,
 * frame 20505:7280, itemSpacing 40 between its own list and Browse button).
 *
 * A REFUSED APPROACH, NAMED: authoring this as a `design.layout.itemSpacing` override on
 * 19357:232311 (copy-overlay.json, converting the frame to a real VERTICAL auto-layout so the
 * compiler's own gap-lowering would do the work) was tried and RED-proved wrong -- it broke the
 * "news-events" interaction surface outright (`cae-intsurf news-events: REFUSED -- declared
 * drawn panel __column-figma-generic-column-19357-232312 does not follow the trigger
 * container`), because the trigger/panel PHP patcher depends on the exact sibling shape the
 * layoutMode-NONE compile gives this frame. Reverted.
 *
 * A SECOND REFUSED APPROACH, ALSO NAMED: `#cae-intsurf-news-events-panel-0,
 * #cae-intsurf-news-events-panel-1 { margin-top: 40px }`, keyed to the panels' own generated
 * ids, was the first CSS-only cure and shipped briefly -- the seat correctly refused it as a
 * hand rule outside the registry channel (compare the `rowFill` cure two items above: a
 * declared field lowered to a page-scoped custom property, never a value the stylesheet picks
 * or a selector keyed to one instance's id). Replaced by the generic rule below.
 *
 * THE CUSTOM PROPERTY IS NOT SET ON THE TRIGGER CONTAINER: the trigger container
 * (`[data-cae-intsurf]`) and the panels (`[data-cae-intsurf-panel]`) are SIBLINGS under a
 * shared ancestor on this surface's own compiled shape, not container/descendant -- measured,
 * `strip.contains(panel0)` is false -- so a custom property set only on the trigger container
 * would never inherit down to a panel. `panelGapPx` (interaction-surfaces.json, validated in
 * theme-consolidate.mjs) is instead lowered by PHP onto EVERY panel's own opening tag
 * (cae_intsurf_lower_tabs_declared for drawn panels, cae_intsurf_build_event_list for built
 * ones) as `--cae-intsurf-panel-gap`, so this rule reads it directly off the panel, generically,
 * for any surface that declares the field -- the `0` fallback is what scopes it to the surfaces
 * that opt in. Only one panel is ever un-hidden at a time; a flex item's margin is not
 * collapsed by its siblings' `gap`, so this adds exactly the declared gap between the strip and
 * whichever panel is showing. */
[data-cae-intsurf-panel] {
  margin-top: var(--cae-intsurf-panel-gap, 0);
}

[data-cae-intsurf] [data-cae-intsurf-tab]:focus-visible {
  outline: 3px solid #f7f4e2;
  outline-offset: 4px;
  border-radius: 5px;
}

/* ── news-events inactive tab (HOMEPAGE8, KATE SHAWVER 869ew09tx 2026-09-11) ────────────────
 * "If the tab is not current, it should be greyed out. If I hover over it, the greyed out
 * effect should be removed." Answers the seat's own 09-09 question about the two scrim
 * rectangles the "news-events" registry row's own note names and reports as DROPPED at
 * recognition (Rectangle 3969 #FFFFFF@20% + Rectangle 4017 #E9E9E9@40%, stacked over the strip,
 * unbound-literal fills the geometry_recognition `_bound_fill_var` gate refuses) -- "this row
 * therefore ships the behaviour with NO new current-state paint... Kate is asked on the task."
 *
 * DERIVED OPACITY, NOT INVENTED: compositing the two dropped alphas over an opaque ground gives
 * 1 - ((1 - 0.2) * (1 - 0.4)) = 0.52, rounded to the 0.5 rung -- applied here as the INACTIVE
 * tab's own ink opacity rather than reproduced as two stacked absolutely-positioned rectangles,
 * which would paint ABOVE the label's own inline text in normal stacking order (positioned,
 * z-index:auto descendants paint after in-flow inline content) and occlude it.
 *
 * SCOPED TO `[data-cae-intsurf="news-events"]` ONLY -- the homepage carries a SECOND `tabs`
 * surface (`programs-places`, the Just Cut/VFVC/Atkins Field strip fixed in HOMEPAGE7) that
 * Kate's note does not name and that already has its own current-state mechanism (`iconHover` /
 * tab-art recolour via `[data-cae-intsurf-hover="tint"]`); this rule does not touch it.
 *
 * TWO SELECTOR PAIRS, not one, because `.is-cae-intsurf-selected` is added by the JS ONLY after
 * a click -- at first paint neither tab carries it, and `[data-cae-intsurf-initial]` is the one
 * static signal of which tab is current before any interaction. `:has()` picks the right pair:
 * before any click, grey the non-initial tab; after a click, grey whichever tab is not the one
 * carrying `.is-cae-intsurf-selected` (which may by then be the one that WAS `[data-cae-intsurf-
 * initial]` — that attribute never moves, so it cannot be trusted once a selection exists). */
[data-cae-intsurf="news-events"]:not(:has(.is-cae-intsurf-selected)) [data-cae-intsurf-tab]:not([data-cae-intsurf-initial]),
[data-cae-intsurf="news-events"]:has(.is-cae-intsurf-selected) [data-cae-intsurf-tab]:not(.is-cae-intsurf-selected) {
  opacity: 0.5;
  transition: opacity 150ms ease;
}

[data-cae-intsurf="news-events"]:not(:has(.is-cae-intsurf-selected)) [data-cae-intsurf-tab]:not([data-cae-intsurf-initial]):hover,
[data-cae-intsurf="news-events"]:not(:has(.is-cae-intsurf-selected)) [data-cae-intsurf-tab]:not([data-cae-intsurf-initial]):focus-visible,
[data-cae-intsurf="news-events"]:has(.is-cae-intsurf-selected) [data-cae-intsurf-tab]:not(.is-cae-intsurf-selected):hover,
[data-cae-intsurf="news-events"]:has(.is-cae-intsurf-selected) [data-cae-intsurf-tab]:not(.is-cae-intsurf-selected):focus-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-cae-intsurf="news-events"] [data-cae-intsurf-tab] { transition: none; }
}

/* ── card-link (KATEASKS 2026-09-05) ────────────────────────────────────────────────────────
 * The declared `card-link` behaviour's ONLY styling, and every rule below is keyed on a data
 * attribute the declaration lowered — never on a page, a band or a node id. A site that
 * declares no card-link surface matches none of it.
 *
 * THE HOVER TREATMENT IS DECLARED, NOT DECIDED HERE. Each rule is gated on the row's own
 * `hover` value, so "lift" is one authored treatment among however many the registry grows,
 * and a row that states none gets the pointer and nothing else.
 *
 * `.is-cae-cardsurf-live` is added by the JS, so the pointer only appears where the behaviour
 * actually exists: with the script absent nothing here suggests a card is clickable.
 */

[data-cae-cardsurf-card].is-cae-cardsurf-live {
  cursor: pointer;
  /* KATE SHAWVER, 869ew09tx 2026-09-08 17:05, verbatim: "on farmers and community members
   * postcards I want the ENTIRE postcard to be the [hotspot], right now there are dead spots in
   * between image and title."
   *
   * THE DEAD SPOTS ARE ONE MEMBER BEING POINTER-INERT, measured rather than inferred. The card's
   * cream ground IS a declared member (`__decor-figma-generic-decor-19357-232327/8`), but the
   * emitter's DECOR lowering gives every decor `pointer-events: none; z-index: -1` — correct for
   * a backdrop, wrong for a backdrop a card-link surface has declared as part of its own pointer
   * surface. MEASURED on :18765 at 1440 with elementFromPoint over the card's whole box, 768
   * points per card: the decor was hit 0 times out of 864 probes of its own rectangle, and the
   * dead points were 135 (17.58%) on Farmers & Food Producers and 180 (23.44%) on Community
   * Members — every one of them falling through to the band container
   * `__card-list-figma-generic-card-list-19357-232326`. The dead strip runs from the bottom of
   * the photograph to the top of the text column: exactly "in between image and title".
   *
   * RESTORING THE POINTER IS THE WHOLE CURE and it is keyed on the behaviour's own attribute, so
   * only a member a card-link row DECLARED takes it and every other decor on the site keeps the
   * emitter's value. It moves no box: `pointer-events` has no geometry. Proven by injecting this
   * one declaration into the served page and re-probing: 135 -> 0 and 180 -> 0 dead points. */
  pointer-events: auto;
}

/* LIFT — Kate's "animate on hover", as the smallest treatment that reads as motion without
 * moving a neighbour: the card rises 3px and gains a soft shadow. The transform is on the
 * member's own box, and every member of one card shares the class, so a postcard drawn as
 * seven absolutely-pinned siblings lifts as one thing. `prefers-reduced-motion` keeps the
 * shadow and drops the movement.
 *
 * `^=` because `lift-panel` below is LIFT PLUS a ground: the motion half is identical and is
 * declared once here rather than copied. A row that states neither value still matches nothing. */
[data-cae-cardsurf-hover^="lift"].is-cae-cardsurf-live {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

[data-cae-cardsurf-hover^="lift"].is-cae-cardsurf-hot {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* LIFT-SOFT — the FIFTH declared treatment. KATE SHAWVER, About Us - History (ClickUp 869ew12gd),
 * 2026-09-10 09:48, verbatim: "Can you make the dropshadow on the photo postcards on hover a
 * little softer/more subtle and remove the underline on the View Larger link on hover".
 *
 * WHY A FIFTH VALUE AND NOT AN EDIT TO `lift`. The same reason `lift-plain` gives one block below:
 * `lift`'s shadow is Kate's own on every surface that declared it (the homepage audience
 * postcards, Programs & Places, the two records-grid staff grids through `lift-panel`), and she
 * has not asked for those to change. The surface that wants a lighter shadow says so.
 *
 * THE VALUE IS HALF OF `lift`'s, IN EVERY COMPONENT: 0 6px 18px rgba(0,0,0,.14) -> 0 3px 9px
 * rgba(0,0,0,.07). Not a number picked to taste — "a little softer/more subtle" is the treatment's
 * own shadow halved, so the family stays readable as one scale.
 *
 * ITS ONE CONSUMER TODAY IS THE `lightbox` FAMILY, whose paint lives in
 * assets/interact/media-lightbox.css (the postcards Kate names carry `data-cae-lightbox-hover`,
 * not `data-cae-cardsurf-hover`). This rule is what makes the value honest for the cardsurf family
 * too: theme-consolidate.mjs's INTERACTION_HOVERS gate exists so a row may only ask for a
 * treatment THIS LINE HAS LOWERED, and a value lowered in one family's sheet only would ship dead
 * the first time a card-link row wrote it. `^="lift"` above already gives it the transition and
 * the -3px rise, so only the shadow is restated. */
[data-cae-cardsurf-hover="lift-soft"].is-cae-cardsurf-hot {
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.07);
}

/* LIFT-PLAIN — the THIRD declared treatment. KATE SHAWVER, Partnerships (ClickUp 869ew1ad4),
 * 2026-09-10 09:09, verbatim: "I don't want the box and drop shadow effect around the logo on
 * hovers, just animate the logo but remove the box shape and drop shadow".
 *
 * WHY A THIRD VALUE AND NOT AN EDIT TO `lift`. This sheet's own contract, at the top: "THE HOVER
 * TREATMENT IS DECLARED, NOT DECIDED HERE. Each rule is gated on the row's own `hover` value...
 * any future row may take it by writing the value." `lift`'s shadow is Kate's own on the surfaces
 * that declared it (the homepage audience postcards, the Programs & Places postcards, the two
 * records-grid staff grids via `lift-panel`); deleting it there would reverse her earlier notes
 * to satisfy this one. So the SURFACE that does not want a shadow says so, and every other
 * consumer of `lift` is byte-identical.
 *
 * WHY ONE DECLARATION REMOVES BOTH THINGS SHE NAMES. The member here is a `<figure>` holding a
 * transparent-ground PNG logo. `box-shadow` is drawn around the FIGURE'S BOX, not around the
 * logo's ink — so on a transparent logo the single `box-shadow` declaration above paints exactly
 * "the box shape" AND "the drop shadow" Kate names as two things. Nothing else in `lift` paints a
 * box: MEASURED on the base tip (:19150, warm, 1440 and 1024) hovering logo 0 changed `transform`
 * `none` -> `matrix(1,0,0,1,0,-3)` and `box-shadow` `none` -> `rgba(0,0,0,0.14) 0px 6px 18px 0px`
 * and NOTHING else — no background, no border, no radius, no padding.
 *
 * "JUST ANIMATE THE LOGO" IS THE HALF THAT STAYS. `lift-plain` matches the `^="lift"` prefix, so
 * it inherits the transition and the -3px rise from the rules above rather than restating them —
 * the same inheritance `lift-panel` uses, and the reason the prefix match exists. The motion is
 * still dropped under `prefers-reduced-motion` by the block at the foot of this file, which also
 * matches on the prefix.
 *
 * NO GEOMETRY. `box-shadow` has no layout effect, so the member's box, its card's box and every
 * neighbour are byte-identical at rest and while hot. */
[data-cae-cardsurf-hover="lift-plain"].is-cae-cardsurf-hot {
  box-shadow: none;
}

/* LIFT-PANEL — the SECOND declared treatment, minted for KATE SHAWVER's Meet the Team QA
 * (ClickUp 869ew0jb7), 2026-09-08, verbatim: "the postcard that shows on hover needs to be
 * larger so that there is padding between the edges and the image/title/role/button content".
 *
 * WHY A NEW TREATMENT VALUE AND NOT A CHANGE TO `lift`. This sheet's own contract, three
 * paragraphs up: "THE HOVER TREATMENT IS DECLARED, NOT DECIDED HERE. Each rule is gated on the
 * row's own `hover` value." And the change is not safe for every consumer of `lift`: a card
 * whose members are SEVEN absolutely-pinned siblings (the homepage audience postcards, whose
 * interaction-surfaces row says exactly that) would paint SEVEN overlapping grounds, because
 * every member carries the class. So the ground is opt-in per row, and only rows whose card is
 * one element declare it. Today that is the two records-grid rows in content-bindings.json —
 * the Team and Board staff grids, which are Kate's own two pages — and any future row may take
 * it by writing the value.
 *
 * MEASURED BEFORE (this lane's :18620, warm, both pages): hovering a staff card changed
 * `transform` to translateY(-3px) and `box-shadow` to 0 6px 18px, and NOTHING ELSE — computed
 * padding 0/0/0/0, background rgba(0,0,0,0), border-radius 0px. The shadow therefore hugged the
 * content exactly: card box 281.99 x 500.16 design px, shadow on the same edges. There was no
 * larger postcard to have padding inside, which is what Kate is looking at.
 *
 * NO REFLOW, BY CONSTRUCTION. The ground is a pseudo-element inset OUTWARD from the member's own
 * box, so the card's layout box, the 24px grid gap and every neighbour are byte-identical to
 * before — the same constraint the `lift` treatment above already holds itself to. The member
 * takes `position: relative; z-index: 0` so the ground can sit behind its own content and in
 * front of the band; that pair adds no geometry.
 *
 * THE PADDING IS THE DESIGN'S OWN CARD GUTTER, not a number chosen here: 24px is the Name Card's
 * `itemSpacing` (19266:533392) and the team row's `itemSpacing` (19266:533391) — the distance the
 * design already puts between one card's content and the next thing. The ground is `white` and
 * the radius the site's 5px control radius (the drawn filter Form and both tab pills). The
 * shadow moves onto the ground, because a shadow on the content box and a ground outside it
 * would draw two edges. */
[data-cae-cardsurf-hover="lift-panel"].is-cae-cardsurf-live {
  --cae-cardsurf-panel-pad: 24px;
  position: relative;
  z-index: 0;
}

[data-cae-cardsurf-hover="lift-panel"].is-cae-cardsurf-live::before {
  content: "";
  position: absolute;
  inset: calc(var(--cae-cardsurf-panel-pad) * -1);
  z-index: -1;
  border-radius: 5px;
  background-color: var(--wp--preset--color--white, #ffffff);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

[data-cae-cardsurf-hover="lift-panel"].is-cae-cardsurf-hot::before {
  opacity: 1;
}

/* THE HOT CARD IS ON TOP (Kate Shawver, ClickUp 869ew0jb7, 2026-10-10, verbatim: "When I hover on
 * Jon's postcard his postcard seems to appear to be UNDER lylee's instad of above"). Every live
 * member is its own `z-index: 0` stacking context, so a LATER sibling paints over an earlier one's
 * ground: Jon's 24px panel and its shadow reach exactly to Lylee's edge (measured: panel right
 * 484.82, Lylee left 484.81 at 1440) and her photo covered them. The hot member rises one level;
 * no geometry changes. */
[data-cae-cardsurf-hover="lift-panel"].is-cae-cardsurf-hot {
  z-index: 1;
}

/* The ground carries the shadow, so the content box must not carry a second one. */
[data-cae-cardsurf-hover="lift-panel"].is-cae-cardsurf-hot {
  box-shadow: none;
}

/* THE ICON'S GROUND ON HOVER (HOMEPAGE7 2026-09-08, Kate 869ew09tx 17:05, verbatim: "Also change
 * the backgrounds on the icons to the lighter green on hover").
 *
 * THE COLOUR IS THE DESIGN'S OWN AND IS NAMED IN THE ROW, never here. `Ellipse 1906` is the disc
 * behind every one of these icons; the design fills it #F2A518 inside the CAE-Global-Icon01/03
 * instances and #C5E3BF on this same page's three How-to-Support cards (19357:231679, 231711,
 * 231723, 294px each) -- so "the lighter green" is a fill the page already carries on the same
 * named shape, and the row states that hex with that provenance. The two icon components carry
 * NO componentSetId in this corpus, so there is no drawn hover variant to read instead.
 *
 * The paint arrives as a derived asset (inc/cae-interact-surface.php::cae_intsurf_icon_hover_uri)
 * because the disc is baked into the icon's exported SVG; this rule only swaps which image the
 * element paints while it is hot, and only on a member whose row declared one. Geometry is
 * untouched: same box, same size, same position. */
/* THE SAME GATE THE REST PAINT SITS BEHIND, and that is measured rather than assumed. The icon's
 * rest background-image is emitted inside `@media (min-width: 1160px)` in
 * assets/css/stacked-bands-cae.css, so BELOW that width the disc paints nothing at all
 * (backgroundImage `none` at 1151 / 1024 / 768, measured on :18765). An ungated hover rule would
 * therefore PAINT A GREEN DISC on hover where the page draws no disc at rest — a hover state that
 * invents an element. The hover paint rides its own rest paint's gate. */
/* ONE TREATMENT, TWO PAINTERS (PPPOSTCARDS 2026-09-08). `data-cae-cardsurf-icon` now carries the
 * SHAPE the lowering found in the markup -- `background` when the member itself paints the asset,
 * `img` when the painter is an <img> the member holds -- so each shape gets the one rule that
 * reaches its own painter. Nothing here names a page, and a row that declares no iconHover still
 * matches nothing. See inc/cae-interact-surface.php::cae_intsurf_icon_paint_shape().
 *
 * A `background` painter keeps the 1160px gate above it, and that gate is MEASURED rather than
 * assumed: the Homepage badge's REST background-image is emitted inside
 * `@media (min-width: 1160px)` in assets/css/stacked-bands-cae.css, so below that width the disc
 * paints nothing at all and an ungated hover rule would INVENT a green disc where the page draws
 * none. */
@media (min-width: 1160px) {
  [data-cae-cardsurf-icon="background"].is-cae-cardsurf-hot {
    background-image: var(--cae-cardsurf-icon-hover);
  }
}

/* An `img` painter has NO width gate, for the same reason and by the same measurement: its rest
 * paint is an <img> in the markup, so the badge is drawn at EVERY width (measured on the
 * Programs & Places postcards at 1440 / 1151 / 1024 / 768 -- the <img> and its src are present at
 * all four, only the figure's box changes when the presented-canvas gate lets the band stack).
 * The hover paint rides its own rest paint's gate; the two shapes have different gates because
 * they have different rest paints, which is a fact about the shape and not about the page.
 *
 * `content` on a replaced element swaps the image the <img> RENDERS while leaving the element,
 * its box, its alt text and its src exactly as served. Measured on the base build before this
 * rule was written: figure 100.00 x 100.00 and img 100.00 x 100.00 design px, identical at rest
 * and while hot, and the sampled disc #F2A518 -> #C5E3BF. Swapping `background-image` here --
 * the other painter's rule -- was measured to change NOTHING, because the <img> paints over its
 * own figure's background. */
[data-cae-cardsurf-icon="img"].is-cae-cardsurf-hot > img {
  content: var(--cae-cardsurf-icon-hover);
}

/* The CTA inside a hot card underlines, so the destination the card is standing in for is
 * named rather than merely implied.
 *
 * ...BUT NEVER WHEN THE CTA IS A BUTTON. KATE SHAWVER, 869ew09tx 2026-09-08 17:03, verbatim:
 * "Global rule: Yellow buttons: arrow should move on hover, there should NEVER be an underline".
 * She had already said it once for the two audience CTAs (869ew09tx 08:37, cured by homepage6's
 * `ctaUnderline` row); saying it a second time as a GLOBAL makes it a rule about buttons rather
 * than a property of one row, so the rule states it: a button is not a text link and does not
 * underline. MEASURED before this change, site-wide over 81 routes
 * (tools/cae/homepage7-census.mjs, 1440): 0 butter buttons were underlined at rest and 12 became
 * underlined under the pointer — the Homepage's How-to-Support "Learn More", four Our Partners
 * "Visit Website", three Community Connections and three Vermont Food Venture Center card CTAs.
 * ALL TWELVE are butter #F2A518 `.wp-element-button`s, and every card CTA on this site is one, so
 * excluding buttons here removes exactly the twelve she is describing and nothing else.
 *
 * `:not(.wp-element-button)` rather than deleting the treatment: a card whose CTA is a plain
 * anchor (a logo link, a title link) still names its destination on hover, which is what the
 * treatment was for. The `ctaUnderline` declaration stays too — it is still the switch for those
 * anchor CTAs — and its one consumer (the audience postcards) is now covered twice over. */
a.is-cae-cardsurf-hot:not(.wp-element-button):not(.wp-block-button__link) {
  text-decoration: underline;
}

/* ...UNLESS THE ROW DECLINES IT. Kate Shawver, 869ew09tx 2026-09-08, verbatim: "there should be
 * NO underline when I hover over the buttons" (the Farmers & Food Producers and Community Members
 * blocks). The underline above is this line's own treatment, not the design's, so the row that
 * does not want it says so and PHP stamps `data-cae-cardsurf-cta-underline="0"` on that card's
 * CTA element. Only a declining row carries the attribute, so every other card surface on this
 * site matches nothing here and is byte-identical. */
/* THE FOURTH SELECTOR IS THE ONE THAT ACTUALLY BEATS THE RULE ABOVE, added by submenus7
 * 2026-09-10 after MEASURING that the opt-out did not fire on a plain-anchor CTA.
 *
 * Every consumer of this switch until now had a CTA that is a `wp-block-button__link` or a
 * `wp-element-button` -- exactly what the underline rule above EXCLUDES with its two `:not()`s --
 * so the opt-out never had to win a cascade fight and nobody noticed it could not. The drawer's
 * promo pill is the first CTA that is a PLAIN ANCHOR (the drawer renderer's own <a>, a filled
 * pill with a radius, a centred label and a chevron: a button by every drawn property and by
 * none of WordPress's classes), and there the underline rule matches at (0,3,1) while
 * `[data-…-underline="0"] a.is-cae-cardsurf-hot` is only (0,2,1). Specificity beats source order,
 * so the pill was underlined on hover with the opt-out present and correct on the element --
 * MEASURED on the served page, computed `text-decoration-line: underline` with both rules
 * matching (tools/cae/submenus7-underlineprobe.mjs).
 *
 * The added selector is the rule above with the opt-out's ancestor prepended, so it is (0,4,1) and
 * wins by specificity rather than by luck of ordering. Its own `:not()`s mean it reaches ONLY
 * plain-anchor CTAs under a declining row: the two homepage postcard families that declare this
 * switch have `wp-block-button__link` CTAs and match neither the rule above nor this line, so they
 * are byte-identical. Kate Shawver ruled this twice -- 869ew09tx 2026-09-08 "there should be NO
 * underline when I hover over the buttons", and her GLOBAL rule of the same day "Yellow buttons:
 * arrow should move on hover, there should NEVER be an underline". */
[data-cae-cardsurf-cta-underline="0"] a.is-cae-cardsurf-hot,
[data-cae-cardsurf-cta-underline="0"].is-cae-cardsurf-hot a.wp-block-button__link,
[data-cae-cardsurf-cta-underline="0"] .is-cae-cardsurf-hot a.wp-block-button__link,
[data-cae-cardsurf-cta-underline="0"] a.is-cae-cardsurf-hot.wp-element-button,
[data-cae-cardsurf-cta-underline="0"] a.is-cae-cardsurf-hot:not(.wp-element-button):not(.wp-block-button__link) {
  text-decoration: none;
}

/* RISE — the THIRD declared treatment, minted for KATE SHAWVER's Employment QA
 * (ClickUp 869ew0qap), 2026-09-10 09:31, verbatim: "On the listings, can you make the entire row
 * animate on hover WITH NO DROP SHADOW and click to the Find out More destination in a new
 * browser tab" (emphasis on her words, not added).
 *
 * WHY A THIRD VALUE AND NOT A CHANGE TO `lift`. This sheet's own contract, at the top of the
 * card-link block: "THE HOVER TREATMENT IS DECLARED, NOT DECIDED HERE. Each rule is gated on the
 * row's own `hover` value." `lift` is motion PLUS `box-shadow: 0 6px 18px rgba(0,0,0,.14)` and is
 * declared by eight shipped rows (the homepage audience postcards and How-to-Support tiles, both
 * Get Involved bands, the Community Connections and VFVC postcards, the Programs & Places
 * postcards, the Our Partners logos); dropping the shadow there would answer Kate's Employment
 * note by changing eight surfaces she did not ask about. So the shadow is opted OUT per row, by
 * the row writing `"hover": "rise"`, and every existing row is byte-identical.
 *
 * IT IS `lift` MINUS THE SHADOW, deliberately — the same 3px, the same 180ms, the same easing, so
 * the site has ONE motion and two ink weights rather than two motions. The `^="lift"` selectors
 * above do not match `rise`, so this block states the motion itself; that is four short lines
 * against a selector-list widening that would have made `lift`'s own rules read as if they
 * governed a treatment they do not.
 *
 * NO REFLOW, same constraint as `lift`: `transform` paints, it does not lay out, so the row's
 * box, its neighbours and the band's docH are unchanged in both states.
 *
 * INERT UNTIL DECLARED. No `interaction-surfaces.json` row on this tip states `"hover": "rise"`
 * — the Employment listing rows it was minted for carry NO destination (both link-manifest rows,
 * `section` 12011:134109 and `section-2` 12011:134114, are `status: "proposed"` / HELD, and
 * card-surface.js refuses to make a card look clickable with nothing behind it), and inventing
 * one is not this lane's to do. The treatment ships so that the row is one line when Kate
 * answers, and until then it matches no element on the corpus. */
[data-cae-cardsurf-hover="rise"].is-cae-cardsurf-live {
  transition: transform 180ms ease;
}

[data-cae-cardsurf-hover="rise"].is-cae-cardsurf-hot {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  [data-cae-cardsurf-hover^="lift"].is-cae-cardsurf-live { transition: box-shadow 180ms ease; }
  [data-cae-cardsurf-hover^="lift"].is-cae-cardsurf-hot { transform: none; }
  /* The ground still appears — it is the state, not the motion — but without a fade. */
  [data-cae-cardsurf-hover="lift-panel"].is-cae-cardsurf-live::before { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  /* `rise` is motion and nothing else, so reduced motion leaves it with no treatment at all —
   * which is the honest answer: a reader who has asked for no motion asked for no motion. The
   * pointer (`cursor: pointer`) and the CTA's own hover ink are untouched. */
  [data-cae-cardsurf-hover="rise"].is-cae-cardsurf-live { transition: none; }
  [data-cae-cardsurf-hover="rise"].is-cae-cardsurf-hot { transform: none; }
}

/* CONTACTCTA (Kate Shawver, ClickUp 869f0y52m, "Contact Team CTA Blocks"), verbatim: "The
 * underline on the email address should disappear on hover and change the link text to green
 * on hover". This is the mailto anchor `cae_intsurf_recognise_contact_profiles()` creates from
 * the design's own literal email text (inc/cae-interact-surface.php) — keyed on its OWN class,
 * never a global anchor rule, so it reaches nothing else on the site.
 *
 * REST-STATE UNDERLINE IS THIS RULE'S, NOT AN INLINE STYLE. The design's own literal run carried
 * `style="text-decoration: underline"` directly on the email `<span>`; the recognizer strips
 * that span when it wraps the email; an inline `style` attribute would out-rank the hover rule
 * below (inline beats any class selector short of `!important`), so keeping the design's literal
 * markup and trying to override it on hover would have been a losing cascade fight. This rule
 * restates the same rest-state underline as a class, which a class-based hover rule CAN beat.
 *
 * `text-decoration: none` on hover ALSO rides the site's existing cardsurf-cta-underline="0"
 * opt-out (the contact-profile registry rows all set `ctaUnderline: false`), so the two rules
 * agree rather than race; this one is stated explicitly so the treatment does not depend on that
 * opt-out alone.
 *
 * THE INK IS `--wp--preset--color--primary-evergreen`, the site's own primary brand green (used
 * throughout the nav, the drawer and every primary CTA fill) — read from the theme's own token
 * set, not a colour picked here; the design draws no hover state on this frame at all (zero
 * non-empty `interactions` on the corpus's contact-profile nodes), so "the brand green token" is
 * this site's one green that already functions as ITS brand colour, stated as evidence rather
 * than invented. */
a.cae-intsurf-mailto-link {
  text-decoration: underline;
}

a.cae-intsurf-mailto-link.is-cae-cardsurf-hot {
  text-decoration: none;
  color: var(--wp--preset--color--primary-evergreen);
}

/* CONTACTCTA2 (Kate Shawver, ClickUp 869f0y52m, action item 90120264146936), verbatim: "Use the
 * name font weight and role font size that you see here [VFVC Work With Us page, Colleen Crist /
 * Daniel Keeney] -- standardize across the full site." Measured on this lane's own playground:
 * VFVC's name line carries `var(--wp--custom--font-weights--p-1-bold)` (700) and its role line
 * carries `var(--wp--preset--font-size--p-1-pro-cond-regular)` (24px) -- the SAME tokens the
 * compiler already emits for VFVC's own two cards, read here rather than re-typed as a literal
 * px/700 so a future change to those design tokens carries through automatically. Selector is
 * `p.class` (element + class, specificity 0,1,1) specifically to out-rank the compiler's own
 * per-node rule (a bare `.class`, 0,1,0) regardless of stylesheet load order, without
 * `!important`. `cae_intsurf_recognise_contact_profiles()` stamps these two classes ONLY when a
 * card has exactly two <p> lines between its own root and its own CTA paragraph (a real
 * name-then-role pair); Atkins Field's two instances have three (a heading, one composed
 * sentence, a phone number) and are structurally excluded, not silently force-fit -- see that
 * function's own comment and this lane's packet for the per-block table. FFBR's four real cards
 * and VFVC's own two already carried these exact values pre-cure (this rule is a no-op restating
 * them); Community Connections landing (4) and Food Justice (2) did not (name: 400/24px, role:
 * 400/20px measured before this rule) and move to the family's declared rung here. */
p.cae-intsurf-contact-name {
  font-weight: var(--wp--custom--font-weights--p-1-bold);
}

p.cae-intsurf-contact-role {
  font-size: var(--wp--preset--font-size--p-1-pro-cond-regular);
}

/* ── tabs hover (KATEASKS 2026-09-05, Kate item 10) ─────────────────────────────────────────
 * "each Program name should have the background tan/green logo hover state". The design draws
 * the two TILE states — seven at #FFFFFF @ 20%, the selected one opaque #F7F4E2 — but
 * prototypes no hover anywhere (one interactions entry in 2 380 nodes, with a null action), so
 * the hover is a declaration. The PAINT is not invented here: the row names it and PHP sets it
 * as `--cae-intsurf-hover-color`, so this rule cannot pick a colour of its own, and the value
 * the registry states is the design's own selected-tile cream. */
/* ── the CURRENT state, and hover as a preview of it (HOMEPAGE5 2026-09-07, Kate 869ew09tx) ──
 * Kate Shawver, 12:06 verbatim: "match the hover style to what you are using as the 'Current'
 * style with background tan and logo green"; 12:07: "Make the entire logo box clickable not
 * just the logo image itself"; and the KATEASKS lane's own held item — `is-cae-intsurf-selected`
 * had NO rule here, so the paint never followed the selection and the drawn cream stayed baked
 * on one tile whichever tab was showing.
 *
 * All three are ONE thing: a tab needs a BOX to paint, and the design's own current state says
 * what to paint on it. Measured in the dump: seven tiles #FFFFFF/#FFFDFD at 20%, and
 * 19357:231649 opaque #F7F4E2 with its art in #005039 — so "background tan and logo green" are
 * the design's two values, declared in the registry row (`hoverColor`, `currentColor`,
 * `artCurrentColor`) and read from a custom property here. This sheet picks no colour.
 *
 * THE BOX IS A PSEUDO-ELEMENT, NOT NEW MARKUP. The tile FRAMES are not realized by the emitter
 * (the page's own sheet paints seven of them as background LAYERS on the grid), so there is no
 * element to enlarge and inserting one would put a box into a band whose geometry cures key on
 * exactly the classes that are there. `::before` is the plate; the page's sheet states its
 * rect per tab, because the plate's position is a fact about that design, not about tabs.
 * `z-index:-1` keeps it behind the logo and inside the tab's own stacking context, so it can
 * never slip behind the grid's plates.
 *
 * WITH NO SCRIPT nothing is lost: `[data-cae-intsurf-initial]` carries the drawn current state,
 * and the class only becomes authoritative once the client has marked the tablist live. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab] {
  position: relative;
  display: block;
  line-height: 0;
  z-index: 0;
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: var(--cae-intsurf-tile-x, 0);
  top: var(--cae-intsurf-tile-y, 0);
  width: var(--cae-intsurf-tile-w, 100%);
  height: var(--cae-intsurf-tile-h, 100%);
  border-radius: var(--cae-intsurf-tile-radius, 5px);
  background-color: transparent;
  transition: background-color 160ms ease;
}

/* HOVER previews the current state; FOCUS gets the same, so a keyboard reader sees what a
 * mouse reader sees. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]:hover::before,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]:focus-visible::before {
  background-color: var(--cae-intsurf-hover-color, transparent);
}

/* THE CURRENT TAB. Server-rendered state first (the drawn one), then the class, which only
 * overrules it once the script has upgraded the band — so a no-JS reader keeps the design. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-initial]::before,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab].is-cae-intsurf-selected::before {
  background-color: var(--cae-intsurf-current-color, var(--cae-intsurf-hover-color, transparent));
}

[data-cae-intsurf-hover="tint"].is-cae-intsurf-live [data-cae-intsurf-tab][data-cae-intsurf-initial]:not(.is-cae-intsurf-selected):not(:hover):not(:focus-visible)::before {
  background-color: transparent;
}

/* THE LOGO GREEN. The art is an <img> of an SVG, so it cannot be re-filled; it is re-PAINTED —
 * the same artwork used as a mask over the declared colour, drawn on top at the art's own box,
 * so the shape is the design's own and the only thing this sheet supplies is the colour the
 * registry states. `--cae-intsurf-tab-art` is set by the lowering from the img the markup
 * already carries; with the property unset the rule paints nothing.
 *
 * TWO TABS REFUSE IT (`data-cae-intsurf-art-no-recolour`): the tile the design ALREADY draws
 * in the current paint (its art is #005039 with a #80B099 accent, and a one-colour mask would
 * flatten the accent), and the one whose art the emitter serves as six sibling figures of which
 * the trigger holds one (a sixth of a logo recoloured is worse than none). Both refusals are
 * declared in the registry row with their evidence. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
  background-color: var(--cae-intsurf-art-current-color, transparent);
  -webkit-mask: var(--cae-intsurf-tab-art, none) center / contain no-repeat;
  mask: var(--cae-intsurf-tab-art, none) center / contain no-repeat;
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]:hover::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]:focus-visible::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-initial]::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab].is-cae-intsurf-selected::after {
  opacity: 1;
}

[data-cae-intsurf-hover="tint"].is-cae-intsurf-live [data-cae-intsurf-tab][data-cae-intsurf-initial]:not(:hover):not(.is-cae-intsurf-selected)::after {
  opacity: 0;
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-no-recolour]:not([data-cae-intsurf-art-rest])::after {
  content: none;
}

/* ── the REST art paint (HOMEPAGE6 2026-09-08, Kate 869ew09tx) ───────────────────────────────
 * Kate Shawver, verbatim: "When the Vermont Food Venture Center logo is not 'current'
 * style/selected, it should be using the white logo version."
 *
 * THE MASK ALREADY EXISTS; ONLY ITS SECOND COLOUR WAS MISSING. The block above paints the art in
 * the declared CURRENT colour whenever the tab is hovered, focused or selected. A state may now
 * also declare the colour its art takes AT REST — `--cae-intsurf-art-color`, stamped by PHP from
 * the state's own `artColor` — and the same mask paints that instead. The colour is the design's:
 * all eight tiles give their art instance a #FFFFFF fill, and only the tile the design draws in
 * the current state (19357:231649 / its logo 19357:231650) has an exported SVG carrying the brand
 * green, which is exactly the one Kate is looking at. No stylesheet picks a colour here.
 *
 * A STATE THAT ALSO REFUSES THE CURRENT RECOLOUR keeps that refusal: at rest it wears the
 * declared paint, and in the current state it paints NOTHING and shows its own drawn artwork —
 * which for this tile is the design's current-state art already. That is why the refusal above
 * is narrowed with :not() rather than deleted; a state with no rest paint still suppresses the
 * pseudo-element outright. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest]::after {
  opacity: 1;
  background-color: var(--cae-intsurf-art-color, transparent);
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest]:hover::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest]:focus-visible::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest][data-cae-intsurf-initial]::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest].is-cae-intsurf-selected::after {
  background-color: var(--cae-intsurf-art-current-color, transparent);
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest][data-cae-intsurf-art-no-recolour]:hover::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest][data-cae-intsurf-art-no-recolour]:focus-visible::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest][data-cae-intsurf-art-no-recolour][data-cae-intsurf-initial]::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab][data-cae-intsurf-art-rest][data-cae-intsurf-art-no-recolour].is-cae-intsurf-selected::after {
  opacity: 0;
}

/* Once the script has upgraded the band the SSR `initial` marker stops being authoritative, so a
 * rest-painted tab that is no longer the selection goes back to its rest paint — the mirror of
 * the two `.is-cae-intsurf-live` rules above, and the reason the baked state cannot come back. */
[data-cae-intsurf-hover="tint"].is-cae-intsurf-live [data-cae-intsurf-tab][data-cae-intsurf-art-rest][data-cae-intsurf-initial]:not(:hover):not(.is-cae-intsurf-selected)::after {
  opacity: 1;
  background-color: var(--cae-intsurf-art-color, transparent);
}

/* ── a tile whose art is SEVERAL figures (HOMEPAGE7 2026-09-08, Kate 869ew09tx) ──────────────
 * Kate Shawver, 17:05 verbatim: "The Just Cut logo isn't turning to the color version in the
 * 'current' style, it's staying white please fix."
 *
 * THE RULE IS THE ONE ABOVE; ONLY ITS REACH WAS WRONG. Every other tile's logo is one <img> that
 * the trigger anchor wraps, so the trigger's own ::after can mask it in the declared current
 * colour. The Just Cut tile is SIX sibling figures and the trigger wraps one of them, which is
 * why its row refused the recolour outright — a sixth of a logo painted green is worse than none.
 * That refusal on the TRIGGER stands. What the row can now also say is where the other five are:
 * `artPieces` names them, `artGroup` names the element that holds them and the trigger, and PHP
 * stamps each piece with its OWN art url read out of the <img> it already carries. The mask, the
 * colour and the timing are identical to the single-figure rule — one mechanism, two shapes of
 * markup, no second colour and no second treatment.
 *
 * MEASURED BEFORE, on this lane's :18765 at 1440: selecting the Just Cut tab left all six figures
 * painting the design's own white artwork (the tile's exported SVGs are `fill="white"`), while
 * the seven single-figure tiles took `--cae-intsurf-art-current-color` #005039.
 *
 * `:has()` because the state class lives on the TRIGGER and the paint belongs to its SIBLINGS;
 * the alternative is teaching the engine's JS to mark a second element, which would put page
 * knowledge into a behaviour that has none. The un-upgraded band reads the SSR `initial` marker,
 * exactly as the single-figure rules do, and stops reading it once the client marks the band
 * live — so the drawn state is right with the script absent and cannot come back after it runs. */
/* NO `position` DECLARATION HERE, and that is a measured refusal rather than an omission. The
 * first version of this rule set `position: relative` on a piece so its ::after would have a
 * containing block. The pieces are ALREADY positioned: the tile's own placement rule is
 * `<tile>.<tile> > * { position: absolute; margin: 0; max-width: none; }` (stacked-bands-cae.css)
 * at specificity 0,2,0, which is exactly this rule's specificity — and this sheet is enqueued
 * AFTER assets/css/*, so the tie went to `relative` and every pinned piece fell back into flow.
 * MEASURED on the served page with that declaration in: 'JUST CUT' 152.1 -> 270.0 wide, the fork
 * 1257.1 -> 1299.9, the knife 1331.8 -> 1444.3, the swoosh 1377.8 -> 1534.7 (design px, 1440).
 * An absolutely positioned element is already the containing block for its own ::after, so the
 * declaration bought nothing and cost the tile its layout. A piece that is NOT positioned would
 * paint its mask against the wrong box — the packet's geometry table is the check. */

/* THE CURRENT-STATE PLATE MUST NOT COVER THE ART, and on this tile it did.
 *
 * MEASURED on :18765 with the recolour landing: selecting Just Cut painted the beet green and
 * left the "JUST CUT" wordmark absent altogether -- in the SELECTED state it is absent in the
 * base build too, which is the larger half of what Kate is looking at. The cause is paint order,
 * not colour. The current-state plate is the TRIGGER's own ::before, and the trigger is a
 * `z-index: 0` stacking context that lives inside the FIFTH of the tile's six figures; the
 * wordmark figures (230320, 230321, 230326, 230330) precede it in tree order, so the opaque
 * cream plate paints straight over them. Proved by disabling each piece's ::after in turn: with
 * only the wordmark piece's own ::after painting solid red, no red reached the page at all.
 *
 * The pieces are lifted above the plate's layer instead of the plate being pushed down: pushing
 * it down means taking the trigger's stacking context away, and this sheet's own note two blocks
 * up says why that is not safe -- the plate would then be free to slip behind the GRID's own
 * background plates. The piece that HOLDS the trigger keeps z-index 0 so the plate stays behind
 * its own logo, exactly as before. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group] [data-cae-intsurf-art-piece] {
  z-index: 1;
  /* THE LIFT MUST NOT EAT THE CLICK. Lifting the art above the plate's layer also lifted it above
   * the trigger anchor, and Playwright refused the tab outright: "<img group-19357-230326.svg>
   * from <figure data-cae-intsurf-art-piece> subtree intercepts pointer events". These five
   * figures are DECORATION -- the tile has exactly one destination and it is the trigger, whose
   * own plate is what makes the whole logo box clickable (Kate 869ew09tx 2026-09-06 12:07). So
   * they are lifted for PAINT and removed from hit-testing; the piece that holds the trigger is
   * excluded below and keeps both. */
  pointer-events: none;
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group] [data-cae-intsurf-art-piece]:has([data-cae-intsurf-tab]) {
  z-index: 0;
  pointer-events: auto;
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-piece]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
  background-color: var(--cae-intsurf-art-current-color, transparent);
  /* `left top`, not `center`, and that is measured. A wp-block-image figure lays its <img> out at
   * the top-left at 100% width with auto height, and one of this tile's pieces is a 43x4 rule
   * inside a 42.8x22.5 figure -- so a centred mask painted the green bar 9px BELOW the white one
   * and the page showed both. Aligning the mask to the img's own origin makes the recolour land
   * on the artwork it is recolouring; for the five pieces whose img fills its figure it is the
   * same pixel either way. */
  -webkit-mask: var(--cae-intsurf-tab-art, none) left top / contain no-repeat;
  mask: var(--cae-intsurf-tab-art, none) left top / contain no-repeat;
}

/* ONE ARTWORK AT A TIME. The recolour is a mask painted OVER the piece's own <img>, and the two
 * are not pixel-identical: a mask is laid out by `contain` against the FIGURE box while the img
 * is laid out by the block's own rules, so this tile served a green wordmark with a white ghost
 * of its rule 3px below it (measured on :18765 after the mask origin was corrected -- the origin
 * fixed the bar, the ghost is the remaining sub-shape drift). While the group is showing its
 * current paint the white artwork is hidden and only the recolour is visible, so no drift can
 * paint twice. `visibility` and not `display`: the img keeps its box, so nothing moves. */
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab]:hover) [data-cae-intsurf-art-piece] img,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab]:focus-visible) [data-cae-intsurf-art-piece] img,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab].is-cae-intsurf-selected) [data-cae-intsurf-art-piece] img,
[data-cae-intsurf-hover="tint"]:not(.is-cae-intsurf-live) [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab][data-cae-intsurf-initial]) [data-cae-intsurf-art-piece] img {
  visibility: hidden;
}

[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab]:hover) [data-cae-intsurf-art-piece]::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab]:focus-visible) [data-cae-intsurf-art-piece]::after,
[data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab].is-cae-intsurf-selected) [data-cae-intsurf-art-piece]::after {
  opacity: 1;
}

/* Server-rendered state, authoritative only until the client marks the band live. */
[data-cae-intsurf-hover="tint"]:not(.is-cae-intsurf-live) [data-cae-intsurf-art-group]:has([data-cae-intsurf-tab][data-cae-intsurf-initial]) [data-cae-intsurf-art-piece]::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-cae-intsurf-hover="tint"] [data-cae-intsurf-art-piece]::after { transition: none; }
}

/* ── the panel photograph fills its drawn figure (HOMEPAGE6 2026-09-08, Kate 869ew09tx) ──────
 * Kate Shawver, verbatim: "Also can you increase the image height so that it fills the space to
 * the left of the text without distorting the image?"
 *
 * The panel figure already STRETCHES to whatever height the state's copy gives the panel; only
 * the <img> inside it kept the drawn literal height, so a taller state left the bottom of the box
 * empty (measured 45.96px on Food Hub, 13.97 on Vermont Farm Fund). The image takes the figure's
 * height and `object-fit: cover` is what makes "without distorting" true rather than claimed. Only
 * a surface whose row declares `panelImageFill` carries the attribute.
 *
 * THE SELECTOR IS PANEL-SCOPED, NOT DESCENDANT-SCOPED, and that is measured rather than stylistic:
 * the tab triggers and the panels live in SIBLING subtrees on the served DOM, so a rule rooted on
 * the surface container matches nothing (surfContainsPanels 0 / ruleWouldMatch 0 on the served
 * trunk v20.85). The attribute is on the panel and so is the rule. */
[data-cae-intsurf-panel][data-cae-intsurf-panel-image-fill] figure img {
  height: 100%;
  object-fit: cover;
}

/* ── card-link's own image fill (cclanding3 2026-09-12, Kate 869ew410u comment 90120264146636:
 * "every thumbnail fills its postcard's height consistently"). SAME ASK, DIFFERENT CONTEXT: a
 * card-link member has no flex sibling stretching its figure the way the panel arm's figure is
 * stretched, so this rule also carries the design's own image-box height as a custom property
 * (`--cae-cardsurf-image-fill-h`, stamped per member by inc/cae-interact-surface.php's
 * `imageFill` arm) rather than relying on `height:100%` alone — measured on the Food Justice
 * grid: four thumbnails at 150.44-353.06px against a uniform 272px card, because the compiled
 * rule for each image gives it only `width:100%;max-width:331px`, no height. The element carrying
 * the attribute IS the figure (inc/cae-interact-surface.php stamps the `__media-figma-image-*`
 * member directly), so this selector is member-scoped, not descendant-scoped.
 *
 * WIDTH FOLLOW-UP (ccfill 2026-09-16, Kate 869ew410u again, judgement item 2 of window v465's
 * cclanding3 cut): the compiled per-node `width:100%;max-width:331px` the comment above cites is
 * stamped on the FIGURE's own class (`__media-figma-image-<nodeid>`), never on the `<img>` — the
 * served `<img>` carries no class at all (verified on the served markup: `<img decoding="async"
 * src="..." alt=""/>`, no class attribute). So the `<img>` had exactly ONE sizing declaration
 * before this rule: `height:100%` from below. With width left `auto` and only height definite,
 * a replaced element sizes its auto axis from its own intrinsic aspect ratio — `object-fit:
 * cover` never got a second constrained axis to crop against, so each of the four photos kept
 * its own intrinsic aspect box: measured 162.73 / 275.47 / 275.47 / 331.00 rect px against a
 * uniform 331 px frame (leftGap 0 / rightGap 168.27 / 55.53 / 55.53 / 0, same at 1440 and 1024 —
 * the grid is fixed-width, not viewport-responsive). Figma confirms every one of the four source
 * rectangles (17519:14632/14636/14641/14645) is fill=IMAGE scaleMode=FILL sized to its own frame
 * (17519:14631/14635/14640/14644, each 331x217 design px, edge to edge) — the design draws the
 * picture filling the frame, not preserving its own aspect. `width:100%` gives `cover` the
 * second axis it was missing; `display:block` is NOT added — the figure already reads
 * fig.h == img.h (216.99 == 216.99) under `display:inline`, so there is no measured inline-
 * baseline gap this rule needs to close, and adding an unneeded declaration is not "whatever
 * the census shows the family needs". Site-wide census (route-census.mjs, 107 served routes ×
 * 1440/1024, docs/soft-state/cae/ccfill/census-BEFORE.json): `[data-cae-cardsurf-image-fill]`
 * exists on exactly ONE served document — `/programs-places/community-connections/` (reached
 * also via the 301 alias `/programs-services-community-connections/`) — 4 elements per width,
 * 0 elsewhere; this rule cannot move any other route. */
[data-cae-cardsurf-image-fill] {
  height: var(--cae-cardsurf-image-fill-h);
}
[data-cae-cardsurf-image-fill] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Kate's inline copy links (869ew09tx 2026-09-08, "link Farm Connex to the Farm Connex landing
 * page"; "I want the Community Connections to be a link style"). They inherit the panel body's
 * own type and colour and are marked ONLY by an underline, so the paragraph keeps the design's
 * paint and the phrase still reads as a destination. */
.cae-intsurf-copy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  [data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]::before,
  [data-cae-intsurf-hover="tint"] [data-cae-intsurf-tab]::after { transition: none; }
}

/* ── scroll-state: the rail follows, nothing else moves ─────────────────────────────────────
 * Kate Shawver, About/History note l: "the timeline menu element should move up/down with me".
 * The rail is an absolutely positioned box the design pins inside the track; the follow is a
 * TRANSFORM, so it paints at a new offset without reflowing a single sibling and without
 * touching the geometry any measured rule is bound to. The marker's own parts transform for the
 * same reason. The paint of a current entry is the PAGE's, not this sheet's — a state class is
 * general, a cream is one page's design — so it lives in the page's own overlay sheet.
 *
 * With this sheet and no script the rail sits exactly where the design drew it; the transitions
 * below are the only thing that would have to be undone. */
/* 869fhmnwn (Kate, 2026-10-15, "sluggish, glitchy"): the follow is 160 ms on a fast-out curve,
 * so the rail and its marker arrive inside the timeline-scroll.js 200 ms glide instead of trailing
 * it (they were 220 ms ease-out, restarted on every year the old glide passed). Padding and margin
 * are no longer transitioned: they are layout properties, and a state change moves no box (the
 * entries share one 24 px inset), so the transition could only ever animate a reflow. */
[data-cae-timeline-rail] {
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

[data-cae-timeline-marker] > * {
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-cae-timeline-entry],
[data-cae-timeline-rail-label],
[data-cae-timeline-rail-dot] {
  transition: background-color 150ms ease, color 150ms ease;
}

@media (prefers-reduced-motion: reduce) {
  [data-cae-timeline-rail],
  [data-cae-timeline-marker] > * { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-cae-timeline-rail],
  [data-cae-timeline-marker] > *,
  [data-cae-timeline-entry],
  [data-cae-timeline-rail-label],
  [data-cae-timeline-rail-dot] { transition: none; }
}

/* ── lightbox ───────────────────────────────────────────────────────────────────────
 * MOVED OUT, 2026-09-06. The lightbox's paint lived here because that behaviour rides this
 * engine's SCRIPT. Riding the engine is not a reason to ride its stylesheet: a page declaring
 * only `tabs` was paying for the lightbox's chrome and vice versa. It now lives in
 * assets/interact/media-lightbox.css, enqueued through the behaviour table's own `style` slot
 * (cae_intsurf_behaviour_table(), the same slot `disclosure` uses). Nothing was dropped in the
 * move; the postcard hover rules are verbatim and the overlay is rebuilt from the modal frame
 * Figma 21941:81568, which had been recorded here as non-existent and has since been found. */


/* 2026-10-10 Kate (chat): every Programs & Places-style tab block takes the tan title used on Impact > The Numbers
 * (#f7f4e2) instead of white — homepage, About › Programs & Places, Farmers & Food Producers, Community Members. */
.cae-website-redesign-cae-homepage-v7-2-main-content-generic__heading-figma-text-19357-230245.cae-website-redesign-cae-homepage-v7-2-main-content-generic__heading-figma-text-19357-230245,
.cae-website-redesign-cae-aboutus-programs-places-section-generic__heading-figma-text-13573-89515.cae-website-redesign-cae-aboutus-programs-places-section-generic__heading-figma-text-13573-89515,
.cae-website-redesign-cae-programs-services-farmersandfoodproducers-landingpage-section-generic__heading-figma-text-14291-25667.cae-website-redesign-cae-programs-services-farmersandfoodproducers-landingpage-section-generic__heading-figma-text-14291-25667 { color: #f7f4e2 !important; }
