@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&display=swap");

:root {
    /* One reference point for the site's shared superheader typeface. Project
       titles can join this variable in a later controlled pass. */
    --cf-super-font: "Manrope", Arial, sans-serif;
    /* Approved minimum scale for readable page copy. Compact interface text
       (navigation, footers and thumbnail metadata) intentionally stays on its
       own smaller scale. */
    --cf-readable-copy-size: clamp(13px, 1.05vw, 15px);
}

html.clients-root {
    background: #000;
}

html, body, #wrapper {height: 100%;}

body > #wrapper {height: auto; min-height: 100%;}

* {margin:0;padding:0;} 


/*
    UTILITY
*/

.clear								{	clear:both;	}
.float-left							{	float:left;	}
.float-right						{	float:right; }
.centered							{	margin:0 auto;
                                        text-align:center;}


/* CLEAR FIX*/
.clearfix:after 					{	content: ".";
                                        display: block;
                                        height: 0;
                                        clear: both;
                                        visibility: hidden;}
.clearfix 							{	display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix 					{ 	height: 1%;}
.clearfix 							{	display: block;}
/* End hide from IE-mac */


/* -------------------------------------------------------- */



body 								{	background: #000 url(#) 0px 70px no-repeat; }

#home-background					{	background: #000 url(#) 0px 70px no-repeat;}

#black-background					{	background: #000; background-size:cover !important;}

#wrapper 							{	margin: 0;	width: 1070px;	}

#header 							{	padding-top:10px;}

#logo								{	width:200px; float:left;
                                        z-index:920;	}

#logo img							{	padding:8px 0 0 130px; 	}


/* HOMEPAGE SLIDER
======================================= */

#slider								{
    width: 840px;
    margin-bottom: 65px;
    height: 300px;
}


#content							{	padding:35px 10px 57px 10px; 
                                        width:1070px; }
                                        
#content-index						{	padding:0 10px 57px 10px; 
                                        width:1070px; }

#splash-box							{	width:840px; 
                                        margin:60px 0 0 190px;}

#about-box {
    width: 540px;
    padding: 25px 20px 25px 20px;
    margin: 0 100px 0 210px;
    position: relative;
    z-index: 1;
}
#about-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.8;
    z-index: -1;
}

/* Project Super variant. It remains independent from every other Super
   heading on the site while sharing the approved full-size scale. */
.cf-project-about-title {
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.35;
    margin: 0 0 18px;
    text-align: left;
}

/* Shared readable desktop copy scale for the site's narrative panels. This
   covers every project About page and longer project sections such as Story,
   as well as the main News/About panels already approved at this size. */
@media screen and (min-width: 801px) {
    :where(#content, #content-project, #content-index)
    :where(#about-box, #about-box-dark, #about-box-left, #about-box-left-wider, .cf-copy-panel) {
        font-size: var(--cf-readable-copy-size);
        line-height: 1.55;
        text-align: left;
    }

    /* Laundry Monsters keeps its own heading treatment, but its substantial
       character biographies use the same readable copy scale as the rest of
       the site. No font-family is set here, so the LM identity is preserved. */
    #content-project.lm-styles .character-profile {
        font-size: var(--cf-readable-copy-size);
        line-height: 1.55;
        text-align: left;
    }

    /* Retained legacy biography layouts should not fall back to the old small
       body default either. */
    :where(#content, #content-project) .team-member-info {
        font-size: var(--cf-readable-copy-size);
        line-height: 1.55;
    }

    /* Centred legacy copy is now left aligned. Image-only logo rows retain
       their original alignment. */
    #content-project :is(#about-box, #about-box-dark, #about-box-left, #about-box-left-wider)
    .centered:not(:has(img)) {
        margin-left: 0;
        margin-right: 0;
        text-align: left !important;
    }

    /* Existing project About titles use several generations of markup. The
       current About tab provides a reliable scope without editing 82 pages. */
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    > p.centered:first-of-type:not(:has(img)),
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    > p:first-of-type > span.centered:not(:has(img)) {
        color: var(--cf-superheader-white, #e8e8e8);
        font-family: var(--cf-super-font);
        font-size: clamp(22px, 2vw, 28px);
        font-weight: 400;
        letter-spacing: 0.004em;
        line-height: 1.35;
        margin: 0 0 18px;
        text-align: left !important;
    }

    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    > p.centered:first-of-type:not(:has(img)) strong,
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    > p:first-of-type > span.centered:not(:has(img)) strong {
        font-weight: inherit;
    }

    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark) > br,
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark)
    > p.centered:first-of-type:not(:has(img)) > br,
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark)
    > p:first-of-type > span.centered:not(:has(img)) + br {
        display: none;
    }

    /* Compact project About descriptions: related description and credit
       lines now follow one another without the old paragraph-sized gap.
       The separate Super-title margin above remains unchanged. */
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    p:not(.centered) {
        margin-bottom: 0;
    }

    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    p:not(.centered) br + br {
        display: none;
    }

    /* Several legacy pages contain a second centred paragraph made only from
       spacer breaks or a non-breaking space. It is not content. */
    body:has(#navbar-project #projnav-about.current)
    #content-project :is(#about-box, #about-box-dark, #about-box-left-wider)
    > p.centered:not(:first-of-type):not(:has(img)) {
        display: none;
    }
}

#about-box-dark {
    width: 540px;
    padding: 25px 20px 25px 20px;
    margin: 0 100px 0 210px;
    position: relative;
    z-index: 1;
}
#about-box-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.8;
    z-index: -1;
}

#about-box-left-wider {
    width: 768px;
    padding: 25px 20px 25px 20px;
    margin: 0 100px 0 20px;
    position: relative;
    z-index: 1;
}
#about-box-left-wider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.9;
    z-index: -1;
}

#about-box-left {
    width: 540px;
    padding: 25px 20px 25px 20px;
    margin: 0 100px 0 20px;
    position: relative;
    z-index: 1;
}
#about-box-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0.8;
    z-index: -1;
}


#footer 							{	position: relative;
                                        margin-top: -27px; /* negative value of footer height */
                                        background:#000;
                                        width:100%;
                                        height: 27px;
                                        clear:both;
                                        z-index:91;}
                                        
#footer-transp 						{	position: relative;
                                        margin-top: -27px; /* negative value of footer height */
                                        height: 27px;
                                        clear:both;
                                        z-index:91;}
                                        
#copyright							{	float:left;
                                        width:171px;
                                        height: 26px;
                                        padding:1px 0 0 2px;
                                        background:#fb073b; }

#address							{	float:left;
                                        height: 26px;								
                                        padding:1px 0 0 7px; }

#footer	#address p					{	color:#999999;}
.footer_container					{	width:1010px }

/* PROJECT PAGE FOOTER */
#content-project					{	padding:35px 10px 117px 10px; 
                                        width:1020px;}
#footer-project 					{	position: relative;
                                        margin-top: -27px; /* negative value of footer height */
                                        background:#000;
                                        clear:both;
                                        width: 100%;
                                        height: 27px;
                                        }
                                        
#footer #copyright p				{	color:#fff; font-size:10px; }
#footer-project #copyright p		{	color:#fff;}
#footer-project	#address p			{	color:#999999;}
#footer-transp #copyright p			{	color:#fff;}
#footer-transp	#address p			{	color:#999999;}

/* FOOTER SOCIAL ICONS
==================================== */
.footer_social { float:right; }
.footer_social a { opacity:0.85 }
.footer_social a:hover { opacity:1 }

.s_youtube, .s_facebook, .s_instagram,
.s_linkedin, .s_twitter,
.s_artstation, .s_tiktok            { display:inline-block; width:16px; height:16px; text-indent:-9999px; margin-left:5px; background-repeat:no-repeat; background-position:center; background-size:contain; }

.s_youtube                           { background-image:url("../images/footer-icons/youtube-cf.png"); }
.s_twitter                           { background-image:url("../images/footer-icons/alexdawson_X.png"); }
.s_linkedin                          { background-image:url("../images/footer-icons/cf_linkedin.png"); }
.s_facebook                          { background-image:url("../images/footer-icons/cf_facebook.png"); }
.s_instagram                         { background-image:url("../images/footer-icons/cf_instagram.png"); }
.s_artstation                        { background-image:url("../images/footer-icons/artstation.png"); }
.s_tiktok                            { background-image:url("../images/footer-icons/alex_dawson_tiktok.png"); }
.s_vimeo                             { display:none; }

/* SCROLLER
=============================== */
#scroller							{	padding:0 20px; margin:0}

#scrollerwrapper					{	width:475px;
                                        height:370px;
                                        float:left;
                                        padding:10px 0 40px 0;
                                        margin:0 100px 0 210px;
                                        --cf-panel-opacity: 0.72;
                                        background:rgba(0,0,0,var(--cf-panel-opacity));
                                        }

#scrollerwrapper-mainpage			{	width:475px;
                                        height:370px;
                                        float:left;
                                        padding:10px 0 40px 0;
                                        margin:0 100px 0 20px;
                                        --cf-panel-opacity: 0.72;
                                        background:rgba(0,0,0,var(--cf-panel-opacity));
                                        }

/* CLIENT GRID
=============================== */
.clients-page #content {
    width: 1020px;
}

.clients-page #scrollerwrapper-mainpage.clients-grid-wrapper {
    background: rgba(0, 0, 0, 0.84);
    box-sizing: border-box;
    height: auto;
    margin: 0 100px 0 20px;
    max-width: calc(100% - 40px);
    padding: 24px 32px 38px;
    width: 920px;
}

.clients-grid-wrapper .client-list-section {
    margin: 0 0 52px;
}

.clients-grid-wrapper .client-list-section:last-child {
    margin-bottom: 0;
}

.clients-grid-wrapper .client-list-heading {
    color: #fff;
    font-family: "Myriad Pro", Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 1;
    margin: 0 0 1em;
    text-transform: none;
}

.clients-grid-wrapper .client-name-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 10px;
}

.clients-grid-wrapper .client-name-grid span {
    color: #b0b0b0;
    display: block;
    font-size: 13px;
    line-height: 1.35;
    min-width: 0;
}

/* Combined About + People is a mobile-only presentation. The legacy desktop
   About and People pages remain separate. */
.cf-mobile-about-heading,
.cf-mobile-about-people {
    display: none;
}
                                        
#scrollerwrapper-project-about		{	width:475px;
                                        height:370px;
                                        float:left;
                                        padding:10px 0 40px 0;
                                        margin:0 100px 0 330px;
                                        --cf-panel-opacity: 0.72;
                                        background:rgba(0,0,0,var(--cf-panel-opacity));
                                        }
                                        
#scroller-large							{	padding:0 20px; margin:0}

#scrollerwrapper-large					{	width:696px;
                                            height:400px;
                                            float:left;
                                            padding:10px 0 40px 0;
                                            margin:0 100px 0 210px;
                                            --cf-panel-opacity: 0.72;
                                            background:rgba(0,0,0,var(--cf-panel-opacity));
                                        }

#rightpanel 							{	width:420px; height:420px; --cf-panel-opacity:0.72; background:rgba(0,0,0,var(--cf-panel-opacity)); float:left; }										
.panel-fullwidth					{ 	width:1010px;
                                        padding:10px 0 40px 20px;
                                        margin:0 100px 0 20px;
                                        background:rgba(0,0,0,0.77);
                                    }
                                    
.servicesbox { float:left; width:230px; padding-right:20px;}

/* CSS-only panel backgrounds. Change each --cf-panel-opacity value to adjust
   that page type without editing an image or changing the HTML. */
body.services-page .servicesbox {
    --cf-panel-opacity: 0.72;
    background: rgba(0,0,0,var(--cf-panel-opacity)) !important;
}

body.courses-page .servicesbox {
    --cf-panel-opacity: 0.72;
    background: rgba(0,0,0,var(--cf-panel-opacity)) !important;
}

body.courses-page .course-cta {
    --cf-panel-opacity: 0.72;
    background: rgba(0,0,0,var(--cf-panel-opacity)) !important;
}
                                    

#main								{ 	float:left; }

#sidenav							{	float:left;
                                        width:200px; 
                                        padding:10px 0 0 20px;}

#qt-video							{	}

#qt-centered 						{	width: 512px;
                                        height: 350px;
                                        background-color: black;
                                        left: 50%;
                                        top: 50%;
                                        margin-top: -170px;
                                        margin-left: -256px;
                                        position: fixed;	}

* html #qt-centered					{ 	position:absolute;	}

#social-icons						{	text-align:right;	
                                        padding-top:4px;
                                        }
                                        
#projects							{	padding:0 0 17px 0}

