/* Attaboy: an opening built from type, followed by the work. */
.home-page{overflow-x:clip}
.home-page nav{position:relative;z-index:2}
.home-page .motion-hero{padding:0 0 90px}
.motion-opening{min-height:calc(100svh - 100px);display:flex;flex-direction:column;justify-content:space-between;padding:28px 0 25px;gap:50px}
.motion-opening-top,.motion-opening-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:.875rem;line-height:1.5}
.motion-opening-top{color:var(--muted)}
.motion-opening-top>span:last-child{text-align:right}
.motion-opening-main{width:100%;padding-top:8vh}
.motion-disciplines{display:flex;justify-content:space-between;gap:20px;font-size:.875rem;margin-bottom:18px}
.home-page .motion-wordmark{display:flex;justify-content:space-between;align-items:baseline;width:100%;font-family:Attaboy Sans,Arial,sans-serif;font-size:23.2vw;font-weight:700;line-height:.82;letter-spacing:-.075em;margin:0 0 0 -.014em;padding:0;user-select:none}
.wordmark-mask{display:block;overflow:hidden;padding:.09em .025em .13em;margin:0 -.025em -.13em}
.wordmark-mask>span{display:block;animation:attaboy-enter 1.15s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--letter)*55ms + 80ms)}
.motion-opening-bottom{margin-top:20px}
.motion-opening-bottom>a{text-decoration:none;display:inline-flex;align-items:center;gap:15px;padding:10px 0}
.scroll-stem{display:inline-block;height:30px;width:1px;background:currentColor;transform-origin:top;animation:attaboy-stem 2.6s ease-in-out infinite}
.home-page .motion-hero .portfolio-mosaic{margin-top:0;margin-bottom:75px;transform:scale(var(--work-scale,1));transform-origin:center;will-change:transform}
.home-page .motion-hero .hero-bottom{padding:0 0 30px;gap:7vw;align-items:center}
.home-page .motion-manifesto{font-size:clamp(3rem,5.6vw,6.5rem);line-height:1.02;letter-spacing:-.055em;margin:0}
.scroll-word{display:inline-block;color:var(--ink)}
.motion-on .scroll-word{color:rgb(245 245 242 / var(--word-opacity,1));will-change:color}
.motion-heading{transform:translate3d(0,var(--heading-y,0px),0);opacity:var(--heading-opacity,1);will-change:transform,opacity}
.motion-on .motion-heading{transition:none}
.motion-feature{transform:translate3d(0,var(--feature-y,0px),0);will-change:transform}
.home-page .archive-mixes-context,.home-page .archive-mixes-copy>p,.home-page .service-intro>p{font-size:1rem}
.home-page a:focus-visible{outline:2px solid var(--ink);outline-offset:6px}
@keyframes attaboy-enter{from{transform:translate3d(0,115%,0) rotate(3deg)}to{transform:translate3d(0,0,0) rotate(0)}}
@keyframes attaboy-stem{0%,100%{transform:scaleY(.5);opacity:.45}50%{transform:scaleY(1);opacity:1}}
@media(min-width:1600px){.home-page .motion-wordmark{font-size:23vw}}
@media(max-width:900px){.motion-opening{min-height:calc(100svh - 130px)}.motion-opening-top{font-size:.8125rem}.motion-opening-bottom{font-size:.8125rem}.home-page .motion-hero .hero-bottom{grid-template-columns:1fr;gap:32px}.motion-hero .intro{margin-left:0;max-width:620px}.home-page .motion-manifesto{font-size:clamp(3rem,8vw,5.5rem)}}
@media(max-width:700px){.home-page .motion-hero{padding-bottom:45px}.motion-opening{min-height:calc(100svh - 175px);padding:24px 0 18px;gap:40px}.motion-opening-top{align-items:flex-start;flex-direction:column;gap:8px}.motion-opening-top>span:last-child{text-align:left}.motion-opening-main{padding-top:4vh}.motion-disciplines{font-size:.8125rem;gap:12px;margin-bottom:22px}.home-page .motion-wordmark{font-size:23vw;letter-spacing:-.075em}.motion-opening-bottom{align-items:flex-start;gap:16px;font-size:.8125rem}.motion-opening-bottom>span{max-width:18ch}.motion-opening-bottom>a{white-space:nowrap;padding:0}.scroll-stem{height:24px}.home-page .motion-hero .portfolio-mosaic{margin-bottom:45px}.home-page .motion-manifesto{font-size:clamp(2.7rem,9vw,4.5rem)}}
@media(prefers-reduced-motion:reduce){.wordmark-mask>span,.scroll-stem{animation:none}.home-page .motion-hero .portfolio-mosaic,.motion-heading,.motion-feature{transform:none!important;opacity:1!important;will-change:auto}.motion-on .scroll-word{color:var(--ink)}html{scroll-behavior:auto}}

