/* Homepage-only September 24 refinements. All other route assets remain intact. */
body.homepage>.back-to-top{right:var(--page-gutter)!important}
body.homepage>header nav a.motion-link{padding-block:10px;background-position:0 calc(100% - 1px)!important}
body.homepage .case-cursor.visible{width:184px;height:40px}
body.homepage .case-hover-panel{padding-inline:14px;grid-template-columns:minmax(0,1fr) minmax(0,40%)}
body.homepage .case-hover-description{width:100%;max-width:410px;text-align:right;justify-self:end}
body.homepage .case-hover-date{padding-right:14px}
body.homepage .introduction{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,4vw,76px)}
body.homepage .introduction>p{grid-column:2;grid-row:1;width:100%;max-width:none;margin:0}
body.homepage .introduction h2{grid-column:1;grid-row:1;justify-self:start;margin:0;padding:0;font-size:var(--work-fit-size,clamp(80px,9vw,170px));line-height:1}
body.homepage .home-tint{transform:none!important;translate:none!important;clip-path:none!important;opacity:1!important;animation:none!important}
body.homepage .home-tint-word{display:inline-block;white-space:nowrap}
body.homepage .home-tint-char{color:color-mix(in srgb,currentColor calc(var(--ink-progress,0) * 100%),#a9aeb1);transition:none}
body.homepage .view-all-title .home-tint-char{color:color-mix(in srgb,#e5e5e5 calc(var(--ink-progress,0) * 100%),#70797f)}
@media(min-width:701px){
 body.homepage .hero-intro{left:clamp(32px,4.167vw,80px)!important}
 body.homepage>header .logo{justify-items:start;padding-left:calc(var(--page-gutter) - 16px)}
}
@media(max-width:700px){
 body.homepage{--panel-inset:6px}
 body.homepage>header{height:56px!important;margin:7px 6px 10px!important;width:calc(100% - 12px)!important;border-radius:20px;--logo-cell:69px;grid-template-columns:69px 1fr 60px}
 body.homepage>header:before{border-radius:20px}
 body.homepage>header .logo img{width:44px!important}
 body.homepage>header .menu-toggle{width:41px;height:41px;min-width:41px;padding:0;justify-content:center;align-items:center;border-radius:50%}
 body.homepage .hero{height:calc(100svh - 73px);min-height:700px;overflow:hidden}
 body.homepage .hero:before{inset:0 6px auto!important;height:64%;border-radius:20px}
 body.homepage .hero-intro{top:10.6%!important;left:8%!important;width:84%!important;max-width:84%!important;text-align:center}
 body.homepage .hero .expertise-intro{font-size:clamp(16px,4.58vw,24px)!important;line-height:1.28!important;letter-spacing:-.025em;max-width:none}
 body.homepage .greeting-line{display:inline;white-space:normal}
 body.homepage .greeting-line+.greeting-line:before{content:' '}
 body.homepage .expertise-cycle{display:inline-block;width:21ch;max-width:100%;height:1.4em;min-height:1.4em;vertical-align:bottom}
 body.homepage .expertise-value{display:inline-block;white-space:nowrap}
 body.homepage .hero .portrait{width:150vw!important;height:auto!important;max-width:none;top:26.7%;bottom:auto;left:46%;aspect-ratio:1;object-fit:contain}
 body.homepage .hero .location{top:59.5%!important;right:0!important;left:auto!important;max-width:none!important;width:52.5%;min-height:73px;flex-direction:row;align-items:center;gap:10px;padding:10px 8px 10px 10px;border-radius:60px 0 0 60px;background:var(--ink);font-size:12px;line-height:1.25;color:var(--paper)!important}
 body.homepage .hero .location :is(span,div,p){color:inherit!important}
 body.homepage .hero .smiley{width:52px!important;height:52px!important;flex-shrink:0}
 body.homepage .hero .marquee{top:72%;bottom:auto;height:20%;padding:0;display:flex;align-items:center}
 body.homepage .hero .marquee-track{font-size:31vw;line-height:1.1}
 body.homepage .introduction{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
 body.homepage .introduction h2{order:-1;font-size:clamp(72px,20vw,110px)}
 body.homepage .case-hover-description{text-align:left;max-width:none}
 body.homepage .case-hover-panel{padding-inline:0}
 body.homepage .contact{margin-inline:var(--panel-inset);width:calc(100% - 2 * var(--panel-inset));padding-inline:calc(var(--page-gutter) - var(--panel-inset))!important;--footer-gutter:calc(var(--page-gutter) - var(--panel-inset))}
 body.homepage .contact .footer-bottom{width:calc(100% + 2 * var(--footer-gutter));margin-inline:calc(-1 * var(--footer-gutter));padding-inline:var(--footer-gutter);display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
 body.homepage .footer-bottom :is(.footer-copyright,.footer-credit,.footer-time){flex:0 1 auto;white-space:normal;text-align:left;max-width:100%;margin:0}
 body.homepage .footer-bottom :is(.footer-credit,.footer-time){margin-left:auto;text-align:right}
}
@media(prefers-reduced-motion:reduce){body.homepage .home-tint-char{--ink-progress:1!important}}
/* Revision 2: exact PDF coordinates scale from its 393 × 852 artboard. */
.pdf-mobile-greeting,.pdf-mobile-location-label,.pdf-mobile-cat{display:none}
body.homepage .home-tint-char{color:color-mix(in srgb,#1e272e calc(var(--ink-progress,0) * 100%),#a9aeb1)}
body.homepage .view-all-title .home-tint-char{color:color-mix(in srgb,#e5e5e5 calc(var(--ink-progress,0) * 100%),#70797f)}
body.homepage .case-hover-description{text-align:left}
@media(min-width:701px){
 body.homepage>header{margin:0 0 20px!important;width:100%!important;--logo-cell:124px;grid-template-columns:124px 1fr 220px;border-radius:0}
 body.homepage>header:before{border-radius:0}
 body.homepage>header .logo{padding-left:0;justify-items:center}
 body.homepage .introduction{grid-template-columns:minmax(0,910fr) minmax(0,654fr);column-gap:var(--home-pair-gap)}
 body.homepage .introduction>p{font-size:clamp(12px,1.25vw,24px);line-height:1.28;letter-spacing:-.025em;font-weight:400}
 body.homepage .case-hover-panel{padding-right:14px}
 body.homepage .case-hover-description{justify-self:end;width:100%;max-width:410px}
}
@media(max-width:700px){
 body.homepage>header{height:14.249364vw!important;margin:1.78117vw 1.526718vw 2.544529vw!important;width:96.946565vw!important;--logo-cell:17.557252vw;grid-template-columns:17.557252vw 1fr 15.267176vw;border-radius:5.089059vw}
 body.homepage>header:before{border-radius:5.089059vw}
 body.homepage>header .logo img{width:11.704835vw!important}
 body.homepage>header .menu-toggle{width:10.43257vw;height:10.43257vw;min-width:0;margin-right:1.017812vw}
 body.homepage .hero{height:198.21883vw;min-height:0}
 body.homepage .hero:before{inset:0 1.526718vw auto!important;height:126.97201vw;border-radius:5.089059vw}
 body.homepage .hero-intro{top:9.669211vw!important;left:4.580153vw!important;width:90.839695vw!important;max-width:none!important;transform:none!important}
 body.homepage .hero .expertise-intro{display:none!important}
 body.homepage .hero .pdf-mobile-greeting{display:block;font-family:Onest,Arial,sans-serif;font-size:4.071247vw!important;line-height:1.28!important;letter-spacing:0;font-weight:450;text-align:center;margin:0}
 body.homepage .pdf-mobile-greeting>span{display:block;white-space:nowrap}
 body.homepage .pdf-mobile-greeting em{font-style:normal;color:#ef5400}
 body.homepage .hero .location{top:30.788804vw!important;left:20.101781vw!important;right:auto!important;width:59.796438vw;height:12.468193vw;min-height:0;max-width:none!important;padding:0.763359vw;gap:3.053435vw;border-radius:7vw;transform:none!important;font-size:3.053435vw;line-height:1.28;white-space:nowrap}
 body.homepage .hero .location .desktop-location-label{display:none}
 body.homepage .hero .pdf-mobile-location-label{display:block}
 body.homepage .hero .smiley{width:10.941476vw!important;height:10.941476vw!important;background:#fefefe!important;position:relative}
 body.homepage .hero .smiley .cat-stage{display:none}
 body.homepage .pdf-mobile-cat{display:block;width:10.445vw;height:8.915vw;object-fit:contain;position:absolute;left:.45vw;top:.84vw;border-radius:50%}
 body.homepage .hero .portrait{width:148.854962vw!important;height:148.710354vw!important;top:auto!important;bottom:-3.67295vw!important;left:47.45547vw!important;object-fit:fill}
 body.homepage .hero .marquee{top:143.51145vw;bottom:auto;height:38.16794vw;padding:0;display:flex;align-items:center}
 body.homepage .hero .marquee-track{font-size:32.569974vw;line-height:1.1;letter-spacing:-.065em}
 body.homepage .case-hover-panel [data-card-decode]:not(.card-entry-visible),body.homepage .case-hover-date [data-card-decode]:not(.card-entry-visible){opacity:0!important}
 body.homepage .case-hover-panel .card-entry-visible,body.homepage .case-hover-date .card-entry-visible{opacity:1!important;transition-delay:0s!important}
}
@media(hover:none) and (min-width:701px){
 body.homepage [data-card-decode]:not(.card-entry-visible){opacity:0!important}
 body.homepage [data-card-decode].card-entry-visible{opacity:1!important}
}
/* Reuse the live desktop phrase and cat instead of a static reference image. */
@media(max-width:700px){
 body.homepage .hero .smiley .cat-stage{display:block!important;width:100%;height:100%}
 body.homepage .hero .pdf-mobile-cat{display:none!important}
 body.homepage .pdf-mobile-greeting .mobile-cycle-slot{display:inline}
 body.homepage .pdf-mobile-greeting .expertise-cycle{display:inline-block!important;width:19.5ch;height:1.4em;min-height:1.4em;overflow:hidden;vertical-align:bottom;text-align:left;font:inherit;line-height:1.4}
 body.homepage .pdf-mobile-greeting .expertise-value{font:inherit;line-height:1.4;white-space:nowrap;color:#ef5400}
}
@media(min-width:701px){body.homepage .introduction h2{line-height:var(--work-ink-ratio,.74)}}

/* Desktop scroll-to-top: clear the portrait and sit in the outer right rail. */
@media(min-width:701px){body.homepage>.back-to-top{right:clamp(24px,2.604167vw,50px)!important;bottom:calc(var(--top-bottom,24px) + 16px)!important}}