/* Always-visible homepage links to the main work categories. */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.work-category-nav {
    clear: both;
    display: flex;
    width: 605px;
    margin: 0 auto 37px auto;
    font-family: "Century Gothic", CenturyGothic, "Apple Gothic", Futura, Arial, sans-serif;
    font-size: 11.475px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

.work-category-nav a {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    color: #7c7c7c;
    letter-spacing: 0.2px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.work-category-nav a.current,
.work-category-nav a[aria-current="page"] {
    color: #ffffff;
}

.work-category-nav a:hover,
.work-category-nav a:focus {
    color: #b8b8b8;
    background-color: transparent;
    outline: none;
}

.work-category-nav a.current:hover,
.work-category-nav a.current:focus,
.work-category-nav a[aria-current="page"]:hover,
.work-category-nav a[aria-current="page"]:focus {
    color: #ffffff;
}

@media screen and (max-width: 767px) {
    .work-category-nav {
        width: calc(100vw - 45px);
        margin: 0 15px 37px 30px;
        flex-wrap: wrap;
    }

    .work-category-nav a {
        flex: 0 0 33.333%;
        min-height: 44px;
    }

    .work-category-nav a:last-child {
        margin-left: 0;
    }
}

.projectbox							{	float:left;
                                        padding: 0 0 20px 65px;}
                                        
.projectinfo						{	width: 188px;
                                        text-align: center;}
                                        
.thumbnail-row                      {   clear: both;
                                        display: block;}
                                        
.illustration-page #projects .projectbox h4 {
    margin: 10px 0 18.75px 0;
    max-width: 700px;
    text-align: left;
    white-space: nowrap;
    display: block;
}

.social-page .projectbox h4 {
    max-width: none;
    margin: 10px 0 18.75px 0;
    text-align: left;
    white-space: normal;
}

/* People
*/
.team-member {
  width:475px; /* was 441 */
  width:inherit;
  margin:0 0 60px 65px;
}

.team-member img {
  float:left;
  padding:0 65px 20px 0;
}

.team-member h2 {
  font-size:17px;
  margin-bottom:5px;
  margin-top:0;
}

.team-member h3 {
  font-size:14px;
  margin-top:0;
}

.team-member h4 {
  font-size:10px;
  margin-top:0;
}

.team-member-info {
  float:left;
  width:730px;
}

.static-header {
  margin:0 0 30px 315px;
}

/*
    NAVIGATION
*/
#nav 								{	width:840px;
                                        height:60px;
                                        float:left;    }
.subnav								{	z-index: 50;
                                        width:70px;
                                        display:none;}
#nav span 							{	display: none;	}
#nav li, #nav a 					{	height:60px;
                                        display:block;	}
#nav li 							{   float:left;
                                        list-style:none;
                                        display:inline;
                    position: relative;}
ul.subnav 							{	list-style: none;  
                                        position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/  
                                        left: 0; top: 60px;
                                        float: left;  
                                        width: 70px;	}  
ul.subnav li 						{	float: left;  
                                        margin: 0; 
                                        width:70px;
                                        padding: 0 15px 0 0;  
                                        position: relative; /*--Declare X and Y axis base for sub navigation--*/  } 

    #nav-news, #nav-about, #nav-work,#nav-showreel, #nav-illustration, #nav-artstation, #nav-services, #nav-shop, #nav-courses, #nav-contact,
     #nav-links, #nav-ip, #nav-clients,  #nav-blog	 {	width: 70px;	}

    #nav-news a {background: none; }
    #nav-news a:hover {background: none; }
    #nav-news.current a {background: none; }
    #nav-news.current a:hover {background: none; }
    
    #nav-about a {background: none; }
    #nav-about a:hover {background: none; }
    #nav-about.current a, #nav-about.current-temp a  {background: none; }
    #nav-about.current, #nav-about.current-temp a:hover {background: none; }
    
    #nav-work a {background: none; }
    #nav-work a:hover, #nav-work.hovered a {background: none; }
    #nav-work.subhover a {background: none; }
    #nav-work.current a, #nav-work.current-temp a {background: none; }
    #nav-work.current a:hover, #nav-work.current-temp  a:hover {background: none; }

    #nav-showreel a {background: none; }
    #nav-showreel a:hover {background: none; }
    #nav-showreel.current a {background: none; }
    #nav-showreel.current a:hover {background: none; }

    #nav-illustration a {background: none; }
    #nav-illustration a:hover {background: none; }
    #nav-illustration.current a {background: none; }
    #nav-illustration.current a:hover {background: none; }


    #nav-artstation a {background: none; }
    #nav-artstation a:hover {background: none; }
    #nav-artstation.current a {background: none; }
    #nav-artstation.current a:hover {background: none; }

    #nav-services a {background: none; }
    #nav-services a:hover {background: none; }
    #nav-services.current a {background: none; }
    #nav-services.current a:hover {background: none; }
    
    #nav-shop a {background: none; }
    #nav-shop a:hover {background: none; }
    #nav-shop.current a {background: none; }
    #nav-shop.current a:hover {background: none; }

    #nav-courses a {background: none; }
    #nav-courses a:hover {background: none; }
    #nav-courses.current a {background: none; }
    #nav-courses.current a:hover {background: none; }

    #nav-contact a {background: none; }
    #nav-contact a:hover {background: none; }
    #nav-contact.current a {background: none; }
    #nav-contact.current a:hover {background: none; }
    
    #nav-links a {background: none; }
    #nav-links a:hover {background: none; }
    #nav-links.current a {background: none; }
    #nav-links.current a:hover {background: none; }
    
    #nav-ip a {background: none; }
    #nav-ip a:hover {background: none; }
    #nav-ip.current a {background: none; }
    #nav-ip.current a:hover {background: none; }
    
    #nav-clients a {background: none; }
    #nav-clients a:hover {background: none; }
    #nav-clients.current a {background: none; }
    #nav-clients.current a:hover {background: none; }
    
    #nav-work .subnav #subnav-work-overview a {background:none 0px 0px no-repeat; }
    #nav-work .subnav #subnav-work-overview a:hover {background:none 0px -60px no-repeat; }
    
    #nav-work .subnav #subnav-work-animation a {background: none; }
    #nav-work .subnav #subnav-work-animation a:hover {background: none; }
    
    #nav-work .subnav #subnav-work-video a {background: none; }
    #nav-work .subnav #subnav-work-video a:hover {background: none; }

    #nav-work .subnav #subnav-work-motion-design a {background:none 0px 0px no-repeat; }
    #nav-work .subnav #subnav-work-motion-design a:hover {background:none 0px -60px no-repeat; }

    #nav-work .subnav #subnav-work-social a {background: none; }
    #nav-work .subnav #subnav-work-social a:hover {background: none; }
    
    #nav-work .subnav #subnav-work-illustration a {background: none; }
    #nav-work .subnav #subnav-work-illustration a:hover {background:none 0px -60px no-repeat; }
    
    #nav-work .subnav #subnav-work-ip a {background: none; }
    #nav-work .subnav #subnav-work-ip a:hover {background:none 0px -60px no-repeat; }

/* Crisp text replacement for the original 70x180 top-navigation GIF sprites.
   The exact current and rollover background colours are sampled from those sprites. */
#nav-news       { --nav-current: #c30069; --nav-hover: #d20f78; }
#nav-home       { --nav-current: #ff312a; --nav-hover: #ff4640; }
#nav-about      { --nav-current: #c22900; --nav-hover: #d1380f; }
#nav-work       { --nav-current: #c30011; --nav-hover: #d20f20; }
#nav-showreel   { --nav-current: #940156; --nav-hover: #a31065; }
#nav-artstation { --nav-current: #c2b300; --nav-hover: #d0c100; }
#nav-illustration { --nav-current: #bcb101; --nav-hover: #cbc010; }
#nav-services   { --nav-current: #5a00c4; --nav-hover: #690fd3; }
#nav-clients    { --nav-current: #0095bd; --nav-hover: #0da4cc; }
#nav-contact    { --nav-current: #ee3f06; --nav-hover: #fd4e15; }
#nav-shop       { --nav-current: #ef0506; --nav-hover: #fe1415; }
#nav-courses    { --nav-current: #010cbc; --nav-hover: #101bcb; }
#nav-links      { --nav-current: #006803; --nav-hover: #0f7712; }
#nav-blog       { --nav-current: #05c593; --nav-hover: #06d5a2; }
#nav-subscribe  { --nav-current: #bcb101; --nav-hover: #cbc010; }

#nav > li > a {
    background: #000000 none !important;
    color: #6b6b6b;
    font-family: "Century Gothic", CenturyGothic, "Apple Gothic", Futura, Arial, sans-serif;
    font-size: 9px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

#nav > li > a > span {
    display: flex;
    width: 70px;
    height: 60px;
    align-items: center;
    justify-content: center;
}

#nav > li.current > a,
#nav > li.current-temp > a {
    background-color: var(--nav-current) !important;
    color: #ffffff;
}

#nav > li > a:hover,
#nav > li > a:focus,
#nav > li.hovered > a,
#nav > li.subhover > a {
    background-color: var(--nav-hover) !important;
    color: #ffffff;
    outline: none;
}

/* Crisp text replacement for the original 70x120 dropdown GIF sprites.
   Each normal and rollover colour is sampled from its corresponding GIF. */
#subnav-about-people       { --subnav-bg: #0051ff; --subnav-hover: #004df1; }
#subnav-about-studio       { --subnav-bg: #3e9e00; --subnav-hover: #3a9100; }
#subnav-work-overview      { --subnav-bg: #b50f11; --subnav-hover: #a60002; }
#subnav-work-animation     { --subnav-bg: #b60002; --subnav-hover: #a60002; }
#subnav-work-video         { --subnav-bg: #a00101; --subnav-hover: #910101; }
#subnav-work-motion-design { --subnav-bg: #b60002; --subnav-hover: #a60002; }
#subnav-work-social        { --subnav-bg: #b60002; --subnav-hover: #a60002; }
#subnav-work-ip            { --subnav-bg: #b60002; --subnav-hover: #a60002; }
#subnav-work-fashion,
#subnav-work-sports,
#subnav-work-typography,
#subnav-work-corporate { --subnav-bg: #b60002; --subnav-hover: #a60002; }
#subnav-work-flash         { --subnav-bg: #b60002; --subnav-hover: #a60002; }
#subnav-work-illustration  { --subnav-bg: #a01010; --subnav-hover: #910101; }
#subnav-work-sketchbook    { --subnav-bg: #b60002; --subnav-hover: #a60002; }

#nav .subnav > li > a {
    width: 70px;
    height: 60px;
    background: var(--subnav-bg) none !important;
    color: #ffffff;
    font-family: "Century Gothic", CenturyGothic, "Apple Gothic", Futura, Arial, sans-serif;
    font-size: 9px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

#nav .subnav > li > a > span {
    display: flex;
    width: 70px;
    height: 60px;
    align-items: center;
    justify-content: center;
}

#nav .subnav > #subnav-work-motion-design > a > span {
    display: block;
    box-sizing: border-box;
    padding-top: 19px;
    line-height: 11px;
}

#nav .subnav > li > a:hover,
#nav .subnav > li > a:focus {
    background: var(--subnav-hover) none !important;
    color: #ffffff;
    outline: none;
}

