/* ==========================================================================
   BOCI FX styles. Pair with fx.js; read FX.md.
   Set the five colours from the site's own palette, on :root or on a section:
     --fx-ink     text and lines on the section's background
     --fx-accent  the brand accent (one hot tick, the drawn line, lit dots)
     --fx-muted   quiet dots, tracks
     --fx-line    hairlines, gauge tracks
     --fx-bg      the section background (veils, dots on the path)
   Every effect is complete with reduced motion or without JavaScript.
   ========================================================================== */
:root{--fx-ink:currentColor;--fx-accent:#c8553d;--fx-muted:rgba(127,127,127,.6);--fx-line:rgba(127,127,127,.28);--fx-bg:transparent;--fx-ease:cubic-bezier(.2,.7,.1,1)}

/* ---- pinned stages: a tall wrapper, the section sticky inside it -------- */
.fx-pin{position:relative}
.fx-pinned{position:sticky!important;top:0;height:100vh;height:100svh;overflow:hidden}
.fx-progress{position:absolute;left:0;bottom:0;height:2px;width:100%;background:var(--fx-line);z-index:6}
.fx-progress i{display:block;height:100%;width:0;background:var(--fx-accent)}
.fx-still .fx-progress{display:none}
.fx-canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.fx-over{position:absolute;inset:0;z-index:4;display:grid;place-content:center;justify-items:center;text-align:center;padding:24px;pointer-events:none}
.fx-over a,.fx-over button{pointer-events:auto}
.fx-ln{overflow:hidden;display:block;margin:0}
.fx-ln>span{display:block}
.fx-on:not(.fx-still) .fx-ln>span{transform:translateY(110%)}
.fx-on:not(.fx-still) .fx-cap{opacity:0}

/* ---- portal ------------------------------------------------------------- */
.fx--portal{position:relative;background:var(--fx-bg)}
.fx-portal__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;will-change:clip-path,transform}
.fx-ring{position:absolute;left:50%;top:50%;width:200px;height:200px;z-index:3;pointer-events:none;overflow:visible}
.fx-ring circle.a{fill:none;stroke:var(--fx-line);stroke-width:.6}
.fx-ring circle.b{fill:none;stroke:var(--fx-accent);stroke-width:1.2;stroke-dasharray:2 4}
.fx-ring line{stroke:var(--fx-muted);stroke-width:.7}
.fx-ring line.hot{stroke:var(--fx-accent);stroke-width:2}
.fx-still .fx-ring{display:none}
.fx-still.fx--portal{min-height:80vh}

/* ---- grow --------------------------------------------------------------- */
.fx--grow{position:relative}
.fx-grow__media{position:absolute;inset:0;overflow:hidden;will-change:clip-path}
.fx-grow__media img,.fx-grow__media video{width:100%;height:100%;object-fit:cover;display:block;will-change:transform}
.fx-still.fx--grow{min-height:80vh}

/* ---- zoom-through ------------------------------------------------------- */
/* Version 2 (13 November 2026). Everything zoom-through needs, ratings included, down to "END zoom-through": the
   block is copied whole into every site's fx.css. Read with the zoom-through block in fx.js. */
.fx--zoom-through{position:relative;background:var(--fx-bg)}
/* before fx.js runs, and with no JavaScript at all: the photo and the copy as one full screen, not a section of no height */
[data-fx="zoom-through"]:not(.fx-on){position:relative;min-height:100vh;min-height:100svh}
.fx-zoom{position:absolute;inset:0;display:grid;place-items:center;z-index:2;pointer-events:none;overflow:hidden;contain:strict}
.fx-zoom__word{font-weight:800;font-size:clamp(4rem,19vw,17rem);letter-spacing:-.05em;line-height:1;color:var(--fx-ink);white-space:nowrap;visibility:hidden}
/* what shows: an SVG copy of the word over a veil with the letter's counter cut out, moved by an SVG transform so it
   stays vector sharp. Never put will-change or a CSS transform on it: Chrome would scale a bitmap and blur it. */
.fx-zoom__veil{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden}
.fx-zoom__veil .bg{fill:var(--fx-bg);shape-rendering:geometricPrecision}
.fx-zoom__veil .w{fill:var(--fx-ink);text-rendering:geometricPrecision}
/* a site's icon styles (svg{stroke:..}, text-shadow) are inherited by the SVG word, and the camera scales a 1.7px stroke into
   a thick ring round the letter (Eurofarm, 13 November 2026): the veil and the word never take a stroke, shadow or filter */
.fx-zoom__veil,.fx-zoom__veil .bg,.fx-zoom__veil .w,.fx-zoom__veil tspan{stroke:none!important;stroke-width:0!important;text-shadow:none!important;filter:none!important;opacity:1}
.fx-zoom__inside{position:absolute;inset:0;z-index:1;display:grid;place-items:center;text-align:center;padding:24px}
.fx-zoom__inside>img,.fx-zoom__inside>video,.fx-zoom__inside>picture,.fx-zoom__inside>picture>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
.fx-zoom__inside>:not(img):not(video):not(picture){position:relative;opacity:var(--in,1);transform:translateY(calc((1 - var(--in,1)) * 30px))}
/* a shade the site lays over the photo comes in with the copy, so the photo is seen clean through the letter */
.fx--zoom-through.fx-pinned .fx-zoom__inside::before,.fx--zoom-through.fx-pinned .fx-zoom__inside::after{opacity:var(--shade,1)}
.fx-still .fx-zoom{display:none}
.fx-still.fx--zoom-through{min-height:80vh}
.fx-still .fx-zoom__inside{clip-path:none!important}
/* reduced motion: the finished picture grows to hold the copy and the ratings */
.fx-still.fx--zoom-through .fx-zoom__inside{position:relative;min-height:80vh;padding:clamp(48px,8vh,96px) 24px}
/* the ratings, revealed over the picture at the end of a letter zoom (Dino, 12 November 2026); see showRates in fx.js */
/* only on a stage that ends on ratings: on others it pulled copy the site had set at the bottom, over its shade, up into
   the bright middle of the photo (dr Malik, 13 November 2026) */
