/* fable/design redesign round: the anti-AI-tells pass.
 *
 * This file is loaded AFTER storefronts.css (see class-mo-storefronts-
 * presentation.php's enqueue) so its overrides win on equal specificity.
 * SHARED OWNER ONLY. It holds global tell fixes that apply to all four
 * storefronts equally (eyebrow shouting, blanket per-section scroll
 * reveal, a hardcoded card radius that ignored the per-store radius token).
 *
 * Store-specific rules live in sf-<slug>.css (one per store, loaded only
 * for the active store, after this file). Store fonts are declared in
 * storefronts/<slug>.json (theme.fonts) and their @font-face is printed by
 * Mo_Storefronts_Theme::font_face_css() for the active store only.
 */

/* ---- 1. Global tell fixes ------------------------------------------- */

/* Eyebrows: the brief's own data (Mo_Storefronts::label()) is already
   sentence case ("For dogs & cats", "Car fragrance") -- components.css's
   ALL-CAPS + 0.06-0.08em tracking was manufacturing the shout, not the
   content. Quieted, not removed: these labels are real wayfinding
   (which shop you're in), not decoration. */
.mo-eyebrow,
.mo-home-hero__eyebrow,
.mo-hero__eyebrow {
	text-transform: none;
	letter-spacing: normal;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--sm, 0.9375rem);
	opacity: 0.78;
}

/* Per-section scroll-fade-up was applying to every single block below the
   hero -- frontend-design flags this as a top production tell ("fade-and-
   slide-up entrances on each section ... read as AI-generated"). The
   hero's own staggered entrance (components.css .mo-js .mo-home-hero__copy
   > *) is kept as the page's one orchestrated moment; every other section
   now simply renders in its final state, no hidden start, no observer
   dependency. prefers-reduced-motion needed no change -- it already forced
   this same final state. */
.mo-js #mo-main [data-mo-block]:not([data-mo-block="hero"]):not([data-mo-block="home-hero"]),
.mo-js .mo-reveal {
	opacity: 1;
	transform: none;
	transition: none;
}

/* The shared grid card hardcoded an 8px radius, so every storefront's
   product card had the exact same corner regardless of its own radius
   token (sharp/soft/friendly) -- one half of the "identical rounded
   cards" tell. Reading the token means the four stores' cards now
   genuinely differ in shape, not just in accent color. */
.mo-sf-card,
.mo-dept-card__link {
	border-radius: var(--wp--custom--radius--md, 8px);
}

/* The hero's own load animation (components.css .mo-js .mo-home-hero__copy
   > *, "both" fill mode) hides its content at opacity:0 for up to ~240ms of
   delay plus its full duration before every automated screenshot tool
   (design-critique's baseline run flagged this as a "blank hero gap" on
   pets) -- any capture that fires in that window, or a device under load,
   paints a fully empty hero. It was also the one hero-level version of the
   "fade everything in on load" tell, applied identically across all four
   stores rather than being store-specific. Each store already has its own
   distinct orchestrated moment (Amber Road's under-glow, Tailwag's hover
   tag, Fernwell's ribbon draw, Kindled Goods' tinted department tiles) --
   this generic shared one is redundant on top of "one moment max" and is
   simply turned off, never re-hidden. */
.mo-js .mo-home-hero__copy > *,
.mo-js .mo-home-hero__media {
	animation: none;
	opacity: 1;
	transform: none;
}