/* -------------------------------------------------------------------------
   RESPONSIVE DESKTOP OVERVIEW TRIAL
   Scoped to index.htm so the redesign can be assessed before a wider rollout.
   The existing mobile experience (800px and below) is intentionally untouched.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
    body.overview-modern-test {
        --overview-muted: #7f7f7f;
    }

    body.overview-modern-test #wrapper {
        width: calc(100% - clamp(40px, 6vw, 96px));
        max-width: 1360px;
        margin: 0 auto;
    }

    body.overview-modern-test #header {
        display: flex;
        align-items: center;
        min-height: 72px;
        padding-top: 12px;
    }

    body.overview-modern-test #logo {
        flex: 0 0 auto;
        float: none;
        width: auto;
        z-index: 920;
    }

    body.overview-modern-test #logo a {
        display: block;
    }

    body.overview-modern-test #logo img {
        display: block;
        width: clamp(52px, 4.3vw, 58px);
        height: auto;
        padding: 0;
    }

    body.overview-modern-test #navigation {
        flex: 1 1 auto;
        min-width: 0;
        margin-left: clamp(18px, 3.2vw, 48px);
    }

    body.overview-modern-test #nav {
        display: flex;
        float: none;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: min(100%, 968px);
        height: 72px;
    }

    body.overview-modern-test #nav > li {
        flex: 1 1 0;
        float: none;
        min-width: 0;
        max-width: 88px;
        width: auto !important;
        height: 72px;
    }

    body.overview-modern-test #nav > li > a {
        width: 100%;
        height: 72px;
        font-size: clamp(10.25px, 0.95vw, 11.25px);
        letter-spacing: 0.055em;
        white-space: nowrap;
    }

    body.overview-modern-test #nav > li > a > span {
        width: 100%;
        height: 72px;
        padding: 0;
    }

    body.overview-modern-test #nav > li.current > a,
    body.overview-modern-test #nav > li.current-temp > a {
        background-color: var(--nav-current) !important;
        color: #ffffff;
    }

    /* The Overview trial is the Work landing page. Keep its current state
       explicit so the design also previews correctly on a localhost URL. */
    body.overview-modern-test #nav-work > a {
        background-color: var(--nav-current) !important;
        color: #ffffff !important;
    }

    body.overview-modern-test #nav > li > a:hover,
    body.overview-modern-test #nav > li > a:focus,
    body.overview-modern-test #nav > li.hovered > a,
    body.overview-modern-test #nav > li.subhover > a {
        background-color: var(--nav-hover) !important;
        color: #ffffff;
    }

    body.overview-modern-test #nav > li > a {
        color: var(--overview-muted);
        transition: background-color 200ms ease, color 200ms ease;
    }

    body.overview-modern-test #nav .subnav > li > a {
        width: 100%;
        background: var(--subnav-bg) none !important;
        color: #ffffff;
    }

    body.overview-modern-test #nav .subnav > li > a > span {
        width: 100%;
    }

    body.overview-modern-test #nav .subnav > li > a:hover,
    body.overview-modern-test #nav .subnav > li > a:focus {
        background: var(--subnav-hover) none !important;
        color: #ffffff;
    }

    body.overview-modern-test #nav > li:first-child > a > span {
        padding-left: 0;
    }

    body.overview-modern-test #nav > li:last-child > a > span {
        padding-right: 0;
    }

    body.overview-modern-test #nav > li > ul.subnav {
        top: 72px;
        width: 100%;
        box-shadow: 0 14px 24px rgba(0, 0, 0, 0.28);
    }

    /* Scale the code-drawn dropdown buttons with the enlarged 88x72 top nav.
       Their established About and Work colours remain unchanged. */
    body.overview-modern-test #nav > li > ul.subnav > li {
        float: none;
        display: block;
        box-sizing: border-box;
        width: 100%;
        height: 72px;
        margin: 0;
        padding: 0;
    }

    body.overview-modern-test #nav > li > ul.subnav > li > a {
        box-sizing: border-box;
        width: 100%;
        height: 72px;
        border-top: 1px solid rgba(255, 255, 255, 0.055);
        font-size: clamp(10.25px, 0.95vw, 11.25px);
        font-weight: 500;
        letter-spacing: 0.055em;
    }

    body.overview-modern-test #nav > li > ul.subnav > li > a > span,
    body.overview-modern-test #nav .subnav > #subnav-work-motion-design > a > span {
        display: flex;
        box-sizing: border-box;
        width: 100%;
        height: 72px;
        padding: 0;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    body.overview-modern-test #content {
        box-sizing: border-box;
        width: 100%;
        padding: clamp(54px, 6vw, 86px) 0 70px;
    }

    body.overview-modern-test #projects {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: clamp(14px, 1.5vw, 22px);
        row-gap: 0;
        padding: 0;
    }

    body.overview-modern-test #about-box-dark {
        grid-column: 1 / -1;
        width: min(100%, 1180px);
        margin: 0 0 clamp(66px, 7vw, 94px);
        padding: 0;
        position: relative;
        z-index: 1;
    }

    body.overview-modern-test #about-box-dark::before {
        display: none;
    }

    body.overview-modern-test #about-box-dark p {
        margin: 0;
        color: var(--cf-superheader-color, #e8e8e8);
        font-family: "Manrope", Arial, sans-serif;
        font-size: clamp(16px, 1.36vw, 23.2px);
        font-weight: 400;
        letter-spacing: 0.004em;
        line-height: 1.35;
        text-align: left;
    }

    body.overview-modern-test #about-box-dark p + p {
        margin-top: 0.85em;
    }

    body.overview-modern-test .work-category-nav {
        grid-column: 1 / -1;
        display: flex;
        justify-content: flex-start;
        gap: clamp(20px, 2.8vw, 38px);
        width: auto;
        margin: 0 0 30px;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 15.5px;
        font-weight: 550;
        text-align: left;
    }

    body.overview-modern-test .work-category-nav a {
        flex: 0 0 auto;
        min-height: 0;
        padding: 0 0 5px;
        border-bottom: 3px solid transparent;
        color: var(--overview-muted);
        letter-spacing: 0.1em;
        transition: border-color 160ms ease, color 160ms ease;
    }

    body.overview-modern-test .work-category-nav a.current,
    body.overview-modern-test .work-category-nav a[aria-current="page"] {
        border-bottom-color: #ababab;
        color: #ababab;
    }

    body.overview-modern-test .work-category-nav a:hover,
    body.overview-modern-test .work-category-nav a:focus {
        color: #ffffff;
    }

    body.overview-modern-test #projects > .projectbox {
        float: none;
        width: auto;
        margin: 0 0 clamp(22px, 2vw, 30px);
        padding: 0;
    }

    body.overview-modern-test #projects > .projectbox .projectinfo {
        width: 100%;
        text-align: left;
    }

    body.overview-modern-test #projects > .projectbox .projectinfo a {
        display: block;
        color: var(--overview-muted);
        font-family: "Manrope", Arial, sans-serif;
        font-size: clamp(14px, 1.1vw, 17px);
        font-weight: 600;
        letter-spacing: 0.004em;
        line-height: 1.3;
        text-align: left;
    }

    body.overview-modern-test #projects > .projectbox .projectinfo a:hover,
    body.overview-modern-test #projects > .projectbox .projectinfo a:focus,
    body.overview-modern-test #projects > .projectbox .projectinfo a:active {
        color: #ededed;
    }

    body.overview-modern-test #projects > .projectbox .projectinfo img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0 0 10px;
        object-fit: cover;
    }

    body.overview-modern-test #projects > .projectbox .projectinfo br,
    body.overview-modern-test #projects > .clearfix {
        display: none;
    }

    body.overview-modern-test .footer_container {
        box-sizing: border-box;
        display: grid;
        grid-template-areas:
            "address"
            "social"
            "copyright";
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        align-items: start;
        gap: 17px;
        min-height: 197px;
        width: min(calc(100% - clamp(40px, 6vw, 96px)), 1360px);
        margin: 0 auto;
    }

    body.overview-modern-test #footer-transp {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-height: 245px;
        margin-top: 0;
        padding: 48px 0 0;
        background: #050505;
    }

    body.overview-modern-test #footer-transp #address {
        grid-area: address;
        float: none;
        height: auto;
        padding: 0;
    }

    body.overview-modern-test #footer-transp #address p {
        max-width: 660px;
        color: #8e8e8e;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 10px;
        letter-spacing: 0.08em;
        line-height: 1.55;
        text-transform: uppercase;
    }

    body.overview-modern-test #footer-transp #address .footer-email {
        margin-bottom: 12px;
        font-size: clamp(17px, 1.35vw, 20px);
        letter-spacing: 0.004em;
        line-height: 1.3;
        text-transform: none;
    }

    body.overview-modern-test #footer-transp #address a {
        color: #d0d0d0;
    }

    body.overview-modern-test #footer-transp #address a:hover,
    body.overview-modern-test #footer-transp #address a:focus {
        color: #ffffff;
    }

    body.overview-modern-test #footer-transp #copyright {
        grid-area: copyright;
        float: none;
        align-self: end;
        justify-self: start;
        width: max-content;
        height: auto;
        padding: 7px 12px;
        background: #fb073b;
    }

    body.overview-modern-test #footer-transp #copyright p {
        color: #ffffff;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 10px;
        letter-spacing: 0.02em;
        line-height: 1.5;
    }

    body.overview-modern-test #footer-transp .footer_social {
        grid-area: social;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        float: none;
        align-self: start;
        justify-self: start;
    }

    body.overview-modern-test #footer-transp .footer-icon {
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        display: inline-flex;
        width: 27px;
        height: 27px;
        margin: 0;
        padding: 0;
        background: none !important;
        color: #777777;
        filter: none;
        font-family: "Manrope", Arial, sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1;
        opacity: 1;
        text-align: center;
        text-decoration: none;
        text-indent: 0;
        transition: color 150ms ease, opacity 150ms ease;
    }

    body.overview-modern-test #footer-transp .footer-logo-icon img {
        display: block;
        width: 25px;
        height: 25px;
        object-fit: contain;
        filter: grayscale(1) brightness(1.45) contrast(1.45);
        opacity: 0.58;
        transition: filter 150ms ease, opacity 150ms ease;
    }

    body.overview-modern-test #footer-transp .footer-lm-youtube img {
        width: 27px;
        height: 27px;
        filter: grayscale(1) brightness(1.55) contrast(3.2);
    }

    body.overview-modern-test #footer-transp .footer-linkedin {
        font-size: 14px;
        letter-spacing: -0.06em;
    }

    body.overview-modern-test #footer-transp .footer-company-linkedin {
        outline: 1px solid #555555;
        outline-offset: -3px;
    }

    body.overview-modern-test #footer-transp .footer-icon:hover,
    body.overview-modern-test #footer-transp .footer-icon:focus {
        color: #ffffff;
        outline-color: #ffffff;
    }

    body.overview-modern-test #footer-transp .footer-logo-icon:hover img,
    body.overview-modern-test #footer-transp .footer-logo-icon:focus img {
        filter: grayscale(1) brightness(2.5) contrast(1.7);
        opacity: 1;
    }

    body.overview-modern-test #footer-transp .footer-lm-youtube:hover img,
    body.overview-modern-test #footer-transp .footer-lm-youtube:focus img {
        filter: grayscale(1) brightness(2.7) contrast(3.4);
    }
}

@media screen and (min-width: 1120px) {
    body.overview-modern-test #projects {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Project footer navigation */
#nav-project						{	height:97px;
                                        margin-top: -97px; /* negative value of footer height */
                                        display:none;
                                        z-index:700; width:970px;	
                                        }
#nav-project-wrapper				{	padding-left:210px; background:#000;}
#navbar-project						{	padding:26px 0 0 0; }
#navbar-project span				{	display:none;}
#navbar-project a, 
#navbar-project li					{	height:10px;
                                        display:block; }
#navbar-project li					{	display:inline;
                                        list-style:none;
                                        float:left;
                                        padding:0 10px;}
#navbar-project-secondary			{	padding:26px 0 0 0;
                                        margin-left:-131px;}
#navbar-project-secondary span		{	display:none;}
#navbar-project-secondary a, 
#navbar-project-secondary li		{	height:10px;
                                        display:block; }
#navbar-project-secondary li		{	display:inline;
                                        list-style:none;
                                        float:left;
                                        padding:0 10px;}
#projnav-about						{	width:38px;}
#projnav-movie						{	width:36px;}
#projnav-movies						{	width:43px;}
#projnav-image-gallery				{	width:86px;}
#projnav-storyboards				{	width:80px;}
#projnav-story						{	width:35px;}
#projnav-posters					{	width:46px;}
#projnav-xmas-card					{	width:65px;}
#projnav-bible						{	width:27px;}
#projnav-official-movie-site		{	width:108px;}
#projnav-characters					{	width:70px;}
#projnav-test-animation				{	width:91px;}
#projnav-launch-project				{	width:96px;}
#projnav-sketches					{	width:52px;}
#projnav-2poems						{	width:49px;}
#projnav-character-designs			{	width:115px;}
#projnav-projects					{	width:56px;}
#projnav-youtube					{	width:52px;}
#projnav-about a					{	background:none 0 0 no-repeat; }
#projnav-about a:hover, #projnav-about.current a { background:none 0 -10px no-repeat; }
#projnav-movie a					{	background:none -747px 0 no-repeat; }
#projnav-movie a:hover, #projnav-movie.current a { background:none -747px -10px no-repeat; }
#projnav-movies a					{	background:none -250px 0 no-repeat; }
#projnav-movies a:hover, #projnav-movies.current a { background:none -250px -10px no-repeat; }
#projnav-image-gallery a			{	background:none -47px 0 no-repeat; }
#projnav-image-gallery a:hover, #projnav-image-gallery.current a { background:none -47px -10px no-repeat; }
#projnav-storyboards a				{	background:none -152px 0 no-repeat; }
#projnav-storyboards a:hover, #projnav-storyboards.current a { background:none -152px -10px no-repeat; }
#projnav-story a					{	background:none -303px 0 no-repeat; }
#projnav-story a:hover, #projnav-story.current a { background:none -303px -10px no-repeat; }
#projnav-posters a					{	background:none -355px 0 no-repeat; }
#projnav-posters a:hover, #projnav-posters.current a { background:none -355px -10px no-repeat; }
#projnav-xmas-card a				{	background:none -413px 0 no-repeat; }
#projnav-xmas-card a:hover, #projnav-xmas-card.current a { background:none -413px -10px no-repeat; }
#projnav-bible a					{	background:none -493px 0 no-repeat; }
#projnav-bible a:hover, #projnav-bible.current a { background:none -493px -10px no-repeat; }
#projnav-official-movie-site a		{	background:none -524px 0 no-repeat; }
#projnav-official-movie-site a:hover, #projnav-official-movie-site.current a { background:none -524px -10px no-repeat; }
#projnav-characters a				{	background:none -661px 0 no-repeat; }
#projnav-characters a:hover, #projnav-characters.current a { background:none -661px -10px no-repeat; }
#projnav-test-animation a			{	background:none -895px 0 no-repeat; }
#projnav-test-animation a:hover, #projnav-test-animation.current a { background:none -895px -10px no-repeat; }
#projnav-launch-project a			{	background:none -791px 0 no-repeat; }
#projnav-launch-project a:hover, #projnav-launch-project.current a { background:none -791px -10px no-repeat; }
#projnav-sketches a					{	background:none -996px 0 no-repeat; }
#projnav-sketches a:hover, #projnav-sketches.current a { background:none -996px -10px no-repeat; }
#projnav-2poems a					{	background:none -1060px 0 no-repeat; }
#projnav-2poems a:hover, #projnav-2poems.current a { background:none -1060px -10px no-repeat; }
#projnav-character-designs a			{	background:none -1121px 0 no-repeat; }
#projnav-character-designs a:hover, #projnav-character-designs.current a { background:none -1121px -10px no-repeat; }
#projnav-projects a					{	background:none -1242px 0 no-repeat; }
#projnav-projects a:hover, #projnav-projects.current a { background:none -1242px -10px no-repeat; }
#projnav-youtube a					{	background:none -1296px 0 no-repeat; }
#projnav-youtube a:hover, #projnav-youtube.current a { background:none -1296px -10px no-repeat; }

/* Site-wide live-text project navigation, approved on Compare the Meerkat.
   This deliberately targets the legacy IDs directly so the Photoshop sprite
   slices disappear as soon as the shared stylesheet loads. The shared script
   then normalises checked labels and accessibility state without adding or
   removing any project-specific links. */