.fx--zoom-through .fx-zoom__inside:has(>.fx-rates,>[data-fx-rates]){align-content:center;gap:clamp(18px,3.2vh,40px)}
.fx--zoom-through .fx-zoom__inside>.fx-rates,.fx--mask-video .fx-rates{opacity:1;transform:none}
.fx--zoom-through .fx-rates,.fx--mask-video .fx-rates{position:relative;list-style:none;margin:0 auto;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(14px,2.4vw,40px) 0;max-width:1100px;color:#fff;text-shadow:0 1px 18px rgba(0,0,0,.45)}
.fx--zoom-through .fx-rates li,.fx--mask-video .fx-rates li{display:flex;flex-direction:column;align-items:center;gap:6px;padding:0 clamp(14px,2.4vw,36px);min-width:0;flex:0 1 auto;text-align:center}
.fx--zoom-through .fx-rates li+li,.fx--mask-video .fx-rates li+li{border-left:1px solid rgba(255,255,255,.32)}
.fx--zoom-through .fx-rates li>b,.fx--mask-video .fx-rates li>b{font-family:var(--display,inherit);font-weight:300;font-size:clamp(40px,5.6vw,84px);line-height:1;letter-spacing:-.02em;color:#fff}
.fx--zoom-through .fx-rates li>span,.fx--mask-video .fx-rates li>span{font-size:clamp(13px,1.05vw,15px);line-height:1.35;max-width:15em;color:rgba(255,255,255,.95);opacity:1}
.fx--zoom-through .fx-rates li:first-child>b,.fx--mask-video .fx-rates li:first-child>b{font-size:clamp(56px,8vw,120px);font-weight:400}
@media (max-width:700px){
  .fx--zoom-through .fx-rates,.fx--mask-video .fx-rates{display:grid;grid-template-columns:1fr 1fr;gap:16px 0;width:100%}
  .fx--zoom-through .fx-rates li,.fx--mask-video .fx-rates li{padding:0 10px;border-left:0}
  .fx--zoom-through .fx-rates li:first-child,.fx--mask-video .fx-rates li:first-child{grid-column:1/-1}
  .fx--zoom-through .fx-rates li:nth-child(odd):not(:first-child),.fx--mask-video .fx-rates li:nth-child(odd):not(:first-child){border-left:1px solid rgba(255,255,255,.32)}
}
/* a soft dark pool behind the numbers, so white small text stays readable over a bright photo */
.fx--zoom-through .fx-rates::before,.fx--mask-video .fx-rates::before{content:"";position:absolute;inset:-36px -8vw;z-index:-1;background:radial-gradient(closest-side,rgba(10,20,32,.62),rgba(10,20,32,.38) 70%,rgba(10,20,32,0));pointer-events:none}
@media (max-height:560px){.fx--zoom-through .fx-rates,.fx--mask-video .fx-rates{flex-wrap:nowrap}.fx--zoom-through .fx-rates li,.fx--mask-video .fx-rates li{padding:0 12px}.fx--zoom-through .fx-rates li>span,.fx--mask-video .fx-rates li>span{font-size:12px}.fx--zoom-through .fx-rates li>b,.fx--mask-video .fx-rates li>b{font-size:clamp(28px,4vw,44px)}.fx--zoom-through .fx-rates li:first-child>b,.fx--mask-video .fx-rates li:first-child>b{font-size:clamp(34px,5vw,56px)}}
/* ---- END zoom-through ---- */

/* ---- card-stack --------------------------------------------------------- */
.fx--card-stack.fx-pinned{display:block!important}
.fx--card-stack.fx-pinned>.fx-stack__card{position:absolute;left:50%;top:52%;width:min(760px,92%);margin:0;transform-origin:50% 0;box-shadow:0 -12px 40px rgba(0,0,0,.18);will-change:transform}

/* ---- pin-row ------------------------------------------------------------ */
.fx--pin-row.fx-pinned{display:flex;flex-direction:column;justify-content:center}
.fx-row{display:flex;gap:clamp(12px,2vw,28px);padding:0 clamp(16px,4vw,64px);will-change:transform;cursor:grab;user-select:none}
.fx-row.grabbing{cursor:grabbing}
.fx-row>*{flex:0 0 auto}
.fx-still .fx-row{overflow-x:auto;scroll-snap-type:x mandatory;cursor:auto}
.fx-still .fx-row>*{scroll-snap-align:start}

/* ---- text --------------------------------------------------------------- */
.fx-w{transition:opacity .2s linear}
.fx--scramble{white-space:pre-wrap}
.fx-word{display:inline-block;white-space:nowrap}
.fx-ch{display:inline-block;will-change:transform}

/* ---- odometer ----------------------------------------------------------- */
.fx-odo{display:inline-flex;align-items:flex-start;font-variant-numeric:tabular-nums}
.fx-odo__col{display:inline-block;height:1.1em;overflow:hidden;line-height:1.1em}
.fx-odo__reel{display:block}
.fx-odo__reel span{display:block;height:1.1em;line-height:1.1em}
.fx-odo__sep{display:inline-block;line-height:1.1em}

/* ---- gauges ------------------------------------------------------------- */
.fx-gauges{display:grid;grid-template-columns:repeat(var(--n,4),1fr);gap:clamp(12px,3vw,40px);margin-top:2rem}
@media (max-width:767px){.fx-gauges{grid-template-columns:repeat(2,1fr)}}
.fx-gauge{position:relative;margin:0;display:grid;justify-items:center;gap:10px;text-align:center}
.fx-gauge svg{width:min(150px,100%);height:auto;transform:rotate(-90deg)}
.fx-gauge .trk{fill:none;stroke:var(--fx-line);stroke-width:8}
.fx-gauge .arc{fill:none;stroke:var(--fx-accent);stroke-width:8;stroke-linecap:round}
.fx-gauge .v{position:absolute;top:0;left:0;right:0;aspect-ratio:1;max-width:150px;margin:auto;display:grid;place-items:center;font-size:clamp(1.5rem,3.2vw,2.4rem);font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--fx-ink)}
.fx-gauge figcaption{font-size:.85rem;letter-spacing:.04em;opacity:.8;display:grid;gap:2px}
.fx-gauge figcaption small{opacity:.7;font-size:.75rem}
.fx-gauge.good .arc{stroke:#0a8f4d}.fx-gauge.mid .arc{stroke:#c77700}.fx-gauge.bad .arc{stroke:#d0362b}
.fx-gauge.good .v{color:#0a8f4d}.fx-gauge.mid .v{color:#c77700}.fx-gauge.bad .v{color:#d0362b}

/* ---- path-draw ---------------------------------------------------------- */
.fx-path-host{position:relative;padding-left:56px!important;list-style:none}
.fx-path{position:absolute;left:0;top:0;width:40px;overflow:visible;pointer-events:none}
.fx-path .trk{fill:none;stroke:var(--fx-line);stroke-width:1.5}
.fx-path .ink{fill:none;stroke:var(--fx-accent);stroke-width:2}
.fx-path circle{fill:var(--fx-bg);stroke:var(--fx-muted);stroke-width:1.5;transition:fill .3s,stroke .3s}
.fx-path circle.on{fill:var(--fx-accent);stroke:var(--fx-accent)}
.fx-path-host>li{transition:opacity .4s}
.fx-on:not(.fx-still).fx-path-host>li:not(.fx-hit){opacity:.45}

/* ---- columns ------------------------------------------------------------ */
.fx-cols{position:relative;height:clamp(420px,80vh,760px);overflow:hidden}
.fx-cols__grid{position:absolute;inset:-22% 0;display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(8px,1.4vw,18px);padding:0 clamp(8px,1.4vw,18px);transform:rotate(-5deg) scale(1.15)}
@media (max-width:767px){.fx-cols__grid{grid-template-columns:repeat(3,1fr)}.fx-cols__col:nth-child(4){display:none}}
.fx-cols__col{display:grid;gap:clamp(8px,1.4vw,18px);align-content:start;will-change:transform}
.fx-cols__col img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;border-radius:6px}
.fx-cols__col img:nth-child(2n){aspect-ratio:4/3}

/* ---- velocity-skew ------------------------------------------------------ */
.fx--velocity-skew>*{transform-origin:50% 50%;will-change:transform}

/* ---- slices and tile-flip ----------------------------------------------- */
.fx--slices,.fx--tile-flip{position:relative;overflow:hidden}
.fx-slices,.fx-tiles{position:absolute;inset:0;pointer-events:none}
.fx-slice,.fx-tile{position:absolute;top:0;height:100%;overflow:hidden}
.fx-slice img,.fx-tile img{position:absolute;top:0;height:100%;max-width:none;object-fit:cover}
.fx-tile{backface-visibility:hidden;transform-origin:50% 50%}

/* ---- spotlight ---------------------------------------------------------- */
.fx--spotlight{position:relative;overflow:hidden}
.fx-spot{position:absolute;inset:0;z-index:0;pointer-events:none;--x:50%;--y:40%;
  -webkit-mask-image:radial-gradient(circle 220px at var(--x) var(--y),#000 0%,rgba(0,0,0,.35) 55%,transparent 100%);
          mask-image:radial-gradient(circle 220px at var(--x) var(--y),#000 0%,rgba(0,0,0,.35) 55%,transparent 100%)}
.fx-spot span{position:absolute;font-size:clamp(12px,1.1vw,15px);letter-spacing:.06em;color:var(--fx-accent);white-space:nowrap;border:1px solid var(--fx-line);padding:6px 12px;border-radius:999px}
.fx--spotlight>:not(.fx-spot){position:relative;z-index:1}
.fx-still .fx-spot{-webkit-mask-image:none;mask-image:none;opacity:.5}

/* ---- dot-matrix --------------------------------------------------------- */
.fx--dot-matrix{position:relative;min-height:60vh}

/* ---- orbit -------------------------------------------------------------- */
.fx--orbit{position:relative;height:min(78vh,640px);overflow:hidden}
.fx-orbit{position:absolute;inset:0}
.fx-orbit__rings{position:absolute;left:50%;top:50%;width:90%;height:auto;transform:translate(-50%,-50%);overflow:visible}
.fx-orbit__rings ellipse{fill:none;stroke:var(--fx-line);stroke-width:.6;vector-effect:non-scaling-stroke}
.fx-orbit__core{position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%)}
.fx-orbit__chip{position:absolute;left:0;top:0;font-size:clamp(12px,1.2vw,15px);letter-spacing:.04em;color:var(--fx-ink);border:1px solid var(--fx-line);background:var(--fx-bg);padding:8px 14px;border-radius:999px;white-space:nowrap}

/* ---- doors -------------------------------------------------------------- */
.fx--doors{position:relative;background:var(--fx-bg);overflow:clip}
.fx-doors__in{position:absolute;inset:0;overflow:hidden;--dark:.35}
.fx-doors__in>img,.fx-doors__in>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;will-change:transform}
.fx-doors__in::after{content:"";position:absolute;inset:0;background:#000;opacity:var(--dark)}
.fx-door{position:absolute;top:0;bottom:0;width:50%;z-index:3;display:flex;align-items:center;background:var(--fx-bg);will-change:transform;backface-visibility:hidden}
.fx-door::before{content:"";position:absolute;inset:clamp(14px,3vw,40px);border:1px solid var(--fx-line);pointer-events:none}
.fx-door--l{left:0;transform-origin:0 50%;justify-content:flex-end;box-shadow:inset -1px 0 0 var(--fx-accent)}
.fx-door--r{right:0;transform-origin:100% 50%;justify-content:flex-start}
.fx-door span{font-size:clamp(3.2rem,13vw,13rem);line-height:1;letter-spacing:-.02em;color:var(--fx-ink);padding:0 .06em;white-space:nowrap}
.fx-door--r span{color:var(--fx-accent)}
.fx-still .fx-door{display:none}
.fx-still.fx--doors{min-height:80vh}

/* ---- route -------------------------------------------------------------- */
.fx--route{position:relative;background:var(--fx-bg);overflow:clip}
.fx-route__svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.fx-route__svg .grid{fill-opacity:1}
.fx-route__svg pattern circle{fill:var(--fx-line)}
.fx-route__svg .trk{fill:none;stroke:var(--fx-line);stroke-width:2;stroke-dasharray:2 9;stroke-linecap:round}
.fx-route__svg .ink{fill:none;stroke:var(--fx-accent);stroke-width:3;stroke-linecap:round}
.fx-route__svg .walker{fill:var(--fx-accent);stroke:var(--fx-bg);stroke-width:3}
.fx-route__stops{position:absolute;inset:0;margin:0;padding:0;list-style:none;pointer-events:none}
.fx-route__stop{position:absolute;display:grid;gap:2px;transform:translate(-50%,22px);text-align:center;color:var(--fx-ink);opacity:.38;transition:opacity .5s,transform .5s var(--fx-ease);white-space:nowrap}
.fx-route__stop--up{transform:translate(-50%,calc(-100% - 22px))}
.fx-route__stop i{position:absolute;left:50%;top:-22px;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:var(--fx-bg);border:2px solid var(--fx-muted);transition:background .4s,border-color .4s}
.fx-route__stop--up i{top:auto;bottom:-22px;margin:0 0 -7px -7px}
.fx-route__stop.on{opacity:1}
.fx-route__stop.on i{background:var(--fx-accent);border-color:var(--fx-accent)}
.fx-route__stop b{font-size:clamp(1rem,1.5vw,1.3rem);font-weight:500}
.fx-route__stop small{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--fx-accent)}
.fx-route__dest b{font-size:clamp(1.5rem,2.6vw,2.4rem)}
.fx-route__dest i{width:22px;height:22px;margin:-11px 0 0 -11px}
@media (min-width:700px){.fx-route__dest{transform:translate(30px,-50%);text-align:left}.fx-route__dest i{left:-30px;top:50%}}
.fx-route__dest.here i::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid var(--fx-accent);animation:fx-ping 1.8s var(--fx-ease) infinite}
@keyframes fx-ping{from{transform:scale(1);opacity:.9}to{transform:scale(3.4);opacity:0}}
.fx-route__head{position:absolute;left:clamp(16px,5vw,72px);top:clamp(72px,12vh,140px);z-index:4;max-width:min(560px,86vw)}
@media (max-width:699px){.fx-route__stop{transform:translate(-50%,16px)}.fx-route__stop i{top:-16px}.fx-route__stop b{font-size:.95rem}}
.fx-still.fx--route{min-height:100vh}

/* ---- mosaic ------------------------------------------------------------- */
.fx--mosaic{position:relative;background:var(--fx-bg);overflow:clip}
.fx-mosaic{position:absolute;inset:0}
.fx-mosaic img{position:absolute;object-fit:cover;display:block;border-radius:4px;will-change:transform,opacity;max-width:none}
.fx-mosaic img.fx-mosaic__mid{border-radius:0;z-index:2;will-change:clip-path,transform}
.fx-mosaic__shade{position:absolute;inset:0;z-index:3;background:#000;opacity:0;pointer-events:none}
.fx-still.fx--mosaic{min-height:100vh}

/* ---- fan ---------------------------------------------------------------- */
.fx--fan{position:relative;background:var(--fx-bg);overflow:clip}
.fx-fan{position:absolute;inset:0}
.fx-fan>*{position:absolute;left:0;top:0;margin:0;border-radius:8px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.35);will-change:transform}
.fx-fan img{width:100%;height:100%;object-fit:cover;display:block}
.fx--fan .fx-over{place-content:end center;padding-bottom:clamp(40px,10vh,110px)}
.fx-still.fx--fan{min-height:100vh}

/* ---- reduced motion: finished state, nothing moving --------------------- */
@media (prefers-reduced-motion:reduce){
  .fx-on *{transition:none!important;animation:none!important}
  .fx-on .fx-ln>span{transform:none!important}
  .fx-on .fx-cap{opacity:1!important}
}

/* marquee: see marquee.js. Size and weight are defaults; the font is the site's. */
.fx--marquee{position:relative;overflow-x:clip;padding-block:.12em;font-size:clamp(2.2rem,7vw,6.5rem);line-height:1.08;font-weight:700;letter-spacing:-.02em;color:var(--fx-ink);touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.fx--marquee.fx-grabbing{cursor:grabbing}
.fx--marquee .fx-marquee__track{position:relative;display:flex;width:max-content;will-change:transform}
.fx--marquee .fx-marquee__list{display:flex;flex:0 0 auto;margin:0;padding:0;list-style:none}
.fx--marquee .fx-marquee__list>li{display:flex;align-items:center;white-space:nowrap;margin:0}
.fx--marquee .fx-marquee__list>li::after{content:"";flex:0 0 auto;width:.2em;height:.2em;margin:0 .55em;border-radius:50%;background:var(--fx-accent)}
.fx--marquee .fx-marquee__o{color:transparent;-webkit-text-stroke:max(1px,.016em) var(--fx-ink)}
.fx--marquee a{color:inherit;text-decoration:none}
.fx--marquee a:focus-visible{outline:2px solid var(--fx-accent);outline-offset:.08em;border-radius:.1em}
.fx--marquee img{-webkit-user-drag:none}
/* finished state: the whole list, wrapped and centred */
.fx--marquee.fx-still{cursor:auto;touch-action:auto;user-select:auto;-webkit-user-select:auto;font-size:clamp(1.7rem,5vw,4rem)}
.fx--marquee.fx-still .fx-marquee__list{flex-wrap:wrap;justify-content:center;row-gap:.15em;padding-inline:16px}
.fx--marquee.fx-still .fx-marquee__list>li{white-space:normal}
.fx--marquee.fx-still .fx-marquee__list>li:last-child::after{display:none}

/* tilt-cards: see effects/tilt-cards.js. The sheen is white light, kept faint so it suits any palette. */
.fx--tilt-cards .fx-tilt{position:relative;overflow:hidden;isolation:isolate;transform-origin:50% 50%;will-change:transform;transition:box-shadow .35s ease}
.fx--tilt-cards .fx-tilt img,.fx--tilt-cards .fx-tilt video{will-change:transform;-webkit-user-drag:none}
.fx--tilt-cards .fx-tilt__sheen{position:absolute;left:-50%;top:-50%;width:200%;height:200%;z-index:3;pointer-events:none;opacity:0;
  background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.34),rgba(255,255,255,.12) 18%,rgba(255,255,255,0) 40%)}
@media (hover:hover){.fx--tilt-cards .fx-tilt:hover{box-shadow:0 26px 60px rgba(0,0,0,.38)}}
.fx--tilt-cards .fx-tilt:focus-visible{outline:3px solid var(--fx-accent);outline-offset:4px;box-shadow:0 26px 60px rgba(0,0,0,.38)}
.fx--tilt-cards .fx-tilt:focus-visible:not(:hover){transform:translateY(-6px)!important;transition:transform .35s var(--fx-ease,ease),box-shadow .35s ease}
.fx-still.fx--tilt-cards .fx-tilt__sheen{display:none}

/* counter-grid: key figures whose icons draw in while the numbers count */
.fx--counter-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--fx-line);border-left:1px solid var(--fx-line);color:var(--fx-ink)}
@media (min-width:900px){.fx--counter-grid{grid-template-columns:repeat(var(--fx-cg-cols,3),minmax(0,1fr))}}
.fx--counter-grid .fx-cg__tile{position:relative;display:grid;align-content:start;gap:10px;padding:clamp(18px,2.6vw,32px);border-right:1px solid var(--fx-line);border-bottom:1px solid var(--fx-line);min-width:0;container-type:inline-size;will-change:transform,opacity}
.fx--counter-grid .fx-cg__tile::after{content:"";position:absolute;left:-1px;right:-1px;bottom:-1px;height:2px;background:var(--fx-accent);transform:scaleX(0);transform-origin:0 50%;transition:transform .6s var(--fx-ease)}
.fx--counter-grid .fx-cg__tile:hover::after,.fx--counter-grid .fx-cg__tile:focus-within::after{transform:scaleX(1)}
.fx--counter-grid .fx-cg__ico{width:clamp(30px,3.2vw,40px);height:auto;fill:none;stroke:var(--fx-accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.fx--counter-grid .fx-cg__ico *{stroke-dasharray:1;stroke-dashoffset:1}
.fx--counter-grid .fx-cg__num{display:inline-flex;align-items:baseline;gap:.12em;font-size:clamp(1.5rem,19cqi,3.4rem);font-weight:700;letter-spacing:-.02em;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.fx--counter-grid .fx-cg__tile>span{font-size:.92rem;line-height:1.4;opacity:.8}
.fx-still.fx--counter-grid .fx-cg__ico *{stroke-dashoffset:0}
.fx--counter-grid .fx-cg__fig{display:inline-block}
.fx--counter-grid .fx-cg__num small{font-size:.42em;font-weight:600;letter-spacing:.02em;opacity:.8}

/* quote-stack: see quote-stack.js */
.fx--quote-stack{position:relative;background:var(--fx-bg);color:var(--fx-ink)}
.fx--quote-stack.fx-pinned{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(20px,4vh,44px);padding:clamp(56px,9vh,96px) 16px!important}
.fx--quote-stack .fx-qs__head{margin:0;text-align:center}
.fx--quote-stack .fx-qs__deck{display:grid;width:min(760px,100%);margin:0 auto}
.fx--quote-stack .fx-quote{grid-area:1/1;align-self:center;margin:0;padding:clamp(26px,5vw,56px);border:1px solid var(--fx-line);border-radius:clamp(14px,2vw,22px);background:var(--fx-bg);background:color-mix(in srgb,var(--fx-ink) 5%,var(--fx-bg));box-shadow:0 40px 80px -40px rgba(0,0,0,.6);transform-origin:50% 100%;will-change:transform,opacity}
.fx--quote-stack .fx-qs__in{display:grid;gap:clamp(14px,2.4vh,22px)}
.fx--quote-stack .fx-quote blockquote{position:relative;margin:0;font-size:clamp(1.2rem,2.5vw,2rem);line-height:1.35;letter-spacing:-.01em}
.fx--quote-stack .fx-quote blockquote p{margin:0}
.fx--quote-stack .fx-quote blockquote::before{content:"\201C";position:absolute;left:-.08em;top:-.62em;font-size:3.2em;line-height:1;color:var(--fx-accent);opacity:.9;pointer-events:none}
.fx--quote-stack .fx-quote blockquote{padding-top:.9em}
.fx--quote-stack .fx-quote figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:.35em .8em;font-size:.95rem}
.fx--quote-stack .fx-quote figcaption b{font-weight:600}
.fx--quote-stack .fx-quote figcaption>span:not(.fx-qs__stars){opacity:.75;letter-spacing:.04em}
.fx--quote-stack .fx-qs__stars{display:flex;gap:.18em;margin-left:auto;font-size:1.05rem;line-height:1;align-self:center}
.fx--quote-stack .fx-qs__stars i{font-style:normal;color:var(--fx-line)}
.fx--quote-stack .fx-qs__stars i.on{color:var(--fx-accent)}
.fx--quote-stack .fx-qs__count{display:flex;gap:.5em;font-size:.85rem;letter-spacing:.16em;font-variant-numeric:tabular-nums;opacity:.8}
.fx--quote-stack .fx-qs__count b{color:var(--fx-accent);font-weight:600}
/* finished state: the reviews one under another */
.fx--quote-stack.fx-still{padding:clamp(56px,10vh,120px) 16px!important}
.fx--quote-stack.fx-still .fx-qs__head{margin-bottom:32px}
.fx--quote-stack.fx-still .fx-qs__deck{gap:20px}
.fx--quote-stack.fx-still .fx-quote{grid-area:auto;box-shadow:none}
.fx--quote-stack.fx-still .fx-qs__count{display:none}

/* expanding-cards: a row of cards that each grow into a full screen panel. Still and no-script: the cards one under another, details shown. */
.fx--expanding-cards{position:relative;background:var(--fx-bg);color:var(--fx-ink)}
.fx-xc__head{max-width:1200px;margin:0 auto;padding:clamp(48px,9vh,96px) clamp(20px,5vw,72px) 24px}
.fx-xc__head span{display:block;font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--fx-accent);margin-bottom:10px}
.fx-xc__head h2{font-size:clamp(1.8rem,4.4vw,3.6rem);line-height:1.04;margin:0;max-width:18ch}
.fx-xc{position:relative;max-width:1200px;margin:0 auto 24px;padding:0 clamp(20px,5vw,72px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,3vw,40px);align-items:center}
.fx-xc>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px;max-width:none}
.fx-xc__tab{display:none}
.fx-xc__body h3{font-size:clamp(1.6rem,3.2vw,2.8rem);line-height:1.04;margin:0 0 .35em}
.fx-xc__body p{margin:0 0 1em;opacity:.88;max-width:44ch}
.fx-xc__body ul{list-style:none;margin:0 0 1.4em;padding:0;display:grid;gap:8px}
.fx-xc__body li{padding-left:22px;position:relative}
.fx-xc__body li::before{content:"";position:absolute;left:0;top:.62em;width:10px;height:2px;background:var(--fx-accent)}
.fx-xc__body a{display:inline-flex;align-items:center;min-height:44px;padding:0 24px;border-radius:999px;background:var(--fx-accent);color:var(--fx-bg);text-decoration:none;font-weight:600}
.fx-xc__body a:focus-visible{outline:2px solid var(--fx-ink);outline-offset:3px}
@media (max-width:699px){.fx-xc{grid-template-columns:1fr}}

