/* ============================================================
   FOX DIGITAL MEDIA - MOTION LAYER
   Shared by every page. Adds scroll reveals, hover light and
   ambient motion on top of each page's own styles.

   Rules of the layer:
   · Everything animated is gated behind `.fx` on <html>, which the
     inline head script only adds when the visitor has NOT asked for
     reduced motion. No `.fx` = the static page, fully visible.
   · Reveals animate `opacity` + `translate` only, so they never
     fight the `transform` used by hover states.
   · Brand colour rules hold: violet is the light, gold only frames.
     No gold glow in the problems section.
   ============================================================ */

:root{
  --fx-ease:cubic-bezier(.16,1,.3,1);       /* long, soft landing */
  --fx-ease-io:cubic-bezier(.65,0,.35,1);
}

@property --fx-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@property --fx-draw{syntax:'<number>';inherits:true;initial-value:0}

/* Soft cross-fade between pages; the header holds still while content changes. */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  body > header{view-transition-name:fdm-header}
  ::view-transition-old(root),::view-transition-new(root){animation-duration:.38s}
}

/* ------------------------------------------------------------
   1 · SCROLL REVEAL
   ------------------------------------------------------------ */
.fx :is(.reveal,.fx-r){
  opacity:0;
  translate:0 26px;
  transition:
    opacity var(--rt,.95s) var(--fx-ease) var(--rd,0s),
    translate var(--rt,.95s) var(--fx-ease) var(--rd,0s),
    var(--hover-t,visibility 0s);
}
.fx :is(.reveal,.fx-r).in{opacity:1;translate:none}
/* Long-form copy moves less - it is being read, not presented. */
.fx :is(.service-body,.guide-body) > .fx-r{translate:0 14px;--rt:.75s}

/* Sequenced blocks: the container stays put and its children arrive in order. */
.fx :is(.sec-head,.about-copy,.cta-block > .wrap){opacity:1;translate:none}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > *{
  opacity:0;
  translate:0 22px;
  transition:
    opacity .95s var(--fx-ease) var(--d,0s),
    translate .95s var(--fx-ease) var(--d,0s),
    var(--hover-t,visibility 0s);
}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap).in > *{opacity:1;translate:none}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > :nth-child(2){--d:.09s}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > :nth-child(3){--d:.18s}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > :nth-child(4){--d:.27s}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > :nth-child(5){--d:.36s}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > :nth-child(6){--d:.45s}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > :nth-child(n+7){--d:.54s}

/* Headings resolve word by word, out of a soft blur. */
.fx-split .w{display:inline-block}
.fx :is(.sec-head,.about-copy,.cta-block > .wrap) > .fx-split{opacity:1;translate:none}
.fx h2.fx-split .w{
  opacity:0;translate:0 .42em;filter:blur(7px);
  transition:
    opacity .85s var(--fx-ease),
    translate .85s var(--fx-ease),
    filter .85s var(--fx-ease);
  transition-delay:calc(var(--d,0s) + var(--w) * 32ms);
}
.fx .in > h2.fx-split .w{opacity:1;translate:none;filter:none}

/* Violet is the epiphany colour - accent words bloom once as they land. */
.fx .in > h2 .accent{animation:fx-bloom 2.2s ease .55s backwards}
@keyframes fx-bloom{
  0%{text-shadow:0 0 0 rgba(155,114,232,0)}
  38%{text-shadow:0 0 30px rgba(155,114,232,.85)}
  100%{text-shadow:0 0 0 rgba(155,114,232,0)}
}

/* Gold hairline draws outward from its centre, then catches the light now and then. */
.fx .sec-head > .rule.rule{
  clip-path:inset(-14px 50% -14px 50%);
  transition:
    opacity .6s ease var(--d,0s),
    translate .95s var(--fx-ease) var(--d,0s),
    clip-path 1.25s var(--fx-ease-io) calc(var(--d,0s) + .15s);
}
.fx .sec-head.in > .rule.rule{clip-path:inset(-14px 0 -14px 0)}
.fx .in > .rule{
  background-image:
    linear-gradient(90deg,transparent,rgba(255,250,224,.95),transparent),
    var(--rule-gold);
  background-size:26% 100%,100% 100%;
  background-repeat:no-repeat;
  background-position:-40% 0,0 0;
  animation:fx-glint 7s ease-in-out 2s infinite;
}
@keyframes fx-glint{
  0%{background-position:-40% 0,0 0}
  22%,100%{background-position:140% 0,0 0}
}