@media screen and (min-width: 801px) {
  #navbar-project,
  #navbar-project-secondary {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 18px;
    box-sizing: border-box;
    height: auto;
    padding: 26px 0 0;
    list-style: none;
  }

  #navbar-project {
    margin: 0;
  }

  #navbar-project-secondary {
    margin-left: -131px;
  }

  #navbar-project > li,
  #navbar-project-secondary > li {
    display: block;
    float: none;
    width: auto !important;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #navbar-project > li > a,
  #navbar-project-secondary > li > a {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    background: none !important;
    color: var(--cf-desktop-muted, #7f7f7f);
    font-family: "Century Gothic", CenturyGothic, "Apple Gothic", Futura, Arial, sans-serif;
    font-size: clamp(10.25px, 0.95vw, 11.25px);
    font-weight: normal;
    letter-spacing: 0.055em;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 140ms ease;
  }

  #navbar-project > li > a > span,
  #navbar-project-secondary > li > a > span {
    display: block;
  }

  /* Visual label fallbacks for legacy files whose hidden sprite text was
     production shorthand or had the wrong singular/plural form. JavaScript
     also replaces the actual text for accessibility when it runs. */
  #projnav-movie > a > span,
  #projnav-official-movie-site > a > span,
  #projnav-youtube > a > span,
  #projnav-main-menu > a > span,
  #projnav-hunchback > a > span,
  #projnav-ladybird > a > span,
  #projnav-sketches > a > span,
  #projnav-sandra > a > span,
  #projnav-atura > a > span {
    font-size: 0;
  }

  #projnav-movie > a > span::after,
  #projnav-official-movie-site > a > span::after,
  #projnav-youtube > a > span::after,
  #projnav-main-menu > a > span::after,
  #projnav-hunchback > a > span::after,
  #projnav-ladybird > a > span::after,
  #projnav-sketches > a > span::after,
  #projnav-sandra > a > span::after,
  #projnav-atura > a > span::after {
    font-size: clamp(10.25px, 0.95vw, 11.25px);
  }

  #projnav-movie > a > span::after { content: "Movie"; }
  #projnav-official-movie-site > a > span::after { content: "Official Website"; }
  #projnav-youtube > a > span::after { content: "YouTube"; }
  #projnav-main-menu > a > span::after { content: "Main Menu"; }
  #projnav-hunchback > a > span::after { content: "Hunchback"; }
  #projnav-ladybird > a > span::after { content: "Ladybird"; }
  #projnav-sketches > a > span::after { content: "Sketches"; }
  #projnav-sandra > a > span::after { content: "Sandra Vass"; }
  #projnav-atura > a > span::after { content: "General Atura"; }

  #projnav-main-menu > a > span {
    position: relative;
    display: inline-block;
    padding-left: calc(1.7 * var(--cf-project-nav-font-size, clamp(10.25px, 0.95vw, 11.25px)));
    font-size: 0 !important;
  }
  #projnav-main-menu > a > span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    margin: 0;
    border-style: solid;
    /* Match the label's responsive type size despite the zero-size wrapper. */
    font-size: var(--cf-project-nav-font-size, clamp(10.25px, 0.95vw, 11.25px));
    border-width: 0.55em 0.8em 0.55em 0;
    border-color: transparent currentColor transparent transparent;
    transform: translateY(-50%);
    pointer-events: none;
  }
  #projnav-main-menu > a > span::after {
    content: "Main Menu";
    font-size: clamp(10.25px, 0.95vw, 11.25px);
  }

  #navbar-project > li.current > a,
  #navbar-project > li > a:hover,
  #navbar-project > li > a:focus,
  #navbar-project-secondary > li.current > a,
  #navbar-project-secondary > li > a:hover,
  #navbar-project-secondary > li > a:focus {
    background: none !important;
    color: #ededed;
    outline: none;
  }
}

/* Project Character Page Navigation */
#projnav-brook						{	width:40px;}
#projnav-ursula						{	width:41px;}
#projnav-doc						{	width:83px;}
#projnav-crystal					{	width:46px;}
#projnav-jefferson				    {	width:60px;}
#projnav-sandra		                {	width:80px;}
#projnav-atura                   	{	width:94px;}    
#projnav-other						{	width:35px;}
#projnav-ladybird					{	width:51px;}
#projnav-hunchback					{	width:69px;}
#projnav-gloch            { width:40px; }
#projnav-tungsten         { width:60px; }
#projnav-armegon           { width:62px; }
#projnav-borosa            { width:48px; }
#projnav-centurions        { width:72px; }
#projnav-malanchor       { width:73px; }
#projnav-sylacron        { width:60px; }
#projnav-cassandra-chase  { width:107px; }
#projnav-charles-langley  { width:100px;}
#projnav-main-menu					{	width:85px; margin-right:26px;}
#projnav-brook a					{	background:none -86px 0 no-repeat; }
#projnav-brook a:hover, #projnav-brook.current a { background:none -86px -10px no-repeat; }
#projnav-ursula a					{	background:none -130px 0 no-repeat; }
#projnav-ursula a:hover, #projnav-ursula.current a { background:none -130px -10px no-repeat; }
#projnav-doc a						{	background:none -175px 0 no-repeat; }
#projnav-doc a:hover, #projnav-doc.current a { background:none -175px -10px no-repeat; }
#projnav-crystal a					{	background:none -262px 0 no-repeat; }
#projnav-crystal a:hover, #projnav-crystal.current a { background:none -262px -10px no-repeat; }
#projnav-jefferson a				{	background:none -312px 0 no-repeat; }
#projnav-jefferson a:hover, #projnav-jefferson.current a { background:none -312px -10px no-repeat; }
#projnav-sandra a					{	background:none -410px 0 no-repeat; }
#projnav-sandra a:hover, #projnav-sandra.current a { background:none -410px -10px no-repeat; }
#projnav-atura a					{	background:none -491px 0 no-repeat; }
#projnav-atura a:hover, #projnav-atura.current a { background:none -491px -10px no-repeat; }
#projnav-other a					{	background:none -374px 0 no-repeat; }
#projnav-other a:hover, #projnav-other.current a { background:none -374px -10px no-repeat; }
#projnav-hunchback a				{	background:none -383px 0 no-repeat; }
#projnav-hunchback a:hover, #projnav-hunchback.current a { background:none -383px -10px no-repeat; }
#projnav-ladybird a					{	background:none -463px 0 no-repeat; }
#projnav-ladybird a:hover, #projnav-ladybird.current a { background:none -463px -10px no-repeat; }
#projnav-main-menu a				{	background:none 0 0 no-repeat; }
#projnav-main-menu a:hover, #projnav-main-menu.current a { background:none 0 -10px no-repeat; }

/* zorgons */
#projnav-gloch a { background:none -0px 0 no-repeat; }
#projnav-gloch a:hover, #projnav-gloch.current a { background:none -0px -10px no-repeat; }
#projnav-tungsten a { background:none -44px 0 no-repeat; }
#projnav-tungsten a:hover, #projnav-tungsten.current a { background:none -44px -10px no-repeat; }
#projnav-armegon a { background:none -105px 0 no-repeat; }
#projnav-armegon a:hover, #projnav-armegon.current a { background:none -105px -10px no-repeat; }
#projnav-borosa a { background:none -166px 0 no-repeat; }
#projnav-borosa a:hover, #projnav-borosa.current a { background:none -166px -10px no-repeat; }
#projnav-centurions a { background:none -215px 0 no-repeat; }
#projnav-centurions a:hover, #projnav-centurions.current a { background:none -215px -10px no-repeat; }

/* zeddites */
#projnav-malanchor a { background:none 0px 0 no-repeat; }
#projnav-malanchor a:hover, #projnav-malanchor.current a { background:none 0px -10px no-repeat; }
#projnav-sylacron a { background:none -73px 0 no-repeat; }
#projnav-sylacron a:hover, #projnav-sylacron.current a { background:none -73px -10px no-repeat; }

/* humans */
#projnav-cassandra-chase a { background:none 0 0 no-repeat; }
#projnav-cassandra-chase a:hover, #projnav-cassandra-chase.current a { background:none 0 -10px no-repeat; }
#projnav-charles-langley a { background:none -110px 0 no-repeat; }
#projnav-charles-langley a:hover, #projnav-charles-langley.current a { background:none -110px -10px no-repeat; }

/* Project Movie Page Navigation */
#itrocentered						{ margin-top:20px; }
#video-icons						{ margin-top:40px; }
#video-icons.quicktimefix			{ margin-top:40px;}
#video-icons span					{	display:none;}
#video-icons a, 
#video-icons li						{	height:40px; 
                                        display:block;
                                        outline:none; }
#video-icons li						{	display:inline;
                                        list-style:none;
                                        float:left;
                                        padding:0 23px 0 0;}
#icon-quicktime					{ width:25px; }
#icon-vimeo						{ width:95px; }
#icon-youtube					{ width:25px;}
#icon-youtube a {background:none -55px 0px no-repeat; }
#icon-youtube a:hover {background:none -55px -41px no-repeat; }
#icon-youtube.current a {background:none -55px -41px no-repeat; }
#icon-youtube.current a:hover {background:none -55px -41px no-repeat; }
#icon-quicktime a {background:none -4px 0px no-repeat; }
#icon-quicktime a:hover {background:none -4px -41px no-repeat; }
#icon-quicktime.current a {background:none -4px -41px no-repeat; }
#icon-quicktime.current a:hover {background:none -4px -41px no-repeat; }
#icon-vimeo a {background:none -104px 0px no-repeat; }
#icon-vimeo a:hover {background:none -104px -41px no-repeat; }
#icon-vimeo.current a {background:none -104px -41px no-repeat; }
#icon-vimeo.current a:hover {background:none -104px -41px no-repeat; }

/* laundry monsters additions */
#black-background.lm-characters-bg {
  background:#000 url('#') 0 70px no-repeat;
  background-size:cover;
}
.character-profile {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width:695px;
  float:left;
  margin-left:65px;
  padding:20px;
  background: rgba(0,0,0,0.85);
}
.lm-styles #about-box, .lm-styles #scrollerwrapper-large {
  background: rgba(0,0,0,0.65);
}
.character-profile h2 {
  margin:0;
}

/* Force bold labels inside Laundry Monsters character profiles */
.character-profile strong,
.character-profile b {
  font-weight: bold !important;
}

/*
.lm-styles * {
  color:white !important;
}
.lm-styles p, .lm-styles a {
  font-size:14px !important;
}
*/