/* the held stage */
.fx--expanding-cards.fx-pinned{display:block}
.fx--expanding-cards.fx-pinned .fx-xc__head{position:absolute;left:0;right:0;top:0;margin:0 auto;padding-top:clamp(24px,7vh,72px)}
.fx--expanding-cards.fx-pinned .fx-xc{position:absolute;inset:0;margin:0;padding:0;display:block;max-width:none;will-change:clip-path}
.fx--expanding-cards.fx-pinned .fx-xc>img{position:absolute;inset:0;height:100%;aspect-ratio:auto;border-radius:0;will-change:transform}
.fx--expanding-cards.fx-pinned .fx-xc::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 80%,transparent),transparent 55%)}
.fx--expanding-cards.fx-pinned .fx-xc.fx-xc--open::after{background:linear-gradient(100deg,color-mix(in srgb,var(--fx-bg) 92%,transparent) 0%,color-mix(in srgb,var(--fx-bg) 70%,transparent) 38%,transparent 68%)}
.fx--expanding-cards.fx-pinned .fx-xc__tab{display:flex;flex-direction:column;justify-content:flex-end;gap:4px;position:absolute;z-index:2;padding:clamp(14px,2vw,24px);box-sizing:border-box;pointer-events:none}
.fx-xc__tab b{font-size:clamp(1.1rem,1.8vw,1.7rem);font-weight:500;line-height:1.05}
.fx-xc__tab span{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--fx-accent)}
.fx--expanding-cards.fx-pinned .fx-xc__body{position:absolute;z-index:2;left:clamp(20px,6vw,96px);bottom:clamp(40px,10vh,110px);width:min(520px,calc(100% - 40px))}
@media (max-width:699px){
  .fx--expanding-cards.fx-pinned .fx-xc__head h2{font-size:clamp(1.4rem,6.6vw,2rem)}
  .fx--expanding-cards.fx-pinned .fx-xc__tab{flex-direction:row;align-items:flex-end;justify-content:space-between}
  .fx--expanding-cards.fx-pinned .fx-xc__body{left:20px;bottom:44px}
  .fx--expanding-cards.fx-pinned .fx-xc.fx-xc--open::after{background:linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 94%,transparent) 0%,color-mix(in srgb,var(--fx-bg) 70%,transparent) 50%,transparent 85%)}
}

