/* One physical language: pull, bend, release. */
.hero{background-image:none;background-color:var(--purple-5);padding-top:135px}
.hero::before{content:'';position:absolute;inset:-4%;z-index:-2;background:var(--bend);transform:translate3d(var(--hero-bend-x,0px),var(--hero-bend-y,0px),0) scale(1.04);will-change:transform}
.hero-kicker{font-size:10px;letter-spacing:.035em}
.hero-copy{width:100%;padding-bottom:6vh;pointer-events:none}
.hero h1{font-family:var(--body);font-size:clamp(80px,10.8vw,270px);font-weight:700;line-height:.84;letter-spacing:-.055em;position:relative;max-width:96vw}
.hero-line{display:block;overflow:visible;white-space:nowrap}
.hero-line>span{display:inline-block;will-change:transform}
.hero-line-second{font-size:clamp(72px,8.1vw,210px);margin-left:4.2vw;margin-top:.12em;letter-spacing:-.055em}
.hero-copy>p{font-size:clamp(14px,1.2vw,22px);line-height:1.5;margin-top:40px;margin-left:4.2vw;max-width:27ch}
.hero-logo{width:28vw;max-width:690px;right:-1.5vw;top:75%;z-index:4}
.hero-tug{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:pan-y;transform-origin:50% 60%;will-change:transform}
.hero-tug:active{cursor:grabbing}
.hero-tug img{pointer-events:none;user-select:none;-webkit-user-drag:none}
.hero-play-hint{position:absolute;top:calc(100% + 20px);left:0;right:0;text-align:center;font-size:10px;pointer-events:none;transition:opacity .2s}
.hero-tug:hover+.hero-play-hint{opacity:.65}
.hero-footer{font-size:11px}
.hero-enter{width:auto;justify-self:start;min-width:190px;font-size:13px;transition:color .25s,border-color .25s}
.hero-enter:hover{color:var(--yellow)}

/* Five broad, curved bands repeat horizontally across one full-section plane. */
.intro-scene,.contact-scene{position:relative;isolation:isolate;overflow:clip;background:var(--purple-5)}
.intro-backdrop,.contact-backdrop{position:absolute;inset:0;overflow:clip;pointer-events:none;z-index:-1}
.intro-backdrop-art,.contact-backdrop-art{--band-cycle:clamp(900px,180vw,3600px);position:absolute;inset:0;background-image:url("images/flowing-purple-bands.svg");background-size:var(--band-cycle) clamp(1800px,260svh,4000px);background-repeat:repeat;background-position:0 0}
/* A screen-scaled, seamless bend stays visible on phones, even in tall pinned scenes. */
@media(max-width:899px){.intro-backdrop-art,.contact-backdrop-art{--band-cycle:clamp(1500px,300vw,2700px);background-image:url("images/flowing-purple-bands-mobile.svg");background-size:var(--band-cycle) clamp(1667px,300svh,3000px);background-repeat:repeat}}
.intro-scene .hero,.intro-scene .boomerang-services,.contact-scene .contact-section{background:transparent}
.intro-scene .hero::before,.intro-scene .hero-wash{display:none}
.intro-scene .hero-reveal,.intro-scene .hero-reveal-title,.intro-scene .hero-reveal-description,.intro-scene .hero-reveal-capabilities,.intro-scene .hero-reveal-credit{color:white}
html[data-motion=off] .intro-backdrop-art,html[data-motion=off] .contact-backdrop-art{background-position:0 0!important}
@media(prefers-reduced-motion:reduce){.intro-backdrop-art,.contact-backdrop-art{background-position:0 0!important}}

