:root{--ink:#080808;--line:#d4d4d4;--space:clamp(18px,2.8vw,48px);--section-padding:160px;--copy-font:"Inter",Arial,Helvetica,sans-serif;--copy-size:16px;--copy-weight:400;--copy-leading:1.5;--title-font:"Manrope",Arial,Helvetica,sans-serif;--title-scale:1.07}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:68px}body{margin:0;background:white;color:var(--ink);font:400 14px/1.4 var(--copy-font)}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}img{width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--title-font);font-weight:500}a:focus-visible,button:focus-visible{outline:2px solid #245cff;outline-offset:4px}.site-nav{height:46px;position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 var(--space);background:#fff;border-bottom:1px solid #111;font-size:12px}.wordmark{font-size:16px;letter-spacing:-.8px}.wordmark-symbol{font-size:22px;font-weight:bold;vertical-align:middle}.site-nav nav{display:flex;gap:clamp(25px,5vw,80px);margin-left:auto;margin-right:10vw}.site-nav nav a:hover{text-decoration:underline;text-underline-offset:4px}.contact-tab{align-self:end;background:#080808;color:#fff;padding:9px 15px;border-radius:5px 5px 0 0}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:min(850px,calc(100svh - 46px))}.hero-reel{position:relative;overflow:hidden;background:#121212;min-height:660px}.hero-reel>a{position:absolute;inset:0;display:block}.hero-reel img,.hero-reel video{height:100%;object-fit:cover;animation:reel-in .7s ease}.reel-caption{position:absolute;left:24px;right:24px;bottom:61px;display:flex;justify-content:space-between;gap:12px;color:white;font-size:12px;pointer-events:none;text-shadow:0 1px 5px #000}.reel-controls{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:rgba(0,0,0,.75);color:white;font-size:11px}.reel-controls>div{display:flex;gap:4px}.reel-controls button{background:none;border:0;color:white;cursor:pointer;padding:5px 11px;min-width:34px}.reel-controls button:hover{background:#ffffff24}.hero-text{display:flex;flex-direction:column;padding:28px 30px 24px;min-width:0}.identity-mark{background:#080808;color:white;display:flex;align-items:center;justify-content:space-between;padding:12px 25px 18px;clip-path:polygon(8% 0,100% 0,100% 83%,92% 100%,0 100%,0 17%);height:clamp(180px,21vw,320px);margin-bottom:clamp(36px,6vh,80px)}.identity-mark>span{font-size:clamp(140px,19vw,290px);font-weight:700;line-height:.8;letter-spacing:-.09em;align-self:center}.identity-mark svg{width:38%;height:90%;flex-shrink:0;margin-right:8px}.hero h1{font-size:clamp(45px,5.8vw,88px);line-height:.98;letter-spacing:-.06em;margin:0 0 34px}.hero-foot{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:auto;font-size:12px;color:#666}.hero-foot>a{font-size:35px;color:#080808}.section-label{display:flex;align-items:center;justify-content:space-between;padding:40px 0 58px}.section-label h2,.label{display:inline-block;border:1px solid #111;border-radius:3px;padding:1px 7px;font-size:16px;letter-spacing:-.6px;width:fit-content;line-height:1.4}.section-label>span{font-size:11px;color:#777}.featured{padding:0 var(--space) 90px}.featured-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px 24px}.feature{min-width:0;opacity:0;transform:translateY(96px) scale(.94);transform-origin:50% 100%;transition:opacity .5s cubic-bezier(.33,1,.68,1),transform .75s cubic-bezier(.16,1,.3,1)}.feature.is-in{opacity:1;transform:none}.feature:nth-child(3n+1){grid-column:1/-1}
@media(prefers-reduced-motion:reduce){.feature{opacity:1;transform:none;transition:none}}.feature-image{aspect-ratio:1.25;background:#eee;overflow:hidden;position:relative}.feature:nth-child(3n+1) .feature-image{aspect-ratio:1.95}.feature-image img,.feature-image video{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.3,1)}.featured-grid .feature:nth-child(4) .feature-image{width:53.56%!important;aspect-ratio:1000/922!important}.featured-grid .feature:nth-child(4) .work-meta{width:53.56%}.feature:hover img,.feature:hover video{transform:scale(1.025)}.specular-edge-fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.about{position:relative;background:#0b0b0b;color:#fff;padding:clamp(110px,12vw,185px) var(--space);display:grid;grid-template-columns:1fr;gap:40px}.statement{font-family:var(--title-font);font-weight:var(--title-weight,600);font-size:calc((100vw - 2*var(--space))*.0412*var(--title-scale));line-height:1.02;letter-spacing:0;text-transform:uppercase}.statement>span{display:block;white-space:nowrap}.statement-row{position:relative}.statement-row .statement{position:relative;z-index:2;mix-blend-mode:difference}.about-photo-wrap{position:absolute;right:8vw;top:0;height:128%;z-index:1}
.about-photo{position:relative;display:block;width:auto;height:100%;aspect-ratio:1061/1008;object-fit:cover;filter:grayscale(1)}
.about-photo-caption{position:absolute;right:0;top:100%;margin-top:12px;z-index:2;font-size:12px;color:#bbb;line-height:1.35}.about-details{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:50px;max-width:860px}.about-details p{font-size:16px;line-height:1.5}.services{padding:70px var(--space) 90px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:50px}.services>div:first-child>p{margin-top:55px;font-size:26px;letter-spacing:-1px;line-height:1.2}.service-column h3{font-size:27px;letter-spacing:-1px;margin-bottom:38px}.service-column ul{padding:0;margin:0;list-style:none;font-size:18px;letter-spacing:-.4px}.service-column li{padding:10px 0;border-bottom:1px solid var(--line)}.archive{padding:0 var(--space) 100px;background:#f2f2f2}.archive-toolbar{display:flex;gap:20px;align-items:center;padding-bottom:24px}.archive-toolbar button{background:none;border:0;padding:6px 0;cursor:pointer;font-size:12px;color:#777}.archive-toolbar button[aria-pressed=true]{color:black;text-decoration:underline;text-underline-offset:5px}.archive-toolbar>span{margin-left:auto;color:#777;font-size:11px}.archive-row{display:grid;grid-template-columns:44px 1fr 160px 70px;align-items:center;gap:20px;padding:14px 0;border-top:1px solid #c8c8c8;transition:background .2s}.archive-row:last-child{border-bottom:1px solid #c8c8c8}.archive-row>span:first-child{color:#777;font-size:10px}.archive-row h3{font-size:clamp(24px,3vw,44px);letter-spacing:-.06em}.archive-row .archive-type{font-size:12px;color:#777}.archive-row .arrow{text-align:right;font-size:24px;transition:transform .2s}.archive-row:hover{background:#e8e8e8}.archive-row:hover .arrow{transform:translateX(-10px)}.about-lightbox{border:0;padding:0;width:100vw;height:100vh;max-width:100vw;max-height:100vh;background:#0b0b0b}
.about-lightbox::backdrop{background:#000c}
.about-lightbox-stage{position:absolute;inset:0;overflow:hidden;z-index:1}
.about-lightbox-backdrop{position:absolute;inset:-6%;background-size:cover;background-position:center;filter:blur(28px) saturate(1.15) brightness(.6);opacity:0;transform:scale(1.1);transition:opacity .4s ease;z-index:0}
.about-lightbox-backdrop.is-visible{opacity:1}
.about-lightbox-stage::before,.about-lightbox-stage::after{content:'';position:absolute;width:26vw;height:26vw;border-radius:50%;filter:blur(110px);opacity:.2;pointer-events:none;z-index:0}
.about-lightbox-stage::before{background:#ff4b36;left:4%;top:38%}
.about-lightbox-stage::after{background:#1fbf9f;right:6%;top:34%}
.about-lightbox-bar{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;justify-content:flex-end;padding:18px 22px;z-index:3100;color:#fff}
.about-lightbox-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:999px;background:rgba(255,255,255,.1);color:#fff;cursor:pointer;transition:background .2s ease}
.about-lightbox-close:hover{background:rgba(255,255,255,.22)}
.about-lightbox-close:focus-visible{outline:2px solid #ff4b36;outline-offset:2px}
@keyframes reel-in{from{opacity:.5;transform:scale(1.015)}to{opacity:1;transform:none}}@font-face{font-family:"Manrope";font-weight:200 800;font-style:normal;font-display:swap;src:url('assets/fonts/Manrope-Variable.woff2') format("woff2")}

@media(max-width:1000px){.site-nav nav{margin-right:2vw;gap:28px}.hero-reel{min-height:580px}.hero-text{padding:22px}.hero h1{font-size:5.7vw}.about{gap:20px}.services{gap:25px}.about-details{gap:24px}}
@media(max-width:650px){.site-nav{gap:12px;height:48px}.site-nav nav{gap:16px;margin-right:0}.site-nav nav a:first-child,.site-nav nav a:last-child{display:none}.wordmark{font-size:14px}.contact-tab{padding:8px 10px}.hero{display:flex;flex-direction:column}.hero-text{order:-1;padding:20px 18px 26px}.identity-mark{height:150px;margin-bottom:28px;padding:14px 20px;max-width:400px}.identity-mark>span{font-size:155px}.identity-mark svg{width:35%;height:110px}.hero h1{font-size:clamp(44px,10.8vw,70px);margin-bottom:26px}.hero-foot{font-size:11px}.hero-reel{min-height:420px;height:115vw;max-height:650px}.reel-caption{left:18px;right:18px}.section-label{padding:30px 0 32px}.section-label>span{font-size:9px}.featured{padding-bottom:55px}.featured-grid{grid-template-columns:1fr;gap:30px}.feature:nth-child(n){grid-column:auto}.feature:nth-child(n) .feature-image{aspect-ratio:1.2}.work-meta-title{font-size:16px}.work-meta-foot{font-size:11px}.about{display:block;padding-top:40px;padding-bottom:50px}.statement{margin-top:35px;line-height:1.08;letter-spacing:0}.statement-row{display:flex;flex-direction:column-reverse;gap:18px}.about-photo-wrap{position:relative;width:52vw;max-width:280px;margin-left:auto;height:auto}.about-photo{width:100%;height:auto}.about-photo-caption{margin-top:8px}.about-details{grid-template-columns:1fr;gap:22px;margin-top:30px}.about-details p{font-size:15px}.services{grid-template-columns:1fr;padding-top:40px;padding-bottom:55px;gap:38px}.services>div:first-child>p{margin-top:26px}.service-column h3{margin-bottom:20px}.service-column li{font-size:16px}.archive{padding-bottom:55px}.archive-toolbar{gap:18px}.archive-row{grid-template-columns:24px 1fr 25px;gap:10px;padding:17px 0}.archive-row .archive-type{display:none}.archive-row h3{font-size:27px}.archive-toolbar>span{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Original Xiao Yang identity, sourced from xyangdesign.com. */
.wordmark{display:flex;align-items:center;flex-shrink:0}.wordmark img{width:35px;height:26px;object-fit:contain}.identity-mark{background:transparent;clip-path:none;padding:0;justify-content:flex-start}.identity-mark img{width:auto;height:100%;max-width:100%;object-fit:contain;object-position:left center}

/* Name banner on top, selected work and personal statement below. */
.hero{display:grid;grid-template-columns:1fr 1.5fr;grid-template-areas:"identity identity" "intro reel";row-gap:clamp(40px,6vh,80px);column-gap:clamp(24px,3vw,56px);min-height:0;padding:48px var(--space) 52px;align-items:stretch;background:#fff}
.hero-identity{grid-area:identity;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding-top:4px}
.hero-intro{grid-area:intro}
.hero-reel{grid-area:reel}
.hero-logo{width:clamp(64px,6.8vw,108px);height:auto;margin-bottom:30px}
.hero .hero-identity h1{font-size:clamp(64px,7.8vw,124px);font-weight:500;line-height:.88;letter-spacing:-.05em;margin:0}
.identity-caption{margin-top:auto;padding-top:48px;font-size:12px;line-height:1.5;color:#666}
.hero .hero-reel{min-height:0;height:clamp(400px,46vw,660px);max-height:none;background:#ececec}
.hero-intro{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;padding:0 0 4px}
.intro-index{font-size:10px;letter-spacing:.06em;color:#777;margin-top:auto;margin-bottom:clamp(60px,10vh,140px)}
.intro-copy h2{font-size:clamp(28px,2.6vw,44px);line-height:1.12;letter-spacing:-.035em;margin-bottom:24px}
.intro-copy p{font-size:15px;line-height:1.55;color:#666;max-width:350px}
@media(min-width:651px) and (max-width:1000px){.hero{row-gap:32px;column-gap:22px;padding-top:34px;padding-bottom:34px;grid-template-columns:1fr 1.3fr}.hero .hero-identity h1{font-size:8vw}.hero .hero-reel{height:56vw}.intro-copy h2{font-size:27px}.intro-copy p{font-size:13px}.hero-work-link{margin-top:35px}}
@media(max-width:650px){.hero{display:grid;grid-template-columns:1fr;grid-template-areas:"identity" "reel" "intro";gap:32px;padding:30px 18px 36px}.hero-identity{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px}.hero-logo{width:72px;margin:0}.hero .hero-identity h1{font-size:76px;margin:0;text-align:right}.identity-caption{grid-column:1/-1;margin:0;padding:8px 0 0}.hero .hero-reel{height:115vw;min-height:420px;max-height:650px}.hero-intro{padding:0}.intro-index{margin:0 0 24px}.intro-copy h2{font-size:36px}.intro-copy p{font-size:15px;max-width:none}.hero-work-link{margin-top:28px}}

/* Keep oversized editorial elements from turning the document into a horizontal scroller. */
html,body{overflow-x:clip}

/* Compact entry; logo and menu launcher live in chrome.css (shared across pages). */
.hero{padding-top:92px}.hero .hero-reel{height:clamp(400px,46vw,660px)}
@media(max-width:650px){.hero{padding-top:84px}}

.hero-identity{padding-top:4px}
@media(max-width:650px){.hero-identity{display:flex;align-items:flex-start;gap:20px}.hero .hero-identity h1{text-align:left}.identity-caption{padding-top:0}}

/* Personal introduction and experience, with a quieter name treatment. */
.hero .hero-identity h1{font-size:clamp(24px,2.3vw,36px);line-height:1.1;letter-spacing:-.03em;font-weight:400;margin:0}
.hero-identity .identity-caption{margin-top:28px;padding-top:0}
.reel-heading{position:absolute;top:28px;left:28px;right:28px;z-index:2;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.55);pointer-events:none}
.reel-heading p{margin:0;font-weight:600;font-size:clamp(16px,1.85vw,26px);line-height:1.22;letter-spacing:-.02em;text-transform:uppercase}
.reel-heading p+p{margin-top:2px}
.hero-credentials{display:flex;flex-direction:column;align-items:flex-end;gap:30px;margin-bottom:auto;padding-bottom:48px}.hero-credentials>div{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.hero-credentials>div>span:first-child{font-size:clamp(26px,2.8vw,42px);line-height:1;letter-spacing:-.04em}.hero-credentials>div>span:last-child{font-size:11px;letter-spacing:.035em;color:#666}
@media(min-width:651px) and (max-width:1000px){.hero-credentials{gap:22px;padding-bottom:32px}.intro-copy h2{font-size:25px}.reel-heading{top:20px;left:20px;right:20px}.reel-heading p{font-size:15px}}
@media(max-width:650px){.hero .hero-identity h1{font-size:28px}.hero-identity{gap:0}.hero-identity .identity-caption{margin-top:22px}.hero-credentials{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:16px;margin:0;padding-bottom:36px}.hero-credentials>div{align-items:flex-start}.hero-credentials>div>span:first-child{font-size:29px}.hero-credentials>div>span:last-child{font-size:10px}.reel-heading{top:16px;left:16px;right:16px}.reel-heading p{font-size:13px}}

/* Oversized two-line introduction with type crossing the artwork edge. */
.hero.hero-editorial{display:grid;grid-template-columns:36% minmax(0,1fr);grid-template-rows:auto auto;gap:0 4%;padding:110px var(--space) 48px;min-height:0;position:relative;isolation:isolate;background:#fff}
.hero-editorial .hero-title{grid-column:1/-1;grid-row:1;position:relative;z-index:3;pointer-events:none;color:white;mix-blend-mode:difference;font-family:var(--title-font);font-size:calc(4.12vw*var(--title-scale));line-height:1.05;letter-spacing:0;font-weight:500;margin:0;padding:0 0 .08em}
.hero-title>span{display:block;white-space:nowrap}
.hero-editorial .hero-reel{grid-column:2;grid-row:2;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:1.42;overflow:hidden;margin-top:-2.2vw;z-index:1}
.hero-editorial .hero-reel img,.hero-editorial .hero-reel video{object-fit:cover}
.hero-note{grid-column:1;grid-row:2;align-self:end;padding:55px 0 8px;width:calc(100% + 1vw);max-width:480px}
.hero-note>p:first-child{font-size:clamp(18px,1.6vw,25px);line-height:1.4;letter-spacing:-.035em}

.hero-note .hero-location{font-size:13px;color:#777;margin-top:25px}
@media(min-width:1600px){.hero.hero-editorial{padding-top:130px}.hero-editorial .hero-reel{aspect-ratio:1.65}}
@media(max-width:650px){.hero.hero-editorial{padding:92px 18px 32px;grid-template-columns:1fr;gap:0}.hero-editorial .hero-title{font-size:calc(4.08vw*var(--title-scale));line-height:1.25;letter-spacing:0;grid-column:1}.hero-editorial .hero-reel{grid-column:1;grid-row:2;width:86%;justify-self:end;margin-top:-2.5vw;min-height:0;height:auto;aspect-ratio:.95}.hero-note{grid-column:1;grid-row:3;width:100%;max-width:none;padding:30px 0 0}.hero-note>p:first-child{font-size:clamp(16px,4.5vw,19px)}.hero-note .hero-location{margin-top:18px}}

/* Three-line AI-focused introduction. */
.hero-editorial .hero-title{font-size:calc(7.1vw*var(--title-scale));line-height:1.02;letter-spacing:0}
.hero-editorial .hero-reel{margin-top:-3.1vw}
@media(max-width:650px){.hero-editorial .hero-title{font-size:calc(7.25vw*var(--title-scale));line-height:1.08;letter-spacing:0}.hero-editorial .hero-reel{margin-top:-3.4vw}}

/* Smaller introduction and uncropped artwork with controls below the frame. */
.hero-editorial .hero-title{font-size:calc((100vw - 2*var(--space))*.0412*var(--title-scale))}
.hero-editorial .hero-reel{aspect-ratio:auto;margin-top:-3.1vw;background:#111;align-self:start}
.hero-editorial .hero-reel>a{position:relative;inset:auto;display:block;aspect-ratio:16/9}
.hero-editorial .hero-reel img,.hero-editorial .hero-reel video{display:block;width:100%;height:100%;object-fit:contain;animation:none}
.hero-editorial .reel-caption{position:relative;inset:auto;padding:12px 20px 4px;background:#111}
.hero-editorial .reel-controls{position:relative;inset:auto;background:#111;padding:8px 16px}
@media(max-width:650px){.hero-editorial .hero-title{font-size:calc((100vw - 2*var(--space))*.0412*var(--title-scale))}.hero-editorial .hero-reel{margin-top:-2.5vw;aspect-ratio:auto;width:100%}}

/* Warp canvas replaces only the visual title; text remains semantic and selectable. */
.hero-title .warp-canvas{position:absolute;pointer-events:none;display:none}
.hero-title.warp-ready .warp-canvas{display:block}
.hero-title.warp-ready>span{opacity:0}
@media(prefers-reduced-motion:reduce){.hero-title.warp-ready>span{opacity:1}.hero-title.warp-ready .warp-canvas{display:none}}

/* Full-width image ribbon, with an optional WebGL edge treatment. */
.about>div{min-width:0}
.about-slider{grid-column:1/-1;margin:100px calc(-1 * var(--space)) 0;min-width:0;position:relative}
.about-slider-track{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;cursor:grab;touch-action:pan-x pan-y;position:relative}
.about-slider-track::-webkit-scrollbar{display:none}
.about-slider-track:focus-visible{outline:2px solid #111;outline-offset:6px}
.about-slider-track.is-dragging{cursor:grabbing}
.about-slide{position:relative;flex:0 0 auto;border-radius:0;width:52vw;height:clamp(360px,42vw,640px);background:#1a1a1a;user-select:none;overflow:hidden}
.about-slide:nth-child(4n+2){width:37vw}
.about-slide:nth-child(4n+3){width:62vw}
.about-slide:nth-child(4n+4){width:52vw}
.about-slide img,.about-slide video{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.about-slide>span{display:none}
.about-slide.about-slide-video{width:auto!important;aspect-ratio:1/1}
.about-slide.about-slide-poster{width:auto!important;aspect-ratio:1/1}
.about-slide.about-slide-poster-portrait{width:auto!important;aspect-ratio:4/5}
.about-slide.about-slide-poster-tall{width:auto!important;aspect-ratio:768/1168}
.about-slide.about-slide-art-parrot{width:auto!important;aspect-ratio:639/385}
.about-slide.about-slide-art-portrait{width:auto!important;aspect-ratio:490/389}
.about-slide.about-slide-art-fifty{width:auto!important;aspect-ratio:559/838}
.about-slide.about-slide-art-editorial{width:auto!important;aspect-ratio:1000/765}
.about-gallery-canvas{position:absolute;top:0;left:0;width:100%;pointer-events:none;z-index:1}
.about-slider.has-gallery-effect .about-slide{background:transparent}
.about-slider.has-gallery-effect img[data-vd-ready],.about-slider.has-gallery-effect video[data-vd-ready]{opacity:0}
@media(max-width:650px){.about-slider{margin-top:100px}.about-slide:nth-child(n){width:90vw;height:78vw}.about-slide:nth-child(4n+2){width:78vw}}

/* Shuffle entry: fixed character cells preserve the original heading layout. */

/* Featured work — asymmetric studio-style composition. */
.feature-quacko .feature-image{background:#5f1b7b}
.feature-quacko .qwb{position:absolute;inset:0;display:block;overflow:hidden;background:#5f1b7b}
.feature-quacko .qwb-stage{position:absolute;left:0;bottom:0;display:block;width:100%;aspect-ratio:1921/864}
.feature-quacko .qwb-grid{position:absolute;inset:0;display:block;width:100%;height:100%}
.feature-quacko .qwb img,.feature-quacko:hover .qwb img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;transform:none;transition:none;pointer-events:none}
.feature-quacko .qwb.is-pending .qwb-metric{opacity:0}
.feature-quacko .qwb.is-playing .qwb-metric{animation:qwb-metric-in .64s cubic-bezier(.16,1,.3,1) .54s both}
@keyframes qwb-metric-in{from{opacity:0;transform:translate(2.7%,2.9%)}to{opacity:1;transform:translate(0,0)}}
@media(min-width:1001px){.featured-grid .feature.feature-quacko:nth-child(1) .feature-image{aspect-ratio:1.9}}
@media(max-width:650px){
  .featured-grid .feature.feature-quacko .feature-image{aspect-ratio:1.55}
  .feature-quacko .qwb-stage{left:50%;top:50%;bottom:auto;width:120%;height:auto;aspect-ratio:1921/864;transform:translate(-50%,-50%)}
  .feature-quacko .qwb-art,.feature-quacko .qwb-metric{display:block}
  .feature-quacko .qwb-metric{z-index:2}
}
@media(min-width:1001px){
  .featured{padding-bottom:calc(var(--section-padding) - 4px)} /* -4px: caption line-height leaves ~4px below the glyphs, so the visible gap is exactly 160 */
  .featured .section-label{padding-top:0;padding-bottom:clamp(72px,8vw,120px)}
  .featured-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(18px,2.2vw,34px);row-gap:clamp(85px,10vw,155px);align-items:start}
  .featured-grid .feature:nth-child(n){min-width:0;grid-column:auto}
  .featured-grid .feature:nth-child(1){grid-column:1/span 8;grid-row:1}
  .featured-grid .feature:nth-child(2){grid-column:9/span 4;grid-row:1}
  .featured-grid .feature:nth-child(3){grid-column:1/span 5;grid-row:2}
  .featured-grid .feature:nth-child(4){grid-column:6/span 7;grid-row:2}
  .featured-grid .feature:nth-child(5){grid-column:2/span 7;grid-row:3}
  .featured-grid .feature:nth-child(6){grid-column:9/span 4;grid-row:3;margin-top:clamp(30px,4vw,60px)}
  a[href="/work/avo/"]{margin-top:0!important}
  .featured-grid .feature:nth-child(1) .feature-image{aspect-ratio:1.55}
  .featured-grid .feature:nth-child(2) .feature-image{aspect-ratio:.84}
  .featured-grid .feature:nth-child(3) .feature-image{aspect-ratio:638/647}
  .featured-grid .feature:nth-child(4) .feature-image{aspect-ratio:1.62}
  .featured-grid .feature:nth-child(5) .feature-image{aspect-ratio:1.38}
  .featured-grid .feature:nth-child(6) .feature-image{aspect-ratio:.98}
  /* Keep the original small frame on the right for KidsRepublic. */
  .featured-grid .feature:nth-child(7){grid-column:6/span 7;grid-row:2;justify-self:end;width:calc(46.44% - clamp(18px,2.2vw,34px))}
  .featured-grid .feature-accent .feature-image{aspect-ratio:1}
}

/* AB Points cover: layers from Figma node 3578:1457, all positions are % of the 638x647 frame (re-measured 2026-09-22; the frame was resized from the original 522x724). The pink pattern rises and the wordmark drops in when the card enters the viewport (home.js toggles .is-in on enter and exit, so it replays); the hand and the phone video stay put. */
.abpoints-cover{position:absolute;inset:0;background:linear-gradient(180deg,#ff7649 48.071%,#ff2166 104.14%);transition:transform .6s cubic-bezier(.2,.7,.3,1)}
.feature:hover .abpoints-cover{transform:scale(1.025)}
.abpoints-cover .ac-rect{position:absolute;left:7.524%;top:51.933%;width:84.796%;height:42.505%;border-radius:7.394%/14.545%;background:linear-gradient(179.971deg,#eb204b,rgba(228,47,86,0) 102.46%);filter:blur(5.7px);opacity:0;transform:translateY(10%);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .95s cubic-bezier(.22,1,.36,1)}
.abpoints-cover .ac-word{position:absolute;left:7.524%;top:8.501%;width:84.336%;opacity:0;transform:translateY(-32%);transition:opacity .7s cubic-bezier(.22,1,.36,1) .12s,transform .95s cubic-bezier(.22,1,.36,1) .12s}
.abpoints-cover.is-in .ac-rect,.abpoints-cover.is-in .ac-word{opacity:1;transform:none}
.abpoints-cover img,.abpoints-cover video{position:absolute;display:block;max-width:none;object-fit:cover;transition:none}
.abpoints-cover .ac-word img{position:static;width:100%;height:auto}
.abpoints-cover .ac-hand{left:19.906%;top:10.201%;width:76.646%;height:89.799%;object-fit:fill}
/* Preserve the source video's 672:1312 ratio and show only its screen content.
   The hand image supplies the physical handset and bezel. */
.abpoints-cover .ac-phone{left:26.693%;top:10.201%;width:42.132%;height:auto;aspect-ratio:672/1312;object-fit:contain;clip-path:inset(3.354% 8.185% 3.506% 7.44% round 7% / 4%)}
.feature:hover .abpoints-cover img,.feature:hover .abpoints-cover video{transform:none}
@media(prefers-reduced-motion:reduce){.abpoints-cover,.abpoints-cover .ac-rect,.abpoints-cover .ac-word{transition:none}}

/* AB Points cover (wordmark, hand, phone): keep its 638/647 ratio (from Figma node 3578:1457) on the stacked layouts too, so it is not cropped to the default 1.25. */
.featured-grid .feature:nth-child(3) .feature-image{aspect-ratio:638/647}

/* AVO cover: rotating logo video (Figma node 3661:1872) with its two vertical wordmark SVGs as overlay layers, positions are % of the square frame. */
.avo-video-cover{position:absolute;inset:0;background:#010101}
.avo-video-cover video{position:absolute;left:6.19%;top:6.19%;width:87.61%;height:87.61%;object-fit:cover}
.avo-video-cover .avo-word,.avo-video-cover .avo-since{position:absolute;display:flex;align-items:center;justify-content:center;container-type:size}
.avo-video-cover .avo-word{left:2.36%;top:2.65%;width:2.87%;height:29.1%}
.avo-video-cover .avo-since{left:94.69%;top:80.24%;width:2.66%;height:16.52%}
.avo-video-cover .avo-word img,.avo-video-cover .avo-since img{width:100cqh;height:100cqw;display:block}
.avo-video-cover .avo-word img{transform:rotate(90deg)}
.avo-video-cover .avo-since img{transform:rotate(-90deg)}

.feature.is-transitioning .feature-image>span,
.feature.is-transitioning .specular-edge-fx{opacity:0!important;transition:none!important}
.feature.is-transitioning .feature-image img,
.feature.is-transitioning .feature-image video{transform:none!important;transition:none!important}

/* Archive — Fuel-style index: number, oversized title, thumbnail strip. */
/* Index bar: ■ INDEX // NN · [ TITLE ] · // NOTE, hairline underneath, 60px to the content below. Used by Featured, About and Archive. */
.index-bar{margin-bottom:60px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--line);font:400 14px/1.2 var(--copy-font);text-transform:uppercase;white-space:pre}
.index-bar h2{font:inherit;font-family:var(--title-font);font-weight:500;letter-spacing:inherit;text-align:center}
.index-bar>span:last-child{justify-self:end}
.index-bar-lead::before{content:"";display:inline-block;width:7px;height:7px;margin-right:10px;background:currentColor;transform:translateY(-1px)}
.work-list{margin-top:0;border-bottom:1px solid var(--line)}
.work-row:first-child{border-top:0}
.work-row{display:grid;grid-template-columns:30% minmax(0,1fr) auto;align-items:center;gap:20px;min-height:clamp(72px,5.5vw,110px);padding:10px 0;border-top:1px solid var(--line);opacity:0;transform:translateY(24px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)}
.work-row.is-in{opacity:1;transform:none}
.work-index{font-size:13px;color:#777}
.work-row h3{font-size:clamp(30px,3.1vw,62px);line-height:1.05;letter-spacing:-.045em;transition:color .3s,transform .5s cubic-bezier(.22,1,.36,1)}
.work-thumbs{display:flex;gap:clamp(6px,.65vw,13px)}
.work-thumbs img{width:clamp(52px,5.4vw,108px);aspect-ratio:1.6;object-fit:cover;border-radius:2px;background:#eee;transition:transform .5s cubic-bezier(.22,1,.36,1)}
@media(hover:hover){
  .work-list:has(.work-row:hover) .work-row:not(:hover) h3{color:#b5b5b5}
  .work-row:hover h3{transform:translateX(.18em)}
.work-row:hover .work-thumbs img{transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){.work-row{opacity:1;transform:none;transition:none}.work-row h3,.work-thumbs img{transition:none}}
@media(max-width:1000px){.work-row{grid-template-columns:20% minmax(0,1fr) auto}}
/* Design process takes the place of the former archive list. */
.design-process{padding:var(--section-padding) var(--space);background:#f2f2f2}
.design-process .index-bar{white-space:normal}
.process-list{border-bottom:1px solid var(--line)}
.process-row{display:grid;grid-template-columns:30% minmax(0,1fr) minmax(230px,31%);align-items:center;gap:20px;min-height:clamp(112px,8vw,156px);padding:24px 0;border-top:1px solid var(--line)}
.process-row:first-child{border-top:0}
.process-index{align-self:start;padding-top:9px;color:#666;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.process-row h3{font-family:var(--title-font);font-size:clamp(24px,2.6vw,38px);line-height:1.08;letter-spacing:-.045em;font-weight:600;text-transform:uppercase}
.process-still{display:none}
.process-row p{max-width:370px;color:#555;font-size:clamp(14px,1.05vw,17px);line-height:1.5}
.process-row{position:relative;overflow:hidden}
.process-marquee{position:absolute;inset:0;z-index:2;overflow:hidden;background:#000;color:#fff;pointer-events:none;transform:translateY(101%)}
.process-marquee__inner{width:100%;height:100%;overflow:hidden}
.process-marquee__track{display:flex;width:max-content;height:100%;align-items:center;animation:process-marquee-scroll 22s linear infinite;will-change:transform}
.process-marquee__group{display:flex;height:100%;align-items:center;flex:none}
.process-marquee__part{display:flex;height:100%;align-items:center;flex:none;gap:clamp(22px,2vw,38px);padding:0 clamp(12px,1vw,20px);white-space:nowrap;font-family:var(--title-font);font-size:clamp(24px,2.6vw,38px);line-height:1.08;font-weight:600;letter-spacing:-.045em;text-transform:uppercase}
.process-marquee__part img{display:block;width:clamp(132px,12vw,184px);aspect-ratio:3/2;height:auto;flex:none;object-fit:cover;border-radius:100px}
@keyframes process-marquee-scroll{to{transform:translateX(-50%)}}
@media(hover:none),(prefers-reduced-motion:reduce){.process-marquee{display:none}}
@media(max-width:1000px){.process-row{grid-template-columns:18% minmax(0,1fr) 35%}}
@media(max-width:650px){.design-process{padding:64px var(--space) 80px}.design-process .index-bar{grid-template-columns:1fr auto;margin-bottom:28px}.design-process .index-bar h2{text-align:right}.design-process .index-bar>span:last-child{display:none}.process-row{grid-template-columns:48px minmax(0,1fr);gap:8px 16px;min-height:0;padding:25px 0}.process-index{grid-row:1/span 2;padding-top:7px;font-size:11px}.process-row p{grid-column:2;font-size:14px}}
@media(max-width:650px){
  .design-process{padding-top:72px;padding-bottom:96px}
  .design-process .index-bar{grid-template-columns:1fr auto;gap:12px;margin-bottom:16px;font-size:12px}
  .design-process .index-bar h2{white-space:nowrap}
  .process-row{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:34px 0 42px;overflow:visible}
  .process-index{align-self:auto;padding:0;margin-bottom:14px;font-size:12px;line-height:1.2;letter-spacing:.055em}
  .process-row h3{font-size:clamp(27px,7.4vw,36px);line-height:1.06;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:normal}
  .process-row h3 .pixel-x{font-family:inherit;font-weight:inherit;transform:none}
  .process-still{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin-top:24px;background:#e4e4e4}
  .process-row p{max-width:45ch;margin-top:20px;font-size:16px;line-height:1.48}
}
@media(max-width:650px){
  .index-bar{grid-template-columns:1fr auto 1fr;gap:8px}
  .about .index-bar{margin-bottom:25px}
  .work-row{grid-template-columns:minmax(0,1fr) auto;gap:14px;min-height:76px}
  .work-index,.work-thumbs img:nth-child(n+2){display:none}
  .work-row h3{font-size:clamp(24px,7vw,32px)}
  .work-thumbs img{width:64px}
}

/* Fuel-inspired capabilities showcase */
.services-showcase{position:relative;background:#0b0b0b;color:#fff;padding:clamp(20px,3vw,40px) var(--space) clamp(90px,10vw,150px)}
.services-layout{display:grid;grid-template-columns:minmax(min-content,.85fr) minmax(480px,2.15fr) minmax(180px,.65fr);gap:clamp(30px,4.5vw,75px);align-items:center}
.services-copy{min-width:260px}.services-copy h2{white-space:nowrap;margin:0 0 28px;font-size:calc(4.97vw*var(--title-scale));font-weight:500;line-height:1.02;letter-spacing:-.04em}.services-copy h2>span{display:block}
.service-switches{border-top:.5px solid rgba(255,255,255,.16)}
.service-flow{position:relative;display:flex;width:100%;min-height:68px;align-items:center;border-bottom:.5px solid rgba(255,255,255,.16);padding:17px 4px;font-size:clamp(20px,1.65vw,26px);color:rgba(255,255,255,.45);transition:color .3s}
.service-flow.is-active{color:#fff}
.service-switches.has-line-motion .service-flow__label{display:inline-block;color:color-mix(in srgb,#fff calc(var(--effect,0) * 100%),#777)}
@media(prefers-reduced-motion:no-preference){.service-switches.has-line-motion .service-flow__label{transform:translateX(calc(var(--effect,0) * 30px))}}
.service-feature{margin:0;min-width:0}.pixel-swap{position:relative;width:100%;overflow:hidden;isolation:isolate}.service-swap{aspect-ratio:1.58}.pixel-swap__layer{position:absolute;inset:0;width:100%;height:100%}.pixel-swap__layer[data-visible=false]{visibility:hidden}.pixel-swap__grid{position:absolute;inset:0;z-index:3;pointer-events:none}.pixel-swap__pixel{position:absolute;overflow:hidden;opacity:0;contain:paint}.pixel-swap__pixel-content{position:absolute}.service-slide{display:flex;align-items:center;justify-content:center}.service-slide-art{display:block;width:100%;height:100%;pointer-events:none}
.service-note{max-width:270px}.service-note p{font-size:13px;line-height:1.65;color:#bbb;transition:opacity .3s}.service-note p.is-changing{opacity:0}
@media(min-width:1001px){.services-showcase{height:calc(100vh + var(--steps,4)*65vh);padding-top:0;padding-bottom:0}.services-layout{position:sticky;top:0;height:100vh}}
@media(max-width:1000px){.services-layout{grid-template-columns:240px 1fr}.service-note{grid-column:2;max-width:none}}
@media(max-width:650px){.services-showcase{padding:20px 18px 70px}.services-layout{grid-template-columns:1fr;gap:34px}.services-copy h2{font-size:calc(48px*var(--title-scale));line-height:1.08}.service-flow{font-size:20px}.service-feature{grid-row:2}.service-swap{aspect-ratio:1.12}.service-note{grid-column:1;max-width:none}}

/* Page rhythm — side margins reach 80px on wide screens; the heading's cap height sits on the same line as the portrait (both 160px below the section edge). */
@media(min-width:1001px){:root{--space:clamp(48px,5.4vw,80px)}}
@media(min-width:651px){.statement{top:-.25em}}

/* Section rhythm — on desktop every section keeps --section-padding (160px) between its content and the edge where it meets another background;
   neighbours on the same background share one gap (hero→featured, about→services). Featured's rules sit in its own block above. */
@media(min-width:1001px){
  .hero.hero-editorial{padding-top:var(--section-padding);padding-bottom:var(--section-padding)}
  .about{padding-top:80px;padding-bottom:var(--section-padding)} /* index bar sits 80px below the top edge — the one exception to 160 */
  .services-showcase{padding-top:0;padding-bottom:var(--section-padding)}
  .about-slider{margin-top:210px} /* More breathing room between the profile copy and artwork ribbon. */
  .archive{padding-top:var(--section-padding);padding-bottom:var(--section-padding)}
  .archive .section-label{padding-top:0}
}

/* Regular copy — Inter Regular 16px / 1.5 for running text (about intro, "what i do" note). Captions and labels keep the smaller Label scale. */
.about-details p,.service-note p{font-family:var(--copy-font);font-size:var(--copy-size);font-weight:var(--copy-weight);line-height:var(--copy-leading);letter-spacing:normal}

/* Capability cards (Product design, UX research): a flat colour panel with a cut-out video, a triangle mark and the copy, laid over the swap panel and note. */
.service-card{--card-bg:#00383e;--card-ink:#fff;--card-mark:#a3b748;--grain-dk:rgba(0,0,0,.12);--grain-lt:rgba(255,255,255,.035);grid-column:2/4;grid-row:1;position:relative;overflow:hidden;aspect-ratio:2;container-type:inline-size;background:var(--card-bg);opacity:0;pointer-events:none;transition:opacity .5s ease,background-color .9s ease}
.service-card[data-card="1"]{--card-bg:#e8a7c7;--card-ink:#16343f;--card-mark:#017273;--grain-dk:rgba(0,0,0,.065);--grain-lt:rgba(255,255,255,.035)}
.service-card[data-card="2"]{--card-bg:#f0ff77;--card-ink:#16343f;--card-mark:#f35f50;--grain-dk:rgba(0,0,0,.065);--grain-lt:rgba(255,255,90,.04)}
.service-card[data-card="3"]{--card-bg:#016fff;--card-ink:#fff;--card-mark:#ffb6dd;--grain-dk:rgba(0,0,0,.075);--grain-lt:rgba(255,255,255,.035)}
.service-card[data-card="4"]{--card-bg:#fff;--card-ink:#111;--card-mark:#0828ff;--grain-dk:rgba(0,0,0,.045);--grain-lt:rgba(255,255,255,.035)}
.service-card.is-snap,.service-card.is-snap *,.service-card.is-snap::before,.service-card.is-snap::after{transition:none!important}
.service-card::before,.service-card::after{content:"";position:absolute;inset:-30%;z-index:0;pointer-events:none;transform:rotate(-14.8deg);transition:background-color .9s ease}
.service-card::before{background-color:var(--grain-lt);-webkit-mask:url(assets/services/canvas-light.png) 0 0/max(16cqw,130px) auto repeat;mask:url(assets/services/canvas-light.png) 0 0/max(16cqw,130px) auto repeat}
.service-card::after{background-color:var(--grain-dk);-webkit-mask:url(assets/services/canvas-dark.png) 0 0/max(16cqw,130px) auto repeat;mask:url(assets/services/canvas-dark.png) 0 0/max(16cqw,130px) auto repeat}
.service-card.is-flat-video::before,.service-card.is-flat-video::after{z-index:2}
.service-card-mark,.service-card-text{z-index:3}
.services-layout.is-card .service-card{opacity:1}
.services-layout.is-card .service-note{opacity:0}
.service-note{transition:opacity .4s ease}
.service-card-art{position:absolute;z-index:1;right:0;height:auto;display:block;opacity:0;transition:transform .5s ease,opacity .9s ease}
.service-card .art-hand{top:14%;width:66.8%;transform:translateX(7%)}
.service-card .art-birds{top:calc(-6.25% - 10px);width:62.5%;transform:translateX(7%)}
.service-card .art-cheetah{top:0;width:46.6%;transform:translateX(7%)}
.service-card .art-flower{top:0;right:-1.4%;width:64%;transform:translateX(7%)}
.service-card .art-vibe{top:0;right:-1.3%;width:57.6%;transform:translateX(7%)}
.service-card[data-card="0"] .art-hand,.service-card[data-card="1"] .art-birds,.service-card[data-card="2"] .art-cheetah,.service-card[data-card="3"] .art-flower,.service-card[data-card="4"] .art-vibe{opacity:1}
.services-layout.is-card .service-card[data-card="0"] .art-hand,.services-layout.is-card .service-card[data-card="1"] .art-birds,.services-layout.is-card .service-card[data-card="2"] .art-cheetah,.services-layout.is-card .service-card[data-card="3"] .art-flower,.services-layout.is-card .service-card[data-card="4"] .art-vibe{transform:none}
.services-layout.is-card .service-card[data-card="0"] :is(.art-birds,.art-cheetah,.art-flower,.art-vibe),.services-layout.is-card .service-card[data-card="1"] :is(.art-cheetah,.art-flower,.art-vibe),.services-layout.is-card .service-card[data-card="2"] :is(.art-flower,.art-vibe),.services-layout.is-card .service-card[data-card="3"] :is(.art-vibe){transform:translateX(5%)}
.services-layout.is-card .service-card[data-card="1"] :is(.art-hand),.services-layout.is-card .service-card[data-card="2"] :is(.art-hand,.art-birds),.services-layout.is-card .service-card[data-card="3"] :is(.art-hand,.art-birds,.art-cheetah),.services-layout.is-card .service-card[data-card="4"] :is(.art-hand,.art-birds,.art-cheetah,.art-flower){transform:translateX(-5%)}
.services-layout.is-card .service-card-art{transition:transform 1.3s cubic-bezier(.16,1,.3,1) .1s,opacity .9s ease}
.service-card-mark{position:absolute;left:4.3cqw;top:4.9cqw;width:18.5cqw;height:auto;display:block;overflow:visible;transition:transform .9s ease}
.service-card[data-card="1"] .service-card-mark,.service-card[data-card="2"] .service-card-mark{transform:translateX(1.9cqw)}
.service-card[data-card="3"] .service-card-mark,.service-card[data-card="4"] .service-card-mark{transform:translateX(1.3cqw)}
.service-card-mark polygon{fill:var(--card-mark);transition:fill .9s ease}
.service-card-text{position:absolute;left:3.5cqw;bottom:4.2cqw;width:max(41.5cqw,260px);max-width:calc(100% - 7cqw);margin:0;font-family:var(--copy-font);font-size:clamp(14px,1.85cqw,22px);font-weight:400;line-height:1.2;letter-spacing:normal;color:var(--card-ink);opacity:0;transform:translateY(10px);transition:opacity .3s ease,transform .3s ease,color .9s ease}
.services-layout.is-card .service-card-text{opacity:1;transform:none;transition:opacity .7s ease-out .5s,transform .9s cubic-bezier(.16,1,.3,1) .5s,color .9s ease}
.services-layout.is-card .service-card-text.is-changing{opacity:0;transition:opacity .25s ease,color .9s ease}
@media(max-width:1000px){.service-card{grid-column:2}}
@media(max-width:650px){.service-card{grid-column:1;grid-row:2;aspect-ratio:4/5}.service-card .art-hand{top:18%;right:-6%;width:102%}.service-card .art-birds{top:calc(17% - 10px);right:-12%;width:86%}.service-card .art-cheetah{top:12%;right:-2%;width:64%}.service-card .art-flower{top:7%;right:-6%;width:84%}.service-card .art-vibe{top:6%;right:-6%;width:80%}.service-card-mark{left:6cqw;top:6cqw;width:30cqw}.service-card-text{left:6cqw;right:6cqw;bottom:6cqw;width:auto;max-width:none;font-size:15px;line-height:1.3}}
@media(prefers-reduced-motion:reduce){.service-card,.service-card *,.service-card::before,.service-card::after{transition:none!important}}
@media(min-width:1001px){.services-copy{grid-column:1;grid-row:1}.service-feature{grid-column:2;grid-row:1}.service-note{grid-column:3;grid-row:1}}
@media(min-width:651px) and (max-width:1000px){.services-copy{grid-column:1;grid-row:1}.service-feature{grid-column:2;grid-row:1}.service-note{grid-row:2}}
@media(max-width:650px){.services-copy{grid-row:1}.service-note{grid-row:3}}
@media(min-width:1001px){.service-card{margin-left:4.5vw}}
@media(max-width:1000px){.feature-accent{display:none}}
.about .index-bar{border-bottom-color:rgba(255,255,255,.22)}
@media(max-width:380px){.index-bar>span:last-child{display:none}}
@media(min-width:651px){.about .index-bar{margin-bottom:100px}}

/* "what i do": the heading's cap height starts on the same line as the top edge of the card. */
@media(min-width:1001px){
  .services-layout{align-content:center;align-items:start}
  .services-copy h2{margin-top:-.25em}
}

/* "what i do": registration marks (from Figma, Quacko Team 3549:1385) run along the top of the card — a notched plus at each end, the same plus scaled to 77% and turned 45° (an X) at the centre. */
.service-marks{display:none}
@media(min-width:1001px){
  .service-marks{display:flex;justify-content:space-between;align-items:center;grid-column:2/4;grid-row:1;align-self:start;margin-left:4.5vw;color:#fff;pointer-events:none;opacity:0;transform:translateY(calc(-100% - 40px));transition:opacity .5s ease}
  .services-layout.is-card .service-marks{opacity:1}
}


/* KidsRepublic: the hero's motion, composed for the homepage thumbnail. */
.kr-home-cover{position:absolute;inset:0;background:#F9F6F1;overflow:hidden}
.feature-image .kr-home-cover video{position:absolute;left:2.6%;top:13.3%;width:94.8%;height:83.9%;object-fit:cover;transform:scale(1.2);transition:none}
.kr-home-wordmark{position:absolute;left:5.92%;top:6.56%;width:31.94%;aspect-ratio:180.481/65.2315}
.feature-image .kr-home-wordmark img{display:block;width:100%;height:100%;transform:none;transition:none}
.kr-home-frame{position:absolute;inset:0;pointer-events:none}
.kr-home-frame i{position:absolute;display:block;background:#ff8b1c}
.kr-home-frame i:nth-child(1){top:0;left:0;width:100%;height:2.8125%;transform-origin:left;--frame-delay:0ms}
.kr-home-frame i:nth-child(2){top:0;right:0;width:2.6%;height:100%;transform-origin:top;--frame-delay:180ms}
.kr-home-frame i:nth-child(3){bottom:0;right:0;width:100%;height:2.8125%;transform-origin:right;--frame-delay:360ms}
.kr-home-frame i:nth-child(4){bottom:0;left:0;width:2.6%;height:100%;transform-origin:bottom;--frame-delay:540ms}
@media(prefers-reduced-motion:no-preference){
.feature:not(.is-in) .kr-home-frame i:nth-child(odd){transform:scaleX(0)}
.feature:not(.is-in) .kr-home-frame i:nth-child(even){transform:scaleY(0)}
.feature.is-in .kr-home-frame i{transform:scale(1);transition:transform 650ms cubic-bezier(.22,1,.36,1) var(--frame-delay)}
}
/* Home About: larger portrait */
#about .about-photo-wrap{right:0;height:clamp(300px,30vw,520px)}
#about .about-details{max-width:min(800px,calc(100% - 30vw*1061/1008 - 40px))}
@media(max-width:1000px){#about .about-photo-wrap{height:clamp(220px,28vw,300px)}}
@media(max-width:650px){#about .about-photo-wrap{width:72vw;max-width:360px;height:auto}#about .about-details{max-width:none}}

/* Mobile: keep the editorial type legible and let it reflow within the viewport. */
@media(max-width:650px){
  .hero-editorial .hero-title{font-size:clamp(32px,8vw,52px);line-height:1.04;letter-spacing:-.035em;color:#0b0b0b;mix-blend-mode:normal;margin-bottom:24px}
  .hero-title>span{white-space:normal;text-wrap:balance}
  .hero-editorial .hero-reel{margin-top:0}
  .statement{font-size:clamp(32px,8vw,52px);line-height:1.05;letter-spacing:-.035em}
  .statement>span{white-space:normal;text-wrap:balance}
  .process-row p{font-size:16px}
  .service-card-text{font-size:16px}
  .about-details p{font-size:16px}
  .about-slider{margin-top:220px}
  /* Engine AI occupies a full mobile card; the desktop half-width frame stays intact. */
  .featured-grid .feature:nth-child(4) .feature-image{width:100%!important;aspect-ratio:1!important}
  .featured-grid .feature:nth-child(4) .work-meta{width:100%}
  #about .about-photo-wrap{right:auto;width:100%;max-width:none;height:auto;margin-left:0}
}

/* Phone layout: all five capabilities are visible in sequence. */
.mobile-services{display:none}
@media(max-width:650px){
  .services-layout{display:block}
  .services-copy{min-width:0}
  .services-copy h2{margin-bottom:38px}
  .service-switches,.service-feature,.service-note,.service-card,.service-marks{display:none!important}
  .mobile-services{display:block}
  .mobile-service-item{padding:28px 0 46px;border-top:1px solid rgba(255,255,255,.24)}
  .mobile-service-item:last-child{padding-bottom:0}
  .mobile-service-item h3{margin:0 0 22px;font-size:clamp(27px,7vw,34px);line-height:1.1;font-weight:500}
  .mobile-service-media{position:relative}
  .mobile-service-item video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
  .mobile-service-play{display:none;position:absolute;right:14px;bottom:14px;min-height:44px;padding:0 16px;border:1px solid #fff;background:#0b0b0b;color:#fff;font:500 13px/1 var(--copy-font);cursor:pointer}
  .mobile-service-media.is-play-blocked .mobile-service-play{display:block}
  .mobile-service-play:focus-visible{outline:2px solid #fff;outline-offset:3px}
  .mobile-service-item:nth-child(1) video{background:#00383e}
  .mobile-service-item:nth-child(2) video{background:#e8a7c7}
  .mobile-service-item:nth-child(3) video{background:#f0ff77}
  .mobile-service-item:nth-child(4) video{background:#016fff}
  .mobile-service-item:nth-child(5) video{background:#fff}
  .mobile-service-item p{margin:22px 0 0;font-size:16px;line-height:1.5;color:#e4e4e4}
}
/* Phone services list: same entrance as the featured case cards */
.mobile-reveal{opacity:0;transform:translateY(96px) scale(.94);transform-origin:50% 100%;transition:opacity .5s cubic-bezier(.33,1,.68,1),transform .75s cubic-bezier(.16,1,.3,1)}
.mobile-reveal.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.mobile-reveal{opacity:1;transform:none;transition:none}}
