@property --bg{syntax:'<color>';inherits:true;initial-value:#faf8f8}
@property --ink{syntax:'<color>';inherits:true;initial-value:#231f20}
@property --muted{syntax:'<color>';inherits:true;initial-value:#6b6466}
@property --line{syntax:'<color>';inherits:true;initial-value:#ebe3e5}
@property --stage{syntax:'<color>';inherits:true;initial-value:#e4e9f0}
@property --case-ink{syntax:'<color>';inherits:true;initial-value:#38536a}

.fx-hero-stage{position:relative;overflow:hidden;isolation:isolate}
.fx-hero-stage>.hero{position:relative;z-index:1}
.fx-wall{display:none}

.fx-on-wall .fx-wall{display:block;position:absolute;z-index:0;inset:-35% -25%;pointer-events:none;opacity:.5}
.fx-wall-plane{height:100%;display:flex;flex-direction:column;justify-content:center;gap:22px;transform:perspective(1400px) rotateX(28deg) rotateZ(-9deg)}
.fx-on-wall .fx-hero-stage::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 62% 70% at 50% 50%,rgb(250 248 248/.93) 35%,rgb(250 248 248/.6) 70%,rgb(250 248 248/.15) 100%),linear-gradient(180deg,rgb(250 248 248/0) 70%,var(--bg) 100%)}
.fx-wall-row{display:flex;gap:22px;width:max-content;animation:fx-drift 90s linear infinite;will-change:transform}
.fx-wall-row:nth-child(even){animation-direction:reverse;animation-duration:110s}
.fx-wall-row img{display:block;width:320px;height:200px;object-fit:cover;object-position:top;border-radius:12px;box-shadow:0 18px 40px -22px #141c3599;background:#fff}
@keyframes fx-drift{to{transform:translateX(-50%)}}

.fx-browser{width:100%;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 30px 70px -36px #0b1220cc,0 0 0 1px #0b122014;transition:none}
.fx-browser-bar{height:40px;display:flex;align-items:center;gap:8px;padding:0 14px;background:#f1f1f4;border-bottom:1px solid #e3e3e8}
.fx-browser-bar i{width:11px;height:11px;border-radius:50%;background:#ff5f57;flex-shrink:0}
.fx-browser-bar i:nth-child(2){background:#febc2e}.fx-browser-bar i:nth-child(3){background:#28c840}
.fx-address{flex:1;max-width:440px;margin:0 auto;height:24px;border-radius:999px;background:#fff;border:1px solid #e3e3e8;display:grid;place-items:center;font-size:12px;color:#6b6466;letter-spacing:.01em;transform:translateX(-22px)}
.fx-browser-view{position:relative;overflow:hidden;background:#1e1f22}
.fx-browser-view img{display:block;width:100%;height:auto;max-width:none;max-height:none;border-radius:0;box-shadow:none;transition:none}
.fx-browser--window .fx-browser-view{height:min(62vh,620px)}

.fx-tilt-figure .interface-frame,.fx-browser-host{perspective:1600px}
.fx-tilt-figure .fx-browser{will-change:transform}

html{transition:--bg .7s var(--ease),--ink .7s var(--ease),--muted .7s var(--ease),--line .7s var(--ease)}
.fx-on-bg .case-study,.fx-stack-on .case-study{border-bottom:0;border-radius:28px 28px 0 0;width:min(1280px,calc(100% - 56px));padding-inline:clamp(20px,3vw,40px)}
.fx-stack-on .case-study{position:relative;background:var(--bg);box-shadow:0 -34px 70px -30px #0b1220b3}
.fx-stack-on .case-study:first-of-type{box-shadow:0 -24px 60px -40px #0b122066}
.fx-on-bg .case-study{--bg:var(--t-bg);--ink:var(--t-ink);--muted:var(--t-muted);--line:var(--t-line);--stage:var(--t-stage);--case-ink:var(--t-accent);background:var(--t-bg);color:var(--t-ink)}
.fx-on-bg .case-study .visit-website{color:var(--t-on)}
.fx-on-bg .case-study .visit-website:hover{background:var(--t-ink);color:var(--t-bg)}
.fx-on-bg .enlarge-cue{color:#231f20}
.fx-on-bg .project-index{z-index:30;transition:border-color .7s var(--ease)}
.fx-on-bg .project-index a::after{transform:scaleX(var(--fx-p,0));transition:none;background:var(--fx-accent,var(--accent))}
.fx-on-bg .project-index .project-dot{transition:box-shadow .4s,background .4s}
.fx-on-bg .project-index a[aria-current=true] .project-dot{background:var(--fx-accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--fx-accent) 35%,transparent)}

.fx-phones .mobile-showcase{overflow:hidden}
.fx-phones .mobile-views{align-items:center}
.fx-phones .view-phone .interface-frame{position:relative;width:270px;max-width:100%;aspect-ratio:390/844;padding:0;border:10px solid #121214;border-radius:42px;background:#121214;box-shadow:0 40px 70px -34px #0b1220d9,inset 0 0 0 1px #2a2a2e;overflow:hidden}
.fx-phones .view-phone .interface-frame::before{content:'';position:absolute;z-index:2;top:9px;left:50%;width:31%;height:20px;border-radius:999px;background:#121214;transform:translateX(-50%)}
.fx-phones .view-phone .fx-original{display:none}
.fx-phones .view-phone .interface-frame>.fx-screen{position:absolute;inset:0 0 auto;width:100%;height:auto;max-height:none;border-radius:0;box-shadow:none;transition:none}
.fx-phones .view-phone .interface-frame:hover>.fx-screen{transform:none}
.fx-phones .view-phone-discovery{padding-top:0}
.fx-phones .fx-scrolling{animation:fx-read 38s ease-in-out 1.5s infinite alternate;animation-play-state:paused}
.fx-phones .fx-scrolling.is-playing{animation-play-state:running}
@keyframes fx-read{0%,6%{transform:translateY(0)}94%,100%{transform:translateY(var(--fx-travel,-60%))}}

.fx-stack-inner{transform-origin:50% 100%}


.fx-hover-target{transition:none!important}


@media(max-width:650px){
  .fx-on-wall .fx-wall{inset:-30% -60%}
  .fx-wall-plane{gap:14px}
  .fx-wall-row{gap:14px}
  .fx-wall-row img{width:200px;height:125px;border-radius:9px}
  .fx-on-wall .fx-hero-stage::after{background:radial-gradient(ellipse 90% 70% at 50% 50%,rgb(250 248 248/.94) 40%,rgb(250 248 248/.7) 80%,rgb(250 248 248/.35) 100%)}
  .fx-browser--window .fx-browser-view{height:min(56vh,440px)}
  .fx-browser-bar{height:30px;gap:6px;padding:0 10px}
  .fx-browser-bar i{width:8px;height:8px}
  .fx-address{height:19px;font-size:10px;transform:translateX(-14px)}
  .fx-phones .mobile-views{gap:16px}
  .fx-phones .view-phone .interface-frame{border-width:6px;border-radius:26px}
  .fx-phones .view-phone .interface-frame::before{top:5px;height:12px}
  .fx-on-bg .case-study,.fx-stack-on .case-study{width:calc(100% - 16px);padding-inline:12px;border-radius:20px 20px 0 0}
}
}
.fx-on-wall .fx-hero-stage>.hero-profile{padding-block:128px}
@media(max-width:650px){.fx-on-wall .fx-hero-stage>.hero-profile{padding-block:72px}}
.fx-sticky{position:sticky}