/* curtain: see effects/curtain.js */
.fx--curtain{position:relative;overflow:hidden;isolation:isolate}
.fx--curtain>img,.fx--curtain>video{display:block;width:100%;height:100%;object-fit:cover;will-change:transform}
.fx--curtain .fx-curtain__panel{position:absolute;inset:-1px;z-index:2;pointer-events:none;transform:scaleX(0);will-change:transform}
.fx-still.fx--curtain .fx-curtain__panel{display:none}
.fx-still.fx--curtain>img,.fx-still.fx--curtain>video{transform:none!important;opacity:1!important}

/* iris: see effects/iris.js */
.fx--iris{position:relative;overflow:hidden;isolation:isolate;--fx-cover:var(--fx-bg)}
.fx--iris>img,.fx--iris>video{display:block;width:100%;height:100%;object-fit:cover;will-change:transform}
.fx--iris .fx-iris__blades{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;overflow:hidden}
.fx--iris .fx-iris__b{fill:var(--fx-cover);stroke:var(--fx-line);stroke-width:1;stroke-linejoin:round}
.fx--iris .fx-iris__b.alt{fill:color-mix(in srgb,var(--fx-cover) 90%,var(--fx-ink))}
.fx--iris .fx-iris__rim{fill:none;stroke:var(--fx-accent);stroke-width:1.5;stroke-linejoin:round}
.fx-still.fx--iris .fx-iris__blades{display:none}
.fx-still.fx--iris>img,.fx-still.fx--iris>video{transform:none!important}