/* Profile Image Styling for Alex Dawson */
.profile-img {
    float: left;
    width: 150px;
    height: 200px;
    margin: 10px 15px 10px 0;
    border-radius: 0px; /* Slight rounding for a polished look */
}
.contact-form {
  max-width: 600px;
  margin: 1.5em 0;
  font-family: "Myriad Pro", Arial;
  font-size: 0.8em;
  color: var(--cf-main-copy-blue, #0b92bf);
}
.form-group {
  margin-bottom: 1.5em;
}
.form-group label {
  display: block;
  font-weight: bold;
  color: #FFF;
  margin-bottom: 8px;
  font-size: 1.25em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 0;
  font-family: "Myriad Pro", Arial;
  font-size: 1.25em;
  color: var(--cf-main-copy-blue, #0b92bf);
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  outline: 2px solid #ffd700;
  outline-offset: -2px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
  opacity: 0.8;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  background-color: #ff4500;
  color: #FFF;
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  font-family: "Myriad Pro", Arial;
  font-size: 1.25em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.form-submit:hover {
  background-color: #ffd700;
  color: var(--cf-main-copy-blue, #0b92bf);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Contact page: one consistent copy scale and a first-party enquiry form. */
body.contact-page .contact-copy {
  color: #bbbbbb;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 1em;
  line-height: 1.55;
}

body.contact-page .contact-copy p,
body.contact-page .contact-details,
body.contact-page .contact-form {
  font: inherit;
}

body.contact-page .contact-section-title {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  margin: 1.7em 0 0.75em;
}

body.contact-page .contact-details {
  font-style: normal;
  margin: 0 0 1.5em;
}

body.contact-page .contact-details span {
  display: block;
  margin: 0 0 0.55em;
}

body.contact-page .contact-form {
  background: rgba(0, 0, 0, 0.82);
  border: none;
  box-sizing: border-box;
  color: #bbbbbb;
  margin: 1.8em 0 2.5em;
  max-width: 600px;
  padding: 20px;
}

body.contact-page .form-group {
  margin-bottom: 1.4em;
}

body.contact-page .form-group label {
  color: #ffffff;
  font-size: 1em;
  font-weight: normal;
  margin-bottom: 7px;
}

body.contact-page .form-group input,
body.contact-page .form-group textarea {
  background: #111111;
  border: none;
  box-shadow: none;
  color: #eeeeee;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 1em;
  line-height: 1.45;
  padding: 11px 12px;
}

body.contact-page .form-group input:focus,
body.contact-page .form-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(11, 146, 191, 0.25);
  outline: none;
}

body.contact-page .form-submit {
  background: #ee3f06;
  color: #ffffff;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 1em;
  padding: 11px 22px;
}

body.contact-page .form-submit:hover,
body.contact-page .form-submit:focus-visible {
  background: #ff531a;
  color: #ffffff;
  transform: none;
}

body.contact-page .form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

body.contact-page .cf-form-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

body.contact-page #form-response {
  font: inherit;
  min-height: 1.55em;
  margin-top: 12px;
}




/* Gallery Styles */
.gallery {
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 30px 0 60px; /* 60px left, 30px right */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery-item {
  width: 100%;
  max-width: 672px; /* 30% smaller than 960px */
  margin-bottom: 20px;
}

.gallery-item a {
  display: block;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.caption {
  text-align: center;
  color: #fff;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 14px;
  padding: 30px 20px;
  margin: 0;
  line-height: 1.5;
  max-width: 100%;
  word-wrap: break-word;
}

.category-header {
  color: #fff;
  font-family: "Myriad Pro", Arial, sans-serif;
  font-size: 22px; /* Matches h4 size from social page */
  font-weight: normal;
  margin: 40px 0 20px;
  text-align: left;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .gallery {
    padding: 0 15px 0 30px; /* 30px left, 15px right */
  }
  .gallery-item {
    width: 100%;
    max-width: 90%; /* Slightly smaller for mobile */
  }
  .caption {
    font-size: 12px;
    padding: 20px 10px;
  }
  .category-header {
    font-size: 18px;
    margin: 30px 0 15px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .gallery {
    padding: 0 20px 0 40px; /* 40px left, 20px right */
  }
  .gallery-item {
    width: 100%;
    max-width: 672px; /* Maintains 30% reduction */
  }
  .caption {
    font-size: 13px;
  }
  .category-header {
    font-size: 20px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1366px) {
  .gallery {
    padding: 0 25px 0 50px; /* 50px left, 25px right */
  }
  .gallery-item {
    width: 100%;
    max-width: 672px; /* Maintains 30% reduction */
  }
  .category-header {
    font-size: 22px;
  }
}

@media screen and (min-width: 1025px) {
  .gallery {
    padding: 0 30px 0 60px;
  }
  .gallery-item {
    width: 100%;
    max-width: 672px; /* Maintains 30% reduction */
  }
  .category-header {
    font-size: 22px;
  }
}


/* Course page email links */

.email-link {
    color: #8fd3ff;
    font-weight: bold;
    text-decoration: none;
}

.email-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.email-link:visited {
    color: #8fd3ff;
}

/* LM Chrome bold fix - 20260626 */
.character-profile strong,
.character-profile b,
.lm-styles strong,
.lm-styles b {
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
  font-style: normal !important;
}

/* -------------------------------------------------------------------------
   APPROVED 2026 DESKTOP SYSTEM
   The index prototype is the design master. These shared rules promote its
   header/navigation and fluid work-listing system above the mobile breakpoint.
   Desktop Colorbox iframes remain below this breakpoint and are unaffected.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  body {
    --cf-desktop-muted: #7f7f7f;
    --cf-desktop-selected: #ababab;
    --cf-desktop-wrapper-offset: max(clamp(20px, 3vw, 48px), calc((100vw - 1360px) / 2));
  }

  /* Clients uses a light-blue artwork on a page taller than the viewport.
     Keep the artwork at its authored 1920px scale, let the matching blue body
     colour continue beneath it, and restore the site's full-width black
     header strip.  Using `cover` here made the artwork scale against the full
     document height and produced the apparently broken split layout. */
  body#black-background.clients-page {
    height: auto;
    min-height: 100%;
    background-color: #3d54f9 !important;
    background-image:
      linear-gradient(#000000, #000000),
      none !important;
    background-position: 0 0, 0 84px !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: 100% 84px, auto !important;
  }

  /* Legacy artwork was composed below a 70px header. The approved header is
     84px tall, so keep the full-width black strip and start artwork below it. */
  body,
  #home-background,
  #black-background,
  #black-background.lm-characters-bg {
    background-position: 0 84px !important;
  }

  body > #wrapper,
  #wrapper {
    width: calc(100% - clamp(40px, 6vw, 96px));
    max-width: 1360px;
    margin-right: auto;
    margin-left: auto;
  }

  #header {
    display: flex;
    align-items: center;
    min-height: 72px;
    padding-top: 12px;
  }

  #logo {
    float: none;
    flex: 0 0 auto;
    width: auto;
    z-index: 920;
  }

  #logo a,
  #logo img {
    display: block;
  }

  #logo img {
    width: clamp(52px, 4.3vw, 58px);
    height: auto;
    padding: 0;
  }

  #navigation {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: clamp(18px, 3.2vw, 48px);
  }

  #nav {
    display: flex;
    float: none;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(100%, 968px);
    height: 72px;
  }

  #nav > li {
    float: none;
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    max-width: 88px;
    height: 72px;
  }

  #nav > li > a,
  #nav > li > a > span {
    box-sizing: border-box;
    width: 100%;
    height: 72px;
  }

  #nav > li > a {
    color: var(--cf-desktop-muted);
    font-size: clamp(10.25px, 0.95vw, 11.25px);
    letter-spacing: 0.055em;
    white-space: nowrap;
    transition: background-color 200ms ease, color 200ms ease;
  }

  #nav > li > a > span {
    padding: 0;
  }

  #nav > li.current > a,
  #nav > li.current-temp > a {
    background-color: var(--nav-current) !important;
    color: #ffffff;
  }

  #nav > li > a:hover,
  #nav > li > a:focus,
  #nav > li.hovered > a,
  #nav > li.subhover > a {
    background-color: var(--nav-hover) !important;
    color: #ffffff;
  }

  #nav > li > ul.subnav {
    top: 72px;
    width: 100%;
  }

  #nav > li > ul.subnav > li {
    float: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 72px;
    margin: 0;
    padding: 0;
  }

  #nav > li > ul.subnav > li > a,
  #nav > li > ul.subnav > li > a > span,
  #nav .subnav > #subnav-work-motion-design > a > span {
    box-sizing: border-box;
    width: 100%;
    height: 72px;
  }

  #nav > li > ul.subnav > li > a {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    font-size: clamp(10.25px, 0.95vw, 11.25px);
    font-weight: 500;
    letter-spacing: 0.055em;
  }

  #nav > li > ul.subnav > li > a > span,
  #nav .subnav > #subnav-work-motion-design > a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
  }

  #content,
  #content-index,
  #content-project {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  /* Preserve the original left-anchored placement of legacy text/scroller
     panels while the approved header remains centred in its fluid wrapper. */
  body.clients-page #content,
  body.services-page #content,
  body.courses-page #content,
  body.contact-page #content-project,
  body.about-page #content-project,
  body.studio-page #content,
  #content:has(> #scrollerwrapper-mainpage),
  #content:has(> #about-box-left),
  #content:has(> #about-box-left-wider) {
    position: relative;
    left: calc(0px - var(--cf-desktop-wrapper-offset));
    width: calc(100% + var(--cf-desktop-wrapper-offset));
    max-width: none;
  }

  /* Work-category pages use the approved portfolio grid here. Internal
     project thumbnail menus are handled separately below; Colorbox media
     pages remain untouched. */
  #projects:has(> .work-category-nav) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(14px, 1.5vw, 22px);
    row-gap: 0;
    padding-right: 0;
    padding-left: 0;
  }

  #projects:has(> .work-category-nav) > .visually-hidden,
  #projects:has(> .work-category-nav) > .work-category-nav {
    grid-column: 1 / -1;
  }

  #projects:has(> .work-category-nav) > .work-category-nav {
    display: flex;
    justify-content: flex-start;
    gap: clamp(20px, 2.8vw, 38px);
    width: auto;
    margin: 0 0 30px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 15.5px;
    font-weight: 550;
    text-align: left;
  }

  /* Overview establishes the approved desktop rhythm: 66px from the end of
     its welcome copy to the category navigation. Category pages have no
     welcome panel, so extend their existing 35px header gap by 31px to match
     that same 66px relationship. */
  #projects:has(> .work-category-nav):not(:has(> #about-box-dark))
    > .work-category-nav {
    margin-top: 31px;
  }

  #projects:has(> .work-category-nav) > .work-category-nav a {
    flex: 0 0 auto;
    min-height: 0;
    padding: 0 0 5px;
    border-bottom: 3px solid transparent;
    color: var(--cf-desktop-muted);
    letter-spacing: 0.1em;
    transition: border-color 160ms ease, color 160ms ease;
  }

  #projects:has(> .work-category-nav) > .work-category-nav a.current,
  #projects:has(> .work-category-nav) > .work-category-nav a[aria-current="page"] {
    border-bottom-color: var(--cf-desktop-selected);
    color: var(--cf-desktop-selected);
  }

  #projects:has(> .work-category-nav) > .work-category-nav a:hover,
  #projects:has(> .work-category-nav) > .work-category-nav a:focus {
    color: #ffffff;
  }

  #projects:has(> .work-category-nav) > .projectbox {
    float: none;
    width: auto;
    margin: 0 0 clamp(22px, 2vw, 30px);
    padding: 0;
  }

  /* Section labels such as "Longer Social Projects" are structural row
     breaks, not thumbnail cards. Keep the heading on its own full-width row
     so the following work starts clearly beneath the preceding group. */
  #projects:has(> .work-category-nav) > .projectbox:has(> h3) {
    grid-column: 1 / -1;
    margin-top: 18px;
    margin-bottom: 22px;
  }

  #projects:has(> .work-category-nav) > .projectbox .projectinfo {
    width: 100%;
    text-align: left;
  }

  #projects:has(> .work-category-nav) > .projectbox .projectinfo a {
    display: block;
    color: var(--cf-desktop-muted);
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 600;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  #projects:has(> .work-category-nav) > .projectbox .projectinfo a:hover,
  #projects:has(> .work-category-nav) > .projectbox .projectinfo a:focus,
  #projects:has(> .work-category-nav) > .projectbox .projectinfo a:active {
    color: #ededed;
  }

  #projects:has(> .work-category-nav) > .projectbox .projectinfo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 10px;
    object-fit: cover;
  }

  #projects:has(> .work-category-nav) > .projectbox .projectinfo br,
  #projects:has(> .work-category-nav) > .clearfix {
    display: none;
  }
}

@media screen and (min-width: 1120px) {
  #projects:has(> .work-category-nav) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (min-width: 801px) {
  #footer-transp.cf-modern-desktop-footer,
  #footer-project.cf-modern-desktop-footer,
  .cf-modern-desktop-footer {
    box-sizing: border-box;
    position: relative;
    clear: both;
    width: 100%;
    height: auto;
    min-height: 245px;
    margin-top: 0;
    padding: 48px 0 0;
    background: #050505;
    z-index: 91;
  }

  .cf-modern-desktop-footer .footer_container {
    box-sizing: border-box;
    display: grid;
    grid-template-areas:
      "address"
      "social"
      "copyright";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: start;
    gap: 17px;
    width: min(calc(100% - clamp(40px, 6vw, 96px)), 1360px);
    min-height: 197px;
    margin: 0 auto;
  }

  .cf-modern-desktop-footer #address {
    grid-area: address;
    float: none;
    height: auto;
    padding: 0;
  }

  .cf-modern-desktop-footer #address p {
    max-width: 660px;
    color: #8e8e8e;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.55;
    text-transform: uppercase;
  }

  .cf-modern-desktop-footer #address .footer-email {
    margin-bottom: 12px;
    font-size: clamp(17px, 1.35vw, 20px);
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-transform: none;
  }

  .cf-modern-desktop-footer #address a {
    color: #d0d0d0;
  }

  .cf-modern-desktop-footer #address a:hover,
  .cf-modern-desktop-footer #address a:focus {
    color: #ffffff;
  }

  .cf-modern-desktop-footer #copyright {
    grid-area: copyright;
    float: none;
    align-self: end;
    justify-self: start;
    box-sizing: border-box;
    width: max-content;
    height: auto;
    padding: 7px 12px;
    background: #fb073b;
  }

  .cf-modern-desktop-footer #copyright p {
    color: #ffffff;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }

  .cf-modern-desktop-footer .footer_social {
    grid-area: social;
    display: flex;
    float: none;
    align-items: center;
    align-self: start;
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .cf-modern-desktop-footer .footer-social-group {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .cf-modern-desktop-footer .footer-icon {
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    margin: 0;
    padding: 0;
    background: none !important;
    color: #777777;
    filter: none;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    opacity: 1;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    transition: color 150ms ease, opacity 150ms ease;
  }

  .cf-modern-desktop-footer .footer-logo-icon img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.45) contrast(1.45);
    opacity: 0.58;
    transition: filter 150ms ease, opacity 150ms ease;
  }

  .cf-modern-desktop-footer .footer-lm-youtube img {
    width: 27px;
    height: 27px;
    filter: grayscale(1) brightness(1.55) contrast(3.2);
  }

  .cf-modern-desktop-footer .footer-linkedin {
    font-size: 14px;
    letter-spacing: -0.06em;
  }

  .cf-modern-desktop-footer .footer-company-linkedin {
    outline: 1px solid #555555;
    outline-offset: -3px;
  }

  .cf-modern-desktop-footer .footer-icon:hover,
  .cf-modern-desktop-footer .footer-icon:focus {
    color: #ffffff;
    outline-color: #ffffff;
  }

  .cf-modern-desktop-footer .footer-logo-icon:hover img,
  .cf-modern-desktop-footer .footer-logo-icon:focus img {
    filter: grayscale(1) brightness(2.5) contrast(1.7);
    opacity: 1;
  }

  .cf-modern-desktop-footer .footer-lm-youtube:hover img,
  .cf-modern-desktop-footer .footer-lm-youtube:focus img {
    filter: grayscale(1) brightness(2.7) contrast(3.4);
  }
}

/* Internal project menus use the same responsive thumbnail behaviour as the
   approved Work index.  Their headings and source order remain untouched;
   only the old fixed 188px presentation becomes a fluid 3/4-column grid. */