/* Eyebrow pills take one pass of light when they arrive. */
.fx .eyebrow{
  background-image:linear-gradient(110deg,transparent 42%,rgba(240,216,126,.3) 50%,transparent 58%);
  background-repeat:no-repeat;background-size:260% 100%;background-position:130% 0;
}
.fx .in > .eyebrow{animation:fx-sheen 1.5s var(--fx-ease-io) .55s both}
@keyframes fx-sheen{from{background-position:130% 0}to{background-position:-130% 0}}

/* ------------------------------------------------------------
   2 · HERO ENTRANCE (runs on load, no scroll needed)
   ------------------------------------------------------------ */
@keyframes fx-rise{from{opacity:0;translate:0 24px}}
@keyframes fx-frame{from{opacity:0;translate:0 44px;scale:.965}}
@keyframes fx-word{from{opacity:0;translate:0 .45em;filter:blur(9px)}}

.fx h1:not(.fx-split){opacity:0}
.fx h1.fx-split .w{animation:fx-word 1s var(--fx-ease) backwards;animation-delay:calc(.18s + var(--w) * 46ms)}
.fx h1 .accent{animation:fx-bloom 2.4s ease 1.05s backwards}

.fx .hero .eyebrow{animation:fx-rise .9s var(--fx-ease) .05s backwards,fx-sheen 1.5s var(--fx-ease-io) 1s both}
.fx .hero .mechanism{animation:fx-rise 1s var(--fx-ease) .78s backwards}
.fx .hero .vsl{animation:fx-frame 1.3s var(--fx-ease) .92s backwards}
.fx .hero .vsl-cta{animation:fx-rise 1s var(--fx-ease) 1.12s backwards}

/* Service, guide and case-study pages: same entrance on their opening block. */
.fx main > .section:first-of-type > .wrap.center > :not(h1){animation:fx-rise .95s var(--fx-ease) backwards}
.fx main > .section:first-of-type > .wrap.center > .eyebrow{animation:fx-rise .9s var(--fx-ease) .05s backwards,fx-sheen 1.5s var(--fx-ease-io) 1s both}
.fx main > .section:first-of-type > .wrap.center > :nth-child(3){animation-delay:.62s}
.fx main > .section:first-of-type > .wrap.center > :nth-child(4){animation-delay:.74s}
.fx main > .section:first-of-type > .wrap.center > :nth-child(5){animation-delay:.86s}
.fx main > .section:first-of-type > .wrap.center > :nth-child(n+6){animation-delay:.98s}
.fx main > .breadcrumb{animation:fx-rise .8s var(--fx-ease) backwards}

/* ------------------------------------------------------------
   3 · AMBIENT LIGHT - slow violet drift behind the opening block,
   plus a soft light that follows the cursor across it.
   ------------------------------------------------------------ */
.fx-hero{position:relative;overflow:hidden}
.fx-hero > .wrap{position:relative;z-index:2}
.fx-aurora{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.fx-aurora::before,.fx-aurora::after{
  content:'';position:absolute;border-radius:50%;
  width:min(68vw,860px);aspect-ratio:1;mix-blend-mode:screen;
}
.fx-aurora::before{
  left:-6%;top:-34%;
  background:radial-gradient(closest-side,rgba(123,79,208,.34),transparent);
  animation:fx-drift-a 19s ease-in-out infinite alternate;
}
.fx-aurora::after{
  right:-10%;top:-18%;
  background:radial-gradient(closest-side,rgba(74,48,190,.3),transparent);
  animation:fx-drift-b 25s ease-in-out infinite alternate;
}
@keyframes fx-drift-a{to{translate:14% 10%;scale:1.18}}
@keyframes fx-drift-b{to{translate:-16% 14%;scale:.86}}
.fx-aurora i{
  position:absolute;left:0;top:0;width:560px;height:560px;margin:-280px 0 0 -280px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(155,114,232,.26),rgba(155,114,232,.07) 55%,transparent);
  mix-blend-mode:screen;opacity:0;transition:opacity .7s ease;
  transform:translate3d(var(--hx,50vw),var(--hy,200px),0);
}
.fx-aurora.is-live i{opacity:1}
/* Sub-pages open on plain black, so the drift sits a touch lower there. */
main .fx-aurora{
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 62%,transparent 100%);
          mask-image:linear-gradient(180deg,transparent 0,#000 30%,#000 62%,transparent 100%);
}
main .fx-aurora::before{top:-30%}
main .fx-aurora::after{top:-20%}