/* develop: see effects/develop.js. The paper is a warm white tinted by the brand accent. */
.fx--develop{--fx-paper:color-mix(in srgb,#fff 91%,var(--fx-accent));position:relative;display:block;margin:0;background:var(--fx-paper);
  padding:clamp(8px,4.5%,20px) clamp(8px,4.5%,20px) 0;border-radius:2px;transform-origin:50% 40%;will-change:transform;
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 14px 34px rgba(0,0,0,.28)}
.fx--develop .fx-dev__print{position:relative;display:block;overflow:hidden;background:color-mix(in srgb,var(--fx-paper) 70%,#555)}
.fx--develop .fx-dev__print>img{display:block;width:100%;height:auto;aspect-ratio:var(--fx-print,1);object-fit:cover}
.fx--develop .fx-dev__mono{position:absolute;inset:0;height:100%!important;filter:grayscale(1) sepia(.18) contrast(.62) brightness(1.18)}
.fx--develop .fx-dev__fog{position:absolute;inset:0;background:linear-gradient(160deg,color-mix(in srgb,var(--fx-paper) 72%,#6f7f7a),color-mix(in srgb,var(--fx-paper) 62%,#3f4a52))}
.fx--develop figcaption{display:block;padding:.7em .2em 1.1em;min-height:3.2em;text-align:center;font-style:italic;font-size:clamp(.95rem,1.4vw,1.1rem);line-height:1.3;
  color:color-mix(in srgb,#1d1d1d 86%,var(--fx-accent));overflow-wrap:anywhere}
.fx--develop.fx-dev--bare{padding-bottom:clamp(36px,16%,72px)}
.fx-still.fx--develop .fx-dev__mono,.fx-still.fx--develop .fx-dev__fog{display:none}
.fx-still.fx--develop figcaption{opacity:1!important;clip-path:none!important}

/* mask-video: see mask-video.js */
.fx--mask-video{position:relative;background:var(--fx-bg);overflow:hidden}
.fx--mask-video .fx-mv__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;will-change:transform}
.fx--mask-video .fx-mv__veil{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2;overflow:hidden;pointer-events:none}
.fx--mask-video .fx-mv__veil .fill{fill:var(--fx-bg)}
.fx--mask-video .fx-mv__veil text{font-weight:900}
.fx--mask-video .fx-mv__veil .edge{fill:none;stroke:var(--fx-accent);stroke-width:1.2}
.fx--mask-video .fx-mv__shade{position:absolute;inset:0;z-index:1;background:var(--fx-bg);opacity:0;pointer-events:none}
/* finished state: the picture, full, with the headline over it */
.fx--mask-video.fx-still{min-height:80vh}
.fx--mask-video.fx-still .fx-mv__media{transform:none}
.fx--mask-video.fx-still::before{content:"";position:absolute;inset:0;z-index:1;background:var(--fx-bg);opacity:.45;pointer-events:none}

/* accordion-panels: photo strips, the open one wide. Still and no-script: a plain grid of photo cards, every title shown. */
.fx--accordion-panels{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;color:var(--fx-ink)}
.fx-acc__item{position:relative;display:block;overflow:hidden;border-radius:12px;min-height:340px;color:var(--fx-ink);text-decoration:none;background:var(--fx-bg)}
.fx-acc__item img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.fx-acc__item::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 88%,transparent) 0%,color-mix(in srgb,var(--fx-bg) 30%,transparent) 45%,transparent 70%)}
.fx-acc__label{display:none}
.fx-acc__text{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:clamp(18px,3vw,36px)}
.fx-acc__text h3{font-size:clamp(1.4rem,2.6vw,2.4rem);line-height:1.05;margin:0 0 .3em}
.fx-acc__text p{margin:0;max-width:36ch;opacity:.88;font-size:clamp(.92rem,1.2vw,1.05rem)}
.fx-acc__item:focus-visible{outline:2px solid var(--fx-accent);outline-offset:3px}

/* the live strips: every item is the full open size, clipped to its current width and moved into place */
.fx--accordion-panels.fx-on:not(.fx-still){display:block;overflow:hidden;overflow:clip}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__item{position:absolute;left:0;top:0;min-height:0;border-radius:0;will-change:transform,clip-path}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__item img{inset:auto;left:0;top:0;will-change:transform}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__item:focus-visible{outline:none}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__item:focus-visible .fx-acc__text h3{text-decoration:underline;text-decoration-color:var(--fx-accent);text-underline-offset:6px}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__label{display:block;position:absolute;left:0;top:0;bottom:0;z-index:2;width:var(--lo,90px);writing-mode:vertical-rl;transform-origin:center;rotate:180deg;display:flex;align-items:center;justify-content:flex-start;padding:28px 0;font-size:clamp(.95rem,1.3vw,1.2rem);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;color:var(--fx-ink);text-shadow:0 1px 3px var(--fx-bg),0 0 14px var(--fx-bg)}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__label::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--fx-accent);margin-bottom:14px}
.fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__text{max-width:min(560px,100%)}
@media (max-width:699px){
  .fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__label{writing-mode:horizontal-tb;rotate:none;width:auto;right:0;bottom:auto;height:66px;padding:0 20px;flex-direction:row;font-size:.9rem}
  .fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__label::before{margin:0 12px 0 0}
  .fx--accordion-panels.fx-on:not(.fx-still) .fx-acc__text{padding:20px}
}

/* sticky-split: steps scroll on the left, the photo holds on the right. Still and no-script: each step with its own photo. */
.fx--sticky-split{position:relative;background:var(--fx-bg);color:var(--fx-ink);padding:0!important}
.fx-split__steps{max-width:640px;padding:clamp(48px,9vh,96px) clamp(20px,5vw,72px)}
.fx-split__step{padding:clamp(20px,4vh,40px) 0}
.fx-split__step>span{display:block;font-size:.8rem;letter-spacing:.2em;color:var(--fx-accent);margin-bottom:10px;font-variant-numeric:tabular-nums}
.fx-split__step h3{font-size:clamp(1.6rem,3.4vw,2.8rem);line-height:1.05;margin:0 0 .4em}
.fx-split__step p{margin:0;max-width:42ch;opacity:.85}
.fx-split__pic{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:6px;margin-bottom:18px}
.fx-split__media{display:none}
.fx-split__num{display:none}

/* the live layout: two columns, the photo column held by CSS sticky */
.fx--sticky-split.fx-on:not(.fx-still){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}
.fx--sticky-split.fx-on:not(.fx-still) .fx-split__steps{grid-column:1;grid-row:1;max-width:620px;justify-self:end;width:100%;padding:14vh clamp(20px,4vw,64px) 22vh}
.fx--sticky-split.fx-on:not(.fx-still) .fx-split__step{min-height:72vh;display:flex;flex-direction:column;justify-content:center;opacity:.32;transition:opacity .5s var(--fx-ease,ease)}
.fx--sticky-split.fx-on:not(.fx-still) .fx-split__step.fx-on-step{opacity:1}
.fx--sticky-split.fx-on:not(.fx-still) .fx-split__media{display:block;grid-column:2;grid-row:1;position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:var(--fx-bg)}
.fx--sticky-split.fx-on:not(.fx-still) .fx-split__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none;will-change:clip-path,transform}
.fx--sticky-split.fx-on:not(.fx-still) .fx-split__num{display:block;position:absolute;left:clamp(16px,3vw,36px);bottom:clamp(16px,4vh,36px);z-index:20;padding:8px 14px;border-radius:999px;background:color-mix(in srgb,var(--fx-bg) 72%,transparent);color:var(--fx-ink);font-size:.85rem;letter-spacing:.14em;font-variant-numeric:tabular-nums}
.fx-split__num b{color:var(--fx-accent);font-weight:600}
@media (max-width:699px){
  .fx--sticky-split.fx-on:not(.fx-still){display:block}
  .fx--sticky-split.fx-on:not(.fx-still) .fx-split__media{height:44vh;height:44svh;z-index:2}
  .fx--sticky-split.fx-on:not(.fx-still) .fx-split__steps{padding:4vh 20px 22vh;max-width:none}
  .fx--sticky-split.fx-on:not(.fx-still) .fx-split__step{min-height:38vh;min-height:38svh}
}

/* headline-scroll: see headline-scroll.js */
.fx--headline-scroll{position:relative;background:var(--fx-bg);color:var(--fx-ink)}
.fx--headline-scroll .fx-hs__line{margin:0;font-size:clamp(4.2rem,17vw,15rem);font-weight:700;line-height:1;letter-spacing:-.035em}
.fx--headline-scroll .fx-hs__w{transition:color .35s}
.fx--headline-scroll .fx-hs__w.now{color:var(--fx-accent)}
.fx--headline-scroll.fx-pinned{display:flex;flex-direction:column;justify-content:center}
.fx--headline-scroll.fx-pinned .fx-hs__line{position:relative;left:0;white-space:nowrap;width:max-content;will-change:transform}
.fx--headline-scroll .fx-hs__mark{position:absolute;left:50%;top:calc(50% - .5 * clamp(4.2rem,17vw,15rem) - 36px);width:2px;margin-left:-1px;height:24px;background:var(--fx-accent);pointer-events:none}
.fx--headline-scroll .fx-hs__mark::after{content:"";position:absolute;left:0;top:calc(clamp(4.2rem,17vw,15rem) + 48px);width:2px;height:24px;background:var(--fx-accent)}
.fx--headline-scroll .fx-cap{position:absolute;left:clamp(16px,5vw,72px);bottom:clamp(28px,7vh,72px);max-width:min(440px,80vw);margin:0;opacity:.85}
/* finished state: the line wrapped as an ordinary big headline */
.fx--headline-scroll.fx-still{padding:clamp(56px,10vh,120px) clamp(16px,5vw,72px)!important}
.fx--headline-scroll.fx-still .fx-hs__line{font-size:clamp(2.4rem,8vw,7rem);overflow-wrap:break-word}
.fx--headline-scroll.fx-still .fx-hs__mark{display:none}
.fx--headline-scroll.fx-still .fx-cap{position:static;margin-top:24px}

/* diagonal-split: see effects/diagonal-split.js */
.fx--diagonal-split{position:relative;overflow:hidden;isolation:isolate;--fx-cover:var(--fx-bg)}
.fx--diagonal-split>img,.fx--diagonal-split>video{display:block;width:100%;height:100%;object-fit:cover;will-change:transform}
.fx--diagonal-split .fx-split{position:absolute;inset:0;z-index:2;pointer-events:none}
.fx--diagonal-split .fx-split--down{transform:scaleX(-1)}
.fx--diagonal-split .fx-split__half{position:absolute;inset:0;background:var(--fx-cover);will-change:transform}
.fx--diagonal-split .fx-split__a{clip-path:polygon(0 0,100% 0,0 100%)}
.fx--diagonal-split .fx-split__b{clip-path:polygon(100% 0,100% 100%,0 100%)}
.fx--diagonal-split .fx-split__line{position:absolute;left:50%;top:50%;height:2px;margin-top:-1px;background:var(--fx-accent);will-change:transform}
.fx--diagonal-split .fx-split--accent .fx-split__line{background:var(--fx-ink)}
.fx-still.fx--diagonal-split .fx-split{display:none}
.fx-still.fx--diagonal-split>img,.fx-still.fx--diagonal-split>video{transform:none!important}

/* panel-stack: full screen panels that slide up over each other. Still and no-script: panels stacked in the page. */
.fx--panel-stack{position:relative;background:var(--fx-bg)}
.fx-panel{position:relative;min-height:78vh;min-height:78svh;display:flex;align-items:flex-end;overflow:hidden;background:var(--fx-bg);color:var(--fx-ink)}
.fx-panel>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.fx-panel::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 92%,transparent) 0%,color-mix(in srgb,var(--fx-bg) 55%,transparent) 38%,transparent 72%)}
.fx-panel__copy{position:relative;z-index:2;width:100%;max-width:1200px;margin:0 auto;padding:clamp(28px,7vh,90px) clamp(20px,5vw,72px)}
.fx-panel__copy h2{font-size:clamp(2rem,6.4vw,5.4rem);line-height:1;margin:0 0 .3em;max-width:14ch;overflow-wrap:break-word}
.fx-panel__copy p{max-width:44ch;margin:0 0 1.2em;font-size:clamp(1rem,1.4vw,1.2rem);opacity:.9}
.fx-panel__copy a{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border:1px solid var(--fx-accent);border-radius:999px;color:var(--fx-ink);text-decoration:none}
.fx-panel__kicker{display:block;margin-bottom:14px;font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--fx-accent)}
.fx-panel__shade{position:absolute;inset:0;z-index:3;background:var(--fx-bg);opacity:0;pointer-events:none}
.fx-panel__count{display:none}