.work-heading{padding-top:clamp(95px,10vw,190px);padding-bottom:70px;background:white}
.work-reel-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative;z-index:70;background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 var(--gutter)}
.work-reel-nav button{font-size:11px;line-height:1.3;letter-spacing:0;text-align:center;padding:21px 8px;min-height:58px;color:var(--purple-5);transition:background .2s,color .2s;border-right:1px solid var(--line)}
.work-reel-nav button:first-child{border-left:1px solid var(--line)}
.work-reel-nav button[aria-pressed=true]{background:var(--purple-5);color:white}
.work-reel-nav button:hover{background:var(--purple-3);color:white}
.work-reel-nav button:focus-visible{outline-offset:-5px}
.work-media img{transition:transform .9s cubic-bezier(.2,.7,.2,1);will-change:transform}
@media(hover:hover) and (pointer:fine){.work-panel:hover .work-media img{transform:scale(1.035)}}
.panel-copy h3{letter-spacing:-.04em}
.panel-copy .project-name{font-size:clamp(18px,1.7vw,30px);font-weight:500}
.panel-copy .line-link{font-size:12px;min-width:185px}
.service{transition:flex .8s cubic-bezier(.16,1,.3,1),background .3s}
.service-toggle>span:first-child{transition:letter-spacing .5s}
.service-toggle:hover>span:first-child{letter-spacing:-.075em}
.marquee{padding-top:50px;padding-bottom:48px;background:linear-gradient(180deg,white,color-mix(in srgb,var(--purple-1) 7%,white));border:0}
.marquee-track{animation-duration:24s;gap:75px}
.marquee-track span{font-size:clamp(90px,13.5vw,300px);font-weight:600;letter-spacing:-.07em}
.marquee-track img{width:clamp(90px,11vw,210px)}
.studio-section{background:linear-gradient(180deg,color-mix(in srgb,var(--purple-1) 7%,white),white 65%)}
@media(min-width:900px) and (min-height:780px){.work-reel-nav{position:sticky;top:82px}.work-panel{padding-top:190px}.panel-copy h3{font-size:clamp(70px,9.5vw,190px)}.work-cipher .panel-copy h3{font-size:clamp(70px,7.6vw,150px)}.work-stories .panel-copy h3{font-size:clamp(80px,11.8vw,230px)}}
@media(min-width:1800px){.hero{padding-top:165px}.hero-copy{padding-bottom:5vh}.hero-play-hint{font-size:12px}.work-reel-nav button{font-size:13px}}
@media(max-width:1100px){.hero h1{font-size:10.5vw}.hero-line-second{font-size:8.1vw}.hero-logo{width:30vw;right:-1vw;top:75%}.hero-copy>p{font-size:15px}}
@media(max-width:899px){.hero{padding-top:125px;min-height:760px}.hero-copy{padding-bottom:0}.hero h1{font-size:12.7vw;line-height:.88;letter-spacing:-.055em}.hero-line-second{font-size:10.7vw;margin-left:0;margin-top:.12em}.hero-copy>p{margin-left:0;margin-top:27px;font-size:15px}.hero-logo{width:30vw;right:0;top:auto;bottom:38px;transform:none}.hero-inner{padding-bottom:205px;justify-content:center}.hero-play-hint{top:calc(100% + 10px)}.hero-footer{grid-template-columns:1fr 1fr}.work-reel-nav{padding:0 var(--gutter)}.work-reel-nav button{font-size:10px;min-height:54px;padding:17px 5px}.marquee-track{gap:36px}.marquee-track span{font-size:15vw}}
@media(max-width:600px){.hero{height:100svh;min-height:780px;padding-top:115px}.hero-inner{padding-top:55px;padding-bottom:205px;justify-content:flex-start}.hero h1{font-size:13vw;line-height:.9;white-space:normal}.hero-line-second{font-size:10.9vw;letter-spacing:-.055em;margin-top:.2em}.hero-copy>p{font-size:15px;max-width:27ch;margin-top:26px}.hero-logo{width:46vw;right:0;bottom:35px;max-width:230px}.hero-play-hint{font-size:9px;top:calc(100% + 8px)}.hero-enter{font-size:11px;min-width:165px}.hero-kicker{font-size:9px}.work-heading{padding-top:85px;padding-bottom:55px}.work-reel-nav{padding:0;grid-template-columns:repeat(4,minmax(0,1fr))}.work-reel-nav button{font-size:9px;padding:15px 4px;min-height:50px}.work-reel-nav button:first-child{border-left:0}.work-reel-nav button:last-child{border-right:0}.marquee{padding-top:35px;padding-bottom:35px}.marquee-track{gap:30px}.marquee-track span{font-size:78px}.marquee-track img{width:85px}}
@media(min-width:900px) and (max-height:779px){.hero{min-height:680px;padding-top:115px}.hero h1{font-size:min(10.8vw,18vh)}.hero-line-second{font-size:min(8.1vw,15vh)}.hero-logo{width:24vw;top:75%}.hero-copy>p{margin-top:25px}.hero-play-hint{top:calc(100% + 8px)}}
html[data-motion=off] .hero::before{transform:none}
@media(prefers-reduced-motion:reduce){.hero::before{transform:none}}

