/* Home, front room (lane HOME, paint 2026-11-10, prefix hom). Two small placements below the services grid:
   ANIM 90-home-platforms (.hom-pl*): the platforms band set as a lead and a row, with a pilot light in the Forged mark.
   ANIM 91-home-invite (.hom-in*): the closing ask set on a burnt paper note (the frame itself is the Edges kit).
   CSS only. Infinite loops are held by the site pause (a11y-motion.js) and are off under reduced motion. */

/* ---- 90: platforms. Forged leads on its own line; the seven other stacks sit in one even row below it. ---- */
.hom-pl.hom-pl{row-gap:1.1rem;column-gap:2.75rem}
.hom-pl-br{flex:0 0 100%;height:0}
.hom-pl .fsx-plat{position:relative;padding:.3rem .5rem .3rem .2rem}
/* the pilot light: the flame mark never quite sits still, and a low warmth breathes behind it */
.hom-pl .fsx-plat::before{content:"";position:absolute;left:-.55rem;top:50%;width:2.9rem;height:2.9rem;margin-top:-1.5rem;border-radius:50%;
  background:radial-gradient(closest-side,rgba(249,163,94,.5),rgba(230,73,37,.16) 55%,transparent);opacity:.5;pointer-events:none;
  animation:hom-pl-warm 7.3s ease-in-out infinite}
.hom-pl .fsx-plat-mark{position:relative;transform-origin:50% 92%;animation:hom-pl-flick 5.9s linear infinite}
.hom-pl .fsx-plat:hover .fsx-plat-mark,.hom-pl .fsx-plat:focus-visible .fsx-plat-mark{animation-duration:1.9s}
.hom-pl .fsx-plat:hover::before,.hom-pl .fsx-plat:focus-visible::before{opacity:1;animation-duration:2.4s}
.hom-pl .fsx-plat:focus-visible{outline:3px solid #c93812;outline-offset:4px;border-radius:9999px}
@keyframes hom-pl-flick{
  0%,100%{transform:none}
  7%{transform:scale(1.03,1.09) rotate(-2.5deg)}
  12%{transform:scale(.98,.95) rotate(1.5deg)}
  19%{transform:scale(1.02,1.06) rotate(-1deg)}
  26%,58%{transform:none}
  63%{transform:scale(1.04,1.12) rotate(2.5deg)}
  69%{transform:scale(.97,.96) rotate(-1.5deg)}
  76%{transform:scale(1.01,1.04) rotate(.5deg)}
  83%{transform:none}
}
@keyframes hom-pl-warm{0%,100%{opacity:.38;transform:scale(.92)}37%{opacity:.7;transform:scale(1.06)}61%{opacity:.46;transform:scale(.97)}80%{opacity:.62;transform:scale(1.02)}}
/* the other stacks: plain names, lit a little when a hand is on them */
.hom-pl .ifs-plat{transition:color .4s var(--fx-ease-out,ease)}
.hom-pl .ifs-plat:hover{color:#141142}
@media (max-width:640px){
  .hom-pl.hom-pl{row-gap:.35rem;column-gap:1.75rem}
  .hom-pl .ifs-plat{min-height:44px}
}

/* ---- 91: the invitation. Padding for the paper inside the Edges frame, and the copy set for paper. ---- */
.hom-in{padding:3.25rem 2.5rem 3.4rem}
.hom-in>h2{margin-bottom:1.25rem}
.hom-in>p{margin-bottom:2.1rem;color:#5a554e} /* the site grey is 4.38:1 on paper; this is 6.07:1 */
@media (max-width:640px){.hom-in{padding:2.6rem 1.5rem 2.75rem}}

@media (prefers-reduced-motion:reduce){
  .hom-pl .fsx-plat::before,.hom-pl .fsx-plat-mark{animation:none}
}
@media (forced-colors:active){.hom-pl .fsx-plat::before{display:none}}

/* ---- 92: "Fresh from the Forge". A card that has just come into the carousel is still hot along its lower edge,
   then cools the way iron does: white, gold, ember, grey. A hand (or keyboard focus) on a card takes it back up
   to heat; let go and it cools again. Paint only: one pseudo-element, opacity + filter. ---- */
.hom-pf .pf-slide>div{position:relative}
.hom-pf .pf-slide>div::after{content:"";position:absolute;left:0;right:0;bottom:0;height:64px;pointer-events:none;opacity:0;
  background:
    linear-gradient(90deg,rgba(249,163,94,0),#ffd9a0 12%,#f9a35e 30%,#e64925 52%,#f9a35e 74%,#ffd9a0 90%,rgba(249,163,94,0)) left bottom/100% 3px no-repeat,
    radial-gradient(60% 100% at 50% 100%,rgba(230,73,37,.2),rgba(230,73,37,0) 70%);
  filter:saturate(0) brightness(.75);
  transition:opacity 1.9s var(--fx-ease-out,ease-out),filter 1.5s linear}
.hom-pf .pf-slide:hover>div::after,.hom-pf .pf-slide:focus-visible>div::after{opacity:1;filter:none;transition:opacity .28s ease-out,filter .2s linear}
.hom-pf .pf-slide>div.hom-pf-hot::after{animation:hom-pf-cool 3.6s linear 1 both}
.hom-pf .pf-slide:hover>div.hom-pf-hot::after,.hom-pf .pf-slide:focus-visible>div.hom-pf-hot::after{animation:none}
@keyframes hom-pf-cool{
  0%{opacity:0;filter:brightness(1.5) saturate(.6)}
  7%{opacity:1;filter:brightness(1.5) saturate(.6)}
  24%{opacity:1;filter:brightness(1.1) saturate(1)}
  55%{opacity:.85;filter:brightness(.95) saturate(.9)}
  80%{opacity:.5;filter:brightness(.78) saturate(.15)}
  100%{opacity:0;filter:brightness(.75) saturate(0)}
}
.hom-pf .pf-slide:focus-visible{outline:3px solid #c93812;outline-offset:-3px;border-radius:.9rem}
/* the trade label under each title was 11 px; labels never go under 12 */
.hom-pf .pf-slide p{font-size:.75rem}
@media (prefers-reduced-motion:reduce){.hom-pf .pf-slide>div.hom-pf-hot::after{animation:none}}
@media (forced-colors:active){.hom-pf .pf-slide>div::after{display:none}}

/* ---- AI Suite 5-card centered layout (3 across row 1, 2 centered row 2 on desktop) ---- */
.hom-ai-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem}
.hom-ai-grid>.hom-ai-card{width:100%;min-width:0}
@media (min-width:768px){.hom-ai-grid>.hom-ai-card{width:calc((100% - 1.5rem)/2)}}
@media (min-width:1024px){.hom-ai-grid>.hom-ai-card{width:calc((100% - 3rem)/3)}}