/* the held stage */
.fx--panel-stack.fx-pinned{display:block}
.fx--panel-stack.fx-pinned>.fx-panel{position:absolute;inset:0;min-height:0;transform-origin:50% 0;will-change:transform}
.fx--panel-stack.fx-pinned>.fx-panel>img{will-change:transform}
.fx--panel-stack.fx-pinned .fx-panel__count{display:flex;gap:8px;align-items:baseline;position:absolute;right:clamp(16px,4vw,48px);top:clamp(16px,4vh,40px);z-index:5;color:var(--fx-ink);font-variant-numeric:tabular-nums;font-size:.85rem;letter-spacing:.14em;pointer-events:none}
.fx--panel-stack.fx-pinned .fx-panel__count b{font-size:1.6rem;font-weight:500;color:var(--fx-accent);letter-spacing:0}
.fx-still .fx-panel+.fx-panel{margin-top:2px}

/* split-flap: a departures board. No-script: the sets as plain two column lists. */
.fx--split-flap{position:relative;color:var(--fx-ink)}
.fx-flap__set{margin:0 0 1.5em}
.fx-flap__set::before{content:attr(data-title);display:block;font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:var(--fx-accent);margin-bottom:.6em}
.fx-flap__row{display:flex;justify-content:space-between;gap:16px;margin:0;padding:.5em 0;border-bottom:1px solid var(--fx-line)}
.fx-flap__row span+span{color:var(--fx-accent);font-variant-numeric:tabular-nums}
/* with the board drawn, the sets stay in the page for screen readers only */
.fx-flap__src{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

.fx-flap{display:inline-block;max-width:100%;padding:.45em .45em .35em;border-radius:.22em;background:color-mix(in srgb,var(--fx-ink) 6%,var(--fx-bg));box-shadow:inset 0 0 0 1px var(--fx-line);font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-weight:600;line-height:1;user-select:none}
.fx-flap+.fx-flap{margin-top:16px}
.fx-flap__line{display:flex;white-space:nowrap}
.fx-flap__line+.fx-flap__line{margin-top:.1em}
.fx-flap__title{margin-bottom:.22em}
.fx-flap__title .fx-ft{color:var(--fx-accent)}
.fx-ft{position:relative;display:block;flex:0 0 auto;width:.72em;height:1.16em;margin-right:.08em;perspective:2.6em;color:var(--fx-ink)}
.fx-ft--acc{color:var(--fx-accent)}
.fx-ft>span{position:absolute;left:0;right:0;height:50%;overflow:hidden;background:color-mix(in srgb,var(--fx-ink) 12%,var(--fx-bg));backface-visibility:hidden;-webkit-backface-visibility:hidden}
.fx-ft b{position:absolute;left:0;right:0;height:1.16em;line-height:1.18em;text-align:center;font-weight:inherit}
.fx-ft__u,.fx-ft__fu{top:0;border-radius:.1em .1em 0 0}
.fx-ft__d,.fx-ft__fd{top:50%;border-radius:0 0 .1em .1em}
.fx-ft__d b,.fx-ft__fd b{top:-.58em}
.fx-ft__u{background:color-mix(in srgb,var(--fx-ink) 15%,var(--fx-bg))!important}
.fx-ft__fu{transform-origin:50% 100%;transform:rotateX(-90deg);z-index:2;background:color-mix(in srgb,var(--fx-ink) 15%,var(--fx-bg))!important}
.fx-ft__fd{transform-origin:50% 0;transform:rotateX(90deg);z-index:2}
/* the hinge: a dark seam across the middle of every tile */
.fx-ft::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;margin-top:-.5px;background:var(--fx-bg);z-index:3}