@media screen and (min-width: 801px) {
  #projects:has(.projectinfo img):not(:has(> .work-category-nav)),
  #content-project:has(> .projectbox .projectinfo img) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(14px, 1.5vw, 22px);
    row-gap: 0;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) > .thumbnail-row {
    display: contents;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) > .projectbox,
  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) > .thumbnail-row > .projectbox,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox {
    box-sizing: border-box;
    float: none;
    min-width: 0;
    width: auto;
    margin: 0 0 clamp(22px, 2vw, 30px);
    padding: 0;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) > .projectbox:not(:has(.projectinfo)),
  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) > .thumbnail-row > .projectbox:not(:has(.projectinfo)),
  #content-project:has(> .projectbox .projectinfo img) > .projectbox:not(:has(.projectinfo)) {
    grid-column: 1 / -1;
  }

  /* One legacy Hunchback gallery contains an empty #projects shell before
     its real cards. It must not consume the first grid cell. */
  #content-project:has(> .projectbox .projectinfo img) > #projects:not(:has(*)) {
    display: none;
  }

  /* Character pages deliberately pair one gallery thumbnail with a profile.
     Keep that relationship while allowing both sides to expand with the page. */
  #content-project:has(> .projectbox .projectinfo img) > .character-profile {
    grid-column: 2 / -1;
    box-sizing: border-box;
    float: none;
    width: auto;
    margin-left: 0;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) .projectinfo,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox .projectinfo {
    width: 100%;
    text-align: left;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) .projectinfo a,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox .projectinfo a {
    display: block;
    color: var(--cf-desktop-muted);
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 600;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) .projectinfo a:hover,
  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) .projectinfo a:focus,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox .projectinfo a:hover,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox .projectinfo a:focus {
    color: #ededed;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) .projectinfo img,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox .projectinfo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 10px;
  }

  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) .projectinfo br,
  #projects:has(.projectinfo img):not(:has(> .work-category-nav)) > .clearfix,
  #content-project:has(> .projectbox .projectinfo img) > .projectbox .projectinfo br,
  #content-project:has(> .projectbox .projectinfo img) > .clearfix {
    display: none;
  }
}

@media screen and (min-width: 1120px) {
  #projects:has(.projectinfo img):not(:has(> .work-category-nav)),
  #content-project:has(> .projectbox .projectinfo img) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------------
   STUDIO — TWO-COLUMN EDITORIAL DESKTOP

   Each column has its own vertical flow: the Studio copy follows the shorter
   left image while the portrait and lower 16:9 image scroll on the right.
   Mobile keeps the established single-image reading layout.
   ------------------------------------------------------------------------- */
.cf-studio-editorial {
  display: block;
}

.cf-studio-panel,
.cf-studio-column-right {
  display: none;
}

@media screen and (min-width: 801px) {
  body#black-background.studio-page {
    height: auto;
    min-height: 100%;
    background: #000000 !important;
  }

  body.studio-page .cf-studio-editorial {
    position: relative;
    left: calc(0px - var(--cf-desktop-wrapper-offset));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: clamp(12px, 1.25vw, 22px);
    box-sizing: border-box;
    width: 100vw;
    margin: 0;
    padding: 0 0 clamp(100px, 9vw, 160px);
  }

  body.studio-page .cf-studio-column,
  body.studio-page .cf-studio-panel {
    min-width: 0;
  }

  body.studio-page .cf-studio-column-right,
  body.studio-page .cf-studio-panel {
    display: block;
  }

  body.studio-page .cf-studio-panel {
    margin: 0;
  }

  body.studio-page .cf-studio-panel img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.studio-page .cf-studio-panel-three {
    margin-top: clamp(120px, calc(24vw - 180px), 260px);
  }

  body.studio-page .cf-studio-panel-two figcaption,
  body.studio-page .cf-studio-panel-three figcaption {
    box-sizing: border-box;
    margin: 0;
    padding: 12px 0 0;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
  }

  body.studio-page .cf-studio-column-left #content,
  body.studio-page .cf-studio-column-left #content:has(> #about-box-left-wider) {
    position: static !important;
    left: auto !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.studio-page #about-box-left-wider.cf-studio-copy {
    position: static;
    float: none;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none;
    margin: 0;
    padding: clamp(58px, 5vw, 76px) clamp(34px, 4vw, 62px) 0 !important;
    text-align: left;
  }

  body.studio-page #about-box-left-wider.cf-studio-copy::before {
    display: none;
  }

  body.studio-page .cf-studio-copy .services-header {
    margin: 0 0 44px;
    text-align: left;
  }

  body.studio-page .cf-studio-copy .cf-copy-superheader {
    margin: 0 !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(26px, 2.35vw, 34px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  body.studio-page .cf-studio-copy-body,
  body.studio-page .cf-studio-copy-body p,
  body.studio-page .cf-studio-copy-body li {
    color: var(--cf-main-copy-blue, #0b92bf);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
    text-align: left;
  }

  body.studio-page .cf-studio-copy-body {
    max-width: 100%;
  }

  body.studio-page .cf-studio-copy-body p {
    margin: 0 0 14px;
  }

  body.studio-page .cf-studio-copy-body h4 {
    margin: 34px 0 18px;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 400;
    line-height: 1.3;
    text-align: left;
  }

  body.studio-page .cf-studio-copy-body ul {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 0 0 26px;
    padding: 0 0 0 18px;
    list-style: disc;
  }

  body.studio-page .cf-studio-copy-body li {
    margin: 0;
    padding: 0;
  }

  body.studio-page .cf-studio-copy-body a {
    color: var(--cf-main-copy-blue, #0b92bf);
  }

  body.studio-page .cf-studio-copy-body a:hover,
  body.studio-page .cf-studio-copy-body a:focus-visible {
    color: var(--cf-copy-hover-white, #ffffff);
  }
}

/* Shared desktop copy-panel opening. Services, Clients, Contact and Courses
   use one visual anchor and one Manrope superheader definition so their first
   screen reads as a consistent family even though their content heights vary. */
@media screen and (min-width: 801px) {
  .cf-copy-panel {
    margin-top: 0 !important;
    padding-left: var(--cf-copy-panel-padding-left, 20px) !important;
    padding-top: var(--cf-copy-panel-padding-top, 24px) !important;
  }

  .cf-copy-panel .cf-copy-superheader {
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.35;
    margin-bottom: var(--cf-superheader-follow-gap, 26px) !important;
    margin-top: 0 !important;
  }

  /* Desktop page hierarchy: one white superheader colour and one shared blue
     for the principal smaller copy. Contact links turn pure white on rollover. */
  body.contact-page .contact-copy,
  body.contact-page .contact-copy p,
  body.contact-page .contact-details,
  body.contact-page .contact-details span,
  body.contact-page .contact-form,
  body.clients-page .clients-grid-wrapper .client-name-grid span {
    color: var(--cf-main-copy-blue, #0b92bf);
  }

  body.contact-page .contact-copy a {
    color: var(--cf-main-copy-blue, #0b92bf);
  }

  body.contact-page .contact-copy a:hover,
  body.contact-page .contact-copy a:focus {
    color: var(--cf-copy-hover-white, #ffffff);
  }

  body.contact-page #form-response.success {
    color: var(--cf-main-copy-blue, #0b92bf);
  }

  body.services-page .services-header > h2 strong {
    font-weight: inherit;
  }

  body.courses-page .course-intro > h2,
  body.clients-page .client-list-section:not(:first-child) > .client-list-heading {
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(19px, 1.65vw, 24px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.4;
  }
}

/* -------------------------------------------------------------------------
   LEGACY PAGE GEOMETRY WITH THE APPROVED FLUID HEADER

   The original site deliberately used three different horizontal anchors:
   - legacy page copy/scrollers began from the left edge of the page;
   - project sub-navigation began beneath the first top-navigation button;
   - the footer was a compact, full-width bar.

   Keep those relationships while allowing the approved layout to resize.
   Header, text panels and portfolio grids share one fluid left-hand guide.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  body {
    --cf-desktop-logo-width: clamp(52px, 4.3vw, 58px);
    --cf-desktop-logo-left: 130px;
    --cf-desktop-nav-start: 200px;
    --cf-desktop-content-gutter: 75px;
    --cf-desktop-content-right-gutter: 30px;
    --cf-desktop-nav-gap: calc(
      var(--cf-desktop-nav-start) -
      var(--cf-desktop-logo-left) -
      var(--cf-desktop-logo-width)
    );
  }

  /* Restore the original fixed desktop guides: the logo artwork began at
     130px and the first navigation button at 200px.  Only the button artwork
     itself has been replaced by the approved larger code-drawn version. */
  #header {
    position: relative;
    left: calc(
      var(--cf-desktop-logo-left) -
      var(--cf-desktop-wrapper-offset)
    );
    width: min(
      1360px,
      calc(
        100vw -
        var(--cf-desktop-logo-left) -
        var(--cf-desktop-content-right-gutter)
      )
    );
    max-width: 1360px;
  }

  body.overview-modern-test #navigation,
  #navigation {
    margin-left: var(--cf-desktop-nav-gap);
  }

  /* Re-establish the original viewport-left coordinate system for legacy
     copy, scrollers, forms and project information panels. */
  body:not(.overview-modern-test)
    #content:not(:has(.work-category-nav)):not(:has(.projectinfo img)),
  body:not(.overview-modern-test)
    #content-project:not(:has(.projectinfo img)) {
    position: relative;
    left: calc(0px - var(--cf-desktop-wrapper-offset));
    width: calc(100% + var(--cf-desktop-wrapper-offset));
    max-width: none;
  }

  /* The original work tiles began 75px from the viewport edge.  Preserve that
     locked inset across every work/category/internal-project grid while the
     available width and 3/4-column system remain liquid. */
  body.overview-modern-test #content,
  #content:has(#projects > .work-category-nav),
  #content:has(.projectinfo img):not(:has(#projects > .work-category-nav)),
  #content-project:has(.projectinfo img) {
    position: relative;
    left: calc(
      var(--cf-desktop-content-gutter) -
      var(--cf-desktop-wrapper-offset)
    );
    width: min(
      1360px,
      calc(
        100vw -
        var(--cf-desktop-content-gutter) -
        var(--cf-desktop-content-right-gutter)
      )
    );
    max-width: 1360px;
    padding-right: 0;
    padding-left: 0;
  }

  /* Project menus follow the same vertical guide as NEWS (the first top-nav
     button), just as the 1070px original aligned them beneath its nav row. */
  #nav-project-wrapper {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    padding-left: var(--cf-desktop-nav-start);
    z-index: 92;
  }

  #nav-project {
    box-sizing: border-box;
    position: relative;
    width: min(
      970px,
      calc(
        100vw -
        var(--cf-desktop-nav-start) -
        var(--cf-desktop-content-right-gutter)
      )
    );
    z-index: 92;
  }

  /* Keep the redesigned grey icons, but restore the original footer's compact
     one-line, full-width geometry instead of a centred stacked panel. */
  #footer.cf-modern-desktop-footer,
  #footer-transp.cf-modern-desktop-footer,
  #footer-project.cf-modern-desktop-footer,
  .cf-modern-desktop-footer {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin-top: 0;
    padding: 0;
    background: #050505;
  }

  .cf-modern-desktop-footer .footer_container {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
  }

  .cf-modern-desktop-footer #copyright {
    flex: 0 0 auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: auto;
    height: auto;
    min-height: 44px;
    padding: 0 14px;
  }

  .cf-modern-desktop-footer #address {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0 0 0 12px;
  }

  .cf-modern-desktop-footer #address p,
  .cf-modern-desktop-footer #address .footer-email {
    max-width: none;
    margin: 0;
    font-size: 10px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .cf-modern-desktop-footer #address .footer-contact br {
    display: none;
  }

  .cf-modern-desktop-footer .footer_social {
    flex: 0 1 auto;
    align-self: center;
    justify-self: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    margin-left: 0;
    padding: 0 14px 0 10px;
  }

  .cf-modern-desktop-footer .footer-icon {
    width: 22px;
    height: 22px;
    font-size: 15px;
  }

  .cf-modern-desktop-footer .footer-logo-icon img {
    width: 21px;
    height: 21px;
  }

  .cf-modern-desktop-footer .footer-lm-youtube img {
    width: 22px;
    height: 22px;
  }
}

/* The full postal line cannot coexist with every footer icon in the
   narrow desktop band.  Keep the same one-line bar and progressively retain
   the most useful contact item until the mobile footer takes over at 800px. */
@media screen and (min-width: 801px) and (max-width: 1200px) {
  .cf-modern-desktop-footer #address .footer-contact {
    display: none;
  }

  .cf-modern-desktop-footer #address {
    flex: 0 1 auto;
    min-width: 0;
  }
}

/* External navigation links retain DOM focus when their new tab opens.  Do
   not leave ArtStation's yellow mouse-click state painted on the CF page when
   the visitor returns; keyboard focus remains visibly highlighted. */
@media screen and (min-width: 801px) {
  #nav-artstation > a:focus:not(:focus-visible) {
    background-color: #000000 !important;
    color: var(--cf-desktop-muted, #6b6b6b) !important;
  }
}

/* Final desktop footer geometry: retain the modern grey icon treatment, but
   make every footer use the original compact, left-flowing horizontal logic.
   The higher specificity prevents older page/footer variants from restoring
   the previous tall centred grid. */