/* The purple opening resolves into a composed view of the work. */
.hero-reveal{display:none;position:absolute;inset:0;z-index:3;opacity:0;visibility:hidden;pointer-events:none;color:var(--purple-5)}
.hero-reveal-copy{position:absolute;left:var(--gutter);top:27%;width:48vw}
.hero-reveal-title{font-family:var(--display);font-size:clamp(64px,7.1vw,180px);font-weight:600;line-height:.92;letter-spacing:-.045em}
.hero-reveal-line{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em;white-space:nowrap}
.hero-reveal-line>span{display:block;will-change:transform}
.hero-reveal-description{font-size:clamp(15px,1.3vw,24px);line-height:1.5;margin-top:32px;color:var(--ink)}
.hero-reveal-photo{position:absolute;margin:0;padding:10px 10px 0;background:white;border:1px solid rgb(60 0 255 / .09);box-shadow:0 22px 70px rgb(37 0 96 / .16);will-change:transform}
.hero-reveal-photo img{width:100%;height:calc(100% - 32px);object-fit:cover}
.hero-reveal-photo figcaption{height:32px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--ink)}
.hero-reveal-photo figcaption>span{font-size:8px}
.hero-reveal-photo--starface{left:59vw;top:17%;width:24vw;height:44%;transform:rotate(-7deg)}
.hero-reveal-photo--starface img{object-position:57% 46%}
.hero-reveal-photo--blip{left:73.5vw;top:42.5%;width:22vw;height:42%;transform:rotate(8deg)}
.hero-reveal-photo--blip img{object-position:56% 53%}
.hero-reveal-capabilities,.hero-reveal-credit{position:absolute;bottom:43px;font-size:11px;line-height:1.4}
.hero-reveal-capabilities{left:var(--gutter)}
.hero-reveal-credit{right:var(--gutter);color:var(--ink)}
@media(min-width:900px) and (min-height:780px){html[data-motion=on] .hero-reveal{display:block}}
@media(min-width:1800px){.hero-reveal-photo{padding:15px 15px 0}.hero-reveal-photo img{height:calc(100% - 42px)}.hero-reveal-photo figcaption{height:42px;font-size:13px}.hero-reveal-photo figcaption>span{font-size:10px}.hero-reveal-capabilities,.hero-reveal-credit{font-size:13px}.hero-reveal-description{margin-top:42px}}

.menu-backdrop{display:none}
body.menu-open{overflow:hidden}
@media(max-width:600px){
  .site-header.menu-open{background:white;color:var(--ink);backdrop-filter:none}
  .site-header.menu-open::before{content:'';position:absolute;inset:0;background:white;z-index:1;pointer-events:none}
  .site-header.menu-open .nav-logo{z-index:2}
  .site-header.menu-open .nav-logo-black{opacity:1}
  .site-header.menu-open .nav-logo-white{opacity:0}
  .menu-toggle{min-width:48px;min-height:44px;text-align:right;position:relative;z-index:2}
  .menu-toggle[aria-expanded=true]{font-size:32px;font-weight:300;line-height:1;text-align:center;padding:0;border-bottom:0}
  .mobile-nav:not([hidden]){display:flex;position:absolute;top:100%;left:0;right:0;height:min(620px,calc(100dvh - 100px));padding:27px var(--gutter) max(30px,env(safe-area-inset-bottom));background:var(--bend);color:white;border:0;border-radius:0 0 28px 28px;box-shadow:0 20px 55px rgb(29 0 76 / .22);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;transform-origin:50% 0;will-change:transform;gap:20px}
  .mobile-nav-intro{font-size:11px;line-height:1.5;margin:0;flex:none}
  .mobile-nav-links{display:flex;flex:1;flex-direction:column;justify-content:center}
  .mobile-nav a{font-family:var(--body);font-size:clamp(32px,10.8vw,58px);font-weight:500;letter-spacing:-.045em;line-height:1.08;padding:15px 0;border-bottom:1px solid rgb(255 255 255 / .25);color:white;flex:none;will-change:transform}
  .mobile-nav a:last-child{color:var(--yellow);border-bottom:0}
  .mobile-nav a:focus-visible{outline-color:var(--yellow);outline-offset:4px}
  .mobile-nav-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-top:8px;flex:none}
  .mobile-nav-footer p{font-size:11px;line-height:1.6;margin:0}
  .mobile-nav-footer img{width:86px;height:auto}
  .menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:99;background:rgb(18 0 42 / .38);backdrop-filter:blur(5px);touch-action:none}
}
@media(max-width:600px) and (max-height:680px){.mobile-nav:not([hidden]){padding-top:20px;padding-bottom:22px;gap:12px}.mobile-nav a{font-size:clamp(30px,9.5vw,44px);padding:10px 0}.mobile-nav-footer img{width:65px}}