/* split-wave: see split-wave.js. Each word is masked at its foot, so letters rise out of the line. */
.fx--split-wave .fx-sw__word{display:inline-block;white-space:nowrap;clip-path:inset(-60% -12% -.14em -12%)}
.fx--split-wave .fx-sw__ch{display:inline-block;transform-origin:0 100%}
.fx--split-wave:not(.fx-still) .fx-sw__ch{transform:translate3d(0,105%,0) rotate(12deg);opacity:0}
.fx--split-wave.fx-still .fx-sw__word{clip-path:none}

/* duotone-bloom: see effects/duotone-bloom.js */
.fx--duotone-bloom{position:relative;overflow:hidden;isolation:isolate}
.fx--duotone-bloom>img{display:block;width:100%;height:100%;object-fit:cover}
.fx--duotone-bloom .fx-duo__mono{position:absolute;inset:0;z-index:0;will-change:transform}
.fx--duotone-bloom .fx-duo__colour{position:relative;z-index:1;will-change:transform}
.fx--duotone-bloom .fx-duo__defs{position:absolute;width:0;height:0;overflow:hidden}
.fx-on:not(.fx-still).fx--duotone-bloom .fx-duo__colour{-webkit-mask-image:linear-gradient(transparent,transparent);mask-image:linear-gradient(transparent,transparent)}

/* shutter-grid: see effects/shutter-grid.js */
.fx--shutter-grid{position:relative;overflow:hidden;isolation:isolate;--fx-cover:var(--fx-bg)}
.fx--shutter-grid>img,.fx--shutter-grid>video{display:block;width:100%;height:100%;object-fit:cover;will-change:transform}
.fx--shutter-grid .fx-shutter{position:absolute;inset:0;z-index:2;pointer-events:none}
.fx--shutter-grid .fx-shutter__cell{position:absolute;background:var(--fx-cover);transform-origin:50% 50%;will-change:transform}
.fx--shutter-grid .fx-shutter__cell i{position:absolute;inset:0;background:var(--fx-accent);opacity:0}
.fx-still.fx--shutter-grid .fx-shutter{display:none}
.fx-still.fx--shutter-grid>img,.fx-still.fx--shutter-grid>video{transform:none!important}

/* ink-bleed: see effects/ink-bleed.js */
.fx--ink-bleed{position:relative;overflow:hidden}
.fx--ink-bleed>img{display:block;width:100%;height:100%;object-fit:cover}
.fx--ink-bleed .fx-ink__cv{position:absolute;inset:0;width:100%;height:100%;display:none;pointer-events:none}
.fx--ink-bleed.fx-ink-live .fx-ink__cv{display:block}
.fx--ink-bleed.fx-ink-live>img{visibility:hidden}

/* depth-parallax: see effects/depth-parallax.js. Card slots below are a starting layout; a site may move them. */
.fx--depth-parallax{position:relative;overflow:hidden;isolation:isolate;min-height:clamp(520px,92vh,900px);background:var(--fx-bg)}
.fx--depth-parallax::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse at 50% 50%,rgba(0,0,0,.5),rgba(0,0,0,.18) 70%),linear-gradient(rgba(0,0,0,.15),rgba(0,0,0,.35))}
.fx--depth-parallax .fx-depth__back{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;will-change:transform;transform:scale(1.2)}
.fx--depth-parallax .fx-depth__card{position:absolute;z-index:2;margin:0;display:block;height:auto;max-width:none;object-fit:cover;border-radius:6px;overflow:hidden;will-change:transform;
  box-shadow:0 2px 6px rgba(0,0,0,.25),0 30px 60px rgba(0,0,0,.45);outline:1px solid var(--fx-line);outline-offset:-1px}
.fx--depth-parallax .fx-depth__card img,.fx--depth-parallax .fx-depth__card video{display:block;width:100%;height:100%;object-fit:cover}
.fx--depth-parallax .fx-depth--1{left:5%;top:11%;width:clamp(150px,19%,290px);aspect-ratio:4/5}
.fx--depth-parallax .fx-depth--2{right:6%;top:7%;width:clamp(130px,16%,250px);aspect-ratio:3/4}
.fx--depth-parallax .fx-depth--3{left:15%;bottom:7%;width:clamp(130px,15%,230px);aspect-ratio:1/1}
.fx--depth-parallax .fx-depth--4{right:11%;bottom:9%;width:clamp(160px,22%,330px);aspect-ratio:4/3}
.fx--depth-parallax .fx-depth--5{left:43%;top:5%;width:clamp(110px,11%,170px);aspect-ratio:3/4}
.fx--depth-parallax>.fx-over{z-index:3;will-change:transform}
@media (max-width:699px){
  .fx--depth-parallax{min-height:clamp(560px,100svh,760px)}
  .fx--depth-parallax .fx-depth--1{left:4%;top:5%;width:34%}
  .fx--depth-parallax .fx-depth--2{right:4%;top:11%;width:29%}
  .fx--depth-parallax .fx-depth--3{left:6%;bottom:6%;width:30%}
  .fx--depth-parallax .fx-depth--4{right:4%;bottom:10%;width:38%}
  .fx--depth-parallax .fx-depth--5{display:none}
}

