:root{
  --motion-ease:cubic-bezier(.2,.78,.18,1);
  --motion-ease-soft:cubic-bezier(.22,.68,.18,1);
  --motion-orange:#ff5a1f;
  --motion-ink:#111218;
  --motion-paper:#f3f3f1;
  --safe-left:max(16px,env(safe-area-inset-left));
  --safe-right:max(16px,env(safe-area-inset-right));
}
html.motion-enabled{background:var(--motion-paper)}
html.motion-enabled body{overflow-x:hidden}
html.motion-routed .every-loader{display:none!important}
.topbar{z-index:10020!important;will-change:transform,background-color,backdrop-filter}
/* PAGE ENTRANCE */
html.motion-enabled:not(.motion-visible) :is(.page-view,.portfolio-view,.contact-shell,.legal-shell){opacity:0}
html.motion-enabled.motion-visible :is(.page-view,.portfolio-view,.contact-shell,.legal-shell){animation:pageSettle .78s var(--motion-ease) both}
@keyframes pageSettle{from{opacity:0;transform:translate3d(var(--entry-x,0),var(--entry-y,14px),0);filter:blur(5px)}to{opacity:1;transform:none;filter:blur(0)}}
/* DIRECTION-CORRECT ROUTE TRANSITION */
.route-transition-layer,.entry-transition-layer{position:fixed;inset:0;z-index:10010;pointer-events:none;overflow:hidden;contain:paint}
.route-transition-layer::before,.entry-transition-layer::before{content:"";position:absolute;inset:0;background:var(--motion-paper);will-change:clip-path,opacity}
.route-transition-layer::before{clip-path:circle(0 at var(--motion-x,50%) var(--motion-y,50%));animation:routeCover .56s var(--motion-ease) .08s forwards}
.entry-transition-layer::before{clip-path:circle(160vmax at var(--motion-x,50%) var(--motion-y,50%));animation:routeReveal .70s var(--motion-ease) .02s forwards}
.route-transition-layer::after,.entry-transition-layer::after{content:"";position:absolute;left:var(--motion-x,50%);top:var(--motion-y,50%);width:var(--motion-distance,140vmax);height:1px;background:linear-gradient(90deg,rgba(17,18,24,.52),rgba(255,90,31,.72) 72%,rgba(255,90,31,0));box-shadow:0 0 20px rgba(255,90,31,.14);transform-origin:0 50%;will-change:transform,opacity}
.route-transition-layer::after{animation:beamExit .54s var(--motion-ease) both}
.entry-transition-layer::after{animation:beamEnter .68s var(--motion-ease) both}
.route-transition-layer .route-transition-dot,.entry-transition-layer .route-transition-dot{position:absolute;top:var(--motion-y,50%);left:var(--motion-x,50%);width:8px;height:8px;border-radius:50%;background:var(--motion-orange);box-shadow:0 0 0 7px rgba(255,90,31,.08),0 0 30px rgba(255,90,31,.28);will-change:transform,opacity}
.route-transition-layer .route-transition-dot{animation:dotExit .56s var(--motion-ease) both}
.entry-transition-layer .route-transition-dot{animation:dotEnter .68s var(--motion-ease) both}
@keyframes routeCover{to{clip-path:circle(160vmax at var(--motion-x,50%) var(--motion-y,50%))}}
@keyframes routeReveal{to{clip-path:circle(0 at var(--motion-x,50%) var(--motion-y,50%));opacity:.98}}
@keyframes beamExit{0%{transform:rotate(var(--motion-angle,0rad)) scaleX(0);opacity:.15}18%{opacity:1}100%{transform:rotate(var(--motion-angle,0rad)) scaleX(1);opacity:.62}}
@keyframes beamEnter{0%{transform:rotate(var(--motion-angle,0rad)) scaleX(0);opacity:.8}72%{opacity:.56}100%{transform:rotate(var(--motion-angle,0rad)) scaleX(1);opacity:0}}
@keyframes dotExit{0%{transform:translate(-50%,-50%) scale(.72);opacity:.45}35%{opacity:1}100%{transform:translate(calc(-50% + var(--motion-dx,0px)),calc(-50% + var(--motion-dy,0px))) scale(.55);opacity:0}}
@keyframes dotEnter{0%{transform:translate(-50%,-50%) scale(.85);opacity:1}100%{transform:translate(calc(-50% + var(--motion-dx,0px)),calc(-50% + var(--motion-dy,0px))) scale(.45);opacity:0}}
html.motion-leaving :is(.page-scroll,.portfolio-scroll,.contact-shell,.home-about,main:not(.app)){animation:contentLeave .44s var(--motion-ease) both}
@keyframes contentLeave{to{opacity:.48;transform:scale(.994);filter:blur(2px)}}
/* HERO LANGUAGE  ---------------------------------------------------------- */
.service-hero{isolation:isolate}
.service-copy h1,.portfolio-hero h1,.contact-copy h1,.home-about-copy h2{will-change:clip-path,transform,opacity,filter}
html.motion-enabled .service-copy h1,
html.motion-enabled .portfolio-hero h1,
html.motion-enabled .contact-copy h1{
  clip-path:inset(0 0 100% 0);
  transform:translateY(26px);
  opacity:.15;
}
html.motion-visible .service-copy h1,
html.motion-visible .portfolio-hero h1,
html.motion-visible .contact-copy h1{
  animation:headlineReveal .92s var(--motion-ease) .12s forwards;
}
@keyframes headlineReveal{
  0%{clip-path:inset(0 0 100% 0);transform:translateY(26px);opacity:.15;filter:blur(5px)}
  100%{clip-path:inset(0 0 0 0);transform:none;opacity:1;filter:blur(0)}
}
html.motion-enabled .service-copy>.eyebrow{opacity:0;transform:translateY(8px)}
html.motion-visible .service-copy>.eyebrow{animation:smallIn .55s ease .04s forwards}
html.motion-enabled .service-copy>p,html.motion-enabled .service-copy>.text-cta{opacity:0;transform:translateY(14px)}
html.motion-visible .service-copy>p{animation:smallIn .64s var(--motion-ease) .28s forwards}
html.motion-visible .service-copy>.text-cta{animation:smallIn .64s var(--motion-ease) .38s forwards}
@keyframes smallIn{to{opacity:1;transform:none}}
/* The visual begins slightly before the copy finishes, creating depth. */
html.motion-enabled .service-hero .hero-media{opacity:0;transform:translate3d(20px,12px,0) scale(.965);filter:blur(5px)}
html.motion-visible .service-hero .hero-media{animation:mediaIn .95s var(--motion-ease) .20s forwards}
@keyframes mediaIn{to{opacity:1;transform:none;filter:blur(0)}}
/* SECTION REVEALS -------------------------------------------------------- */
.motion-section{position:relative}
.motion-section::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,rgba(17,18,24,.20),rgba(17,18,24,.06) 70%,transparent);transform:scaleX(0);transform-origin:left;opacity:.8;transition:transform .95s var(--motion-ease)}
.motion-section.motion-in::before{transform:scaleX(1)}
.motion-section :is(h2,h3){will-change:clip-path,transform,opacity,filter}
.motion-section.motion-pending :is(h2,h3){clip-path:inset(0 0 100% 0);transform:translateY(18px);opacity:.08;filter:blur(4px)}
.motion-section.motion-in :is(h2,h3){clip-path:inset(0);transform:none;opacity:1;filter:none;transition:clip-path .85s var(--motion-ease),transform .85s var(--motion-ease),opacity .6s ease,filter .75s ease}
.motion-section.motion-pending :is(p,article,.deliverables>* ){opacity:0;transform:translateY(14px)}
.motion-section.motion-in :is(p,article,.deliverables>* ){opacity:1;transform:none;transition:opacity .6s ease .10s,transform .72s var(--motion-ease) .10s}
.motion-section.motion-in .deliverables>*:nth-child(2){transition-delay:.15s}
.motion-section.motion-in .deliverables>*:nth-child(3){transition-delay:.20s}
.motion-section.motion-in .deliverables>*:nth-child(4){transition-delay:.25s}
.motion-section.motion-in .deliverables>*:nth-child(5){transition-delay:.30s}
.motion-section.motion-in .deliverables>*:nth-child(6){transition-delay:.35s}
/* MENU ------------------------------------------------------------------ */
.app.is-menu-open .menu-links :is(a,button){transition:opacity .5s ease,transform .68s var(--motion-ease),letter-spacing .42s ease!important}
.menu-links :is(a,button){will-change:transform,opacity}
.app.is-menu-open .menu-links :is(a,button):hover{transform:translateX(4px)!important;letter-spacing:.008em}
.menu-links :is(a,button)::after{transition:transform .45s var(--motion-ease),opacity .3s ease!important}
.menu-panel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(17,18,24,.10);transform:scaleX(0);transform-origin:left;transition:transform .9s var(--motion-ease) .16s}
.app.is-menu-open .menu-panel::after{transform:scaleX(1)}
/* HOME · UNIVERSE ------------------------------------------------------- */
.diagram-svg .line{transition:opacity .45s ease,stroke .45s ease,filter .45s ease,stroke-width .45s ease}
.diagram-wrap.route-focus .diagram-svg .item-line{opacity:.10!important}
.diagram-wrap.route-focus .diagram-svg .item-line.route-focused{opacity:.92!important;stroke:var(--motion-orange)!important;stroke-width:1.15!important;filter:drop-shadow(0 0 5px rgba(255,90,31,.24))}
.diagram-wrap.route-focus .node:not(.route-focused-node){opacity:.30}
.diagram-wrap .node{transition:opacity .35s ease,transform .45s var(--motion-ease),box-shadow .35s ease}
.diagram-wrap .node.route-focused-node{transform:scale(1.18);box-shadow:0 0 0 8px rgba(255,90,31,.06),0 0 22px rgba(255,90,31,.16)}
.diagram-svg .signal-line{pointer-events:none;stroke:var(--motion-orange)!important;stroke-width:1.1!important;stroke-opacity:.85!important;fill:none!important;stroke-dasharray:9 91!important;stroke-dashoffset:0;filter:drop-shadow(0 0 4px rgba(255,90,31,.28));animation:signalRun 2.2s linear forwards}
@keyframes signalRun{0%{stroke-dashoffset:100;opacity:0}8%{opacity:1}88%{opacity:.7}100%{stroke-dashoffset:0;opacity:0}}
/* HOME ABOUT sections use the same visual rhythm. */
.home-about .about-section{position:relative}
.home-about .about-section.motion-pending>*{opacity:0;transform:translateY(20px)}
.home-about .about-section.motion-in>*{opacity:1;transform:none;transition:opacity .72s ease,transform .85s var(--motion-ease)}
.home-about .about-section.motion-in>*:nth-child(2){transition-delay:.08s}
.home-about .about-section.motion-in>*:nth-child(3){transition-delay:.15s}
/* CARDS / IMAGES --------------------------------------------------------- */
.site-project-card,.portfolio-card,.sg-item{--motion-px:0px;--motion-py:0px}
.site-project-card,.portfolio-card{transition:transform .5s var(--motion-ease),box-shadow .5s ease,border-color .35s ease!important}
.site-project-card:hover,.portfolio-card:hover{transform:translateY(-5px);box-shadow:0 20px 55px rgba(17,18,24,.08)}
.site-project-card .site-project-visual img,
.portfolio-card .portfolio-visual,
.sg-item::before{transition:transform .65s var(--motion-ease),filter .45s ease!important;will-change:transform}
.site-project-card:hover .site-project-visual img{transform:translate3d(var(--motion-px),var(--motion-py),0) scale(1.035)}
.portfolio-card:hover .portfolio-visual{transform:translate3d(var(--motion-px),var(--motion-py),0) scale(1.018)}
.site-project-meta em,.portfolio-card i{transition:transform .45s var(--motion-ease)}
.site-project-card:hover .site-project-meta em{transform:translate(3px,-3px)}
/* Gentle viewport depth, desktop only. */
.parallax-item{--motion-depth:0px;will-change:transform}
@media (min-width:901px) and (pointer:fine){
  .home-about-media.parallax-item,.about-importance-media.parallax-item{transform:translate3d(0,var(--motion-depth),0)}
}
/* CONTEXTUAL CURSOR ------------------------------------------------------ */
.custom-cursor.cursor-context span{min-width:max-content}
.custom-cursor.cursor-context.is-action{mix-blend-mode:normal}
/* Small UI polish. */
.text-cta,.next-route a,.site-footer a,.home-about a{transition:opacity .3s ease,transform .4s var(--motion-ease),color .3s ease}
.text-cta:hover,.next-route a:hover{transform:translateX(3px)}
.eyebrow{transition:letter-spacing .45s ease,opacity .35s ease}
.service-hero:hover .eyebrow{letter-spacing:.19em}
/* Do not turn mobile into a motion demo. */
@media(max-width:900px){
  .route-transition-layer::after,.entry-transition-layer::after{box-shadow:none}
  .site-project-card:hover,.portfolio-card:hover{transform:none;box-shadow:none}
  .diagram-wrap.route-focus .node:not(.route-focused-node){opacity:.55}
  .motion-section.motion-pending :is(h2,h3){transform:translateY(10px);filter:none}
}
@media(prefers-reduced-motion:reduce){
  html.motion-enabled:not(.motion-visible) :is(.page-view,.portfolio-view,.contact-shell,.legal-shell),
  html.motion-enabled .service-copy h1,html.motion-enabled .portfolio-hero h1,html.motion-enabled .contact-copy h1,
  html.motion-enabled .service-copy>.eyebrow,html.motion-enabled .service-copy>p,html.motion-enabled .service-copy>.text-cta,
  html.motion-enabled .service-hero .hero-media,
  .motion-section.motion-pending :is(h2,h3,p,article,.deliverables>*),
  .home-about .about-section.motion-pending>*{opacity:1!important;transform:none!important;clip-path:none!important;filter:none!important;animation:none!important;transition:none!important}
  .route-transition-layer,.entry-transition-layer{display:none!important}
  .diagram-svg .signal-line{display:none!important}
  .motion-section::before{transform:scaleX(1)!important}
}
@media(max-width:980px){
  html,body{max-width:100%;overflow-x:hidden}
  .page-scroll,.portfolio-scroll,.contact-shell,.legal-shell,main{max-width:100%}
  .service-hero{grid-template-columns:1fr!important;gap:34px!important;align-items:start!important}
  .service-copy{grid-column:1!important;grid-row:auto!important;max-width:100%!important;width:100%!important}
  .service-hero .hero-media{grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:100%!important;margin:0!important}
  .statement{grid-template-columns:1fr!important;gap:24px!important}
  .statement>*{grid-column:1!important;max-width:100%!important}
  .service-grid{grid-template-columns:1fr!important;gap:32px!important}
  .site-project-grid-3x2{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important}
  .portfolio-hero-grid,.workcase-hero,.workcase-story{grid-template-columns:1fr!important}
  .contact-hero{grid-template-columns:1fr!important}
  .contact-copy{position:static!important}
}
@media(max-width:760px){
  :root{--mobile-pad:16px}
  html,body{width:100%;min-height:100%;height:100dvh;overflow:hidden!important}
  body{font-size:16px;-webkit-text-size-adjust:100%}
  .app{width:100%;height:100dvh;overflow:hidden!important}
  .topbar{height:64px!important;padding-left:var(--safe-left)!important;padding-right:var(--safe-right)!important}
  .brand-button{width:108px!important;height:32px!important;min-width:0!important}
  .brand,.brand-full{width:108px!important;max-width:108px!important}
  .page-back{font-size:8px!important;gap:5px!important;letter-spacing:.12em!important}
  .page-back b{display:none!important}
  .menu-button{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important}
  .menu-button-text{display:none!important}
  .menu-overlay{inset:0!important;padding:calc(72px + env(safe-area-inset-top)) var(--safe-right) max(18px,env(safe-area-inset-bottom)) var(--safe-left)!important;align-items:flex-start!important;justify-content:stretch!important;overflow-y:auto!important;overscroll-behavior:contain!important}
  .menu-panel{width:100%!important;height:auto!important;max-height:none!important;min-height:calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overflow:visible!important}
  .menu-icon-morph{display:none!important}
  .menu-links :is(a,button){grid-template-columns:1fr auto!important;padding:12px 0!important;min-height:52px!important}
  .menu-links :is(a,button) span{display:none!important}
  .menu-links :is(a,button) strong{font-size:clamp(28px,8.8vw,38px)!important;line-height:1!important}
  .menu-links :is(a,button) i{display:block!important;font-size:7px!important}
  .menu-foot{margin-top:28px!important;padding-top:18px!important;align-items:flex-start!important;flex-direction:column!important;gap:16px!important}
  .menu-foot-meta{max-width:100%!important}

  .page-view{padding-top:64px!important;overflow:hidden!important}
  .page-scroll{height:calc(100dvh - 64px)!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important;scrollbar-gutter:auto!important;padding:0 var(--mobile-pad) max(80px,calc(56px + env(safe-area-inset-bottom)))!important}
  .service-hero{min-height:auto!important;padding:28px 0 50px!important;gap:30px!important}
  .service-copy h1{font-size:clamp(42px,12.5vw,58px)!important;line-height:.94!important;letter-spacing:-.06em!important;overflow-wrap:anywhere}
  .service-copy p{font-size:14px!important;line-height:1.66!important;margin-top:22px!important;max-width:100%!important}
  .text-cta{margin-top:25px!important}
  .service-hero .hero-media{height:clamp(300px,56svh,430px)!important;min-height:300px!important;border-radius:0!important;transform:none!important}
  .system-build-animation{width:100%!important;min-height:clamp(320px,92vw,410px)!important;height:auto!important;overflow:hidden!important}
  .system-build-animation .build-window{inset:0!important;width:100%!important;height:100%!important;min-height:inherit!important;border-radius:18px!important;overflow:hidden!important}
  .statement,.service-grid,.process,.site-projects,.next-route{padding-top:52px!important;padding-bottom:52px!important;margin-left:0!important;margin-right:0!important}
  .statement{min-height:auto!important}
  .statement h2,.grid-intro h3,.site-projects-head h3{font-size:clamp(34px,10.8vw,46px)!important;line-height:.98!important;overflow-wrap:anywhere}
  .statement p,.service-grid p{font-size:13px!important;line-height:1.7!important}
  .deliverables{grid-template-columns:1fr!important}
  .deliverables article,.deliverables article:nth-child(odd),.deliverables article:nth-child(even){min-height:0!important;padding:22px 0!important;border-right:0!important}
  .deliverables h4{font-size:25px!important;margin:18px 0 8px!important}
  .process-row{grid-template-columns:1fr!important;gap:8px!important;padding:20px 0!important}
  .process-row>*{grid-column:1!important;margin:0!important}
  .process-row h3{font-size:28px!important}
  .next-route{display:block!important}
  .next-route :is(a,button){display:block!important;font-size:clamp(38px,11vw,50px)!important;line-height:.96!important;margin-top:14px!important;overflow-wrap:anywhere}
  .site-footer{padding:28px 0 max(18px,env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important}
  .site-footer nav{display:flex!important;flex-wrap:wrap!important;gap:10px 14px!important}

  .side-gallery{width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:0 0 46px!important;overflow:hidden!important}
  .side-gallery-head{padding:0 var(--mobile-pad) 16px!important}
  .side-gallery-track{width:100%!important;height:clamp(340px,58svh,470px)!important;min-height:340px!important;gap:10px!important;padding:0 var(--mobile-pad)!important;scroll-padding-inline:var(--mobile-pad)!important}
  .sg-column-feature{width:82vw!important;max-width:360px!important;flex:0 0 auto!important}
  .sg-column-stack{width:68vw!important;max-width:300px!important;flex:0 0 auto!important}

  .site-projects-head{display:block!important;margin-bottom:24px!important}
  .site-projects-head p{margin-top:14px!important;max-width:100%!important}
  .site-project-grid,.site-project-grid-3x2{grid-template-columns:1fr!important;grid-template-rows:none!important;gap:16px!important}
  .site-project-card{border-radius:18px!important}
  .site-project-visual{aspect-ratio:16/10!important}
  .site-project-meta{padding:16px!important;gap:12px!important}
  .site-project-meta strong{font-size:25px!important}

  .signal-board{grid-template-columns:1fr!important;margin:0!important}
  .signal-board div{min-height:132px!important;padding:20px!important;border-right:0!important}

  .ai-particle-map{height:auto!important;min-height:640px!important;margin:0 0 52px!important;border-radius:18px!important;overflow:hidden!important}
  .ai-core{top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;padding:12px 10px!important;width:154px!important;max-width:42vw!important;text-align:center!important}
  .ai-core strong{font-size:22px!important;line-height:1!important}
  .ai-info-node{width:132px!important;max-width:38vw!important;min-height:80px!important;padding:12px!important;border-radius:13px!important}
  .ai-info-node strong{font-size:16px!important;line-height:1.05!important}.ai-info-node small{font-size:7px!important;line-height:1.35!important}
  .ain1{left:10px!important;top:28px!important}.ain2{right:10px!important;top:28px!important}.ain3{right:10px!important;bottom:28px!important}.ain4{left:10px!important;bottom:28px!important}

  .portfolio-view{padding-top:64px!important;overflow:hidden!important}
  .portfolio-filter{top:64px!important;height:48px!important;padding:0 var(--mobile-pad)!important;gap:15px!important;overscroll-behavior-x:contain!important}
  .portfolio-scroll{height:calc(100dvh - 64px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:76px var(--mobile-pad) max(74px,calc(48px + env(safe-area-inset-bottom)))!important;scrollbar-gutter:auto!important}
  .portfolio-hero{padding-bottom:30px!important}
  .portfolio-hero h1{font-size:clamp(43px,12.8vw,60px)!important;line-height:.92!important}
  .portfolio-hero p{font-size:13px!important;line-height:1.65!important}
  .portfolio-list{grid-template-columns:1fr!important;gap:34px!important;padding:30px 0 50px!important}
  .portfolio-visual{border-radius:16px!important;aspect-ratio:1.2/1!important}
  .portfolio-info{padding-top:14px!important}.portfolio-info h2{font-size:32px!important}.portfolio-info p{max-width:100%!important}
  .portfolio-footer{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}
  .portfolio-footer nav{flex-wrap:wrap!important;gap:10px 14px!important}
  .workcase{overflow:hidden!important}
  .workcase-scroll{height:100dvh!important;padding:72px var(--mobile-pad) max(64px,calc(40px + env(safe-area-inset-bottom)))!important;overflow-x:hidden!important}
  .workcase-close{left:var(--mobile-pad)!important;top:20px!important}
  .workcase-hero{grid-template-columns:1fr!important;gap:20px!important;padding:12px 0 38px!important}
  .workcase-hero h1{font-size:clamp(50px,15vw,76px)!important;line-height:.88!important;overflow-wrap:anywhere}
  .workcase-main{height:clamp(320px,56svh,520px)!important;border-radius:16px!important}
  .workcase-story{grid-template-columns:1fr!important;gap:15px!important;padding:48px 0 36px!important}
  .workcase-story h2{font-size:40px!important}.workcase-story p{font-size:13px!important}
  .workcase-grid{grid-template-columns:1fr!important;gap:12px!important}.workcase-grid .workcase-media{height:clamp(300px,52svh,480px)!important;border-radius:16px!important}.workcase-wide{height:clamp(270px,44svh,420px)!important;border-radius:16px!important}
  .workcase-next{grid-template-columns:1fr auto!important;gap:10px!important;margin-top:48px!important;padding:24px 0!important}.workcase-next span{grid-column:1/3!important}.workcase-next strong{font-size:clamp(31px,9.5vw,42px)!important}

  body:has(.contact-shell){overflow-y:auto!important;height:auto!important;min-height:100dvh!important}
  body:has(.contact-shell) .topbar{position:fixed!important}
  .contact-shell{width:auto!important;margin:0 var(--mobile-pad)!important;padding:96px 0 max(64px,calc(48px + env(safe-area-inset-bottom)))!important}
  .contact-hero{grid-template-columns:1fr!important;gap:40px!important}
  .contact-copy{position:static!important}.contact-copy h1{font-size:clamp(46px,14vw,66px)!important;line-height:.92!important;overflow-wrap:anywhere}.contact-copy .lead{font-size:14px!important;line-height:1.65!important}
  .contact-meta{grid-template-columns:1fr!important;gap:20px!important;margin-top:36px!important}
  .form-wrap{border-radius:18px!important;padding:22px 16px!important}.form-head{display:block!important;margin-bottom:24px!important}.form-head h2{font-size:34px!important;white-space:normal!important}.form-head span{display:block!important;margin-top:10px!important}
  .form-grid{grid-template-columns:1fr!important;gap:18px!important}.field.full,.privacy-row,.submit-row{grid-column:1!important}.submit-row{flex-direction:column!important;align-items:stretch!important}.submit-btn{width:100%!important;min-width:0!important}.form-status{text-align:left!important}

  body:has(.legal-footer){overflow-y:auto!important;height:auto!important;min-height:100dvh!important}
  body:has(.legal-footer) .top{height:64px!important;padding:0 var(--mobile-pad)!important}
  body:has(.legal-footer) main{width:auto!important;margin:0!important;padding:40px var(--mobile-pad) 58px!important;grid-template-columns:1fr!important;gap:30px!important}
  body:has(.legal-footer) .side h1{font-size:clamp(42px,12vw,58px)!important;overflow-wrap:anywhere}
  body:has(.legal-footer) .content{max-width:100%!important}.content p,.content li{overflow-wrap:anywhere}
  body:has(.legal-footer) .legal-footer{width:auto!important;margin:0!important;padding:24px var(--mobile-pad) max(24px,env(safe-area-inset-bottom))!important;flex-direction:column!important;align-items:flex-start!important}

  .route-transition-layer::after,.entry-transition-layer::after{box-shadow:none!important}
}
@media(max-width:420px){
  .menu-links :is(a,button) strong{font-size:28px!important}
  .service-copy h1{font-size:clamp(40px,12.2vw,52px)!important}
  .site-project-meta strong{font-size:23px!important}
  .ai-particle-map{min-height:600px!important}
  .ai-info-node{width:124px!important;max-width:39vw!important}
}
@media(prefers-reduced-motion:reduce){
  .route-transition-layer,.entry-transition-layer{display:none!important}
}
.diagram-svg .signal-line{stroke-dashoffset:0!important;animation:signalOut 2.15s linear forwards!important}
@keyframes signalOut{0%{stroke-dashoffset:0;opacity:0}8%{opacity:1}88%{opacity:.72}100%{stroke-dashoffset:-100;opacity:0}}
@media(max-width:760px){
  .view-home{height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain}
  .view-home .canvas{width:100%!important;min-height:100svh!important;height:auto!important;padding:72px 12px 54px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
  .view-home .diagram-wrap{width:min(108vw,560px)!important;max-width:none!important;transform:none!important;margin:0 auto!important;flex:0 0 auto!important}
  .view-home .diagram-3d{transform:none!important}
  .home-legal-footer{padding-left:16px!important;padding-right:16px!important;padding-bottom:max(14px,env(safe-area-inset-bottom))!important;gap:10px!important}
  .home-legal-footer .home-hint{display:none!important}
  .home-legal-footer nav{gap:9px!important;flex-wrap:wrap!important;justify-content:flex-end!important}
  .active-label{max-width:58vw!important}.active-label strong{font-size:10px!important}.active-label small{display:none!important}
  .home-about{width:100%!important;padding:68px 0 80px!important;overflow:hidden!important}
  .home-about .about-section{width:auto!important;margin-left:16px!important;margin-right:16px!important;padding-left:0!important;padding-right:0!important}
  .about-hero,.about-manifesto-grid,.about-importance,.about-method,.about-final{grid-template-columns:1fr!important;gap:28px!important}
  .home-about-copy h2,.about-section h3{font-size:clamp(34px,10.5vw,46px)!important;line-height:.98!important;overflow-wrap:anywhere}
  .home-about-copy p,.about-section p{font-size:13px!important;line-height:1.7!important;max-width:100%!important}
  .home-about-media,.about-importance-media{width:100%!important;min-height:320px!important;height:auto!important;aspect-ratio:4/5!important;transform:none!important}
  .about-pillar-grid{grid-template-columns:1fr!important;gap:0!important}
  .about-pillar-grid a{min-height:0!important;padding:22px 0!important}
  .about-method-list{grid-template-columns:1fr!important}
  .about-final-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:16px!important}
  .logo-marquee{width:100vw!important;margin-left:calc(50% - 50vw)!important}
}
@media(max-width:760px){
  body.contact-page,body.legal-page{overflow-y:auto!important;height:auto!important;min-height:100dvh!important}
}
@media(max-width:760px){
  .view-home .canvas{padding-left:4px!important;padding-right:4px!important}
  .view-home .diagram-wrap{width:min(calc(100vw - 8px),560px)!important}
}
body.contact-page .form-wrap::before{display:none!important;content:none!important}
@media(max-width:760px){
  html.contact-page,
  html.contact-page body.contact-page{
    width:100%!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.contact-page main{
    min-height:100dvh!important;
    overflow:visible!important;
  }
  body.contact-page .contact-shell{
    overflow:visible!important;
    padding-top:88px!important;
    padding-bottom:max(72px,calc(52px + env(safe-area-inset-bottom)))!important;
  }
  body.contact-page .contact-hero{overflow:visible!important}
  body.contact-page footer{
    position:relative!important;
    width:auto!important;
    margin:0 16px!important;
    padding-bottom:max(34px,env(safe-area-inset-bottom))!important;
  }
}
:root{
  --core-pad:clamp(16px,4vw,28px);
  --core-header:72px;
}
html,body{max-width:100%;}
body{overflow-x:hidden;}
:focus-visible{outline:2px solid rgba(255,90,31,.75);outline-offset:4px;}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.node,.contact-node{min-width:44px!important;min-height:44px!important;margin-left:-22px!important;margin-top:-22px!important;display:grid!important;place-items:center!important;}
.node::before,.contact-node::before{pointer-events:none}
.menu-links a,.menu-links button,.page-back,.menu-button{touch-action:manipulation}
.menu-overlay[aria-hidden="true"]{visibility:hidden!important;pointer-events:none!important}
.menu-overlay[aria-hidden="false"]{visibility:visible!important}
.home-legal-footer{isolation:isolate}
.web-decor-button{display:block;pointer-events:none}
.web-nav .web-decor-button{width:42px;height:18px;border-radius:20px;background:var(--every-orange)}
.web-copy>.web-decor-button{margin-top:23px;width:90px;height:28px;border-radius:18px;background:#CBD6EF}
/* Improve tiny UI labels without changing hierarchy. */
:is(.eyebrow,.menu-kicker,.menu-foot small,.site-project-meta span,.portfolio-info>span,.home-about-meta,.service-meta,.process-row b,.process-row span){font-size:9px}
/* Keep full-bleed sections from producing horizontal overflow. */
.side-gallery,.site-projects,.browser-showcase,.signal-board,.harness-map,.ai-particle-map{max-width:100%;}
/* Home mobile: one clean source of truth. */
@media(max-width:760px){
  :root{--core-header:64px;--core-pad:max(16px,env(safe-area-inset-left));}
  html,body{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;}
  body{min-height:100svh!important;-webkit-overflow-scrolling:touch;}
  .app{height:auto!important;min-height:100svh!important;overflow:visible!important;}
  .view{position:relative!important;inset:auto!important;width:100%!important;min-height:0!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
  .view-home{height:auto!important;min-height:0!important;overflow:visible!important;}
  .view-home .canvas{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;padding:76px 16px 24px!important;overflow:visible!important;display:flex!important;justify-content:flex-start!important;align-items:center!important;}
  .view-home .diagram-wrap{width:min(88vw,390px)!important;max-width:390px!important;margin:6px auto 0!important;transform:none!important;flex:0 0 auto!important;}
  .view-home .diagram-3d{transform:none!important;}
  .home-hint{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;margin:16px auto 0!important;}
  .home-about{min-height:0!important;width:100%!important;margin:0!important;padding:50px 16px 72px!important;border-top:0!important;grid-template-columns:1fr!important;gap:32px!important;overflow:hidden!important;}
  .home-about .about-section{width:100%!important;margin:0!important;padding-left:0!important;padding-right:0!important;}
  .home-legal-footer{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;padding:22px 16px max(22px,env(safe-area-inset-bottom))!important;background:var(--bg,#f3f3f1)!important;border-top:1px solid rgba(17,18,24,.07)!important;display:flex!important;justify-content:center!important;}
  .home-legal-footer>span,.home-legal-footer .home-hint{display:none!important}
  .home-legal-footer nav{width:auto!important;justify-content:center!important;flex-wrap:wrap!important;gap:10px 14px!important;}

  /* Normal document scrolling on inner pages. */
  .page-view,.portfolio-view{position:relative!important;inset:auto!important;height:auto!important;min-height:100svh!important;overflow:visible!important;padding-top:64px!important;}
  .page-scroll,.portfolio-scroll{height:auto!important;min-height:calc(100svh - 64px)!important;overflow:visible!important;padding-left:16px!important;padding-right:16px!important;padding-bottom:max(58px,env(safe-area-inset-bottom))!important;scrollbar-gutter:auto!important;}
  .portfolio-filter{position:sticky!important;top:64px!important;z-index:20!important;}
  .contact-shell{height:auto!important;min-height:100svh!important;overflow:visible!important;margin:0 16px!important;padding:94px 0 max(60px,env(safe-area-inset-bottom))!important;}
  body.page-contact,body.page-legal,body.page-projects,body.page-service,body.page-home{height:auto!important;min-height:100svh!important;overflow-x:hidden!important;overflow-y:auto!important;}
  .legal-footer{position:relative!important;width:100%!important;}
  body.page-legal main{min-height:auto!important;}

  /* Avoid accidental 100vw bleed. */
  .side-gallery,.browser-showcase,.signal-board,.harness-map,.ai-particle-map{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
  .side-gallery{padding-left:0!important;padding-right:0!important;}
  .side-gallery-track{width:100%!important;max-width:100%!important;}

  /* Readability and touch. */
  .menu-links a,.menu-links button{min-height:48px!important;}
  .menu-foot a,.site-footer a,.home-legal-footer a,.legal-footer a{font-size:10px!important;line-height:1.4!important;}
  .service-copy p,.statement p,.portfolio-hero p,.contact-copy .lead,.content p,.content li{font-size:max(13px,3.45vw)!important;}
  .site-project-card,.portfolio-card{transform:none!important;}
  .custom-cursor{display:none!important;}
  .workcase-scroll{height:100svh!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;}
}
@media(max-width:420px){
  .view-home .diagram-wrap{width:min(86vw,360px)!important;}
  .view-home .canvas{padding-top:72px!important;padding-bottom:20px!important;}
  .home-about{padding-top:44px!important;}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
}
.brand-button{width:154px!important;height:34px;overflow:visible}
.brand-full{width:154px!important;max-width:154px!important}
.brand{width:154px!important}
@media (max-width:760px){.brand-button{width:128px!important;height:32px!important}.brand-full,.brand{width:128px!important;max-width:128px!important}}
.logo-item{position:relative;overflow:hidden}
.logo-item::after{content:attr(data-name);position:absolute;left:50%;bottom:14px;transform:translate(-50%,10px);background:rgba(17,18,24,.82);color:#f3f3f1;padding:7px 10px;border-radius:999px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:0;transition:opacity .24s ease,transform .24s ease;pointer-events:none;white-space:nowrap}
.logo-item:hover::after,.logo-item:focus-within::after{opacity:1;transform:translate(-50%,0)}
.service-video{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(420px,1.3fr);gap:32px;align-items:start;padding:4vh 0 7vh}
.service-video .video-copy h3{font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:clamp(30px,4vw,56px);line-height:.95;letter-spacing:-.05em;font-weight:400;margin:8px 0 0}
.service-video .video-copy p{margin:18px 0 0;color:#6f736d;max-width:420px}
.video-shell{position:relative;width:100%;border-radius:28px;overflow:hidden;background:#d6d8d3;border:1px solid rgba(17,18,24,.08);aspect-ratio:16/9;box-shadow:0 18px 60px rgba(17,18,24,.05)}
.video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.branding-minimal .statement p,.branding-minimal .deliverables p,.branding-minimal .process p{max-width:720px}
.branding-showcase{padding:0 0 7vh}
.branding-showcase-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px}
.branding-showcase-head h3{font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:clamp(32px,4vw,60px);letter-spacing:-.05em;line-height:.95;font-weight:400;margin:0}
.branding-project-strip{display:grid;grid-template-columns:repeat(12,minmax(220px,1fr));gap:18px;overflow:auto;padding-bottom:10px}
.branding-project-card{background:#ecece8;border:1px solid rgba(17,18,24,.08);border-radius:24px;overflow:hidden;min-width:220px}
.branding-project-cover{aspect-ratio:4/3;background:#ddd center/cover no-repeat}
.branding-project-meta{padding:14px 16px 16px}
.branding-project-meta span{display:block;color:#8c9089;font-size:9px;letter-spacing:.15em;text-transform:uppercase;margin-bottom:8px}
.branding-project-meta h4{font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:22px;letter-spacing:-.04em;line-height:.98;font-weight:400;margin:0}
.branding-project-meta p{font-size:12px;color:#6f736d;margin:10px 0 0}
.side-gallery-head small{white-space:nowrap}
@media (max-width:980px){.service-video{grid-template-columns:1fr}.branding-showcase-head{display:block}.branding-project-strip{grid-template-columns:repeat(12,minmax(180px,1fr))}}
@media (max-width:760px){.service-video{padding:20px 0 54px;gap:18px}.branding-showcase{padding-bottom:48px}.branding-project-card{min-width:180px}.branding-project-meta h4{font-size:18px}.branding-project-meta p{font-size:11px}}
.logo-marquee{position:relative;overflow:visible}
.logo-marquee:hover .logo-marquee-track{animation-play-state:paused!important}
.logo-marquee-track{overflow:visible}
.logo-item{isolation:isolate;transition:transform .28s cubic-bezier(.2,.72,.18,1),background .28s ease,box-shadow .28s ease,opacity .28s ease}
.logo-item:hover{z-index:8;transform:translateY(-4px) scale(1.045);background:#fff;box-shadow:0 18px 48px rgba(17,18,24,.12);opacity:1!important}
.logo-item:hover img{filter:none!important;opacity:1!important}
/* Branding is now intentionally image-led. */
.branding-minimal .statement{display:block;min-height:auto;padding:7vh 0 5vh}
.branding-minimal .statement h2{max-width:1100px}
.branding-minimal .branding-project-meta{padding:13px 15px 15px}
.branding-minimal .branding-project-meta p{display:none}
.branding-minimal .branding-project-cover{aspect-ratio:16/10;background-size:cover;background-position:center}
.branding-minimal .branding-project-card{min-width:250px}
.branding-minimal .branding-project-strip{grid-template-columns:repeat(12,minmax(250px,1fr))}
/* Portfolio editorial article */
.workcase-article{max-width:1560px;margin:0 auto}
.workcase-rule{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(17,18,24,.12);padding:11px 0 18px;margin-top:-1vh;font-size:8px;letter-spacing:.16em;color:#8d918a}
.workcase-scope dl{margin:12px 0 0;padding:0}
.workcase-scope dl div{display:grid;grid-template-columns:78px 1fr;gap:10px;padding:9px 0;border-top:1px solid rgba(17,18,24,.08)}
.workcase-scope dt{font-size:8px;letter-spacing:.13em;text-transform:uppercase;color:#9a9d97}
.workcase-scope dd{margin:0;font-size:11px;line-height:1.45}
.workcase-title-block>p{font-size:clamp(14px,1.15vw,18px)!important;max-width:760px!important}
.workcase-story p:first-letter{float:left;font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:4.8em;line-height:.74;padding:.08em .09em 0 0;color:var(--ink)}
.workcase-caption{display:grid;grid-template-columns:.24fr 1fr 1fr;gap:5vw;padding:24px 0 34px;border-top:1px solid rgba(17,18,24,.08)}
.workcase-caption span{font-size:8px;letter-spacing:.16em;color:#979b94}
.workcase-caption p{grid-column:3;margin:0;font-size:12px;line-height:1.65;color:#70746d}
.workcase-endnote{padding:clamp(54px,8vh,110px) 0 2vh;display:grid;grid-template-columns:.24fr 1fr;gap:5vw;border-bottom:1px solid rgba(17,18,24,.1)}
.workcase-endnote>span{font-size:8px;letter-spacing:.16em;color:#979b94}
.workcase-endnote h3{margin:0;font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:clamp(40px,5vw,78px);line-height:.94;letter-spacing:-.055em;font-weight:400;max-width:900px}
.portfolio-card .portfolio-info button{cursor:pointer}
.portfolio-card[data-category="sites"] .portfolio-visual{background-position:center}
@media(max-width:760px){
  .logo-item::after{display:none}
  .branding-minimal .statement{padding:44px 0 28px}
  .branding-minimal .branding-project-card{min-width:210px}
  .branding-minimal .branding-project-strip{grid-template-columns:repeat(12,minmax(210px,1fr))}
  .workcase-rule{padding-top:8px}
  .workcase-caption{grid-template-columns:1fr;gap:10px}.workcase-caption p{grid-column:1}
  .workcase-endnote{grid-template-columns:1fr;gap:14px;padding-top:54px}.workcase-endnote h3{font-size:clamp(38px,12vw,54px)}
}
.site-contact-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:max-content;max-width:100%;padding:13px 18px;border-radius:999px;
  background:#111218;color:#f3f3f1!important;text-decoration:none!important;
  font-family:"Inter",Arial,sans-serif;font-size:10px;font-weight:600;
  letter-spacing:.13em;text-transform:uppercase;line-height:1;
  border:1px solid #111218;transition:transform .28s var(--ease),background .28s var(--ease),color .28s var(--ease),border-color .28s var(--ease);
}
.site-contact-btn i{font-style:normal;font-size:14px;line-height:1;transition:transform .28s var(--ease)}
.site-contact-btn:hover{background:transparent;color:#111218!important;transform:translateY(-2px)}
.site-contact-btn:hover i{transform:translate(2px,-2px)}
.hero-contact{margin-top:22px}
.section-contact{display:flex;align-items:center;justify-content:flex-start;padding:20px 0 52px}
.contact-inline{
  margin:clamp(44px,7vh,90px) 0 clamp(24px,4vh,54px);
  padding:clamp(26px,3.5vw,44px) clamp(22px,3vw,40px);
  border:1px solid rgba(17,18,24,.1);border-radius:24px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  background:rgba(239,239,235,.58);
}
.contact-inline-copy span{display:block;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:#8b8f88;margin-bottom:8px}
.contact-inline-copy strong{display:block;font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:clamp(24px,2.5vw,38px);line-height:1;letter-spacing:-.045em;font-weight:400;color:#111218}
.portfolio-hero .site-contact-btn{margin-top:24px}
.home-about-copy .site-contact-btn{margin-top:24px}
.about-final-actions .site-contact-btn{padding:13px 18px;border-bottom:0!important;font-size:10px!important}
@media(max-width:760px){
  .site-contact-btn{width:100%;padding:14px 18px}
  .hero-contact{margin-top:18px}
  .section-contact{padding:12px 0 38px}
  .contact-inline{margin:38px 0 20px;padding:22px 18px;border-radius:18px;align-items:flex-start;flex-direction:column}
  .contact-inline .site-contact-btn{width:100%}
}
/* CTA rhythm */
.hero-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:28px}
.hero-actions .text-cta,.hero-actions .site-contact-btn{margin:0!important}
.service-copy>.text-cta{margin-top:26px}
.statement{position:relative}
.statement .statement-contact{align-self:end;justify-self:start;margin:0 0 4px 0}
.site-contact-btn{white-space:nowrap}
/* Branding video */
.branding-minimal .service-video{padding:clamp(52px,7vh,90px) 0;align-items:center}
.branding-minimal .service-video .video-copy h3{font-size:clamp(54px,6.3vw,108px);line-height:.88;letter-spacing:-.065em;max-width:760px}
.branding-minimal .service-video .video-copy p{margin-top:24px;font-size:13px;line-height:1.7}
.branding-minimal .video-shell{border-radius:30px}
/* Remove obsolete horizontal gallery if stale markup ever remains. */
.branding-minimal .side-gallery{display:none!important}
/* Branding project slider — controlled slides, no horizontal scrollbar. */
.branding-slider{padding:clamp(72px,9vh,120px) 0 clamp(78px,10vh,130px);border-top:1px solid rgba(17,18,24,.08)}
.branding-slider .branding-showcase-head{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:32px}
.branding-slider .branding-showcase-head h3{font-size:clamp(52px,5.6vw,92px);line-height:.88;max-width:920px}
.branding-slider .branding-showcase-head h3 em{font-style:normal;font-weight:300;color:#6d7687}
.branding-slider-controls{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.branding-slider-controls button{width:46px;height:46px;border:1px solid rgba(17,18,24,.16);border-radius:50%;background:transparent;color:#111218;cursor:pointer;font-size:18px;transition:transform .25s ease,background .25s ease}
.branding-slider-controls button:hover{transform:translateY(-2px);background:#111218;color:#f3f3f1}
.branding-slider-controls span{font-size:9px;letter-spacing:.12em;color:#888c85;min-width:58px;text-align:center}
.branding-slider-stage{position:relative;min-height:clamp(500px,62vw,760px);overflow:hidden}
.branding-project-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:translateX(24px);transition:opacity .45s ease,transform .55s cubic-bezier(.22,.72,.18,1),visibility .45s;pointer-events:none}
.branding-project-slide.is-active{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.branding-slide-link{display:block;color:inherit;text-decoration:none;height:100%}
.branding-slide-collage{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(220px,.55fr);grid-template-rows:1fr 1fr;gap:12px;height:calc(100% - 104px)}
.branding-slide-main,.branding-slide-side{background-position:center;background-size:cover;background-repeat:no-repeat;border-radius:28px;border:1px solid rgba(17,18,24,.07);overflow:hidden;transition:transform .5s cubic-bezier(.22,.72,.18,1)}
.branding-slide-main{grid-row:1/3}
.branding-slide-link:hover .branding-slide-main{transform:scale(.995)}
.branding-slide-link:hover .branding-slide-side{transform:translateX(-3px)}
.branding-slide-meta{height:92px;display:grid;grid-template-columns:170px 1fr auto;align-items:end;gap:20px;padding-top:18px}
.branding-slide-meta span{font-size:9px;letter-spacing:.15em;color:#8d918a}
.branding-slide-meta h4{font-family:"Google Sans Flex","Arial Nova",Aptos,"Helvetica Neue",Arial,sans-serif;font-size:clamp(30px,3.4vw,58px);font-weight:400;letter-spacing:-.055em;line-height:.95;margin:0}
.branding-slide-meta strong{font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:500}
.branding-slide-meta strong i{font-style:normal}
/* Project hero: no orphan copy on right; CTA sits directly with headline. */
.portfolio-hero-grid{display:block!important}
.portfolio-hero-main{max-width:1120px}
.portfolio-hero-main .site-contact-btn{margin-top:30px!important}
/* More of the branding presentations inside each editorial case. */
.workcase-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0 0}
.workcase-more[hidden]{display:none!important}
.workcase-more-item{min-height:clamp(360px,42vw,680px);margin:0;border-radius:26px;background:#e8e8e4 center/cover no-repeat;border:1px solid rgba(17,18,24,.07)}
/* Site showcase: 2 columns x 3 rows (six projects). */
.site-project-grid-3x2{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,auto)!important;gap:16px!important}
/* Menu footer restored with full-width breathing room and clear separators. */
.menu-foot{width:100%!important;margin-top:auto!important;padding-top:22px!important;border-top:1px solid rgba(17,18,24,.11)!important;display:block!important}
.menu-foot-meta{width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:1fr auto!important;column-gap:24px!important;row-gap:8px!important;align-items:center!important}
.menu-foot-meta>a{grid-column:1!important;width:max-content}
.menu-foot-meta>small{grid-column:1!important;margin-top:2px}
.menu-legal-links{grid-column:1/-1!important;display:flex!important;gap:16px!important;align-items:center!important;margin-top:6px!important;padding-top:10px!important;border-top:1px solid rgba(17,18,24,.09)!important}
.menu-legal-links a{font-size:8px!important}
/* Prevent final route/footer clipping. */
.next-route{min-height:clamp(280px,34vh,460px)!important;padding-top:clamp(72px,10vh,130px)!important;padding-bottom:clamp(72px,10vh,130px)!important;box-sizing:border-box!important}
.site-footer{padding-bottom:max(34px,env(safe-area-inset-bottom))!important}
.page-scroll{padding-bottom:0!important}
@media(max-width:980px){
  .statement .statement-contact{margin-top:22px}
  .branding-slider .branding-showcase-head{align-items:flex-start}
  .branding-slide-collage{grid-template-columns:1fr .7fr}
  .branding-slider-stage{min-height:620px}
  .workcase-more{grid-template-columns:1fr}
}
@media(max-width:760px){
  .hero-actions{gap:12px;margin-top:22px;align-items:flex-start}
  .hero-actions .text-cta{width:100%}
  .hero-actions .site-contact-btn{width:auto!important;padding:12px 16px!important}
  .branding-minimal .service-video .video-copy h3{font-size:clamp(48px,14vw,70px)}
  .branding-slider{padding:54px 0 70px}
  .branding-slider .branding-showcase-head{display:block;margin-bottom:22px}
  .branding-slider .branding-showcase-head h3{font-size:clamp(44px,12vw,62px)}
  .branding-slider-controls{margin-top:22px}
  .branding-slider-stage{min-height:520px}
  .branding-slide-collage{height:390px;grid-template-columns:1fr 1fr;grid-template-rows:2fr 1fr;gap:8px}
  .branding-slide-main{grid-column:1/3;grid-row:1}
  .branding-slide-side{grid-row:2}
  .branding-slide-meta{height:auto;min-height:102px;grid-template-columns:1fr auto;padding-top:14px}
  .branding-slide-meta span{grid-column:1/3}
  .branding-slide-meta h4{font-size:30px}
  .branding-slide-meta strong{align-self:center}
  .workcase-more-item{min-height:330px;border-radius:18px}
  .site-project-grid-3x2{grid-template-columns:1fr!important;grid-template-rows:none!important}
  .menu-foot-meta{grid-template-columns:1fr!important}
  .menu-foot-meta>a,.menu-foot-meta>small,.menu-legal-links{grid-column:1!important}
  .next-route{min-height:auto!important;padding-top:70px!important;padding-bottom:70px!important}
}
/* Menu must remain usable even when a project detail is open. */
.menu-overlay{z-index:10010!important}
.topbar{z-index:10020!important}
/* Remove inherited full-screen whitespace from editorial/service sections. */
.statement{
  min-height:auto!important;
  padding:clamp(54px,7vh,88px) 1vw!important;
  align-items:start!important;
}
.branding-minimal .statement{
  min-height:0!important;
  padding:clamp(50px,6.5vh,78px) 0!important;
}
.branding-minimal .statement h2{max-width:1180px!important}
.statement .statement-contact{
  display:inline-flex!important;
  margin-top:clamp(28px,3.2vh,42px)!important;
  align-self:flex-start!important;
}
.service-video{padding:clamp(48px,6.5vh,78px) 0!important}
.branding-slider{padding:clamp(54px,7vh,88px) 0 clamp(64px,8vh,100px)!important}
.next-route{min-height:auto!important;padding:clamp(56px,7vh,92px) 1vw!important}
.section-contact{padding-top:18px!important;padding-bottom:38px!important}
.contact-inline{margin-top:clamp(42px,6vh,70px)!important}
/* Primary + secondary actions sit on the same visual line. */
.hero-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:18px!important;
  margin-top:30px!important;
}
.hero-actions .text-cta,
.hero-actions .site-contact-btn{margin:0!important;width:auto!important}
.hero-actions .text-cta{display:inline-flex!important}
.about-final-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:18px!important;
}
/* Project article: headline begins at the left edge; editorial body stays secondary. */
.workcase-story{
  grid-template-columns:minmax(0,1.05fr) minmax(300px,.72fr)!important;
  gap:clamp(38px,6vw,96px)!important;
  padding:clamp(48px,6.5vh,78px) 0!important;
  align-items:start!important;
}
.workcase-story>span{display:none!important}
.workcase-story h2{grid-column:1!important;justify-self:start!important;text-align:left!important;max-width:880px!important}
.workcase-story p{grid-column:2!important;margin-top:4px!important;max-width:620px!important}
/* Everybrand icon in the Branding system card. */
.brand-glyph.every-brandmark{
  position:absolute!important;
  left:50%!important;
  top:54%!important;
  right:auto!important;
  bottom:auto!important;
  inset:auto!important;
  transform:translate(-50%,-50%)!important;
  width:112px!important;
  height:112px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  overflow:visible!important;
}
.brand-glyph.every-brandmark::before,
.brand-glyph.every-brandmark::after{content:none!important}
.every-brandmark img{
  width:58px!important;
  height:auto!important;
  display:block!important;
  position:relative!important;
  z-index:2!important;
  transform-origin:50% 50%;
  animation:everyBrandIconPulse 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
.every-brandmark-ring{
  position:absolute;
  inset:10px;
  border:1px solid rgba(17,18,24,.16);
  border-radius:50%;
  animation:everyBrandRing 3.2s cubic-bezier(.4,0,.2,1) infinite;
}
.every-brandmark-ring::after{
  content:"";
  position:absolute;
  width:7px;height:7px;
  border-radius:50%;
  background:var(--every-orange,#ff6b43);
  left:50%;top:-4px;
  transform:translateX(-50%);
  box-shadow:0 0 0 5px rgba(255,107,67,.08);
}
@keyframes everyBrandIconPulse{
  0%,100%{transform:translateY(0) rotate(0deg) scale(.96);opacity:.78}
  45%{transform:translateY(-4px) rotate(7deg) scale(1.08);opacity:1}
  62%{transform:translateY(-1px) rotate(-3deg) scale(1.02);opacity:.96}
}
@keyframes everyBrandRing{
  0%,100%{transform:rotate(0deg) scale(.92);opacity:.45}
  50%{transform:rotate(180deg) scale(1.04);opacity:.9}
}
@media(max-width:980px){
  .workcase-story{grid-template-columns:1fr!important;gap:22px!important}
  .workcase-story h2,.workcase-story p{grid-column:1!important}
  .workcase-story p{max-width:720px!important}
}
@media(max-width:760px){
  .statement,.branding-minimal .statement{padding:42px 0!important}
  .statement .statement-contact{margin-top:24px!important}
  .hero-actions{gap:12px!important;margin-top:24px!important}
  .hero-actions .text-cta,.hero-actions .site-contact-btn{width:auto!important}
  .about-final-actions{flex-direction:row!important;justify-content:flex-start!important;gap:12px 16px!important}
  .service-video{padding:42px 0!important}
  .branding-slider{padding:46px 0 64px!important}
  .next-route{padding:54px 0!important}
  .workcase-story{padding:42px 0 34px!important;gap:18px!important}
  .brand-glyph.every-brandmark{width:88px!important;height:88px!important}
  .every-brandmark img{width:46px!important}
}
@media (prefers-reduced-motion:reduce){
  .every-brandmark img,.every-brandmark-ring{animation:none!important}
}
.workcase-story.workcase-story-title-only{
  display:block!important;
  padding:clamp(44px,6vh,76px) 0 clamp(34px,5vh,62px)!important;
}
.workcase-story.workcase-story-title-only h2{
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin:0!important;
  text-align:left!important;
  justify-self:auto!important;
  grid-column:auto!important;
}
@media(max-width:760px){
  .workcase-story.workcase-story-title-only{padding:34px 0 28px!important}
}
/* 1) Sites: three cards per row on desktop. */
@media (min-width:981px){
  .page-service .site-project-grid.site-project-grid-3x2{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,auto)!important;
    gap:16px!important;
    width:100%!important;
  }
  .page-service .site-project-grid.site-project-grid-3x2 .site-project-card{min-width:0!important;width:100%!important}
  .page-service .site-project-grid.site-project-grid-3x2 .site-project-meta{padding:16px 17px 18px!important}
  .page-service .site-project-grid.site-project-grid-3x2 .site-project-meta strong{font-size:clamp(18px,1.35vw,24px)!important}
}
@media (max-width:980px) and (min-width:621px){
  .page-service .site-project-grid.site-project-grid-3x2{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important}
}
@media (max-width:620px){
  .page-service .site-project-grid.site-project-grid-3x2{grid-template-columns:1fr!important;grid-template-rows:none!important}
}
/* 2) Keep statement CTAs visually attached to the copy instead of floating far below. */
.statement + .section-contact{
  margin-top:clamp(-38px,-3.2vh,-22px)!important;
  padding-top:0!important;
  padding-bottom:clamp(34px,5vh,58px)!important;
}
@media(max-width:760px){.statement + .section-contact{margin-top:-12px!important;padding-bottom:34px!important}}
/* 3) Projects navigation remains visible, frosted and separated while listing or viewing a case. */
.page-projects .topbar{
  background:rgba(243,243,241,.82)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.08)!important;
  backdrop-filter:blur(18px) saturate(1.08)!important;
  border-bottom:1px solid rgba(17,18,24,.07)!important;
  box-shadow:0 7px 24px rgba(17,18,24,.025)!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
.page-projects .topbar .brand-button,
.page-projects .topbar .page-back,
.page-projects .topbar .menu-button{pointer-events:auto!important}
.page-projects .workcase.is-open{z-index:130!important}
.page-projects .menu-overlay{z-index:10030!important}
.page-projects .topbar{z-index:10040!important}
/* 4) Branding icon: centered, upright and animated without rotation. */
.page-branding .bu-brandmark{position:absolute!important}
.page-branding .brand-glyph.every-brandmark{
  position:absolute!important;
  left:50%!important;
  top:56%!important;
  right:auto!important;
  bottom:auto!important;
  width:104px!important;
  height:104px!important;
  transform:translate(-50%,-50%)!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  overflow:visible!important;
}
.page-branding .every-brandmark img{
  width:56px!important;
  height:auto!important;
  transform:none!important;
  animation:everyIconPulse 2.8s ease-in-out infinite!important;
}
.page-branding .every-brandmark-ring{
  position:absolute!important;
  inset:8px!important;
  border-radius:50%!important;
  transform:none!important;
  animation:everyIconRing 2.8s ease-in-out infinite!important;
}
.page-branding .every-brandmark-ring::after{left:50%!important;top:auto!important;bottom:-4px!important;transform:translateX(-50%)!important}
@keyframes everyIconPulse{0%,100%{transform:translateY(0) scale(.95);opacity:.82}50%{transform:translateY(-3px) scale(1.06);opacity:1}}
@keyframes everyIconRing{0%,100%{transform:scale(.92);opacity:.38}50%{transform:scale(1.06);opacity:.88}}
/* 5) Marketing video headline gets the visual weight requested. */
.page-marketing .service-video .video-copy h3{
  font-size:clamp(52px,5.8vw,88px)!important;
  line-height:.92!important;
  max-width:780px!important;
  letter-spacing:-.06em!important;
}
/* 6) Portfolio cards: proper internal breathing room. */
.page-projects .portfolio-card{
  border:1px solid rgba(17,18,24,.07)!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.32)!important;
}
.page-projects .portfolio-card .portfolio-visual{border-radius:0!important}
.page-projects .portfolio-info{
  padding:20px 20px 22px!important;
  box-sizing:border-box!important;
}
.page-projects .portfolio-info>span{margin-bottom:11px!important}
.page-projects .portfolio-info h2{padding-right:8px!important}
.page-projects .portfolio-info p{margin-top:12px!important;max-width:38ch!important}
.page-projects .portfolio-info button{margin-top:18px!important;padding-bottom:6px!important}
@media(max-width:760px){.page-projects .portfolio-info{padding:18px 18px 20px!important}}
/* 7) Menu footer/legal links need readable type. */
.menu-legal-links{gap:18px!important;margin-top:12px!important}
.menu-legal-links a{
  font-size:10px!important;
  line-height:1.45!important;
  letter-spacing:.10em!important;
  color:#747871!important;
}
.menu-foot-meta>a{font-size:12px!important;line-height:1.45!important}
.menu-foot-meta>small{font-size:10px!important;line-height:1.45!important;color:#8a8e87!important}
@media(max-width:760px){
  .menu-legal-links a{font-size:10px!important}
  .menu-foot-meta>a{font-size:12px!important}
  .menu-foot-meta>small{font-size:10px!important}
}
/* Stable media/video/project layer */
.video-link-card{display:block;position:relative;text-decoration:none;color:#f7f7f4;isolation:isolate}
.video-link-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 72% 48%,rgba(102,52,142,.34),transparent 30%),linear-gradient(135deg,#111216,#17131d 62%,#101014);z-index:-1}
.video-link-card .video-preview-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;text-align:center;padding:28px}
.video-link-card .video-play{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);backdrop-filter:blur(10px);font-size:20px;transition:transform .28s ease,background .28s ease}
.video-link-card small{font-size:8px;letter-spacing:.18em;opacity:.58}
.video-link-card strong{font-family:"Google Sans Flex","Arial Narrow",Arial,sans-serif;font-size:clamp(22px,2.1vw,36px);font-weight:400;letter-spacing:-.035em}
.video-link-card:hover .video-play{transform:scale(1.08);background:rgba(255,255,255,.14)}
.portfolio-visual{background-image:none!important}
.portfolio-visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .65s cubic-bezier(.2,.72,.18,1),filter .45s ease}
.portfolio-card:hover .portfolio-visual img,.portfolio-card:focus-visible .portfolio-visual img{transform:scale(1.025);filter:saturate(1.02)}
.workcase-media{background-image:none!important;background:#e8e8e4}
.workcase-media img,.workcase-more-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.workcase-more-item{overflow:hidden;background:none!important}
.workcase-more-item figcaption{position:absolute;clip:rect(0 0 0 0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(max-width:760px){.video-link-card .video-play{width:54px;height:54px}}