/* A single, touch-led reel replaces the long mobile project stack. */
.work-reel-footer,.work-hint-mobile{display:none}
.work-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:899px){
  .work-hint-desktop{display:none}
  .work-hint-mobile{display:inline}
  .work-reel-nav{position:sticky;top:76px;padding:0;background:white}
  .work-reel-nav button{min-height:50px;padding:15px 4px}
  .work-deck,html[data-motion=off] .work-deck{display:grid;grid-auto-flow:column;grid-auto-columns:100%;align-items:stretch;gap:12px;width:100%;padding:0 24px 0 0;height:auto!important;overflow-x:auto!important;overflow-y:hidden!important;position:relative!important;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;overscroll-behavior-x:contain;background:var(--purple-5);scroll-margin-top:126px}
  .work-deck::-webkit-scrollbar{display:none}
  .work-deck:focus-visible{outline:3px solid var(--cyan);outline-offset:-3px}
  .work-panel{width:100%;min-width:0;height:auto;min-height:clamp(550px,calc(100svh - 204px),760px);padding:26px 24px 22px;gap:22px;scroll-snap-align:start;scroll-snap-stop:always;flex-shrink:0;border-right:1px solid rgb(255 255 255 / .15)}
  .panel-top{padding-bottom:16px;font-size:9px;gap:16px;align-items:flex-start}
  .panel-top>span{max-width:48%}
  .panel-top>span:last-child{text-align:right}
  .panel-copy{padding:10px 0}
  .panel-copy h3,.work-cipher .panel-copy h3,.work-stories .panel-copy h3{font-size:clamp(52px,16.2vw,108px);line-height:.9;max-width:100%;margin-bottom:22px}
  .panel-copy .project-name{font-size:17px;margin-bottom:7px}
  .panel-copy p{font-size:12px;line-height:1.55}
  .panel-copy .line-link{min-width:0;min-height:44px;font-size:11px;padding:12px 0;margin-top:15px}
  .panel-bottom{gap:18px;font-size:8px;align-items:flex-end}
  .panel-bottom p{max-width:55%}
  .panel-bottom p:last-child{text-align:right}
  .work-cipher .cipher-metric{font-size:42vw;right:14px;top:auto;bottom:20%;opacity:.6}
  .work-stories{gap:18px;background:linear-gradient(140deg,white 30%,color-mix(in srgb,var(--purple-1) 24%,white))}
  .work-stories .panel-copy{padding-bottom:0}
  .stories-note{position:static;padding:0;font-size:9px;line-height:1.4}
  .stories-note strong{font-size:clamp(17px,4.6vw,27px);margin-top:8px;line-height:1.3;max-width:22ch}
  .stories-note>span{font-size:8px;margin-top:9px}
  .work-reel-footer{display:flex;align-items:center;gap:20px;padding:22px var(--gutter);color:var(--purple-5);border-bottom:1px solid var(--line);background:white}
  .work-count{font-family:var(--display);font-size:32px;line-height:1;letter-spacing:-.05em;white-space:nowrap}
  .work-total{font-family:var(--body);font-size:11px;letter-spacing:0;color:var(--ink)}
  .work-progress{height:3px;flex:1;overflow:hidden;background:var(--line)}
  .work-progress-fill{display:block;width:100%;height:100%;background:var(--purple-5);transform:scaleX(.25);transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
  .work-swipe-label{font-size:9px;white-space:nowrap}
}
@media(min-width:601px) and (max-width:899px){
  .work-panel{padding:32px 42px;min-height:650px}
  .panel-copy h3,.work-cipher .panel-copy h3,.work-stories .panel-copy h3{font-size:clamp(80px,12.5vw,108px)}
  .panel-copy p{font-size:14px}
  .panel-top,.panel-bottom{font-size:10px}
}
@media(max-width:370px){
  .work-panel{padding:22px 20px;gap:18px}
  .panel-copy h3,.work-cipher .panel-copy h3,.work-stories .panel-copy h3{font-size:15.8vw;margin-bottom:18px}
  .panel-copy p{font-size:11px}
  .panel-top{font-size:8px}
  .work-reel-footer{gap:14px;padding-top:18px;padding-bottom:18px}
}
html[data-motion=off] .work-progress-fill{transition:none}
@media(prefers-reduced-motion:reduce){.work-progress-fill{transition:none}}

/* On portrait screens, vertical scrolling carries one viewport-sized project reel. */
.work-instruction-swipe{display:inline}
.work-instruction-scroll{display:none}
@media(max-width:899px) and (min-height:620px){
  .work-section[data-work-mode=scroll] .work-stage{position:relative;display:flex;flex-direction:column;width:100%;height:calc(100svh - 76px);min-height:0;overflow:hidden;background:white;touch-action:pan-y}
  .work-section[data-work-mode=scroll] .work-reel-nav{position:static;top:auto;flex:0 0 50px;height:50px;min-height:50px;padding:0}
  .work-section[data-work-mode=scroll] .work-reel-nav button{height:50px;min-height:50px;padding:10px 4px}
  .work-section[data-work-mode=scroll] .work-deck{display:block;flex:1 1 0;width:100%;height:0!important;min-height:0;position:relative!important;overflow:hidden!important;padding:0;gap:0;scroll-snap-type:none;scroll-padding:0;scroll-margin-top:0;overscroll-behavior:auto;touch-action:pan-y}
  .work-section[data-work-mode=scroll] .work-panel{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:100%;padding:clamp(16px,2.6svh,28px) var(--gutter);gap:clamp(8px,1.6svh,18px);scroll-snap-align:none;scroll-snap-stop:normal;border-right:0;touch-action:pan-y}
  .work-section[data-work-mode=scroll] .panel-top{padding-bottom:10px;font-size:8.5px;line-height:1.4;gap:14px}
  .work-section[data-work-mode=scroll] .panel-copy{padding:0}
  .work-section[data-work-mode=scroll] .panel-copy h3{font-size:clamp(42px,min(14vw,8.2svh),96px);line-height:.92;margin-bottom:14px;max-width:100%}
  .work-section[data-work-mode=scroll] .work-cipher .panel-copy h3{font-size:clamp(40px,min(13.4vw,7.8svh),90px);margin-bottom:12px}
  .work-section[data-work-mode=scroll] .panel-copy p{font-size:12px;line-height:1.45}
  .work-section[data-work-mode=scroll] .panel-copy .project-name{font-size:15px;line-height:1.4;margin-bottom:5px}
  .work-section[data-work-mode=scroll] .panel-copy .line-link{min-height:44px;min-width:0;margin-top:8px;padding:11px 0;font-size:11px}
  .work-section[data-work-mode=scroll] .panel-bottom{font-size:8px;line-height:1.4;gap:16px}
  .work-section[data-work-mode=scroll] .panel-bottom p:first-child{max-width:62%}
  .work-section[data-work-mode=scroll] .panel-bottom p:last-child{max-width:42%}
  .work-section[data-work-mode=scroll] .work-cipher .cipher-metric{font-size:clamp(110px,38vw,260px);bottom:20%;right:var(--gutter)}
  .work-section[data-work-mode=scroll] .work-stories{gap:8px}
  .work-section[data-work-mode=scroll] .stories-note{position:static;padding:0;font-size:9px;line-height:1.4}
  .work-section[data-work-mode=scroll] .stories-note strong{font-size:clamp(16px,4.3vw,22px);line-height:1.2;max-width:none;margin-top:5px}
  .work-section[data-work-mode=scroll] .stories-note strong br{display:none}
  .work-section[data-work-mode=scroll] .stories-note>span{font-size:8px;line-height:1.4;margin-top:4px}
  .work-section[data-work-mode=scroll] .work-reel-footer{display:flex;flex:0 0 58px;height:58px;min-height:58px;gap:14px;padding:10px var(--gutter);overflow:hidden}
  .work-section[data-work-mode=scroll] .work-count{font-size:28px}
  .work-section[data-work-mode=scroll] .work-progress{min-width:0}
  .work-section[data-work-mode=scroll] .work-progress-fill{transition:none}
  .work-section[data-work-mode=scroll] .work-swipe-label{font-size:9px}
  .work-section[data-work-mode=scroll] .work-instruction-swipe{display:none}
  .work-section[data-work-mode=scroll] .work-instruction-scroll{display:inline}
}