/* horizon: a landscape pans while numbered facts rise. Still and no-script: the photo behind all the facts in a row. */
.fx--horizon{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;background:var(--fx-bg);color:var(--fx-ink);display:flex;flex-direction:column;justify-content:space-between}
.fx-hz__photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.fx--horizon::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 88%,transparent) 0%,color-mix(in srgb,var(--fx-bg) 35%,transparent) 42%,transparent 62%),linear-gradient(to bottom,color-mix(in srgb,var(--fx-bg) 60%,transparent),transparent 30%)}
.fx-hz__head{position:relative;z-index:2;padding:clamp(28px,8vh,88px) clamp(20px,5vw,72px) 0;max-width:720px}
.fx-hz__head span{display:block;font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--fx-accent);margin-bottom:10px}
.fx-hz__head h2{font-size:clamp(1.7rem,3.8vw,3.2rem);line-height:1.05;margin:0;max-width:18ch}
.fx-hz__facts{position:relative;z-index:2;list-style:none;margin:0;padding:24px clamp(20px,5vw,72px) clamp(36px,8vh,80px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:24px}
.fx-hz__facts li{display:grid;gap:4px;align-content:end}
.fx-hz__facts strong{display:block;font-size:clamp(2.8rem,6vw,4.6rem);line-height:.95;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.fx-hz__facts span{display:block;font-size:clamp(.95rem,1.3vw,1.15rem);opacity:.9;max-width:28ch}
.fx-hz__n{display:block;font-style:normal;font-size:.8rem;letter-spacing:.2em;color:var(--fx-accent);font-variant-numeric:tabular-nums}
.fx-hz__dots,.fx-hz__rule{display:none}

/* the held stage */
.fx--horizon.fx-pinned{display:block;min-height:0}
.fx--horizon.fx-pinned .fx-hz__photo{inset:auto;left:0;top:0;width:auto;height:auto;object-fit:fill;will-change:transform}
.fx--horizon.fx-pinned .fx-hz__head{position:absolute;left:0;top:0}
.fx--horizon.fx-pinned .fx-hz__facts{position:absolute;left:0;right:0;bottom:0;display:block;padding:0;height:100%}
.fx--horizon.fx-pinned .fx-hz__facts li{position:absolute;left:clamp(20px,5vw,72px);right:clamp(20px,5vw,72px);bottom:clamp(44px,11vh,120px);will-change:transform,opacity}
.fx-hz__mask{display:block;overflow:hidden;padding-bottom:.06em}
.fx--horizon.fx-pinned .fx-hz__facts strong{font-size:clamp(4.2rem,15vw,13rem);line-height:.9}
.fx--horizon.fx-pinned .fx-hz__mask>span{font-size:clamp(1.05rem,2vw,1.6rem);max-width:30ch}
.fx--horizon.fx-pinned .fx-hz__n{margin-bottom:6px}
.fx--horizon.fx-pinned .fx-hz__dots{display:grid;gap:10px;position:absolute;right:clamp(16px,4vw,56px);top:50%;transform:translateY(-50%);z-index:3;pointer-events:none}
.fx-hz__dots b{font-weight:500;font-size:.8rem;letter-spacing:.16em;color:var(--fx-ink);opacity:.45;transition:opacity .4s,color .4s;font-variant-numeric:tabular-nums;padding-left:22px;position:relative}
.fx-hz__dots b::before{content:"";position:absolute;left:0;top:50%;width:12px;height:1px;background:currentColor;transition:width .4s}
.fx-hz__dots b.on{opacity:1;color:var(--fx-accent)}
.fx--horizon.fx-pinned .fx-hz__rule{display:block;position:absolute;left:-80px;right:-80px;top:64%;height:12px;z-index:1;pointer-events:none;opacity:.5;background:linear-gradient(var(--fx-line),var(--fx-line)) 0 100%/100% 1px no-repeat,repeating-linear-gradient(90deg,var(--fx-line) 0 1px,transparent 1px 80px) 0 100%/100% 8px no-repeat}
@media (max-width:699px){
  .fx--horizon.fx-pinned .fx-hz__dots{top:auto;bottom:24px;right:20px;transform:none;grid-auto-flow:column}
  .fx-hz__dots b{padding-left:0}.fx-hz__dots b::before{display:none}
  .fx--horizon.fx-pinned .fx-hz__facts li{bottom:72px}
}

/* shatter: a photo bursts into shards and comes back as another. Still and no-script: the second photo with the headline. */
.fx--shatter{position:relative;min-height:80vh;min-height:80svh;overflow:hidden;background:var(--fx-bg);color:var(--fx-ink)}
.fx-shatter__from,.fx-shatter__to{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;max-width:none}
.fx-shatter__from{z-index:1}
.fx-shatter__to{z-index:0}
.fx-still .fx-shatter__from,.fx--shatter:not(.fx-on) .fx-shatter__from{visibility:hidden}
.fx-still.fx--shatter::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 75%,transparent),transparent 70%)}
.fx--shatter .fx-over{z-index:4}
.fx-shards{position:absolute;inset:0;z-index:2;transform-style:preserve-3d;pointer-events:none}
.fx-shard{position:absolute;transform-style:preserve-3d;will-change:transform}
.fx-shard>span{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.fx-shard img{position:absolute;max-width:none;object-fit:cover;display:block}
.fx-shard__b{transform:rotateY(180deg)}
.fx-shatter__veil{position:absolute;inset:0;z-index:3;background:radial-gradient(ellipse 70% 55% at 50% 50%,color-mix(in srgb,var(--fx-bg) 70%,transparent),transparent 100%),linear-gradient(to top,color-mix(in srgb,var(--fx-bg) 85%,transparent),transparent 60%);opacity:0;pointer-events:none}

/* typewriter: see typewriter.js. The letters hold their place while hidden, so nothing reflows as they type. */
.fx--typewriter{position:relative}
.fx--typewriter .fx-tw__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.fx--typewriter .fx-tw__c{opacity:0}
.fx--typewriter .fx-tw__c.on{opacity:1}
.fx--typewriter .fx-tw__caret{position:absolute;left:0;top:0;width:max(2px,.07em);height:1em;background:var(--fx-accent);pointer-events:none;animation:fx-tw-blink 1.05s steps(1) infinite}
.fx--typewriter .fx-tw__caret.fx-tw--typing{animation:none;opacity:1}
.fx--typewriter .fx-tw__caret.fx-tw--done{animation:fx-tw-blink 1.05s steps(1) 4 forwards}
@keyframes fx-tw-blink{0%{opacity:1}50%{opacity:0}100%{opacity:0}}
.fx--typewriter.fx-still .fx-tw__c{opacity:1}
.fx--typewriter.fx-still .fx-tw__caret{display:none}

/* outline-fill: see outline-fill.js */
.fx--outline-fill{font-size:clamp(3.4rem,15vw,14rem);font-weight:800;line-height:1;letter-spacing:-.035em;white-space:nowrap;margin:0}
.fx--outline-fill .fx-of__in{position:relative;display:inline-block;padding:0 .04em}
.fx--outline-fill .fx-of__base{color:transparent;-webkit-text-stroke:max(1px,.012em) var(--fx-ink)}
.fx--outline-fill .fx-of__fill{position:absolute;left:.04em;top:0;color:var(--fx-accent);-webkit-text-stroke:max(1px,.012em) var(--fx-accent);clip-path:inset(-25% 100% -25% -4%);pointer-events:none}
.fx--outline-fill .fx-of__edge{position:absolute;left:0;top:8%;bottom:4%;width:2px;margin-left:-1px;background:var(--fx-accent);box-shadow:0 0 18px 2px var(--fx-accent);opacity:0;pointer-events:none;will-change:transform,opacity}
/* finished state: filled */
.fx--outline-fill.fx-still .fx-of__fill{clip-path:none!important}
.fx--outline-fill.fx-still .fx-of__edge{display:none}