@media screen and (min-width: 801px) {
  html body #footer.cf-modern-desktop-footer,
  html body #footer-transp.cf-modern-desktop-footer,
  html body #footer-project.cf-modern-desktop-footer {
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: #050505 !important;
  }

  html body .cf-modern-desktop-footer .footer_container {
    display: flex !important;
    flex: 1 1 auto !important;
    grid-template-areas: none !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(10px, 0.8vw, 18px) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  html body .cf-modern-desktop-footer #copyright {
    order: 1;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    justify-self: auto !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    white-space: nowrap !important;
  }

  html body .cf-modern-desktop-footer #copyright p {
    white-space: nowrap !important;
  }

  html body .cf-modern-desktop-footer #address {
    order: 2;
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    gap: clamp(6px, 0.6vw, 12px) !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body .cf-modern-desktop-footer #address p,
  html body .cf-modern-desktop-footer #address .footer-email {
    margin: 0 !important;
    color: #8d8d8d !important;
    font-family: "Manrope", Arial, sans-serif !important;
    font-size: clamp(8px, 0.58vw, 10px) !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
  }

  html body .cf-modern-desktop-footer #address .footer-email {
    transform: translateY(-1px);
  }

  html body .cf-modern-desktop-footer #address a {
    color: #c8c8c8 !important;
  }

  html body .cf-modern-desktop-footer #address a:hover,
  html body .cf-modern-desktop-footer #address a:focus {
    color: #ffffff !important;
  }

  html body .cf-modern-desktop-footer .footer_social {
    order: 3;
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    align-self: center !important;
    justify-content: flex-start !important;
    justify-self: auto !important;
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1vw, 20px) !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 16px 0 0 !important;
    padding: 0 !important;
  }

  html body .cf-modern-desktop-footer .footer-icon {
    box-sizing: border-box !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: clamp(13px, 0.98vw, 18px) !important;
    padding: 0 !important;
    font-size: clamp(9px, 0.72vw, 13px) !important;
  }

  html body .cf-modern-desktop-footer .footer-social-group {
    display: inline-flex !important;
    align-items: center !important;
    gap: clamp(3px, 0.32vw, 6px) !important;
  }

  /* Brand clusters stay tight; the row sits after the address and scales down. */
  html body .cf-modern-desktop-footer .footer-image-icon img {
    display: block !important;
    width: auto !important;
    height: clamp(12px, 0.95vw, 16px) !important;
    max-width: none !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 0.78 !important;
    transition: filter 150ms ease, opacity 150ms ease !important;
  }

  html body .cf-modern-desktop-footer .footer-image-icon:hover img,
  html body .cf-modern-desktop-footer .footer-image-icon:focus img,
  html body .cf-modern-desktop-footer .footer-image-icon:focus-visible img {
    filter: grayscale(1) brightness(2.35) contrast(1.08) !important;
    opacity: 1 !important;
  }
}

/* At the narrow desktop / phone-landscape width, useful contact information
   takes priority over the full three-brand icon row. Keep the red copyright
   block, email and Carnival Figures icons; temporarily remove only the Alex
   Dawson and Laundry Monsters groups. The full mobile footer takes over
   immediately below 801px. */
@media screen and (min-width: 801px) and (max-width: 1000px) {
  html body .cf-modern-desktop-footer #copyright,
  html body .cf-modern-desktop-footer #address {
    display: flex !important;
  }

  html body .cf-modern-desktop-footer #address .footer-email {
    display: block !important;
  }

  html body .cf-modern-desktop-footer #address .footer-contact,
  html body .cf-modern-desktop-footer .footer-social-group-alex,
  html body .cf-modern-desktop-footer .footer-social-group-lm {
    display: none !important;
  }

  html body .cf-modern-desktop-footer .footer_social,
  html body .cf-modern-desktop-footer .footer-social-group-cf {
    display: flex !important;
  }

  html body .cf-modern-desktop-footer .footer_social {
    flex: 0 0 auto !important;
    margin-right: 8px !important;
  }
}