/* Fine film grain - breaks up banding in the dark gradients. */
.fx body::after{
  content:'';position:fixed;inset:0;z-index:99;pointer-events:none;opacity:.045;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   4 · HEADER
   ------------------------------------------------------------ */
header{transition:background-color .45s ease,box-shadow .45s ease,border-color .45s ease}
header.is-scrolled{
  background:rgba(4,2,9,.9);
  border-bottom-color:rgba(201,172,105,.2);
  box-shadow:0 18px 44px -22px rgba(0,0,0,.95);
}
/* Reading progress - a gold hairline along the header's lower edge. */
.fx-progress{
  position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none;
  background:linear-gradient(90deg,#8F7140,#F0D87E 70%,#FFF6CF);
  transform:scaleX(var(--sp,0));transform-origin:0 50%;
  opacity:0;transition:opacity .4s ease;
}
header.is-scrolled .fx-progress{opacity:1}

.brand .mark{transition:transform .7s var(--fx-ease),filter .7s ease}
.brand:hover .mark{transform:scale(1.06) rotate(-3deg);filter:drop-shadow(0 0 14px rgba(155,114,232,.85))}
.brand .name{transition:letter-spacing .7s var(--fx-ease)}

.navlinks > a,.services-navigation > summary{position:relative;transition:color .3s ease}
.navlinks > a::after{
  content:'';position:absolute;left:0;right:0;bottom:-9px;height:1px;
  background:var(--rule-gold);
  transform:scaleX(0);transition:transform .55s var(--fx-ease);
}
.navlinks > a:hover::after,.navlinks > a.is-current::after{transform:scaleX(1)}
.navlinks > a.is-current{color:#fff}
.navlinks .services-navigation > summary:hover{color:#fff}
.services-navigation > summary::after{transition:transform .4s var(--fx-ease)}

/* Menus ease open instead of snapping. */
.fx .services-navigation[open] > .service-links,
.fx .mobile-navigation[open] > nav{animation:fx-pop .38s var(--fx-ease) backwards}
@keyframes fx-pop{from{opacity:0;translate:0 -8px;scale:.98}}
.service-links a,.mobile-navigation nav a{transition:background-color .25s ease,padding-left .35s var(--fx-ease)}
.service-links a:hover,.mobile-navigation nav a:hover{padding-left:16px}

/* ------------------------------------------------------------
   5 · BUTTONS - a pass of light on hover, a glow under the cursor,
   and a slight pull toward the pointer. Identical on every CTA.
   ------------------------------------------------------------ */
.btn{
  position:relative;overflow:hidden;isolation:isolate;
  --hover-t:transform .5s var(--fx-ease),box-shadow .5s var(--fx-ease),filter .35s ease,border-color .35s ease;
  transition:var(--hover-t);
}
.fx .btn,.fx .btn:hover{transform:translate3d(var(--bx,0px),calc(var(--by,0px) + var(--lift,0px)),0)}
.btn:hover{--lift:-2px;border-color:rgba(190,160,255,.85)}
.btn:active{--lift:0px;filter:brightness(1.02)}
.btn::before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.3) 50%,transparent 68%);
  transform:translateX(-130%);
}
.btn:hover::before{transform:translateX(130%);transition:transform .95s var(--fx-ease)}
.btn::after{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;
  background:radial-gradient(150px circle at var(--gx,50%) var(--gy,50%),rgba(190,160,255,.5),transparent 70%);
  opacity:0;transition:opacity .45s ease;
}
.btn:hover::after{opacity:1}

.text-link{transition:color .3s ease,text-underline-offset .35s var(--fx-ease),text-shadow .4s ease}
.text-link:hover{color:#FFF3C4;text-underline-offset:7px;text-shadow:0 0 18px rgba(240,216,126,.45)}
.foot .legal a,.breadcrumb a,.page-jumps a{transition:color .3s ease,text-underline-offset .35s var(--fx-ease)}
.page-jumps a:hover,.breadcrumb a:hover{color:#FFF3C4;text-underline-offset:8px}

/* ------------------------------------------------------------
   6 · CARDS - light follows the cursor across the surface and
   along the edge.
   ------------------------------------------------------------ */
.card{
  position:relative;
  --spot-fill:rgba(155,114,232,.14);
  --spot-edge:rgba(184,150,250,.95);
  --bw:1px;
  --hover-t:transform .65s var(--fx-ease),border-color .4s ease,box-shadow .65s var(--fx-ease);
  transition:var(--hover-t);
}
.card > *{position:relative;z-index:1}
.card::before,.card::after{
  content:'';position:absolute;border-radius:inherit;pointer-events:none;
  opacity:0;transition:opacity .5s ease;
}
.card::before{
  inset:0;z-index:0;
  background:radial-gradient(440px circle at var(--mx,50%) var(--my,0%),var(--spot-fill),transparent 62%);
}
.card::after{
  inset:calc(var(--bw) * -1);padding:var(--bw);z-index:2;
  background:radial-gradient(300px circle at var(--mx,50%) var(--my,0%),var(--spot-edge),transparent 68%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
}
@media (hover:hover){
  .card:hover::before,.card:hover::after{opacity:1}
  .card:hover{box-shadow:0 30px 70px -28px rgba(58,29,102,.95)}
}
/* Gold-framed cards keep a gold edge - gold and violet never touch. */
.card.deliv{--bw:2px;--spot-fill:rgba(255,255,255,.05);--spot-edge:rgba(255,238,170,1)}
.card.deliv:hover{border-color:rgba(201,172,105,.62)}
@media (hover:hover){.card.deliv:hover{box-shadow:0 30px 70px -30px rgba(169,136,78,.5)}}

/* Card artwork: slow drift on scroll, eases forward and brightens on hover. */
.fx .card figure img{translate:0 var(--par,0px);scale:var(--z,1.1)}
.card figure img{transition:scale 1.5s var(--fx-ease),filter .7s ease}
@media (hover:hover){
  .card:hover figure img{filter:saturate(1) brightness(1)}
  .fx .card:hover figure img{--z:1.17}
}

.deliv li{transition:color .3s ease,translate .45s var(--fx-ease)}
.deliv li::before{transition:box-shadow .3s ease,scale .45s var(--fx-ease)}
@media (hover:hover){
  .deliv li:hover{color:#fff;translate:4px 0}
  .deliv li:hover::before{box-shadow:0 0 10px rgba(240,216,126,.85);scale:1.25}
}

.fx .metric{font-variant-numeric:tabular-nums}

/* ------------------------------------------------------------
   7 · WHY ROWS
   ------------------------------------------------------------ */
.fx .why-list{opacity:1;translate:none}
.fx .why-row{
  opacity:0;translate:-28px 0;
  transition:
    opacity .95s var(--fx-ease) var(--rd,0s),
    translate .95s var(--fx-ease) var(--rd,0s),
    background-color .4s ease;
}
.fx .why-list.in .why-row{opacity:1;translate:none}
.fx .why-row:nth-child(2){--rd:.14s}
.fx .why-row:nth-child(3){--rd:.28s}
.fx .why-row .tick{scale:0;transition:scale .75s cubic-bezier(.34,1.56,.64,1) calc(var(--rd,0s) + .35s),box-shadow .4s ease}
.fx .why-list.in .why-row .tick{scale:1}
.why-row{transition:background-color .4s ease}
.why-row .tick{transition:box-shadow .4s ease}
.why-row h3{transition:translate .5s var(--fx-ease)}
@media (hover:hover){
  .why-row:hover{background-color:rgba(255,255,255,.055)}
  .why-row.is-tier:hover{background-color:rgba(169,136,78,.085)}
  .why-row:hover .tick{box-shadow:0 0 0 5px rgba(240,216,126,.09),0 0 26px rgba(240,216,126,.55)}
  .why-row:hover h3{translate:4px 0}
}

/* ------------------------------------------------------------
   8 · PROCESS - a gold rail runs down the numerals as you scroll
   and each step lights when the rail reaches it.
   ------------------------------------------------------------ */
.step{
  --hover-t:transform .5s var(--fx-ease),border-color .35s ease,box-shadow .5s var(--fx-ease),background .35s ease;
  transition:var(--hover-t);
}
.fx .steps{position:relative}
.fx .steps::before,.fx .steps::after{
  content:'';position:absolute;z-index:0;pointer-events:none;
  left:var(--tl-x,65px);top:var(--tl-top,62px);height:var(--tl-h,0px);
  width:2px;margin-left:-1px;border-radius:2px;
}
.fx .steps::before{background:rgba(201,172,105,.15)}
.fx .steps::after{
  background:linear-gradient(180deg,#8F7140,#F0D87E);
  box-shadow:0 0 14px rgba(240,216,126,.5);
  transform-origin:50% 0;transform:scaleY(var(--tl-p,0));
  transition:transform .18s linear;
}
.fx .step{position:relative;z-index:1}
.fx .step .n{
  position:relative;background:#0A0613;
  border-color:rgba(169,136,78,.42);color:var(--gold-light);
  transition:box-shadow .6s ease,border-color .6s ease,color .6s ease,filter .3s ease,scale .7s cubic-bezier(.34,1.56,.64,1);
}
.fx .step.is-lit .n{
  border-color:var(--gold-hi);color:var(--gold-hi);scale:1.06;
  box-shadow:0 0 0 5px rgba(240,216,126,.07),0 0 30px rgba(201,172,105,.5);
}
.fx .step h3{transition:color .6s ease}
.fx .step:not(.is-lit) h3{color:rgba(255,255,255,.82)}

/* Ornate frame + corner flourishes are drawn in, stroke by stroke. */
.fx .ornate > .orn,.fx .flourish{
  --fx-draw:1;opacity:0;
  transition:--fx-draw 1.5s var(--fx-ease-io) var(--od,.05s),opacity .4s ease var(--od,.05s);
}
.fx .ornate.in > .orn,.fx .cta-block.in .flourish{--fx-draw:0;opacity:1}
.fx .ornate > .orn-tr{--od:.15s}
.fx .ornate > .orn-ft{--od:.25s}
.fx .ornate > .orn-bl{--od:.35s}
.fx .ornate > .orn-br{--od:.45s}
.fx .ornate > .orn-fb{--od:.55s}
.fx .flourish.fl-br{--od:.3s}

/* ------------------------------------------------------------
   9 · VSL FRAME - a point of light travels the gold frame.
   ------------------------------------------------------------ */
.vsl{position:relative;transition:box-shadow .8s var(--fx-ease)}
.fx .vsl::before{
  content:'';position:absolute;inset:0;z-index:2;padding:4px;border-radius:inherit;pointer-events:none;
  background:conic-gradient(from var(--fx-a),transparent 0 64%,rgba(255,250,226,.95) 76%,transparent 88% 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:fx-orbit 9s linear infinite;
}
@keyframes fx-orbit{to{--fx-a:360deg}}
@media (hover:hover){
  .vsl:hover{box-shadow:0 36px 110px rgba(88,48,160,.85),0 0 40px rgba(201,172,105,.3)}
}

/* ------------------------------------------------------------
   10 · RESULTS + EVIDENCE
   ------------------------------------------------------------ */
.case-evidence,.example-panel{--hover-t:box-shadow .7s var(--fx-ease),border-color .4s ease}
.case-evidence{transition:var(--hover-t)}
.case-evidence img{transition:scale 1.4s var(--fx-ease)}
.fx .case-evidence:is(.reveal,.fx-r){scale:.975;transform-origin:50% 100%;
  transition:
    opacity 1.1s var(--fx-ease),
    translate 1.1s var(--fx-ease),
    scale 1.3s var(--fx-ease),
    var(--hover-t);
}
.fx .case-evidence:is(.reveal,.fx-r).in{scale:1}
@media (hover:hover){
  .case-evidence:hover{box-shadow:0 0 0 1px rgba(240,216,126,.5),0 30px 80px -30px rgba(169,136,78,.6);border-color:var(--gold-hi)}
  .case-evidence:hover img{scale:1.015}
}
.case-logo{transition:transform .7s var(--fx-ease),box-shadow .7s ease}
@media (hover:hover){.case-brand:hover .case-logo{transform:translateY(-3px);box-shadow:0 18px 40px -16px rgba(0,0,0,.9)}}

.example-panel{transition:var(--hover-t)}
.solar-proof .service-body{transition:box-shadow .7s var(--fx-ease),border-color .4s ease}
@media (hover:hover){
  .example-panel:hover,.solar-proof .service-body:hover{border-color:var(--gold-hi);box-shadow:0 30px 80px -34px rgba(169,136,78,.55)}
}
.guide-table tbody tr{transition:background-color .3s ease}
@media (hover:hover){.guide-table tbody tr:hover{background-color:rgba(255,255,255,.035)}}

/* ------------------------------------------------------------
   11 · CTA BAND - the violet core breathes.
   ------------------------------------------------------------ */
.cta-block::before{height:auto}     /* the glow was being squashed to a 3px strip */
.cta-block::after{height:3px}       /* top hairline now matches the bottom one */
.fx .cta-block::before{animation:fx-breathe 9s ease-in-out infinite alternate}
@keyframes fx-breathe{from{opacity:.55;scale:.9}to{opacity:1;scale:1.14}}

/* ------------------------------------------------------------
   12 · ABOUT
   ------------------------------------------------------------ */
.fx .about-photo.reveal{translate:-34px 0}
.fx .about-photo.reveal.in{translate:none}
.fx .about-photo img{translate:0 var(--par,0px)}

/* ------------------------------------------------------------
   13 · FAQ - items arrive in sequence, open and close smoothly.
   ------------------------------------------------------------ */
.fx .faq{opacity:1;translate:none}
.faq details{transition:border-color .35s ease,background-color .35s ease,box-shadow .5s ease}
.fx .faq > details{
  opacity:0;translate:0 18px;
  transition:
    opacity .8s var(--fx-ease) calc(var(--i,0) * 55ms),
    translate .8s var(--fx-ease) calc(var(--i,0) * 55ms),
    border-color .35s ease,background-color .35s ease,box-shadow .5s ease;
}
.fx .faq.in > details{opacity:1;translate:none}
.faq summary{transition:color .3s ease,padding-left .45s var(--fx-ease)}
@media (hover:hover){
  .faq details:hover{border-color:rgba(155,114,232,.42);background-color:rgba(123,79,208,.05)}
  .faq summary:hover{padding-left:30px}
  .faq summary:hover::after{color:var(--violet-lift)}
}
.faq details[open]{box-shadow:0 24px 60px -34px rgba(123,79,208,.75)}
.fx .faq details[open] .ans{animation:fx-fade .6s ease .08s backwards}
.fx .faq details.is-closing .ans{opacity:0;transition:opacity .22s ease}
.faq details.is-closing summary::after{transform:none;color:var(--muted)}
.faq details.is-closing{border-color:var(--line);box-shadow:none}
@keyframes fx-fade{from{opacity:0;translate:0 -6px}}

/* ------------------------------------------------------------
   14 · CALENDAR + FOOTER
   ------------------------------------------------------------ */
.cal-shell{transition:box-shadow .8s var(--fx-ease)}
@media (hover:hover){.cal-shell:hover{box-shadow:0 36px 110px rgba(88,48,160,.75)}}

/* Consent card eases in rather than snapping on. */
.fx .fdm-consent{animation:fx-rise .7s var(--fx-ease) backwards}

/* Phones: lighter ambient layer, no cursor effects. */
@media (max-width:700px){
  .fx-aurora::before,.fx-aurora::after{width:130vw}
  .fx body::after{opacity:.035}
}