.motion-menu-toggle{display:none;font:inherit;color:var(--ink);background:transparent;border:1px solid var(--line);padding:10px 16px;cursor:pointer}
.home-page .motion-opening{min-height:calc(100svh - var(--home-nav-height,85px))}
@media(max-width:700px){.home-page.motion-nav-ready nav{align-items:center;gap:20px}.motion-nav-ready .motion-menu-toggle{display:inline-flex;min-height:44px;align-items:center}.home-page.motion-nav-ready nav .navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);max-width:none;padding:24px 5%;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:0;box-shadow:0 20px 24px #0006}.home-page.motion-nav-ready nav.nav-open .navlinks{display:flex}.home-page.motion-nav-ready nav .navlinks a{display:block;padding:11px 0;width:100%;font-size:1rem}.home-page .motion-opening{gap:34px}.motion-opening-main{padding-top:0}}

/* Keep the wordmark kerned as one piece, then draw the opening up to the work. */
.home-page .motion-wordmark{display:block;letter-spacing:-.085em;line-height:.95;font-size:25vw;overflow:hidden;white-space:nowrap}
.motion-wordmark-text{display:inline-block;white-space:nowrap;animation:attaboy-word-rise 1.45s cubic-bezier(.22,1,.36,1) both;animation-delay:100ms;padding-right:.035em}
.home-page .motion-opening{height:calc(100svh - var(--home-nav-height,85px));min-height:0;gap:24px;overflow:hidden;animation:attaboy-opening-draw 1.5s cubic-bezier(.65,0,.25,1) 1.45s both}
.motion-opening-main{padding-top:0;margin-top:auto;flex-shrink:0}
.motion-opening-top,.motion-opening-bottom{flex-shrink:0}
.motion-opening-bottom{margin-top:0}
@keyframes attaboy-word-rise{from{transform:translateY(110%)}to{transform:translateY(0)}}
@keyframes attaboy-opening-draw{from{height:calc(100svh - var(--home-nav-height,85px))}to{height:var(--opening-rest-height,550px)}}
@media(prefers-reduced-motion:reduce){.motion-wordmark-text,.home-page .motion-opening{animation:none}.home-page .motion-opening{height:auto;min-height:0}}
.home-page .motion-wordmark{font-size:0;letter-spacing:0;line-height:1}
.motion-wordmark-text{font-size:25vw;letter-spacing:-.085em;line-height:.95}

/* A top-down wipe reverses the type where its edge passes. */
.home-page{isolation:isolate;background:#f5f5f2;animation:none}
.home-page::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:#080808;transform-origin:top;animation:attaboy-color-wipe 1.05s cubic-bezier(.7,0,.3,1) 1.75s both}
.home-page nav,.home-page.motion-nav-ready nav .navlinks{background:transparent;color:#fff;animation:none}
.home-page nav{mix-blend-mode:difference}
.home-page.motion-nav-ready nav.nav-open .navlinks{background:#080808;color:#fff}
.home-page .motion-opening{position:relative;background:transparent;color:#fff;mix-blend-mode:difference;animation:attaboy-opening-draw 1.5s cubic-bezier(.65,0,.25,1) 2.65s both}
.motion-wordmark-text{animation:attaboy-word-rise 1.25s cubic-bezier(.22,1,.36,1) .1s both}
.motion-opening-top{color:inherit;opacity:.7}
.motion-opening-main{margin-bottom:70px;animation:attaboy-word-settle 1.5s cubic-bezier(.65,0,.25,1) 2.65s both}
.motion-opening-bottom{position:absolute;bottom:25px;left:0;right:0;animation:attaboy-opening-details .65s ease 3.2s both}
.motion-menu-toggle{color:inherit;border-color:currentColor}
@keyframes attaboy-color-wipe{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes attaboy-word-settle{from{margin-bottom:0}to{margin-bottom:70px}}
@keyframes attaboy-opening-details{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.home-page{background:#080808}.home-page::before{animation:none;transform:none}.home-page .motion-opening,.motion-opening-main,.motion-opening-bottom{animation:none}.motion-wordmark-text{animation:none}}
html:has(.home-page){background:#080808}