/* -------------------------------------------------------------------------
   PROPORTIONAL PRIMARY NAVIGATION — DESKTOP AND LANDSCAPE MOBILE

   The approved button is 88 × 72px (11:9). The CF logo, its 12px reference
   gap and the complete tile row now form one 1038px proportional grid. At
   narrower desktop widths the branding, spacing, button width, button height,
   type and internal inset all reduce together instead of drifting apart.
   Legacy pages contain between 10 and 13 buttons, so :has() selects the
   correct row ratio and maximum width automatically for each page.
   The separate portrait/mobile navigation continues below 801px.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  html body #header,
  html body.overview-modern-test #header {
    display: grid;
    grid-template-columns: 58fr 12fr 968fr;
    align-items: end;
    box-sizing: border-box;
    width: min(
      1038px,
      calc(
        100vw -
        var(--cf-desktop-logo-left) -
        var(--cf-desktop-content-right-gutter)
      )
    );
    max-width: 1038px;
    min-height: 84px;
    padding-top: 12px;
  }

  html body #logo,
  html body.overview-modern-test #logo {
    grid-column: 1;
    align-self: end;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 58 / 72;
    align-items: center;
    justify-content: flex-start;
  }

  html body #logo > a,
  html body.overview-modern-test #logo > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
  }

  html body #logo img,
  html body.overview-modern-test #logo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 0;
  }

  html body #navigation,
  html body.overview-modern-test #navigation {
    grid-column: 3;
    align-self: end;
    width: 100%;
    margin-left: 0;
  }

  html body #nav,
  html body.overview-modern-test #nav {
    --cf-nav-tile-basis: 9.090909%;
    --cf-nav-row-ratio: 121 / 9;
    --cf-nav-row-max-width: 968px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    width: min(100%, var(--cf-nav-row-max-width));
    max-width: var(--cf-nav-row-max-width);
    height: auto;
    aspect-ratio: var(--cf-nav-row-ratio);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  html body #nav:has(> li:nth-child(10):last-child),
  html body.overview-modern-test #nav:has(> li:nth-child(10):last-child) {
    --cf-nav-tile-basis: 10%;
    --cf-nav-row-ratio: 110 / 9;
    --cf-nav-row-max-width: 880px;
  }

  html body #nav:has(> li:nth-child(12):last-child),
  html body.overview-modern-test #nav:has(> li:nth-child(12):last-child) {
    --cf-nav-tile-basis: 8.333333%;
    --cf-nav-row-ratio: 132 / 9;
    --cf-nav-row-max-width: 1056px;
  }

  html body #nav:has(> li:nth-child(13):last-child),
  html body.overview-modern-test #nav:has(> li:nth-child(13):last-child) {
    --cf-nav-tile-basis: 7.692307%;
    --cf-nav-row-ratio: 143 / 9;
    --cf-nav-row-max-width: 1144px;
  }

  html body #nav > li,
  html body.overview-modern-test #nav > li {
    float: none;
    flex: 0 0 var(--cf-nav-tile-basis);
    box-sizing: border-box;
    width: var(--cf-nav-tile-basis) !important;
    min-width: 0;
    max-width: 88px;
    height: 100%;
    aspect-ratio: 11 / 9;
    container-type: inline-size;
  }

  html body #nav > li > a,
  html body #nav > li > a > span,
  html body.overview-modern-test #nav > li > a,
  html body.overview-modern-test #nav > li > a > span {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }

  html body #nav > li > a,
  html body.overview-modern-test #nav > li > a {
    font-size: 7.25px;
    font-size: clamp(6.25px, 12.784cqw, 11.25px);
    letter-spacing: 0.045em;
    white-space: nowrap;
  }

  html body #nav > li > a > span,
  html body.overview-modern-test #nav > li > a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    padding-inline: clamp(2px, 5cqw, 5px);
    line-height: 1;
  }

  html body #nav > li > ul.subnav,
  html body.overview-modern-test #nav > li > ul.subnav {
    top: 100%;
    width: 100%;
  }

  html body #nav > li > ul.subnav > li,
  html body.overview-modern-test #nav > li > ul.subnav > li {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    aspect-ratio: 11 / 9;
    container-type: inline-size;
  }

  html body #nav > li > ul.subnav > li > a,
  html body #nav > li > ul.subnav > li > a > span,
  html body.overview-modern-test #nav > li > ul.subnav > li > a,
  html body.overview-modern-test #nav > li > ul.subnav > li > a > span {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
  }

  html body #nav > li > ul.subnav > li > a,
  html body.overview-modern-test #nav > li > ul.subnav > li > a {
    font-size: 7.25px;
    font-size: clamp(6.25px, 12.784cqw, 11.25px);
    letter-spacing: 0.045em;
  }

  html body #nav > li > ul.subnav > li > a > span,
  html body #nav .subnav > #subnav-work-motion-design > a > span,
  html body.overview-modern-test #nav > li > ul.subnav > li > a > span,
  html body.overview-modern-test #nav .subnav > #subnav-work-motion-design > a > span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    padding-inline: clamp(2px, 5cqw, 5px);
    line-height: 1;
  }
}

/* -------------------------------------------------------------------------
   PROPORTIONAL PROJECT SUB-NAVIGATION — DESKTOP AND LANDSCAPE MOBILE

   Every project menu remains one uninterrupted row. Type and gaps scale from
   the actual available project-nav width, preserving order and preventing a
   final pair of links from dropping onto a second line at squeezed widths.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  html body #nav-project {
    container-type: inline-size;
  }

  html body #navbar-project,
  html body #navbar-project-secondary {
    --cf-project-nav-font-size: clamp(7.5px, 1.16cqw, 11.25px);
    --cf-project-nav-gap: clamp(8px, 2.47cqw, 24px);
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    column-gap: var(--cf-project-nav-gap) !important;
    row-gap: 0 !important;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    padding: clamp(18px, 2.68cqw, 26px) 0 0 !important;
    white-space: nowrap;
  }

  html body #navbar-project > li,
  html body #navbar-project-secondary > li {
    flex: 0 0 auto !important;
    min-width: 0;
  }

  html body #navbar-project > li > a,
  html body #navbar-project-secondary > li > a,
  html body #projnav-movie > a > span::after,
  html body #projnav-official-movie-site > a > span::after,
  html body #projnav-youtube > a > span::after,
  html body #projnav-main-menu > a > span::after,
  html body #projnav-hunchback > a > span::after,
  html body #projnav-ladybird > a > span::after,
  html body #projnav-sketches > a > span::after,
  html body #projnav-atura > a > span::after {
    font-size: var(--cf-project-nav-font-size) !important;
  }
}

/* -------------------------------------------------------------------------
   PEOPLE — ALEX DAWSON EDITORIAL PAGE

   The existing night-sky background remains visible around a translucent
   copy panel. The portrait deliberately starts higher than the panel so the
   two elements feel related without becoming another rigid aligned grid.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  /* People owns two purpose-composed backgrounds. Keep a guaranteed black
     strip behind the full-width desktop header, then allow the artwork and
     page content to scroll together as on the rest of the site. */
  body#black-background.people-page {
    height: auto;
    min-height: 100%;
    background-color: #000 !important;
    background-image:
      linear-gradient(#000, #000),
      none !important;
    background-position: 0 0, 0 84px !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: 100% 84px, cover !important;
    background-attachment: scroll, scroll !important;
  }

  body.people-page #content.cf-people-editorial {
    position: relative !important;
    left: calc(0px - var(--cf-desktop-wrapper-offset)) !important;
    display: grid !important;
    grid-template-columns: minmax(414px, 644px) minmax(238px, 366px);
    align-items: start;
    justify-content: start;
    gap: clamp(38px, 5vw, 86px);
    box-sizing: border-box;
    width: min(100vw, 1500px) !important;
    max-width: none !important;
    min-height: calc(100vh - 84px);
    margin: 0 !important;
    padding: clamp(132px, 11vw, 180px) clamp(24px, 3.5vw, 70px)
      clamp(100px, 9vw, 150px) !important;
  }

  body.people-page #about-box-left-wider.cf-people-copy {
    position: relative;
    float: none;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: clamp(28px, 2.4vw, 42px) clamp(26px, 2.5vw, 44px) !important;
    text-align: left;
  }

  body.people-page #about-box-left-wider.cf-people-copy::before {
    display: block;
  }

  body.people-page .cf-people-copy .cf-copy-superheader {
    margin: 0 0 34px !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(26px, 2.35vw, 34px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  body.people-page .cf-people-copy p {
    margin: 0 0 1.35em;
    color: var(--cf-main-copy-blue, #0b92bf);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
    text-align: left;
  }

  body.people-page .cf-people-copy p:last-child {
    margin-bottom: 0;
  }

  body.people-page .cf-people-role {
    color: var(--cf-main-copy-blue, #0b92bf);
  }

  body.people-page .cf-people-portrait-desktop {
    display: block;
    width: 100%;
    max-width: 366px;
    margin: clamp(-82px, -5vw, -52px) 0 0;
  }

  body.people-page .cf-people-portrait-desktop img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.people-page .cf-people-portrait-mobile {
    display: none;
  }
}

/* A taller composition is supplied for MacBook-sized desktop viewports. This
   changes only the artwork source; the page layout, scrolling behaviour and
   black header strip remain identical to the wide/Cintiq presentation. */
@media screen and (min-width: 801px) and (max-width: 1500px) {
  body#black-background.people-page {
    background-image:
      linear-gradient(#000, #000),
      none !important;
  }
}

/* -------------------------------------------------------------------------
   COPY-PAGE EDITORIAL BANDS — DESKTOP PROTOTYPE

   Authored 16:9 artwork becomes a shallow, full-width image band. Searchable
   HTML content then sits in one opaque black reading band, using the site's
   shared white-superheader / blue-copy hierarchy. Mobile intentionally retains
   its existing layout while this desktop direction is evaluated.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  html.clients-root,
  body#black-background.clients-page {
    background: #000 !important;
  }

  body.clients-page .clients-editorial-band {
    display: block;
    width: 100vw;
    /* The supplied 1920px artwork's visible logo block runs from roughly
       y=103px to y=433px. Scale that 330px block with the viewport, then add
       a fixed 70px of breathing room above and below at every desktop width. */
    height: calc(17.1875vw + 140px);
    margin-left: calc(50% - 50vw);
    background-color: #3d54f9;
    background-image: none;
    background-position: center calc(70px - 5.365vw);
    background-repeat: no-repeat;
    background-size: 100% auto;
  }

  body.clients-page #content {
    position: relative;
    left: auto !important;
    float: none;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 !important;
    background: #000;
  }

  body.clients-page #scrollerwrapper-mainpage.clients-grid-wrapper {
    float: none;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: clamp(72px, 7vw, 104px) clamp(52px, 5.5vw, 75px)
      clamp(96px, 9vw, 132px) !important;
    background: #000;
    text-align: left;
  }

  body.clients-page .clients-grid-wrapper .client-list-section {
    margin: 0 0 clamp(96px, 9vw, 128px);
  }

  body.clients-page .clients-grid-wrapper .client-list-section:last-child {
    margin-bottom: 0;
  }

  body.clients-page .clients-grid-wrapper .client-list-heading,
  body.clients-page .clients-grid-wrapper .cf-copy-superheader,
  body.clients-page .client-list-section:not(:first-child) > .client-list-heading {
    margin: 0 0 38px !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  body.clients-page .clients-grid-wrapper .cf-copy-superheader {
    font-size: clamp(26px, 2.35vw, 34px);
  }

  body.clients-page .client-list-section:not(:first-child) > .client-list-heading {
    font-size: clamp(22px, 1.9vw, 28px);
  }

  body.clients-page .clients-grid-wrapper .client-name-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(34px, 4vw, 58px);
    row-gap: 14px;
    text-align: left;
  }

  body.clients-page .clients-grid-wrapper .client-name-grid span {
    color: var(--cf-main-copy-blue, #0b92bf);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.45;
  }

  html:has(body.services-page),
  body#black-background.services-page {
    background: #000 !important;
  }

  body.services-page .services-editorial-band {
    display: block;
    width: 100vw;
    height: auto;
    aspect-ratio: 2580 / 600;
    margin-left: calc(50% - 50vw);
    background-color: #11130f;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  body.services-page #content {
    position: relative;
    left: auto !important;
    float: none;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 !important;
    background: #000;
  }

  body.services-page .panel-fullwidth {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(72px, 7vw, 104px) clamp(52px, 5.5vw, 75px)
      clamp(96px, 9vw, 132px) !important;
    background: #000 !important;
    text-align: left;
  }

  body.services-page .services-header,
  body.services-page .servicesbox,
  body.services-page .servicesbox h3,
  body.services-page .servicesbox li {
    text-align: left;
  }

  body.services-page .services-header {
    margin: 0 0 44px;
  }

  body.services-page .services-header .cf-copy-superheader {
    margin: 0 !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(26px, 2.35vw, 34px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  body.services-page .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
  }

  body.services-page .servicesbox {
    box-sizing: border-box;
    width: calc(25% - 18px);
    min-height: 0;
    padding: 28px;
    background: #000;
  }

  body.services-page .servicesbox h3 {
    margin: 0 0 37px !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 500;
    line-height: 1.3;
  }

  body.services-page .servicesbox ul {
    margin-left: 18px;
  }

  body.services-page .servicesbox li {
    margin-bottom: 10px;
    color: var(--cf-main-copy-blue, #0b92bf);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
  }

  html:has(body.contact-page),
  body#black-background.contact-page {
    background: #000 !important;
  }

  body.contact-page .contact-editorial-band {
    display: block;
    width: 100vw;
    height: clamp(400px, 44vh, 520px);
    margin-left: calc(50% - 50vw);
    background-color: #15120b;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  body.contact-page #content-project {
    position: relative;
    left: auto !important;
    float: none;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 !important;
    background: #000;
  }

  body.contact-page #about-box-left.contact-copy {
    float: none;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: clamp(72px, 7vw, 104px) clamp(52px, 5.5vw, 75px)
      clamp(96px, 9vw, 132px) !important;
    background: #000 !important;
    text-align: left;
  }

  body.contact-page .contact-copy .cf-copy-superheader {
    margin: 0 0 38px !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(26px, 2.35vw, 34px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  body.contact-page .contact-copy > p,
  body.contact-page .contact-details,
  body.contact-page .contact-form {
    max-width: 920px;
  }

  body.contact-page .contact-section-title {
    margin: clamp(58px, 5vw, 74px) 0 28px;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
  }

  body.contact-page .contact-copy p,
  body.contact-page .contact-details,
  body.contact-page .contact-details span,
  body.contact-page .contact-form {
    color: var(--cf-main-copy-blue, #0b92bf);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
    text-align: left;
  }

  body.contact-page .contact-form {
    box-sizing: border-box;
    max-width: 760px;
    margin: 34px 0 0;
    padding: 0;
    background: #000;
  }

  body.contact-page .form-group input,
  body.contact-page .form-group textarea {
    background: #111;
  }

  html:has(body.courses-page),
  body#black-background.courses-page {
    background: #000 !important;
  }

  body.courses-page .courses-editorial-band {
    display: block;
    width: 100vw;
    height: clamp(400px, 44vh, 520px);
    margin-left: calc(50% - 50vw);
    background-color: #0a0a0a;
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  body.courses-page #content {
    position: relative;
    left: auto !important;
    float: none;
    box-sizing: border-box;
    width: 100vw !important;
    max-width: none;
    margin: 0 0 0 calc(50% - 50vw);
    padding: 0 !important;
    background: #000;
  }

  body.courses-page .panel-fullwidth {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(72px, 7vw, 104px) clamp(52px, 5.5vw, 75px)
      clamp(96px, 9vw, 132px) !important;
    background: #000 !important;
    text-align: left;
  }

  body.courses-page .services-header,
  body.courses-page .course-intro,
  body.courses-page .course-cta,
  body.courses-page .servicesbox,
  body.courses-page .servicesbox h3,
  body.courses-page .servicesbox li {
    text-align: left;
  }

  body.courses-page .services-header {
    margin: 0 0 44px;
  }

  body.courses-page .services-header .cf-copy-superheader {
    margin: 0 !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(26px, 2.35vw, 34px);
    font-weight: 400;
    letter-spacing: 0.004em;
    line-height: 1.3;
    text-align: left;
  }

  body.courses-page .course-intro {
    max-width: 1060px;
    margin: 0 0 clamp(72px, 7vw, 96px);
  }

  body.courses-page .course-intro > h2 {
    margin: 0 0 38px !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(21px, 1.8vw, 27px);
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
  }

  body.courses-page .course-intro p,
  body.courses-page .servicesbox li,
  body.courses-page .course-cta p {
    color: var(--cf-main-copy-blue, #0b92bf);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
  }

  body.courses-page .course-intro p {
    margin-bottom: 14px;
  }

  body.courses-page .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
  }

  body.courses-page .servicesbox {
    box-sizing: border-box;
    width: calc(25% - 18px);
    min-height: 0;
    padding: 28px;
    background: #000;
  }

  body.courses-page .servicesbox h3 {
    margin: 0 0 24px !important;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 500;
    line-height: 1.3;
  }

  body.courses-page .servicesbox ul {
    margin-left: 18px;
  }

  body.courses-page .servicesbox li {
    margin-bottom: 10px;
  }

  body.courses-page .course-divider-band {
    display: block;
    width: 100vw;
    height: clamp(250px, 33vh, 380px);
    margin: clamp(72px, 7vw, 96px) 0 0 calc(50% - 50vw);
    background-color: #10130e;
    background-image: none;
    background-position: center 70%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  body.courses-page .course-cta {
    box-sizing: border-box;
    margin-top: clamp(72px, 7vw, 96px);
    padding: 36px;
    background: #080808;
  }

  body.courses-page .course-divider-band + .course-cta {
    margin-top: 0;
  }

body.courses-page .course-cta h1 {
    margin: 0 0 30px;
    color: var(--cf-superheader-white, #e8e8e8);
    font-family: var(--cf-super-font);
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
  }
}

/* -------------------------------------------------------------------------
   FINAL SHARED READING SCALE

   A number of older pages still inherit the original 0.8em body size through
   legacy scroller wrappers. Keep compact interface copy (navigation, footer,
   thumbnails and captions) untouched, while every substantial text panel
   uses the approved News/About/Services reading size. This block lives last
   in the cascade deliberately so an old page-level rule cannot shrink it.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  /* The homepage deliberately uses the larger established Super treatment;
     keep it outside this body-copy safeguard. */
  html body:not(.overview-modern-test) :where(#content, #content-index, #content-project)
  :where(
    #about-box,
    #about-box-dark,
    #about-box-left,
    #about-box-left-wider,
    #scrollerwrapper-mainpage,
    #scrollerwrapper-project-about,
    #scrollerwrapper-large,
    .cf-copy-panel,
    .character-profile,
    .team-member-info
  ) {
    font-size: var(--cf-readable-copy-size) !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  html body:not(.overview-modern-test) :where(#content, #content-index, #content-project)
  :where(
    #about-box,
    #about-box-dark,
    #about-box-left,
    #about-box-left-wider,
    #scrollerwrapper-mainpage,
    #scrollerwrapper-project-about,
    #scrollerwrapper-large,
    .cf-copy-panel,
    .character-profile,
    .team-member-info
  ) :where(p:not(.centered):not(.cf-project-about-title), li, dd, blockquote) {
    font-size: inherit !important;
    line-height: inherit !important;
    text-align: left !important;
  }
}

/* -------------------------------------------------------------------------
   DESKTOP NAVIGATION — FIREFOX / WINDOWS COMPATIBILITY

   The proportional dropdown tile has an aspect-ratio-derived height. Some
   Firefox/Windows combinations do not reliably resolve a descendant's
   percentage height against that auto height, leaving only part of the blue
   or green/red rollover painted. Position each dropdown link against all four
   edges instead, so the complete tile is always filled. CSS hover/focus rules
   also keep both dropdowns usable if the legacy hoverIntent animation is late
   or unavailable.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 801px) {
  html body #nav > li > a,
  html body #nav > li > ul.subnav > li > a {
    background-image: none !important;
  }

  html body #nav > li > ul.subnav {
    left: 0 !important;
    top: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 950 !important;
  }

  html body #nav > li > ul.subnav > li {
    position: relative !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 11 / 9;
    overflow: hidden !important;
  }

  html body #nav > li > ul.subnav > li > a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body #nav > li > ul.subnav > li > a > span,
  html body #nav .subnav > #subnav-work-motion-design > a > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    padding-block: 0 !important;
  }

  html body #nav > li:hover > ul.subnav,
  html body #nav > li:focus-within > ul.subnav {
    display: block !important;
    opacity: 1 !important;
  }

  html body #nav > li:hover > a,
  html body #nav > li:focus-within > a {
    background-color: var(--nav-hover) !important;
    color: #ffffff !important;
  }

  /* Functional fallback for genuinely old browsers without aspect-ratio.
     Current Firefox, Chrome, Brave, Edge and Safari use the proportional rule
     above; this keeps an older PC browser coherent rather than clipped. */
  @supports not (aspect-ratio: 11 / 9) {
    html body #nav {
      height: 72px !important;
      aspect-ratio: auto !important;
    }

    html body #nav > li,
    html body #nav > li > ul.subnav > li {
      height: 72px !important;
      aspect-ratio: auto !important;
    }

    html body #nav > li > ul.subnav {
      top: 72px !important;
    }
  }
}


/* Project thumbnail titles: same off-white as project sub-nav, not hard white.
   Footer icon/text hovers stay full white. */
html body #projects .projectbox .projectinfo a:hover,
html body #projects .projectbox .projectinfo a:focus,
html body #content-project .projectbox .projectinfo a:hover,
html body #content-project .projectbox .projectinfo a:focus {
    color: #ededed;
}

/* Keep the approved 12px black breathing space above the proportional desktop
   navigation at every width. The navigation continues to scale until the
   existing portrait/mobile layout takes over below 801px. */
@media screen and (min-width: 801px) {
  body {
    --cf-live-header-height: min(84px, max(56.45px, calc(6.936vw + 0.90px)));
  }

  html body #header,
  html body.overview-modern-test #header {
    min-height: 0;
    padding-top: 12px;
  }

  body,
  #home-background,
  #black-background,
  #black-background.lm-characters-bg {
    background-position: 0 var(--cf-live-header-height) !important;
  }

  body#black-background.clients-page {
    background-position: 0 0, 0 var(--cf-live-header-height) !important;
    background-size: 100% var(--cf-live-header-height), auto !important;
  }
}

/* Image-gallery captions: reserve enough black space for either one or two
   title lines, followed by the image count. These selectors deliberately
   override the older 58px values embedded in individual gallery pages. */
html body .cf-cinema-frame {
  padding-bottom: 80px !important;
}

html body .cf-cinema-hit {
  bottom: 80px !important;
}

/* Explicit colours for every new Work dropdown item, independent of variables. */
#nav-work .subnav > #subnav-work-fashion > a,
#nav-work .subnav > #subnav-work-sports > a,
#nav-work .subnav > #subnav-work-typography > a,
#nav-work .subnav > #subnav-work-corporate > a {
    background: #b60002 none !important;
}
#nav-work .subnav > #subnav-work-fashion > a:hover,
#nav-work .subnav > #subnav-work-sports > a:hover,
#nav-work .subnav > #subnav-work-typography > a:hover,
#nav-work .subnav > #subnav-work-corporate > a:hover,
#nav-work .subnav > #subnav-work-fashion > a:focus,
#nav-work .subnav > #subnav-work-sports > a:focus,
#nav-work .subnav > #subnav-work-typography > a:focus,
#nav-work .subnav > #subnav-work-corporate > a:focus {
    background: #a60002 none !important;
}
