/* Portfolio motion layer. Content remains usable without JavaScript. */
body.ff-motion .ff-role{font-size:clamp(20px,1.9vw,26px);line-height:1.35;letter-spacing:-.035em;font-weight:500;max-width:33ch;margin:24px 0 14px;color:var(--ff-paper)}
body.ff-motion .ff-product{background:#18191b;border-top:1px solid var(--motion-line)}
body.ff-motion .ff-product .ff-head{max-width:1340px}
body.ff-motion .ff-product h2{max-width:22ch}
body.ff-motion .ff-product .ff-lead{max-width:65ch;font-size:18px;line-height:1.75;color:#bcbcb9;opacity:1}
body.ff-motion :is(.ff-product-grid,.ff-expertise-grid){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:44px;margin-bottom:44px}
body.ff-motion :is(.ff-product-card,.ff-expertise){margin:0;padding:25px 0 0;border-top:1px solid #494a4c;min-width:0}
body.ff-motion :is(.ff-product-card,.ff-expertise) h3{font-size:clamp(21px,2vw,27px);line-height:1.2;font-weight:500;letter-spacing:-.035em;margin:15px 0}
body.ff-motion :is(.ff-product-card,.ff-expertise) p{font-size:15px;line-height:1.8;color:#bcbcb9}
body.ff-motion .ff-product-card .ff-product-num{color:#ff727b;font:11px 'Fira Code',monospace}
body.ff-motion .ff-tech-label{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#bcbcb9;margin-top:48px}
body.ff-motion .ff-education{font-size:13px;line-height:1.8;margin-top:32px;color:#555653}
body.ff-motion .ff-contact-detail{font-size:16px;color:#bcbcb9;line-height:1.7;max-width:50ch}
@media(max-width:781px){body.ff-motion :is(.ff-product-grid,.ff-expertise-grid){grid-template-columns:1fr;gap:20px}body.ff-motion .ff-role{max-width:33ch;font-size:21px}body.ff-motion .ff-product .ff-lead{font-size:16px}}
@media(prefers-reduced-motion:no-preference){html:has(body.ff-motion-enabled){scroll-behavior:smooth}}
body.ff-motion{--ff-red:#f13b46;--ff-ink:#101112;--ff-paper:#f2efe9;--ff-sand:#e6e2da;--motion-line:rgba(242,239,233,.17);background:var(--ff-ink);font-weight:400;overflow-x:clip}
body.ff-motion ::selection{background:var(--ff-red);color:#fff}
body.ff-motion .wp-site-blocks>header{position:relative;z-index:20}
body.ff-motion .ff-header{background:#101112;border-bottom:1px solid var(--motion-line)}
body.ff-motion .ff-header>.alignwide{min-height:42px;gap:24px}
body.ff-motion .wp-block-site-title{font-size:19px;letter-spacing:-.06em;white-space:nowrap}
body.ff-motion .wp-block-site-title a:after{content:'.';color:var(--ff-red);font-size:1.4em}
body.ff-motion .ff-header a:hover{color:#ff727b}
body.ff-motion .ff-nav{display:flex;gap:27px;align-items:center;margin-left:auto!important;font-size:12px;font-weight:600;letter-spacing:.02em}
body.ff-motion .ff-nav a{text-decoration:none;position:relative;padding:8px 0}
body.ff-motion .ff-nav a:after{content:'';position:absolute;bottom:2px;left:0;width:100%;height:1px;background:var(--ff-red);transform:scaleX(0);transform-origin:left;transition:transform .3s}
body.ff-motion .ff-nav a:hover:after{transform:scaleX(1)}
body.ff-motion .ff-motion-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;padding:0;border:1px solid #606163;border-radius:50%;background:transparent;color:var(--ff-paper);font:13px Manrope,sans-serif;cursor:pointer}
body.ff-motion .ff-motion-toggle:hover{background:var(--ff-paper);color:var(--ff-ink)}
body.ff-motion :is(a,button):focus-visible{outline:2px solid #ff727b;outline-offset:6px}
body.ff-motion .ff-progress{height:2px;position:fixed;inset:0 0 auto;background:var(--ff-red);transform:scaleX(0);transform-origin:left;z-index:100;pointer-events:none}
body.ff-motion .ff-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(48px,7vw,108px) var(--wp--style--root--padding-right) 42px!important;background:#101112}
body.ff-motion .ff-hero:before{content:'';position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(to right,transparent,#000)}
body.ff-motion .ff-hero:after{content:'';position:absolute;z-index:-1;right:-16%;top:-42%;width:75vw;height:75vw;max-width:1100px;max-height:1100px;border-radius:50%;background:radial-gradient(ellipse,rgba(241,59,70,.19),transparent 63%);pointer-events:none}
body.ff-motion .ff-hero-cols{position:relative;align-items:center!important;gap:6%!important;margin-bottom:0;min-height:510px}
body.ff-motion .ff-hero-cols>.wp-block-column:first-child{flex-basis:57%!important;position:relative;z-index:2}
body.ff-motion .ff-hero-cols>.wp-block-column:last-child{flex-basis:37%!important;position:relative;perspective:1100px}
body.ff-motion .ff-eyebrow{font-size:11px;letter-spacing:.2em;font-weight:700;color:var(--ff-red)!important}
body.ff-motion .ff-hero .ff-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:24px}
body.ff-motion .ff-hero .ff-eyebrow:before{content:'';width:7px;height:7px;flex:none;background:var(--ff-red);border-radius:50%;box-shadow:0 0 16px rgba(241,59,70,.6)}
body.ff-motion .ff-name{font-size:clamp(76px,11.6vw,166px)!important;line-height:.88!important;letter-spacing:-.075em!important;font-weight:600;margin:0 0 30px!important}
body.ff-motion .ff-name-line{display:block;overflow:hidden;padding:0 .1em .13em 0;margin-bottom:-.13em}
body.ff-motion .ff-name-word{display:block;transform-origin:0 100%}
body.ff-motion .ff-name-line:last-child .ff-name-word{color:transparent;-webkit-text-stroke:1px #f2efe9}
body.ff-motion .ff-hero .ff-lead{max-width:39ch;font-size:clamp(16px,1.45vw,19px);line-height:1.65;color:#bcbcb9;opacity:1;margin-bottom:28px}
body.ff-motion .ff-photo{position:relative;margin:0!important;transform:rotate(3deg);transform-style:preserve-3d;transition:transform .4s ease-out}
body.ff-motion .ff-photo:before{content:'';position:absolute;inset:18px -18px -18px 18px;border:1px solid rgba(241,59,70,.65);z-index:-1;transition:transform .5s}
body.ff-motion .ff-photo:after{content:'FF / 01';position:absolute;right:15px;bottom:16px;color:#fff;font:10px 'Fira Code',monospace;letter-spacing:.14em;padding:8px 11px;border:1px solid rgba(255,255,255,.4);background:rgba(16,17,18,.45)}
body.ff-motion .ff-photo img{display:block;width:100%;aspect-ratio:4/5;max-height:610px;object-fit:cover;border-radius:0;box-shadow:none;filter:grayscale(1) contrast(1.07);transition:filter .7s ease}
body.ff-motion .ff-photo:hover img{filter:grayscale(0) contrast(1.02)}
body.ff-motion .ff-orbit{position:absolute;z-index:-1;inset:-30px;border:1px solid rgba(242,239,233,.14);border-radius:50%;transform:rotate(-25deg);pointer-events:none}
body.ff-motion .ff-orbit:after{content:'';width:11px;height:11px;background:var(--ff-red);border:5px solid #101112;border-radius:50%;position:absolute;top:12%;left:12%}
body.ff-motion .ff-hero .wp-block-button__link{font-size:13px;padding:15px 23px;border-radius:2px;transition:background .25s,color .25s,border-color .25s,box-shadow .25s;will-change:auto}
body.ff-motion .ff-btn-red .wp-block-button__link{border:1px solid var(--ff-red);background:var(--ff-red);color:#101112}
body.ff-motion .ff-btn-red .wp-block-button__link:after{content:'↗';display:inline-block;margin-left:24px;font-size:18px;line-height:.8;transition:transform .25s}
body.ff-motion .ff-btn-red .wp-block-button__link:hover{background:#ff6972;border-color:#ff6972;box-shadow:0 8px 32px #f13b4625}
body.ff-motion .ff-btn-red .wp-block-button__link:hover:after{transform:translate(3px,-3px)}
body.ff-motion .ff-dark .is-style-outline .wp-block-button__link{border:1px solid #626366;color:#f2efe9;background:transparent}
body.ff-motion .ff-dark .is-style-outline .wp-block-button__link:hover{background:#f2efe9;color:#101112;border-color:#f2efe9}
body.ff-motion .ff-hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1340px;margin:64px auto 0!important;border-top:1px solid var(--motion-line);padding-top:23px;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#a7a8a5}
body.ff-motion .ff-scroll-link{display:flex;align-items:center;gap:18px;color:#f2efe9;text-decoration:none;font-size:11px;letter-spacing:.1em}
body.ff-motion .ff-scroll-link span{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid #646568;border-radius:50%;font-size:16px}
body.ff-motion .ff-strip{background:#18191b;color:var(--ff-paper);border-bottom:1px solid var(--motion-line);padding:35px var(--wp--style--root--padding-right)!important}
body.ff-motion .ff-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:30px!important}
body.ff-motion .ff-stat{border-left:1px solid var(--motion-line);padding-left:26px;position:relative}
body.ff-motion .ff-stat:first-child{padding-left:0;border:0}
body.ff-motion .ff-stat-big{font-size:clamp(27px,3.2vw,45px);font-weight:500;letter-spacing:-.05em}
body.ff-motion .ff-stat-small{font-size:12px;opacity:1;color:#a9aaa8;margin-top:7px}
body.ff-motion .ff-section{position:relative;padding:clamp(76px,10vw,150px) var(--wp--style--root--padding-right)!important;scroll-margin-top:30px}
body.ff-motion :is(#chi-sono,#about){background:var(--ff-paper);color:var(--ff-ink)}
body.ff-motion :is(#chi-sono,#about,.ff-alt) :is(.ff-eyebrow,.ff-section-index){color:#a51e29!important}
body.ff-motion .ff-section h2{font-size:clamp(34px,4.4vw,64px);font-weight:500;letter-spacing:-.055em;line-height:1.08;margin-bottom:28px}
body.ff-motion .ff-about-cols{gap:8%!important;align-items:center!important}
body.ff-motion .ff-about-cols>.wp-block-column:first-child{flex-basis:40%!important}
body.ff-motion .ff-about-cols>.wp-block-column:last-child{flex-basis:52%!important}
body.ff-motion .ff-about-cols p:not(.ff-eyebrow){font-size:16px;line-height:1.85;color:#555653}
body.ff-motion .ff-bench{position:relative;overflow:hidden;margin:0;aspect-ratio:4/5}
body.ff-motion .ff-bench img{height:115%;width:100%;max-width:none;aspect-ratio:auto;object-fit:cover;border-radius:0;filter:grayscale(1);transform:translateY(-5%)}
body.ff-motion .ff-section-index{display:block;color:var(--ff-red);font:11px 'Fira Code',monospace;letter-spacing:.07em;margin:0 0 34px}
body.ff-motion .ff-skills-dark{overflow:hidden;isolation:isolate}
body.ff-motion .ff-skills-dark:before{content:'';position:absolute;z-index:-1;width:65vw;height:65vw;max-width:800px;max-height:800px;right:-25vw;top:-10vw;border:1px solid #343538;border-radius:50%;box-shadow:0 0 0 70px #101112,0 0 0 71px #242527,0 0 0 140px #101112,0 0 0 141px #202123}
body.ff-motion .ff-skills-dark .ff-head{position:relative}
body.ff-motion .ff-skills-dark .ff-lead{font-size:17px;line-height:1.75;color:#bcbcb9;opacity:1;max-width:55ch}
body.ff-motion .ff-tags{gap:12px!important;position:relative;margin-top:44px}
body.ff-motion .ff-tag{font-weight:400;font-size:clamp(16px,2.1vw,27px);letter-spacing:-.03em;border:1px solid #494a4c;padding:.65em 1em;border-radius:3px;background:#10111280;transition:transform .3s,border-color .3s,background .3s,color .3s}
body.ff-motion .ff-tag:nth-child(-n+5){border-color:#6c3439}
body.ff-motion .ff-tag:hover{transform:translateY(-5px) rotate(-2deg);color:#101112;background:var(--ff-red);border-color:var(--ff-red)}
body.ff-motion .ff-alt{background:var(--ff-sand);color:var(--ff-ink)}
body.ff-motion .ff-row{padding:30px 0;transition:padding .35s,background .35s;align-items:baseline!important}
body.ff-motion .ff-row:hover{padding-left:16px;padding-right:16px;background:#ffffff40}
body.ff-motion .ff-row h3{font-size:clamp(20px,2vw,28px);font-weight:500;letter-spacing:-.035em}
body.ff-motion .ff-row p{font-size:15px;line-height:1.7;opacity:1;color:#555653}
body.ff-motion .ff-row .ff-year{font:12px 'Fira Code',monospace;color:#a51e29}
body.ff-motion .ff-contact{position:relative;isolation:isolate;overflow:hidden;padding:clamp(80px,11vw,160px) var(--wp--style--root--padding-right)!important;scroll-margin-top:30px}
body.ff-motion .ff-contact:before{content:'';position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 90% 100%,#f13b4624,transparent 60%)}
body.ff-motion .ff-big{font-size:clamp(60px,12vw,170px)!important;font-weight:500;letter-spacing:-.07em!important;margin:24px 0!important}
body.ff-motion .ff-contact .ff-lead{font-size:17px;max-width:50ch;color:#bcbcb9;opacity:1}
body.ff-motion .ff-email{font-size:clamp(22px,4vw,49px);letter-spacing:-.045em;font-weight:400;margin-top:48px}
body.ff-motion .ff-email a{display:inline-block;border-bottom:1px solid #f13b46;padding-bottom:12px;transition:color .3s;overflow-wrap:anywhere}
body.ff-motion .ff-email a:after{content:'↗';display:inline-block;margin-left:30px;color:var(--ff-red);transition:transform .3s}
body.ff-motion .ff-email a:hover:after{transform:translate(5px,-5px)}
body.ff-motion .ff-footer p{font-size:11px!important;opacity:1;color:#a7a8a5;line-height:1.8}
body.ff-motion .ff-footer a{color:inherit}
body.ff-motion.ff-motion-enabled .ff-name-word{animation:ff-type-in 1.2s cubic-bezier(.16,1,.3,1) both}
body.ff-motion.ff-motion-enabled .ff-name-line:last-child .ff-name-word{animation-delay:.12s}
body.ff-motion.ff-motion-enabled .ff-hero:after{animation:ff-ambient 16s ease-in-out infinite alternate}
body.ff-motion.ff-motion-enabled .ff-orbit{animation:ff-orbit 32s linear infinite}
body.ff-motion.ff-motion-enabled .ff-scroll-link span{animation:ff-scroll 2.8s ease-in-out infinite}
@keyframes ff-type-in{from{transform:translateY(115%) rotate(5deg)}to{transform:translateY(0) rotate(0)}}
@keyframes ff-ambient{from{transform:translate(-6%,3%) scale(.8);opacity:.55}to{transform:translate(5%,12%) scale(1.15);opacity:1}}
@keyframes ff-orbit{from{transform:rotate(-25deg)}to{transform:rotate(335deg)}}
@keyframes ff-scroll{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@media(min-width:1600px){body.ff-motion .ff-hero{padding-top:90px!important}body.ff-motion .ff-hero-cols{min-height:580px}}
@media(max-width:1000px){body.ff-motion .ff-nav{gap:18px}body.ff-motion .ff-name{font-size:clamp(76px,12vw,120px)!important}body.ff-motion .ff-hero-cols{min-height:440px}body.ff-motion .ff-hero .ff-lead{font-size:16px}}
@media(max-width:781px){body.ff-motion .ff-header>.alignwide{gap:14px;padding-top:16px!important;padding-bottom:16px!important}body.ff-motion .ff-nav{gap:16px}body.ff-motion .ff-nav a:not(:last-child){display:none}body.ff-motion .ff-header .has-small-font-size{font-size:11px!important}body.ff-motion .ff-hero{padding-top:48px!important}body.ff-motion .ff-hero-cols{flex-wrap:wrap!important;gap:40px!important;min-height:auto}body.ff-motion .ff-hero-cols>.wp-block-column:first-child,body.ff-motion .ff-hero-cols>.wp-block-column:last-child{flex-basis:100%!important}body.ff-motion .ff-name{font-size:clamp(80px,20vw,145px)!important}body.ff-motion .ff-hero .ff-lead{max-width:44ch}body.ff-motion .ff-hero-cols>.wp-block-column:last-child{max-width:420px;margin:12px auto 20px!important;width:80%}body.ff-motion .ff-photo img{max-height:460px;aspect-ratio:4/4.5;object-position:center 28%}body.ff-motion .ff-orbit{inset:-18px}body.ff-motion .ff-hero-bottom{margin-top:34px!important;font-size:9px}body.ff-motion .ff-about-cols{flex-wrap:wrap!important;gap:40px!important}body.ff-motion .ff-about-cols>.wp-block-column:first-child,body.ff-motion .ff-about-cols>.wp-block-column:last-child{flex-basis:100%!important}body.ff-motion .ff-bench{aspect-ratio:5/4;max-height:480px}body.ff-motion .ff-section h2{max-width:18ch}body.ff-motion .ff-stats{gap:16px!important}body.ff-motion .ff-stat{padding-left:16px}body.ff-motion .ff-stat-big{font-size:26px}body.ff-motion .ff-stat-small{font-size:11px}body.ff-motion .ff-row{gap:12px!important}body.ff-motion .ff-email a:after{margin-left:14px}body.ff-motion .ff-footer .alignwide{gap:12px}}
@media(max-width:420px){body.ff-motion{--wp--style--root--padding-right:22px;--wp--style--root--padding-left:22px}body.ff-motion .ff-nav{margin-left:auto!important}body.ff-motion .ff-nav a{display:none}body.ff-motion .ff-header>.alignwide{gap:12px}body.ff-motion .ff-motion-toggle{width:30px;height:30px}body.ff-motion .ff-hero .wp-block-buttons{gap:12px}body.ff-motion .ff-hero .wp-block-button__link{padding:14px 19px}body.ff-motion .ff-stat-big{font-size:23px}body.ff-motion .ff-stat-small{font-size:10px}body.ff-motion .ff-stats{gap:12px!important}body.ff-motion .ff-stat{padding-left:12px}body.ff-motion .ff-email{font-size:23px}}
body.ff-motion.ff-motion-paused *,body.ff-motion.ff-motion-paused *:before,body.ff-motion.ff-motion-paused *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:420px){body.ff-motion .ff-stat-small{font-size:11px}}
@media(prefers-reduced-motion:reduce){body.ff-motion *,body.ff-motion *:before,body.ff-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
