/*
===============================================================================
LAWRENCIUM DESIGN — CSS EDITING GUIDE
===============================================================================
Breakpoints:
  Desktop       min-width: 1500px
  Tablet/mobile max-width: 1499px
  Mobile        max-width: 600px

Main IDs:
  #headerWrapper               header
  #logo                        logo
  #menuWrapper                 navigation
  #workSphereBackgroundVideo   Work background video
  #globeViewport / #globeScene Work sphere
  #workFeaturedHeading         DESIGN IN MOTION
  #workClientMarquee           client-logo marquee
  #workCategoryFilter          category selector
  #workProjectGrid             thumbnails
  #aboutPageInnerWrapper       About content
  #contactPageInnerWrapper     Contact content

For the layout values changed during our recent edits, use the
"CURRENT LAYOUT — EDIT HERE" section at the END of this file.
Do not add a CSS transform to #globeScene; JavaScript controls its rotation.
===============================================================================
*/

body{
    margin: 0;
    padding: 0;
    -webkit-touch-callout: n_1;
    -webkit-user-select: n_1;
    -khtml-user-select: n_1;
    -moz-user-select: n_1;
    -ms-user-select: n_1;
    user-select: n_1;
    background-color: rgba(234,234,234, .5);
}

a, a:visited{
    text-decoration-color: #56668d;
    color: #56668d;
}

#loadingWrapper{
    z-index: 10000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
}

#loaderSymbol{
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    background-size:  contain;
    background-repeat: no-repeat;
    background-image: url("images/loader.png?v=20261011-1");
}

#headerWrapper{
    position: fixed;
    z-index: 9000;
    top: -125px;
    left: 0;
    width: 100%;
    height: 80px;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #e8e8e8;
    background-color:  rgba(255,255,255, .95);
}

#coverSlider{
    position: fixed;
    top:  0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size:  cover;
    background-position:  center center;
    z-index:  2;
    opacity:  0;
    display: none;
}

#menuWrapper{
    position: fixed;
    top: 28px;
    width: 278px;
    height: 34px;
    left: 3%;
    z-index: 10;
}

#menuAbout{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 68px;
    height: 34px;
    z-index: 11;
    background-size:  contain;
    cursor:  pointer;
}

#menuAboutMobile{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 87px;
    height: 34px;
    z-index: 11;
    background-size:  contain;
    cursor:  pointer;
}


#menuWork{
    position: absolute;
    top: 0px;
    left: 107px;
    width: 60px;
    height: 34px;
    z-index: 11;
    opacity: 1;
    background-size:  contain;
    cursor:  pointer;
}

#menuWorkMobile{
    position: absolute;
    top: 0px;
    left: 107px;
    width: 78px;
    height: 34px;
    z-index: 11;
    opacity: 1;
    background-size:  contain;
    cursor:  pointer;
}


#menuContact{
    position: absolute;
    top: 0px;
    left: 200px;
    width: 90px;
    height: 34px;
    z-index: 11;
    background-size:  contain;
    cursor:  pointer;
}

#menuContactMobile{
    position: absolute;
    top: 0px;
    left: 200px;
    width: 113px;
    height: 34px;
    z-index: 11;
    background-size:  contain;
    cursor:  pointer;
}


#logo{
    position: relative;
    margin-left:  auto;
    margin-right:  auto;
    z-index: 9002;
    top: 10px;
    width: 227px;
    height: 62px;
    opacity: 1;
    cursor:pointer;
    background-size: contain;
}

.headerFont{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.menuFont{
    color: #888888;
    font-size:  18px;
}

#workPageWrapper{
    position:  absolute;
    top:  0;
    left:  0;
    z-index:  10;
    width:  100%;
    height:  100%;
    display:  none;
    background-color:  rgba(234,234,234, .5);
}

#workPageInnerWrapper{
    position:  relative;
    display: flex;
    flex-flow:  row wrap;
    justify-content:  center;
    top:  112px;
    width:  100%;
    padding-bottom: 33px;
}

.workItem{
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    user-select: none;
    width: 19.2%;
    height: auto;
    position: relative;
    background-color: rgba(234,234,234, .8);
}
.workImage{
    display:  block;
    background-color: rgba(234,234,234, .8);
    width:  100%;
    height:  auto;
    overflow:  hidden;
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale(.78);
    transform-style: preserve-3d;
    opacity:  0;
    transition: opacity .75s ease, transform .9s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity;
}

.workImage.is-visible{
    opacity:  1;
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) scale(1);
}

.workImage.intro-done{
    transition: opacity .4s ease, transform .15s ease-out;
}

.workImage:hover{
}

.workHoverOverlay{
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    background: rgba(24, 32, 73, .72);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .5);
    transition: opacity .32s ease, box-shadow .32s ease;
}

.workItem:hover .workHoverOverlay{
    opacity: 1;
    box-shadow: inset 0 0 70px rgba(0, 0, 0, .62);
}

.workHoverText{
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-align: center;
    opacity: 0;
    transform: translateY(12px) scale(.96);
    transition: opacity .3s ease .05s, transform .35s cubic-bezier(.22,1,.36,1) .05s;
}

.workItem:hover .workHoverText{
    opacity: 1;
    transform: translateY(0) scale(1);
}

.workHoverTitle{
    display: block;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: .08em;
}

.workHoverDescription{
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 200;
    letter-spacing: .04em;
}


#mobileIconWrapper{
    display:  none;
    position:  absolute;
    top:  33px;
    left:  18px;
    cursor:  pointer;
    width: 30px;
    height:  16px;
}

#mobileIconWrapper:hover{
    opacity:  .75;
}

.hamMenuBar{
    width:  30px;
    height:  4px;
    background-color:  #7882b1;
}

#mobileIconTop{
    position: absolute;
    top:  0px;
}

#mobileIconMiddle{
    position: absolute;
    top:  6px;
}

#mobileIconBottom{
    position: absolute;
    top:  12px;
}

#mobileMenuWrapper{
    position: fixed;
    top: 80px;
    left:  0;
    width:  100%;
    height:  0px;
    background-color:  #354179;
    overflow:  hidden;
    z-index: 8000;
    display:  none;
}

#mobileMenuInnerWrapper{
    position:  relative;
    margin-left:  auto;
    margin-right: auto;
    width:  300px;
    top:  15px;
}

.mobileMenuFont{
    color:  #ffffff;
    font-size: 20px;
}


#contactPageWrapper{
    position:  absolute;
    top:  0;
    left:  0;
    z-index:  10;
    width:  100%;
    height:  100%;
    display:  none;
    background-color:  rgba(234,234,234, .5);
}

#contactPageInnerWrapper{
    position:  relative;
    top:  82px;
    width:  100%;
    padding-bottom: 33px;
}

#contactImage{
    position:  relative;
    background-position:  top center;
    background-size: cover;
    height:  300px;
    width:  100%;
}

#contactHeading{
    position: relative;
    overflow: visible;
}

.headingFont{
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding-top:  20px;
    padding-left: 33px;
    color:  #56668d;
}

#contactSubHeading{
    position: relative;
    overflow: visible;
}

.subHeadingFont{
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    padding-left: 33px;
    color:  #56668d;
}

#contactPhoneNumber{
    position: relative;
    overflow: visible;
}

.contactBodyFont{
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    padding-left: 33px;
    padding-top:  5px;
    color:  #56668d;
}

#emailTextWrapper{
    position: relative;
    overflow: visible;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color:  #56668d;
    margin-top:  -23px;
}


#aboutPageWrapper{
    position:  absolute;
    top:  0;
    left:  0;
    z-index:  10;
    width:  100%;
    height:  100%;
    display:  none;
}

#aboutPageInnerWrapper{
    position:  relative;
    width:  100%;
}

#aboutHeading{
    position: relative;
    overflow: visible;
}

#aboutBodyText{
    position: relative;
    overflow: visible;
    padding-left:  33px;
    width:  360px;

}

.aboutBodyFont{
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color:  #56668d;
}

#clientsWrapper{
    position:  relative;
    top:  0;
    left:  0;
    z-index:  10;
    width:  370px;
    height:  100%;
}

#clientsInnerWrapper{
    position:  relative;
    display: flex;
    flex-flow:  row wrap;
    justify-content:  center;
    top:  0;
    width:  100%;
    padding-bottom: 33px;
}

.clientItem{
    cursor: pointer;
    overflow: hidden;
    text-align:  center;
    user-select:  none;
    width:  160px;
    height:  100px;
    background-size:  contain;
}

.clientImage{
    display:  block;
    width:  100%;
    height:  auto;
    overflow:  hidden;
}


#lightbox{
    position: fixed;
    top:  0;
    left:  0;
    width:  100%;
    height:  100%;
    background-color:  rgba(255,255,255,.85);
    display:  none;
    z-index:  7000;
}

#videoWrapper{
    position: relative;
    margin-left:  auto;
    margin-right: auto;
    top: 80px;
    width:  1000px;
    height:  600px;
    z-index:  7001;
    border:  2px solid #000000;
}

#videoPlayer{
    position: absolute;
    top: 0;
    left: 0;
    width:  100%;
    height:  100%;
}

#closeButton{
    width:  60px;
    height:  60px;
    position:  relative;
    margin-left:  auto;
    margin-right: auto;
    top:  80px;
    right: 0px;
    background-color:  #ffffff;
    z-index:  7010;
    cursor: pointer;
}

#closeButton:hover{
    opacity:  .75;
}

#closeButtonX{
    position:  absolute;
    top:  1px;
    left:  15px;
    font-size: 43px;
    color: #354179;
}

@media only screen and ( max-width: 1000px), only screen and (max-device-width: 1000px){
    .workItem{
        width: 46%;
    }

    #menuWrapper{
        display:  none;
    }

    #mobileIconWrapper{
        display:  block;
    }

    #mobileMenuWrapper{
        display:  block;
    }

    #videoWrapper{
        width:  768px;
        height:  460.8px;
    }
}


@media only screen and ( max-width: 768px), only screen and (max-device-width: 768px){
    #videoWrapper{
        width:  390px;
        height:  234px;
        border:  none;
    }

    .headingFont{
        font-size:  26px;
        padding-left:  23px;
    }

    #aboutBodyText{
        padding-left:  23px;
    }

    .subHeadingFont{
        font-size:  17px;
        padding-left:  23px;
    }

    .contactBodyFont{
        font-size: 17px;
        padding-left:  23px;
    }

    #emailTextWrapper{
        font-size: 17px;
    }
}


/* ===== 3D GLOBE WORK EXPERIENCE ===== */
html, body{
    min-height:100%;
    overflow-x:hidden;
}

#headerWrapper{
    height:78px;
    border-bottom:1px solid rgba(53,65,121,.2);
    background:#000b0f;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

#logo{
    position:absolute;
    left:5.2%;
    top:19px;
    margin:0;
    width:300px;
    height:52px;
    background-position:left center;
    background-repeat:no-repeat;
}

#menuWrapper{
    left:auto;
    right:5.2%;
    top:29px;
    width:335px;
}

#menuAbout{ left:0; }
#menuWork{ left:122px; }
#menuContact{ left:226px; }
.menuFont{ font-size:16px; letter-spacing:.08em; }

#workPageWrapper{
    position:fixed;
    inset:0;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.98) 0%, rgba(241,244,248,.96) 45%, rgba(220,227,235,.94) 100%);
}

#workPageInnerWrapper{
    position:absolute;
    inset:78px 0 0 0;
    top:78px;
    width:100%;
    height:calc(100vh - 78px);
    padding:0;
    display:block;
    overflow:hidden;
}

#globeViewport{
    position:absolute;
    left:50%;
    top:46%;
    width:min(72vw, 980px);
    height:min(72vw, 760px);
    transform:translate(-50%,-50%);
    perspective:1200px;
    perspective-origin:50% 50%;
    cursor:grab;
    touch-action:none;
    user-select:none;
    -webkit-user-select:none;
}

#globeViewport.isDragging{ cursor:grabbing; }

#globeViewport:before{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:72%;
    aspect-ratio:1;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:radial-gradient(circle at 42% 34%, rgba(255,255,255,.15), rgba(86,105,145,.05) 45%, rgba(25,36,70,.14) 78%, rgba(17,28,58,.06) 100%);
    box-shadow:0 38px 80px rgba(24,40,75,.20), inset 0 0 65px rgba(255,255,255,.36);
    pointer-events:none;
}

#globeScene{
    position:absolute;
    left:50%;
    top:50%;
    width:1px;
    height:1px;
    transform-style:preserve-3d;
    will-change:transform;
}

#globeGlow{
    position:absolute;
    left:50%;
    top:53%;
    width:62%;
    height:62%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,255,255,.02) 52%, rgba(255,255,255,.34) 73%, rgba(255,255,255,0) 76%);
    pointer-events:none;
    z-index:1000;
}

.workItem{
    position:absolute;
    left:-88px;
    top:-56px;
    width:176px;
    height:112px;
    margin:0;
    padding:0;
    overflow:hidden;
    border-radius:3px;
    background:#17213e;
    box-shadow:0 8px 22px rgba(17,29,58,.24);
    transform-style:preserve-3d;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    opacity:0;
    transition:opacity .8s ease, filter .35s ease, box-shadow .3s ease;
    will-change:transform, opacity, filter;
}

.workItem.globeReady{ opacity:1; }
.workItem:hover{
    z-index:50;
    box-shadow:0 14px 34px rgba(10,22,52,.44);
}

.workImage,
.workImage.is-visible,
.workImage.intro-done{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:1;
    transform:none !important;
    transition:transform .45s cubic-bezier(.16,1,.3,1), filter .3s ease !important;
}

.workItem:hover .workImage{
    transform:scale(1.06) !important;
    filter:brightness(.72) saturate(.9);
}

.workHoverOverlay{
    background:linear-gradient(180deg, rgba(16,28,65,.12), rgba(13,24,57,.82));
    box-shadow:inset 0 0 35px rgba(0,0,0,.36);
    padding:14px;
}

.workHoverTitle{ font-size:14px; letter-spacing:.12em; }
.workHoverDescription{ font-size:9px; letter-spacing:.08em; }

.globeArrow{
    position:absolute;
    top:47%;
    transform:translateY(-50%);
    width:58px;
    height:58px;
    border:2px solid rgba(53,65,121,.34);
    border-radius:50%;
    background:rgba(255,255,255,.26);
    color:#56668d;
    font:300 34px/48px 'Poppins',sans-serif;
    cursor:pointer;
    z-index:2000;
    transition:background .25s ease, transform .25s ease, border-color .25s ease;
}

.globeArrow:hover{
    background:rgba(255,255,255,.72);
    border-color:rgba(53,65,121,.62);
    transform:translateY(-50%) scale(1.07);
}
.globeArrowLeft{ left:4%; }
.globeArrowRight{ right:4%; }

#globeHint{
    position:absolute;
    left:50%;
    bottom:28px;
    transform:translateX(-50%);
    color:#64708d;
    font:300 12px/1 'Poppins',sans-serif;
    letter-spacing:.38em;
    white-space:nowrap;
}
#globeHint:after{
    content:'';
    display:block;
    width:44px;
    height:1px;
    margin:13px auto 0;
    background:#64708d;
}

#globeCounter{
    position:absolute;
    right:5.2%;
    bottom:30px;
    color:#64708d;
    font:300 12px/1 'Poppins',sans-serif;
    letter-spacing:.18em;
}
#globeCounter:after{
    content:'';
    display:inline-block;
    width:90px;
    height:1px;
    margin:0 0 3px 14px;
    background:#64708d;
    opacity:.65;
}

@media only screen and (max-width:1000px), only screen and (max-device-width:1000px){
    #logo{ left:50%; transform:translateX(-50%); width:227px; }
    #workPageInnerWrapper{ top:78px; height:calc(100vh - 78px); }
    #globeViewport{ width:92vw; height:76vw; top:48%; }
    .workItem{ left:-72px; top:-46px; width:144px; height:92px; }
    .globeArrow{ width:46px; height:46px; font-size:28px; line-height:38px; }
    .globeArrowLeft{ left:2.5%; }
    .globeArrowRight{ right:2.5%; }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport{ width:100vw; height:108vw; top:47%; perspective:900px; }
    .workItem{ left:-56px; top:-36px; width:112px; height:72px; }
    .workHoverTitle{ font-size:10px; }
    .workHoverDescription{ font-size:7px; margin-top:4px; }
    .globeArrow{ display:none; }
    #globeHint{ bottom:20px; font-size:9px; letter-spacing:.28em; }
    #globeCounter{ right:18px; bottom:22px; font-size:10px; }
    #globeCounter:after{ width:42px; margin-left:8px; }
}


#lightbox {
    z-index: 20000 !important;
}
#videoWrapper, #closeButton {
    z-index: 20001 !important;
}


/* Slightly taller globe project images — widths remain unchanged */
#globeScene .workItem {
    width: 176px;
    height: 126px;
}
#globeScene .workImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media only screen and (max-width: 1000px) {
    #globeScene .workItem {
        width: 150px;
        height: 108px;
    }
}
@media only screen and (max-width: 600px) {
    #globeScene .workItem {
        width: 118px;
        height: 86px;
    }
}


/* Mobile globe gesture handling */
#globeViewport {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}
#globeScene .workItem,
#globeScene .workImage {
    -webkit-user-drag: none;
}

/* ===== CINEMATIC DARK EXPERIENCE (visual layer only) ===== */
html, body{
    background:#000 !important;
    color:#fff;
}

#workPageWrapper{
    background:
        radial-gradient(circle at 50% 48%, rgba(255,255,255,.045) 0%, rgba(255,255,255,.018) 27%, rgba(0,0,0,0) 58%),
        #000 !important;
}

#headerWrapper{
    background:#000b0f !important;
    border-bottom:1px solid rgba(255,255,255,.2) !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.menuFont{
    color:rgba(255,255,255,1) !important;

}

#globeViewport:before{
    background:radial-gradient(circle at 42% 34%, rgba(255,255,255,.055), rgba(255,255,255,.015) 44%, rgba(0,0,0,.18) 74%, rgba(0,0,0,.38) 100%) !important;
    box-shadow:0 38px 90px rgba(0,0,0,.72), inset 0 0 75px rgba(255,255,255,.04) !important;
    border:1px solid rgba(255,255,255,.05);
}

#globeGlow{
    background:radial-gradient(circle, rgba(255,255,255,.015) 48%, rgba(255,255,255,.055) 71%, rgba(255,255,255,0) 77%) !important;
}

#globeScene .workItem{
    border:1px solid rgba(255,255,255,.11) !important;
    border-radius:6px !important;
    background:#080808 !important;
    box-shadow:0 12px 30px rgba(0,0,0,.68) !important;
}

#globeScene .workItem:hover{
    border-color:rgba(255,255,255,.48) !important;
    box-shadow:0 18px 44px rgba(0,0,0,.82), 0 0 22px rgba(255,255,255,.07) !important;
}

#globeScene .workImage{
    filter:brightness(.72) saturate(.78);
}

#globeScene .workItem:hover .workImage{
    filter:brightness(.95) saturate(.92) !important;
}

.workHoverOverlay{
    background:linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.78)) !important;
    box-shadow:none !important;
}

.globeArrow{
    color:#fff !important;
    border-color:rgba(255,255,255,.18) !important;
    background:rgba(0,0,0,.45) !important;
}

.globeArrow:hover{
    background:rgba(255,255,255,.08) !important;
    border-color:rgba(255,255,255,.55) !important;
}

#globeHint,
#globeCounter,
#globeTagline{
    color:rgba(255,255,255,.66) !important;
    font-family:'Poppins',sans-serif;
    text-transform:uppercase;
}

#globeTagline{
    position:absolute;
    left:50%;
    bottom:8px;
    transform:translateX(-50%);
    z-index:2500;
    font-size:9px;
    font-weight:200;
    letter-spacing:.28em;
    white-space:nowrap;
}

/* Centered cinematic video over the globe */
#lightbox{
    position:fixed !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    background:rgba(0,0,0,.42) !important;
    z-index:20000 !important;
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
}

#videoWrapper{
    position:absolute !important;
    left:50% !important;
    top:52% !important;
    transform:translate(-50%,-50%) !important;
    width:min(58vw, 820px) !important;
    height:auto !important;
    aspect-ratio:16 / 9;
    margin:0 !important;
    border:1px solid rgba(255,255,255,.16) !important;
    border-radius:8px;
    overflow:hidden;
    background:#000 !important;
    box-shadow:0 28px 90px rgba(0,0,0,.88), 0 0 0 1px rgba(255,255,255,.035) !important;
    z-index:20001 !important;
}

#videoPlayer{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:contain;
    background:#000;
}

#closeButton{
    position:absolute !important;
    top:22px !important;
    right:24px !important;
    left:auto !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50%;
    background:rgba(0,0,0,.62) !important;
    z-index:20002 !important;
}

#closeButtonX{
    top:5px !important;
    left:13px !important;
    font-size:23px !important;
    line-height:30px;
    color:#fff !important;
    font-weight:200;
}

body.video-open #globeViewport{
    cursor:default !important;
}

body.video-open #globeScene .workItem{
    pointer-events:none !important;
}

@media only screen and (max-width:1000px){
    #videoWrapper{
        width:min(82vw, 760px) !important;
    }
}

@media only screen and (max-width:600px){
    #videoWrapper{
        width:92vw !important;
        top:50% !important;
    }
    #closeButton{
        top:16px !important;
        right:16px !important;
    }
    #globeTagline{
        display:none;
    }
}


/* ===== CLEAN CINEMATIC GLOBE / NO STARS ===== */

/* Counter remains removed. */
#globeCounter{
    display:none !important;
}

/* Project images stay fully visible before rollover. */
#globeScene .workItem{
    opacity:1;
}

#globeScene .workImage,
#globeScene .workImage.is-visible,
#globeScene .workImage.intro-done{
    opacity:1 !important;
    filter:brightness(1) saturate(1) !important;
}

/* Hover is the only state that darkens an image. */
#globeScene .workItem:hover .workImage{
    opacity:1 !important;
    filter:brightness(.68) saturate(.88) !important;
}

/* Tighter mobile image spacing:
   - slightly larger cards than the previous mobile version
   - slightly smaller globe radius in JS
   - preserves enough separation to avoid overlap */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport{
        width:100vw !important;
        height:112vw !important;
        top:48% !important;
        perspective:940px !important;
    }

    #globeScene .workItem,
    .workItem{
        left:-55px !important;
        top:-39px !important;
        width:110px !important;
        height:78px !important;
    }

    #globeHint{
        bottom:18px !important;
    }
}

/* ===== FULLER GLOBE FPO CARDS ===== */
.fpoWorkItem{ cursor:grab; }
.fpoWorkItem:hover .workImage{ filter:brightness(.82) saturate(.92) !important; }

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeScene .workItem, .workItem{
        left:-50px !important;
        top:-35px !important;
        width:100px !important;
        height:70px !important;
    }
}


/* ===== 300x250 CINEMATIC GLOBE ===== */
#globeViewport{
    width:min(88vw, 1240px) !important;
    height:min(82vh, 840px) !important;
    perspective:1800px !important;
}

#globeScene{
    transform-style:preserve-3d;
}

#globeScene .workItem,
.workItem{
    width:300px !important;
    height:250px !important;
    left:-150px !important;
    top:-125px !important;
    border-radius:7px !important;
}

#globeScene .workImage{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

/* The sphere is deliberately viewed from farther away so 300x250 cards
   retain the reference look without visually colliding. */
#globeScene{
    scale:.68;
}

@media only screen and (max-width:1000px){
    #globeScene{
        scale:.58;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport{
        width:100vw !important;
        height:108vw !important;
        perspective:1500px !important;
    }

    #globeScene{
        scale:.40;
    }

    #globeScene .workItem,
    .workItem{
        width:300px !important;
        height:250px !important;
        left:-150px !important;
        top:-125px !important;
    }
}


/* ===== SMALLER OVERALL 300x250 GLOBE ===== */
#globeViewport{
    width:min(82vw, 1120px) !important;
    height:min(72vh, 720px) !important;
}

/* Desktop */
#globeScene{
    scale:.56 !important;
}

/* Tablet */
@media only screen and (max-width:1000px){
    #globeViewport{
        width:90vw !important;
        height:70vh !important;
    }

    #globeScene{
        scale:.48 !important;
    }
}

/* Mobile */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport{
        width:96vw !important;
        height:72vh !important;
        max-height:620px !important;
    }

    #globeScene{
        scale:.31 !important;
    }
}


/* ===== GLOBAL GRTSK TYPOGRAPHY + TEXT LOGO ===== */
html,
body,
button,
input,
textarea,
select,
.headerFont,
.menuFont,
.mobileMenuFont,
.headingFont,
.subHeadingFont,
.contactBodyFont,
.aboutBodyFont,
.workHoverText,
#globeHint,
#globeTagline,
#globeCounter,
.globeArrow{
    font-family:"grtsk-vf", sans-serif !important;
    font-variation-settings:'wdth' 100, 'wght' 400, 'slnt' 0;
}

#logo{
    background-image:none !important;
    display:flex !important;
    align-items:center;
    width:auto !important;
    height:52px !important;
    color:#ffffff !important;
    font-family:"grtsk-vf", sans-serif !important;
    font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0;
    font-size:36px;
    line-height:1;
    white-space:nowrap;
    text-indent:0 !important;
}

/* Preserve intentional heavier text while using the variable font. */
.headerFont,
.headingFont,
.workHoverTitle{
    font-variation-settings:'wdth' 100, 'wght' 560, 'slnt' 0;
}


/* ===== GLOBE DESKTOP ALIGNMENT CLEANUP ===== */
#globeTagline{
    display:none !important;
}

@media (min-width: 769px){
    /* Vertically center the globe navigation arrows in the viewport. */
    #globePrev,
    #globeNext,
    .globeArrow{
        top:50% !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
    }

    /* Center the close X inside its desktop hit area. */
    #closeProject,
    #closeVideo,
    .closeProject,
    .closeVideo,
    .videoClose,
    .lightboxClose{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
        line-height:1 !important;
        padding:0 !important;
    }
}


/* ===== PRECISE CIRCLE CONTROL TEXT CENTERING ===== */
.globeArrow{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    text-align:center !important;
    line-height:1 !important;
    box-sizing:border-box !important;
}

#closeButton{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 !important;
    box-sizing:border-box !important;
}

#closeButtonX{
    position:static !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    margin:0 !important;
    padding:0 !important;
    width:auto !important;
    height:auto !important;
    line-height:1 !important;
    text-align:center !important;
}


/* ===== OPTICAL VERTICAL CENTERING FOR CIRCLE GLYPHS ===== */
.globeArrow{
    /* Override the earlier translateY used to position the whole button.
       Button positioning is handled explicitly below. */
    line-height:1 !important;
}

/* Keep the circle itself centered at its intended vertical location. */
#globePrev,
#globeNext{
    top:50% !important;
    transform:translateY(-50%) !important;
}

/* Move only the visible arrow glyph downward within the circle.
   text-box-trim is used where supported; padding provides the cross-browser correction. */
#globePrev,
#globeNext{
    padding-top:7px !important;
    padding-bottom:0 !important;
}

#closeButtonX{
    transform:translateY(5px) !important;
    line-height:1 !important;
}


/* ===== SMALLER MOBILE GLOBE + THUMBNAILS ===== */
@media only screen and (max-width: 599px), only screen and (max-device-width: 599px){
    #globeViewport{
        width:100vw !important;
        height:calc(100vh - 78px) !important;
        perspective:1100px !important;
    }

    .workItem{
        width:132px !important;
        height:110px !important;
        left:-66px !important;
        top:-55px !important;
    }
}


/* ===== MOBILE GLOBE: COMPACT WITHOUT THUMBNAIL OVERLAP ===== */
@media only screen and (max-width: 599px), only screen and (max-device-width: 599px){
    .workItem{
        width:108px !important;
        height:90px !important;
        left:-54px !important;
        top:-45px !important;
    }
}


/* ===== MOBILE: 7 BANDS + SMALLER THUMBNAILS ===== */
@media only screen and (max-width: 599px), only screen and (max-device-width: 599px){
    .workItem{
        width:78px !important;
        height:65px !important;
        left:-39px !important;
        top:-32.5px !important;
    }
}


/* ===== MOBILE THUMBNAIL SHRINK FIX =====
   Must include #globeScene .workItem because the 300x250 rule above uses
   that higher-specificity selector with !important. */
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px){
    #globeScene .workItem,
    #globeScene .workItem.globeReady,
    .workItem{
        width:78px !important;
        height:65px !important;
        left:-39px !important;
        top:-32.5px !important;
    }
}


/* ===== MOBILE: SCALED 300x250 PROPORTIONS ===== */
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px){
    #globeScene .workItem,
    #globeScene .workItem.globeReady,
    .workItem{
        width:90px !important;
        height:75px !important;
        left:-45px !important;
        top:-37.5px !important;
        aspect-ratio:6 / 5 !important;
    }

    #globeScene .workImage,
    #globeScene .workImage.is-visible,
    #globeScene .workImage.intro-done{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }
}


/* ===== MOBILE: LARGER 300x250-PROPORTION THUMBNAILS ===== */
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px){
    #globeScene .workItem,
    #globeScene .workItem.globeReady,
    .workItem{
        width:108px !important;
        height:90px !important;
        left:-54px !important;
        top:-45px !important;
        aspect-ratio:6 / 5 !important;
    }

    #globeScene .workImage,
    #globeScene .workImage.is-visible,
    #globeScene .workImage.intro-done{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }
}


/* ===== MOBILE: 2X LARGER THUMBNAILS ===== */
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px){
    #globeScene .workItem,
    #globeScene .workItem.globeReady,
    .workItem{
        width:216px !important;
        height:180px !important;
        left:-108px !important;
        top:-90px !important;
        aspect-ratio:6 / 5 !important;
    }

    #globeScene .workImage,
    #globeScene .workImage.is-visible,
    #globeScene .workImage.intro-done{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }
}

/* ===== PROJECT SELECTION: CENTER -> GROW -> VIDEO ===== */
#globeScene .workItem .workImage{
    transition:transform .42s cubic-bezier(.22,.75,.2,1), filter .25s ease, opacity .25s ease !important;
    transform-origin:center center;
}
#globeScene .workItem.projectFocusGrow{ z-index:5000 !important; }


/* ===== AUTHORITATIVE VIDEO LIGHTBOX CONTROLS ===== */
#lightbox{
    position:fixed !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    z-index:20000 !important;
    pointer-events:auto !important;
}

#videoWrapper{
    position:absolute !important;
    left:50% !important;
    top:52% !important;
    transform:translate(-50%,-50%) !important;
    z-index:20001 !important;
    pointer-events:auto !important;
}

#closeButton{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:absolute !important;
    top:22px !important;
    right:24px !important;
    bottom:auto !important;
    left:auto !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    padding:0 !important;
    z-index:20010 !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    cursor:pointer !important;
}

#closeButtonX{
    display:block !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    transform:translateY(1px) !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:none !important;
    line-height:1 !important;
}

#lightbox[style*="display: none"],
#lightbox[style*="visibility: hidden"]{
    pointer-events:none !important;
}

@media only screen and (max-width:600px){
    #videoWrapper{
        top:50% !important;
    }
    #closeButton{
        top:16px !important;
        right:16px !important;
    }
}


/* ===== SELECTED PROJECT: GROW THE ENTIRE CARD ===== */
#globeScene .workItem{
    scale:1;
    transform-origin:center center;
    transition:scale .42s cubic-bezier(.22,.75,.2,1);
}

#globeScene .workItem.projectFocusGrow{
    scale:1.38 !important;
    z-index:5000 !important;
}

#globeScene .workItem.projectFocusGrow .workImage{
    transform:none !important;
    filter:brightness(1) !important;
    opacity:1 !important;
}

#globeScene .workItem.projectFocusGrow .workHover{
    transform:none !important;
}


/* ===== SELECTED CARD: FLAT / NO PERSPECTIVE DURING ZOOM ===== */
#globeScene .workItem.projectFocusGrow{
    position:fixed !important;
    left:50vw !important;
    top:50vh !important;
    width:300px !important;
    height:250px !important;
    transform:none !important;
    translate:-50% -50% !important;
    rotate:none !important;
    scale:1.38 !important;
    transform-style:flat !important;
    perspective:none !important;
    backface-visibility:hidden !important;
    z-index:15000 !important;
}

#globeScene .workItem.projectFocusGrow .workImage,
#globeScene .workItem.projectFocusGrow .workHover{
    transform:none !important;
    perspective:none !important;
    transform-style:flat !important;
    backface-visibility:hidden !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeScene .workItem.projectFocusGrow{
        width:216px !important;
        height:180px !important;
        left:50vw !important;
        top:50vh !important;
        translate:-50% -50% !important;
        scale:1.38 !important;
    }
}


/* ===== LARGE ATOMIC ENERGY CORE ===== */
#atomicGlow{
    position:absolute;
    left:50%;
    top:50%;
    width:640px;
    height:640px;
    transform:translate(-50%,-50%);
    z-index:1;
    pointer-events:none;
    opacity:.92;
    overflow:visible;
}

#atomicGlow .atomicCore{
    position:absolute;
    left:50%;
    top:50%;
    width:46px;
    height:46px;
    border-radius:50%;
    transform:translate(-50%,-50%);
    background:rgba(255,246,218,.98);
    box-shadow:
        0 0 12px rgba(255,255,255,1),
        0 0 34px rgba(255,226,157,.96),
        0 0 82px rgba(255,195,92,.62),
        0 0 150px rgba(95,166,255,.24);
    animation:atomPulse 3.2s ease-in-out infinite;
}

#atomicGlow .atomicOrbit{
    position:absolute;
    left:50%;
    top:50%;
    width:570px;
    height:210px;
    margin-left:-285px;
    margin-top:-105px;
    border:1.5px solid rgba(157,205,255,.48);
    border-radius:50%;
    filter:drop-shadow(0 0 6px rgba(70,155,255,.7))
           drop-shadow(0 0 16px rgba(70,155,255,.24));
    transform-origin:50% 50%;
}

#atomicGlow .atomicOrbit:nth-of-type(even){
    border-color:rgba(255,216,139,.58);
    filter:drop-shadow(0 0 6px rgba(255,190,78,.7))
           drop-shadow(0 0 16px rgba(255,190,78,.22));
}

#atomicGlow .atomicOrbit i{
    position:absolute;
    left:50%;
    top:-6px;
    width:12px;
    height:12px;
    margin-left:-6px;
    border-radius:50%;
    background:#fff;
    box-shadow:
        0 0 8px rgba(255,255,255,1),
        0 0 22px rgba(116,183,255,.95),
        0 0 48px rgba(71,150,255,.65);
}

#atomicGlow .orbitA{ animation:orbitA 7.4s linear infinite; }
#atomicGlow .orbitB{
    animation:orbitB 9.2s linear infinite reverse;
    border-color:rgba(255,214,135,.62);
}
#atomicGlow .orbitB i{
    box-shadow:
        0 0 8px rgba(255,255,255,1),
        0 0 22px rgba(255,213,128,.98),
        0 0 48px rgba(255,175,58,.58);
}
#atomicGlow .orbitC{ animation:orbitC 11.1s linear infinite; }

@keyframes orbitA{
    from{transform:rotate(0deg)}
    to{transform:rotate(360deg)}
}
@keyframes orbitB{
    from{transform:rotate(60deg)}
    to{transform:rotate(420deg)}
}
@keyframes orbitC{
    from{transform:rotate(-60deg)}
    to{transform:rotate(300deg)}
}
@keyframes atomPulse{
    0%,100%{transform:translate(-50%,-50%) scale(.9);opacity:.82}
    50%{transform:translate(-50%,-50%) scale(1.18);opacity:1}
}

#atomicGlow::before{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:440px;
    height:440px;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:
        radial-gradient(circle,
            rgba(255,220,146,.17) 0%,
            rgba(83,157,255,.12) 28%,
            rgba(42,112,220,.055) 48%,
            transparent 72%);
    filter:blur(16px);
}

#atomicGlow::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    width:120px;
    height:120px;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(255,245,210,.25) 0%,
        rgba(255,195,92,.10) 36%,
        transparent 72%);
    filter:blur(9px);
}

/* Projects remain above the decorative atom. */
#globeScene{
    position:relative;
    z-index:2;
}

/* Remove any non-project visual artifact occupying the exact rear center.
   Real project cards remain untouched and interactive. */
#globeScene .workItem.globeArtifact,
#globeScene .workItem.centerArtifact,
#globeScene .workItem[data-artifact="true"]{
    display:none !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #atomicGlow{
        width:400px;
        height:400px;
        opacity:.84;
    }
    #atomicGlow .atomicOrbit{
        width:360px;
        height:134px;
        margin-left:-180px;
        margin-top:-67px;
    }
    #atomicGlow .atomicCore{
        width:34px;
        height:34px;
    }
    #atomicGlow::before{
        width:290px;
        height:290px;
    }
}

@media(prefers-reduced-motion:reduce){
    #atomicGlow .atomicOrbit,
    #atomicGlow .atomicCore{
        animation:none !important;
    }
}

/* ===== HIDE REAR-FACING THUMBNAIL ARTIFACTS ===== */
#globeScene .workItem{
    backface-visibility:hidden !important;
    -webkit-backface-visibility:hidden !important;
}


/* ===== THUMBNAIL VISIBILITY RESET ===== */
#globeScene .workItem{
    visibility:visible !important;
}
#globeScene .workItem:not(.projectFocusGrow){
    opacity:1 !important;
}

/* ===== BOTTOM X-AXIS THUMBNAIL REFLECTION ===== */
#globeReflection{
    position:fixed;
    left:0; right:0; bottom:0;
    height:28vh;
    min-height:145px;
    max-height:300px;
    overflow:hidden;
    pointer-events:none;
    z-index:3;
    opacity:.27;
    transform:scaleY(-1);
    transform-origin:center bottom;
    filter:blur(.8px) brightness(.62) saturate(.8);
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.22) 35%,rgba(0,0,0,.9) 100%);
    mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.22) 35%,rgba(0,0,0,.9) 100%);
}
#globeReflectionScene{
    position:absolute;
    left:50%;
    top:0;
    width:0;height:0;
    transform-style:preserve-3d;
}
#globeReflectionScene .reflectionCard{
    position:absolute;
    width:300px;height:250px;
    left:-150px;top:-125px;
    overflow:hidden;
    border-radius:5px;
    backface-visibility:hidden;
    transform-style:preserve-3d;
}
#globeReflectionScene .reflectionCard .workImage{
    display:block!important;
    width:100%!important;height:100%!important;
    object-fit:cover!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
}
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeReflection{height:22vh;min-height:105px;max-height:190px;opacity:.22}
    #globeReflectionScene .reflectionCard{
        width:216px;height:180px;left:-108px;top:-90px;
    }
}

/* ===== TRUE FLAT CENTERED PROJECT ZOOM =====
   This overlay lives directly under BODY, outside #globeScene and therefore
   outside every 3D transform/perspective context. */
#flatProjectZoom{
    position:fixed;
    left:50%;
    top:50%;
    width:300px;
    height:250px;
    margin:0;
    padding:0;
    transform:translate(-50%,-50%) scale(1);
    transform-origin:50% 50%;
    transform-style:flat;
    perspective:none;
    z-index:19000;
    overflow:hidden;
    pointer-events:none;
    opacity:1;
    border-radius:5px;
    transition:transform .42s cubic-bezier(.22,.75,.2,1);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
}
#flatProjectZoom.isZoomed{
    transform:translate(-50%,-50%) scale(1.38);
}
#flatProjectZoom .workImage,
#flatProjectZoom img{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    object-fit:cover!important;
    opacity:1!important;
    filter:brightness(1)!important;
    transform:none!important;
    translate:none!important;
    rotate:none!important;
    scale:1!important;
    perspective:none!important;
    transform-style:flat!important;
    backface-visibility:hidden!important;
    -webkit-backface-visibility:hidden!important;
}
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #flatProjectZoom{
        width:216px;
        height:180px;
    }
}


/* ===== CINEMATIC LUMINOUS GLOBE — replaces atomic center ===== */
#atomicGlow{display:none !important;}

#luminousGlobe{
    position:absolute;
    left:50%;
    top:50%;
    width:min(78vw, 940px);
    aspect-ratio:1;
    transform:translate(-50%,-50%);
    z-index:1;
    pointer-events:none;
    overflow:visible;
    border-radius:50%;
    filter:saturate(.92);
}

#luminousGlobe .globeGlass{
    position:absolute;
    inset:5%;
    border-radius:50%;
    background:
        radial-gradient(circle at 67% 17%, rgba(185,220,255,.18), transparent 17%),
        radial-gradient(circle at 25% 28%, rgba(255,235,202,.10), transparent 19%),
        radial-gradient(circle at 50% 50%, rgba(15,18,23,.10) 0 43%, rgba(3,5,8,.56) 72%, rgba(0,0,0,.92) 100%);
    border:1px solid rgba(210,225,245,.18);
    box-shadow:
        inset 0 0 65px rgba(128,180,255,.10),
        inset 0 0 150px rgba(0,0,0,.72),
        0 0 45px rgba(255,214,151,.08);
}

#luminousGlobe .globeGlass::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:50%;
    background:
        linear-gradient(113deg, transparent 16%, rgba(255,255,255,.08) 26%, transparent 35%),
        radial-gradient(ellipse at 55% 4%, rgba(220,238,255,.28), transparent 28%);
    filter:blur(2px);
}

#luminousGlobe .globeLatitude,
#luminousGlobe .globeLongitude{
    position:absolute;
    left:50%;
    top:50%;
    border:1px solid rgba(255,226,184,.17);
    border-radius:50%;
    box-shadow:0 0 7px rgba(255,198,112,.08);
}
#luminousGlobe .globeLatitude{
    width:84%;
    height:28%;
    margin-left:-42%;
    margin-top:-14%;
}
#luminousGlobe .lat1{transform:translateY(-155%);}
#luminousGlobe .lat2{transform:translateY(0);}
#luminousGlobe .lat3{transform:translateY(155%);}
#luminousGlobe .globeLongitude{
    width:31%;
    height:84%;
    margin-left:-15.5%;
    margin-top:-42%;
}
#luminousGlobe .lon1{transform:rotate(0deg);}
#luminousGlobe .lon2{transform:rotate(58deg);}
#luminousGlobe .lon3{transform:rotate(-58deg);}

#luminousGlobe .energyRing{
    position:absolute;
    left:50%;
    top:50%;
    width:108%;
    height:35%;
    margin-left:-54%;
    margin-top:-17.5%;
    border-radius:50%;
    border:1.4px solid rgba(255,223,174,.56);
    box-shadow:
        0 0 5px rgba(255,255,255,.24),
        0 0 12px rgba(255,194,104,.25),
        inset 0 0 8px rgba(255,205,132,.12);
    transform-origin:50% 50%;
    will-change:transform;
}
#luminousGlobe .energyRing::after{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:50%;
    border-top:2px solid rgba(255,247,230,.72);
    border-right:1px solid transparent;
    border-bottom:1px solid transparent;
    border-left:1px solid transparent;
    filter:drop-shadow(0 0 6px rgba(255,194,105,.8));
}
#luminousGlobe .energyRing i,
#luminousGlobe .energyRing b,
#luminousGlobe .energyRing em{
    position:absolute;
    width:var(--dot,7px);
    height:var(--dot,7px);
    border-radius:50%;
    background:#fff8e8;
    box-shadow:
        0 0 5px #fff,
        0 0 13px rgba(255,220,163,.95),
        0 0 28px rgba(255,174,73,.65);
}
#luminousGlobe .energyRing i{left:8%;top:27%;--dot:8px;}
#luminousGlobe .energyRing b{right:13%;top:15%;--dot:6px;}
#luminousGlobe .energyRing em{left:53%;bottom:-4px;--dot:5px;}

#luminousGlobe .ring1{transform:rotate(7deg);animation:luminousRing1 15s linear infinite;}
#luminousGlobe .ring2{transform:rotate(34deg) scale(.98);animation:luminousRing2 19s linear infinite reverse;}
#luminousGlobe .ring3{transform:rotate(67deg) scale(.94);animation:luminousRing3 23s linear infinite;}
#luminousGlobe .ring4{transform:rotate(103deg) scale(.91);animation:luminousRing4 17s linear infinite reverse;}
#luminousGlobe .ring5{transform:rotate(142deg) scale(.97);animation:luminousRing5 21s linear infinite;}
#luminousGlobe .ring6{transform:rotate(174deg) scale(.90);animation:luminousRing6 26s linear infinite reverse;}

@keyframes luminousRing1{to{transform:rotate(367deg)}}
@keyframes luminousRing2{to{transform:rotate(394deg) scale(.98)}}
@keyframes luminousRing3{to{transform:rotate(427deg) scale(.94)}}
@keyframes luminousRing4{to{transform:rotate(463deg) scale(.91)}}
@keyframes luminousRing5{to{transform:rotate(502deg) scale(.97)}}
@keyframes luminousRing6{to{transform:rotate(534deg) scale(.90)}}

#luminousGlobe .globeGlints{
    position:absolute;
    inset:4%;
    border-radius:50%;
}
#luminousGlobe .globeGlints span{
    position:absolute;
    left:var(--x);
    top:var(--y);
    width:var(--s);
    height:var(--s);
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:#fff9ed;
    box-shadow:
        0 0 5px rgba(255,255,255,1),
        0 0 14px rgba(255,224,173,.95),
        0 0 34px rgba(255,175,71,.62);
    animation:glintPulse 2.6s ease-in-out infinite;
    animation-delay:var(--d);
}
#luminousGlobe .globeGlints span::before,
#luminousGlobe .globeGlints span::after{
    content:"";
    position:absolute;
    left:50%;top:50%;
    transform:translate(-50%,-50%);
    background:rgba(255,247,230,.8);
}
#luminousGlobe .globeGlints span::before{width:26px;height:1px;}
#luminousGlobe .globeGlints span::after{width:1px;height:26px;}

@keyframes glintPulse{
    0%,100%{opacity:.35;scale:.72;}
    50%{opacity:1;scale:1.25;}
}

/* Keep project thumbnails clearly in front of the luminous shell. */
#globeScene{position:relative;z-index:4;}

/* Ground glow beneath the globe, matching the reference's illuminated floor. */
#globeViewport::after{
    content:"";
    position:absolute;
    left:50%;
    top:83%;
    width:min(78vw,900px);
    height:13%;
    transform:translateX(-50%);
    border-radius:50%;
    pointer-events:none;
    z-index:0;
    background:
        radial-gradient(ellipse at center,
            rgba(255,226,180,.20) 0%,
            rgba(255,188,91,.09) 25%,
            rgba(90,145,210,.05) 46%,
            transparent 72%);
    filter:blur(10px);
    box-shadow:0 0 28px rgba(255,211,146,.08);
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #luminousGlobe{width:108vw;}
    #luminousGlobe .energyRing{width:111%;margin-left:-55.5%;}
    #luminousGlobe .globeGlints span::before{width:18px;}
    #luminousGlobe .globeGlints span::after{height:18px;}
    #globeViewport::after{width:105vw;top:80%;}
}

@media(prefers-reduced-motion:reduce){
    #luminousGlobe .energyRing,
    #luminousGlobe .globeGlints span{
        animation:none !important;
    }
}

/* ===== BASE RING + UPWARD LIGHTS ===== */

/* Remove all orbit paths crossing through the globe. */
#luminousGlobe .energyRing{
    display:none !important;
}

/* Keep the subtle glass sphere/grid and perimeter glints. */
#luminousGlobe{
    z-index:1;
}

/* Warm stage-light beams rising behind the project globe. */
#globeViewport::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:9%;
    width:min(1120px, 112vw);
    height:82%;
    transform:translateX(-50%);
    pointer-events:none;
    z-index:0;
    opacity:.9;
    background:
        linear-gradient(78deg,
            transparent 0 11%,
            rgba(255,184,89,.00) 12%,
            rgba(255,198,112,.11) 17%,
            rgba(255,231,186,.26) 20%,
            rgba(255,194,101,.09) 24%,
            transparent 29%),
        linear-gradient(83deg,
            transparent 0 27%,
            rgba(255,195,102,.00) 28%,
            rgba(255,219,157,.20) 32%,
            rgba(255,240,207,.34) 35%,
            rgba(255,199,111,.08) 39%,
            transparent 43%),
        linear-gradient(88deg,
            transparent 0 43%,
            rgba(255,207,126,.00) 44%,
            rgba(255,229,176,.18) 47%,
            rgba(255,245,220,.31) 49.5%,
            rgba(255,210,134,.08) 52%,
            transparent 55%),
        linear-gradient(97deg,
            transparent 0 57%,
            rgba(255,205,122,.00) 58%,
            rgba(255,229,177,.22) 62%,
            rgba(255,243,215,.34) 65%,
            rgba(255,198,108,.09) 69%,
            transparent 73%),
        linear-gradient(103deg,
            transparent 0 72%,
            rgba(255,196,103,.00) 73%,
            rgba(255,220,159,.18) 77%,
            rgba(255,238,202,.30) 80%,
            rgba(255,190,91,.07) 84%,
            transparent 89%);
    filter:blur(15px);
    -webkit-mask-image:linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.78) 48%, transparent 100%);
    mask-image:linear-gradient(to top, rgba(0,0,0,.98) 0%, rgba(0,0,0,.78) 48%, transparent 100%);
}

/* Strong luminous base ring under the sphere, like the approved reference. */
#globeViewport::after{
    content:"";
    position:absolute;
    left:50%;
    top:auto !important;
    bottom:8.5%;
    width:min(76vw, 850px);
    height:72px;
    transform:translateX(-50%);
    border-radius:50%;
    pointer-events:none;
    z-index:2;
    background:
        radial-gradient(ellipse at center,
            rgba(255,250,234,.30) 0%,
            rgba(255,219,159,.15) 34%,
            rgba(255,176,68,.05) 53%,
            transparent 70%);
    border:2px solid rgba(255,230,184,.72);
    box-shadow:
        0 0 5px rgba(255,255,255,.72),
        0 0 14px rgba(255,221,164,.72),
        0 0 34px rgba(255,181,75,.38),
        inset 0 0 12px rgba(255,231,190,.38);
    filter:drop-shadow(0 0 8px rgba(255,191,93,.45));
}

/* Extra floor bloom behind the existing mirrored thumbnails. */
#globeReflection::before{
    content:"";
    position:absolute;
    left:50%;
    top:2%;
    width:min(82vw,900px);
    height:95px;
    transform:translateX(-50%);
    border-radius:50%;
    pointer-events:none;
    background:radial-gradient(ellipse at center,
        rgba(255,232,190,.17) 0%,
        rgba(255,190,93,.08) 35%,
        transparent 72%);
    filter:blur(18px);
}

/* Project cards stay above the lighting treatment. */
#globeScene{
    position:relative;
    z-index:4;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport::before{
        width:150vw;
        height:72%;
        bottom:13%;
        opacity:.72;
        filter:blur(12px);
    }
    #globeViewport::after{
        width:92vw;
        height:48px;
        bottom:13%;
        border-width:1.5px;
    }
}

/* ===== SMALLER GLOBE + LOWER BASE RING + STRONGER UPLIGHTS ===== */

/* Pull the visual shell in slightly so the project globe reads smaller. */
#luminousGlobe{
    width:min(68vw, 800px) !important;
}

/* Make the actual project sphere smaller too, without changing card size. */
#globeScene{
    scale:.88;
    transform-origin:50% 50%;
}

/* Put the illuminated floor ring clearly BELOW the bottom of the sphere. */
#globeViewport::after{
    top:calc(50% + min(35vw, 400px)) !important;
    bottom:auto !important;
    width:min(64vw, 720px) !important;
    height:58px !important;
    z-index:2 !important;
    opacity:1 !important;
    border:2px solid rgba(255,238,205,.92) !important;
    background:
        radial-gradient(ellipse at center,
            rgba(255,250,232,.34) 0%,
            rgba(255,218,150,.18) 34%,
            rgba(255,172,61,.06) 55%,
            transparent 72%) !important;
    box-shadow:
        0 0 7px rgba(255,255,255,.9),
        0 0 18px rgba(255,222,165,.82),
        0 0 46px rgba(255,176,66,.48),
        inset 0 0 15px rgba(255,239,208,.45) !important;
}

/* Strong, visible stage beams. They start at the base and fan upward
   behind the globe instead of being buried in the dark background. */
#globeViewport::before{
    left:50% !important;
    top:2% !important;
    bottom:auto !important;
    width:min(1180px, 118vw) !important;
    height:82% !important;
    transform:translateX(-50%) !important;
    z-index:0 !important;
    opacity:1 !important;
    filter:blur(8px) !important;
    background:
        conic-gradient(from 174deg at 50% 100%,
            transparent 0deg 5deg,
            rgba(255,198,111,.03) 7deg,
            rgba(255,231,185,.28) 11deg,
            rgba(255,247,222,.48) 14deg,
            rgba(255,211,136,.18) 18deg,
            transparent 23deg 38deg,
            rgba(255,199,108,.03) 41deg,
            rgba(255,229,180,.25) 45deg,
            rgba(255,245,218,.45) 48deg,
            rgba(255,206,126,.16) 52deg,
            transparent 57deg 76deg,
            rgba(255,208,128,.04) 79deg,
            rgba(255,237,199,.32) 84deg,
            rgba(255,250,231,.52) 87deg,
            rgba(255,213,139,.18) 91deg,
            transparent 96deg 112deg,
            rgba(255,201,112,.03) 116deg,
            rgba(255,232,187,.27) 121deg,
            rgba(255,247,224,.47) 124deg,
            rgba(255,207,130,.16) 129deg,
            transparent 134deg 151deg,
            rgba(255,197,103,.03) 154deg,
            rgba(255,228,176,.25) 159deg,
            rgba(255,245,215,.45) 162deg,
            rgba(255,207,126,.15) 167deg,
            transparent 172deg 360deg) !important;
    -webkit-mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.95) 30%,
        rgba(0,0,0,.55) 72%,
        transparent 100%) !important;
    mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.95) 30%,
        rgba(0,0,0,.55) 72%,
        transparent 100%) !important;
}

/* Warm source bloom where the beams originate. */
#luminousGlobe::after{
    content:"";
    position:absolute;
    left:50%;
    top:94%;
    width:78%;
    height:16%;
    transform:translateX(-50%);
    border-radius:50%;
    background:radial-gradient(ellipse at center,
        rgba(255,247,222,.28) 0%,
        rgba(255,205,125,.15) 34%,
        transparent 72%);
    filter:blur(14px);
    pointer-events:none;
}

/* Cards remain above every lighting layer. */
#globeScene{z-index:5 !important;}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #luminousGlobe{
        width:92vw !important;
    }
    #globeScene{
        scale:.82;
    }
    #globeViewport::before{
        width:145vw !important;
        height:76% !important;
        top:5% !important;
        filter:blur(7px) !important;
    }
    #globeViewport::after{
        top:calc(50% + 45vw) !important;
        width:78vw !important;
        height:40px !important;
    }
}

/* ===== APPROVED CLEAN GLOBE: NO CENTER LINES / NO STARS ===== */

/* Remove every decorative element inside the globe itself. */
#luminousGlobe .energyRing,
#luminousGlobe .globeLatitude,
#luminousGlobe .globeLongitude,
#luminousGlobe .globeGlints{
    display:none !important;
}

/* Keep only a very restrained dark glass volume behind the thumbnails. */
#luminousGlobe .globeGlass{
    border:none !important;
    box-shadow:
        inset 0 0 110px rgba(0,0,0,.72),
        0 0 50px rgba(255,196,106,.035) !important;
    background:
        radial-gradient(circle at 68% 16%, rgba(180,216,255,.10), transparent 17%),
        radial-gradient(circle at 29% 23%, rgba(255,231,193,.055), transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(12,15,20,.05) 0 50%, rgba(0,0,0,.68) 84%, rgba(0,0,0,.94) 100%) !important;
}
#luminousGlobe .globeGlass::before{
    background:
        linear-gradient(113deg, transparent 18%, rgba(255,255,255,.045) 27%, transparent 36%),
        radial-gradient(ellipse at 57% 5%, rgba(214,234,255,.13), transparent 25%) !important;
}

/* More numerous warm fan beams, clearly behind the globe. */
#globeViewport::before{
    left:50% !important;
    top:-4% !important;
    bottom:auto !important;
    width:min(1400px, 138vw) !important;
    height:91% !important;
    transform:translateX(-50%) !important;
    z-index:0 !important;
    opacity:1 !important;
    filter:blur(9px) !important;
    background:
        conic-gradient(from 160deg at 50% 100%,
            transparent 0deg 4deg,
            rgba(255,190,91,.03) 5deg,
            rgba(255,214,145,.25) 8deg,
            rgba(255,239,202,.48) 10deg,
            rgba(255,196,99,.10) 13deg,
            transparent 17deg 27deg,

            rgba(255,190,91,.03) 28deg,
            rgba(255,218,151,.23) 31deg,
            rgba(255,243,211,.45) 33deg,
            rgba(255,199,105,.10) 36deg,
            transparent 40deg 50deg,

            rgba(255,194,98,.03) 51deg,
            rgba(255,224,163,.25) 54deg,
            rgba(255,247,220,.48) 56deg,
            rgba(255,202,111,.11) 59deg,
            transparent 63deg 73deg,

            rgba(255,197,103,.03) 74deg,
            rgba(255,226,169,.27) 77deg,
            rgba(255,250,227,.52) 79deg,
            rgba(255,207,119,.12) 82deg,
            transparent 86deg 96deg,

            rgba(255,199,106,.03) 97deg,
            rgba(255,228,174,.28) 100deg,
            rgba(255,250,229,.53) 102deg,
            rgba(255,207,120,.12) 105deg,
            transparent 109deg 119deg,

            rgba(255,197,103,.03) 120deg,
            rgba(255,226,169,.27) 123deg,
            rgba(255,248,223,.49) 125deg,
            rgba(255,203,113,.11) 128deg,
            transparent 132deg 142deg,

            rgba(255,194,98,.03) 143deg,
            rgba(255,222,158,.24) 146deg,
            rgba(255,244,214,.46) 148deg,
            rgba(255,199,105,.10) 151deg,
            transparent 155deg 165deg,

            rgba(255,190,91,.03) 166deg,
            rgba(255,216,148,.22) 169deg,
            rgba(255,240,205,.43) 171deg,
            rgba(255,196,99,.09) 174deg,
            transparent 178deg 360deg) !important;
    -webkit-mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.96) 34%,
        rgba(0,0,0,.72) 66%,
        rgba(0,0,0,.18) 91%,
        transparent 100%) !important;
    mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.96) 34%,
        rgba(0,0,0,.72) 66%,
        rgba(0,0,0,.18) 91%,
        transparent 100%) !important;
}

/* Put the base ring substantially below the bottom of the smaller sphere. */
#globeViewport::after{
    top:calc(50% + min(39vw, 455px)) !important;
    bottom:auto !important;
    width:min(60vw, 690px) !important;
    height:50px !important;
    transform:translateX(-50%) !important;
    z-index:2 !important;
    border:2px solid rgba(255,236,199,.94) !important;
    background:
        radial-gradient(ellipse at center,
            rgba(255,248,224,.27) 0%,
            rgba(255,214,143,.14) 38%,
            rgba(255,169,54,.045) 58%,
            transparent 74%) !important;
    box-shadow:
        0 0 6px rgba(255,255,255,.88),
        0 0 18px rgba(255,220,158,.78),
        0 0 46px rgba(255,172,59,.43),
        inset 0 0 12px rgba(255,238,203,.42) !important;
}

/* Broad warm bloom where the light sources meet the floor. */
#luminousGlobe::after{
    top:100% !important;
    width:98% !important;
    height:22% !important;
    background:radial-gradient(ellipse at center,
        rgba(255,242,209,.25) 0%,
        rgba(255,196,102,.13) 38%,
        transparent 74%) !important;
    filter:blur(20px) !important;
}

/* Keep thumbnails visually dominant and untouched. */
#globeScene{
    z-index:5 !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport::before{
        width:175vw !important;
        height:84% !important;
        top:0 !important;
        filter:blur(7px) !important;
    }
    #globeViewport::after{
        top:calc(50% + 49vw) !important;
        width:74vw !important;
        height:36px !important;
    }
}

/* ===== FULL-SCREEN BOTTOM-ORIGIN FAN BEAMS ===== */

/* Override the previous beam layer. All beams now share a source along the
   bottom edge and widen as they travel upward across the full viewport. */
#globeViewport::before{
    content:"" !important;
    position:fixed !important;
    left:0 !important;
    right:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:100vw !important;
    height:100vh !important;
    transform:none !important;
    z-index:0 !important;
    pointer-events:none !important;
    opacity:1 !important;
    filter:blur(8px) !important;

    /* Each conic gradient originates at the bottom and opens upward.
       Layered sources create a wide cinematic stage-light fan. */
    background:
        conic-gradient(from 336deg at 8% 100%,
            transparent 0deg 5deg,
            rgba(255,177,68,.04) 7deg,
            rgba(255,205,126,.20) 11deg,
            rgba(255,235,190,.38) 15deg,
            rgba(255,199,109,.14) 20deg,
            transparent 27deg 360deg),

        conic-gradient(from 342deg at 22% 100%,
            transparent 0deg 5deg,
            rgba(255,181,72,.04) 7deg,
            rgba(255,211,136,.23) 12deg,
            rgba(255,240,203,.43) 16deg,
            rgba(255,201,112,.15) 21deg,
            transparent 28deg 360deg),

        conic-gradient(from 348deg at 36% 100%,
            transparent 0deg 4deg,
            rgba(255,185,77,.04) 6deg,
            rgba(255,216,145,.24) 10deg,
            rgba(255,244,214,.45) 14deg,
            rgba(255,205,119,.16) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 354deg at 48% 100%,
            transparent 0deg 4deg,
            rgba(255,189,82,.04) 6deg,
            rgba(255,220,153,.25) 10deg,
            rgba(255,248,224,.48) 14deg,
            rgba(255,208,125,.17) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 6deg at 52% 100%,
            transparent 0deg 4deg,
            rgba(255,189,82,.04) 6deg,
            rgba(255,220,153,.25) 10deg,
            rgba(255,248,224,.48) 14deg,
            rgba(255,208,125,.17) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 12deg at 64% 100%,
            transparent 0deg 4deg,
            rgba(255,185,77,.04) 6deg,
            rgba(255,216,145,.24) 10deg,
            rgba(255,244,214,.45) 14deg,
            rgba(255,205,119,.16) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 18deg at 78% 100%,
            transparent 0deg 5deg,
            rgba(255,181,72,.04) 7deg,
            rgba(255,211,136,.23) 12deg,
            rgba(255,240,203,.43) 16deg,
            rgba(255,201,112,.15) 21deg,
            transparent 28deg 360deg),

        conic-gradient(from 24deg at 92% 100%,
            transparent 0deg 5deg,
            rgba(255,177,68,.04) 7deg,
            rgba(255,205,126,.20) 11deg,
            rgba(255,235,190,.38) 15deg,
            rgba(255,199,109,.14) 20deg,
            transparent 27deg 360deg) !important;

    /* Bright at the floor, softly fading only near the very top. */
    -webkit-mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 30%,
        rgba(0,0,0,.92) 60%,
        rgba(0,0,0,.48) 86%,
        transparent 100%) !important;
    mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 30%,
        rgba(0,0,0,.92) 60%,
        rgba(0,0,0,.48) 86%,
        transparent 100%) !important;
}

/* Warm source haze across the bottom edge makes the beam origins visible. */
#workPageWrapper::before{
    content:"";
    position:fixed;
    left:0;
    right:0;
    bottom:-5vh;
    height:30vh;
    pointer-events:none;
    z-index:0;
    background:
        radial-gradient(ellipse at 8% 100%, rgba(255,193,93,.20), transparent 27%),
        radial-gradient(ellipse at 24% 100%, rgba(255,212,136,.18), transparent 25%),
        radial-gradient(ellipse at 40% 100%, rgba(255,221,153,.16), transparent 24%),
        radial-gradient(ellipse at 60% 100%, rgba(255,221,153,.16), transparent 24%),
        radial-gradient(ellipse at 76% 100%, rgba(255,212,136,.18), transparent 25%),
        radial-gradient(ellipse at 92% 100%, rgba(255,193,93,.20), transparent 27%);
    filter:blur(18px);
}

/* Keep the lowered base ring and all interactive globe content above the beams. */
#globeViewport::after{z-index:2 !important;}
#luminousGlobe{z-index:1 !important;}
#globeScene{z-index:5 !important;}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport::before{
        width:100vw !important;
        height:100vh !important;
        top:0 !important;
        bottom:0 !important;
        filter:blur(6px) !important;
    }
}

/* ===== UNCROPPED FULL-SCREEN FAN BEAMS ===== */

/* #globeViewport clips overflow, so move the visual beam field beyond its
   horizontal bounds and compensate with a wider fixed canvas. This gives
   the outer-left and outer-right fans enough room to remain visible. */
#globeViewport::before{
    left:-30vw !important;
    right:auto !important;
    width:160vw !important;
    max-width:none !important;
    min-width:160vw !important;
    top:0 !important;
    bottom:0 !important;
    height:100vh !important;
    transform:none !important;
    transform-origin:50% 100% !important;
    overflow:visible !important;

    /* Shift the outer beam sources inward slightly while preserving the
       wide fan, preventing the left-most cone from terminating at x=0. */
    background:
        conic-gradient(from 338deg at 20% 100%,
            transparent 0deg 5deg,
            rgba(255,177,68,.04) 7deg,
            rgba(255,205,126,.20) 11deg,
            rgba(255,235,190,.38) 15deg,
            rgba(255,199,109,.14) 20deg,
            transparent 27deg 360deg),

        conic-gradient(from 344deg at 30% 100%,
            transparent 0deg 5deg,
            rgba(255,181,72,.04) 7deg,
            rgba(255,211,136,.23) 12deg,
            rgba(255,240,203,.43) 16deg,
            rgba(255,201,112,.15) 21deg,
            transparent 28deg 360deg),

        conic-gradient(from 350deg at 40% 100%,
            transparent 0deg 4deg,
            rgba(255,185,77,.04) 6deg,
            rgba(255,216,145,.24) 10deg,
            rgba(255,244,214,.45) 14deg,
            rgba(255,205,119,.16) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 356deg at 48% 100%,
            transparent 0deg 4deg,
            rgba(255,189,82,.04) 6deg,
            rgba(255,220,153,.25) 10deg,
            rgba(255,248,224,.48) 14deg,
            rgba(255,208,125,.17) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 4deg at 52% 100%,
            transparent 0deg 4deg,
            rgba(255,189,82,.04) 6deg,
            rgba(255,220,153,.25) 10deg,
            rgba(255,248,224,.48) 14deg,
            rgba(255,208,125,.17) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 10deg at 60% 100%,
            transparent 0deg 4deg,
            rgba(255,185,77,.04) 6deg,
            rgba(255,216,145,.24) 10deg,
            rgba(255,244,214,.45) 14deg,
            rgba(255,205,119,.16) 19deg,
            transparent 26deg 360deg),

        conic-gradient(from 16deg at 70% 100%,
            transparent 0deg 5deg,
            rgba(255,181,72,.04) 7deg,
            rgba(255,211,136,.23) 12deg,
            rgba(255,240,203,.43) 16deg,
            rgba(255,201,112,.15) 21deg,
            transparent 28deg 360deg),

        conic-gradient(from 22deg at 80% 100%,
            transparent 0deg 5deg,
            rgba(255,177,68,.04) 7deg,
            rgba(255,205,126,.20) 11deg,
            rgba(255,235,190,.38) 15deg,
            rgba(255,199,109,.14) 20deg,
            transparent 27deg 360deg) !important;
}

/* Ensure the page-level light field itself cannot clip horizontally. */
#workPageWrapper,
#workPageInnerWrapper{
    overflow:visible !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #globeViewport::before{
        left:-50vw !important;
        width:200vw !important;
        min-width:200vw !important;
    }
}

/* ===== CLEAN CENTER + NEVER-CROPPED FULL-SCREEN LIGHT FIELD ===== */

/* Remove the luminous globe decoration entirely. The project cards themselves
   define the sphere now, eliminating any remaining center circles/rings/glass
   edges that could read as artifacts. */
#luminousGlobe{
    display:none !important;
}
#atomicGlow{
    display:none !important;
}

/* The previous beam pseudo-element lived on #globeViewport, whose own clipping
   can cut the beam field. Disable it there. */
#globeViewport::before{
    content:none !important;
    display:none !important;
}

/* Build the beam field on the page wrapper instead. It is fixed to the browser
   viewport, oversized, and starts below the screen so no top-left clipping edge
   can become visible. */
#workPageWrapper::after{
    content:"";
    position:fixed;
    left:-35vw;
    top:-35vh;
    width:170vw;
    height:145vh;
    pointer-events:none;
    z-index:0;
    opacity:1;
    transform:none;
    transform-origin:50% 100%;
    filter:blur(10px);
    background:
        conic-gradient(from 337deg at 20% 100%,
            transparent 0 5deg,
            rgba(255,177,68,.03) 7deg,
            rgba(255,207,129,.20) 11deg,
            rgba(255,239,199,.40) 15deg,
            rgba(255,198,105,.12) 20deg,
            transparent 27deg 360deg),
        conic-gradient(from 343deg at 30% 100%,
            transparent 0 5deg,
            rgba(255,181,72,.03) 7deg,
            rgba(255,213,140,.22) 12deg,
            rgba(255,242,207,.43) 16deg,
            rgba(255,201,111,.13) 21deg,
            transparent 28deg 360deg),
        conic-gradient(from 349deg at 40% 100%,
            transparent 0 4deg,
            rgba(255,186,78,.03) 6deg,
            rgba(255,219,149,.24) 10deg,
            rgba(255,246,218,.46) 14deg,
            rgba(255,205,117,.14) 19deg,
            transparent 26deg 360deg),
        conic-gradient(from 355deg at 48% 100%,
            transparent 0 4deg,
            rgba(255,190,83,.03) 6deg,
            rgba(255,224,158,.26) 10deg,
            rgba(255,250,228,.50) 14deg,
            rgba(255,210,126,.15) 19deg,
            transparent 26deg 360deg),
        conic-gradient(from 5deg at 52% 100%,
            transparent 0 4deg,
            rgba(255,190,83,.03) 6deg,
            rgba(255,224,158,.26) 10deg,
            rgba(255,250,228,.50) 14deg,
            rgba(255,210,126,.15) 19deg,
            transparent 26deg 360deg),
        conic-gradient(from 11deg at 60% 100%,
            transparent 0 4deg,
            rgba(255,186,78,.03) 6deg,
            rgba(255,219,149,.24) 10deg,
            rgba(255,246,218,.46) 14deg,
            rgba(255,205,117,.14) 19deg,
            transparent 26deg 360deg),
        conic-gradient(from 17deg at 70% 100%,
            transparent 0 5deg,
            rgba(255,181,72,.03) 7deg,
            rgba(255,213,140,.22) 12deg,
            rgba(255,242,207,.43) 16deg,
            rgba(255,201,111,.13) 21deg,
            transparent 28deg 360deg),
        conic-gradient(from 23deg at 80% 100%,
            transparent 0 5deg,
            rgba(255,177,68,.03) 7deg,
            rgba(255,207,129,.20) 11deg,
            rgba(255,239,199,.40) 15deg,
            rgba(255,198,105,.12) 20deg,
            transparent 27deg 360deg);
    -webkit-mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 35%,
        rgba(0,0,0,.94) 65%,
        rgba(0,0,0,.62) 84%,
        rgba(0,0,0,.18) 96%,
        transparent 100%);
    mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,1) 35%,
        rgba(0,0,0,.94) 65%,
        rgba(0,0,0,.62) 84%,
        rgba(0,0,0,.18) 96%,
        transparent 100%);
}

/* Preserve the separate low base ring. */
#globeViewport::after{
    z-index:2 !important;
}

/* All project imagery stays cleanly above the lighting. */
#globeScene{
    z-index:5 !important;
}

/* Avoid accidental horizontal clipping from wrapper geometry. */
#workPageWrapper,
#workPageInnerWrapper{
    overflow:visible !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #workPageWrapper::after{
        left:-60vw;
        top:-35vh;
        width:220vw;
        height:145vh;
        filter:blur(8px);
    }
}

/* ===== BACKLIT STAGE — LIGHTS BEHIND THE ARTWORK ===== */

/* Disable older page/globe beam layers so only this controlled backlight remains. */
#globeViewport::before,
#workPageWrapper::after{
    content:none !important;
    display:none !important;
}

/* Create the warm fan lights on the work-page background layer.
   This layer is deliberately behind the globe/cards and cannot wash over artwork. */
#workPageInnerWrapper::before{
    content:"";
    position:fixed;
    left:-30vw;
    top:-28vh;
    width:160vw;
    height:138vh;
    pointer-events:none;
    z-index:0;
    filter:blur(9px);
    opacity:1;
    background:
        conic-gradient(from 337deg at 18% 100%,
            transparent 0 5deg, rgba(255,181,74,.04) 7deg,
            rgba(255,211,135,.24) 11deg, rgba(255,241,205,.44) 15deg,
            rgba(255,197,102,.12) 20deg, transparent 27deg 360deg),
        conic-gradient(from 344deg at 29% 100%,
            transparent 0 5deg, rgba(255,184,77,.04) 7deg,
            rgba(255,216,143,.25) 12deg, rgba(255,245,214,.46) 16deg,
            rgba(255,201,109,.13) 21deg, transparent 28deg 360deg),
        conic-gradient(from 350deg at 40% 100%,
            transparent 0 4deg, rgba(255,188,81,.04) 6deg,
            rgba(255,221,151,.27) 10deg, rgba(255,248,222,.49) 14deg,
            rgba(255,205,116,.14) 19deg, transparent 26deg 360deg),
        conic-gradient(from 356deg at 48% 100%,
            transparent 0 4deg, rgba(255,191,84,.04) 6deg,
            rgba(255,225,159,.28) 10deg, rgba(255,251,230,.52) 14deg,
            rgba(255,210,124,.15) 19deg, transparent 26deg 360deg),
        conic-gradient(from 4deg at 52% 100%,
            transparent 0 4deg, rgba(255,191,84,.04) 6deg,
            rgba(255,225,159,.28) 10deg, rgba(255,251,230,.52) 14deg,
            rgba(255,210,124,.15) 19deg, transparent 26deg 360deg),
        conic-gradient(from 10deg at 60% 100%,
            transparent 0 4deg, rgba(255,188,81,.04) 6deg,
            rgba(255,221,151,.27) 10deg, rgba(255,248,222,.49) 14deg,
            rgba(255,205,116,.14) 19deg, transparent 26deg 360deg),
        conic-gradient(from 16deg at 71% 100%,
            transparent 0 5deg, rgba(255,184,77,.04) 7deg,
            rgba(255,216,143,.25) 12deg, rgba(255,245,214,.46) 16deg,
            rgba(255,201,109,.13) 21deg, transparent 28deg 360deg),
        conic-gradient(from 23deg at 82% 100%,
            transparent 0 5deg, rgba(255,181,74,.04) 7deg,
            rgba(255,211,135,.24) 11deg, rgba(255,241,205,.44) 15deg,
            rgba(255,197,102,.12) 20deg, transparent 27deg 360deg);
    -webkit-mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%, rgba(0,0,0,1) 36%,
        rgba(0,0,0,.92) 66%, rgba(0,0,0,.55) 87%, transparent 100%);
    mask-image:linear-gradient(to top,
        rgba(0,0,0,1) 0%, rgba(0,0,0,1) 36%,
        rgba(0,0,0,.92) 66%, rgba(0,0,0,.55) 87%, transparent 100%);
}

/* Dark spherical occlusion: sits between the lights and artwork.
   It blocks beams from visually passing through the center of the project globe,
   producing the backlit silhouette seen in the approved reference. */
#workPageInnerWrapper::after{
    content:"";
    position:fixed;
    left:50%;
    top:50%;
    width:min(68vw,800px);
    aspect-ratio:1;
    transform:translate(-50%,-50%);
    border-radius:50%;
    pointer-events:none;
    z-index:1;
    background:radial-gradient(circle at center,
        rgba(0,0,0,.96) 0%,
        rgba(0,0,0,.94) 73%,
        rgba(0,0,0,.82) 84%,
        rgba(0,0,0,.30) 94%,
        transparent 100%);
    box-shadow:0 0 50px rgba(255,190,89,.09);
}

/* Existing low floor ring remains between backlight and artwork. */
#globeViewport::after{
    z-index:2 !important;
}

/* Reflection is above the background lights but below the live artwork. */
#globeReflection{
    z-index:3 !important;
}

/* The live project sphere is always above every lighting layer. */
#globeScene{
    position:relative !important;
    z-index:10 !important;
    isolation:isolate;
}
#globeScene .workItem,
#globeScene .workImage{
    position:absolute;
    z-index:11;
}

/* UI remains above the stage. */
#globePrev,
#globeNext,
#globeHint{
    z-index:20 !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #workPageInnerWrapper::before{
        left:-60vw;
        top:-28vh;
        width:220vw;
        height:138vh;
        filter:blur(7px);
    }
    #workPageInnerWrapper::after{
        width:92vw;
    }
}

/* ===== RESTORE 3D GLOBE INTERACTION / KEEP BACKLIGHT ===== */

/* Critical: #globeScene is the zero-size 3D transform origin. Do not change
   its positioning model or isolate it; both interfere with the existing
   rotateX/rotateY + preserve-3d sphere mechanics. */
#globeScene{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:0 !important;
    height:0 !important;
    z-index:10 !important;
    isolation:auto !important;
    transform-style:preserve-3d !important;
    pointer-events:auto !important;
}

/* Undo the previous blanket card/image positioning override. The existing
   project-card rules own their 3D placement and hit areas. */
#globeScene .workItem{
    z-index:auto !important;
    pointer-events:auto !important;
    transform-style:preserve-3d !important;
}
#globeScene .workImage{
    z-index:auto !important;
    pointer-events:auto !important;
}

/* Lighting/occlusion are visual-only and stay below the live 3D scene. */
#workPageInnerWrapper::before{ z-index:0 !important; pointer-events:none !important; }
#workPageInnerWrapper::after{ z-index:1 !important; pointer-events:none !important; }
#globeViewport::after{ z-index:2 !important; pointer-events:none !important; }
#globeReflection{ z-index:3 !important; pointer-events:none !important; }

/* The viewport remains the drag/click surface above the decorative lighting. */
#globeViewport{
    pointer-events:auto !important;
}

/* ===== REMOVE BLACK CENTER OCCLUSION ===== */

/* The light beams already sit behind the 3D project thumbnails, so the
   spherical black occlusion mask is no longer necessary. */
#workPageInnerWrapper::after{
    content:none !important;
    display:none !important;
}

/* Keep the lighting layer safely behind the live globe. */
#workPageInnerWrapper::before{
    z-index:0 !important;
    pointer-events:none !important;
}
#globeScene{
    z-index:10 !important;
}

/* Smaller desktop globe */
@media (min-width:1000px){#globeScene{scale:1 !important;}}

/* ===== CORRECTED DESKTOP SPHERE SIZE ===== */
/* Previous desktop override forced scale:1 and visually enlarged the sphere.
   Keep the existing 3D radius/geometry and make the rendered desktop sphere
   modestly smaller without affecting tablet/mobile. */
@media (min-width:1000px){
    #globeScene{
        scale:.90 !important;
        transform-origin:50% 50% !important;
    }
}

/* ===== SUBSTANTIALLY SMALLER DESKTOP SPHERE ===== */
@media (min-width:1000px){
    #globeScene{
        scale:.88 !important;
        transform-origin:50% 50% !important;
    }
}

/* ===== RESTORE SMALLER DESKTOP THUMBNAILS ===== */
@media (min-width:1000px){
    #globeScene .workItem,
    #globeScene .workItem.globeReady{
        width:264px !important;
        height:220px !important;
        left:-132px !important;
        top:-110px !important;
        aspect-ratio:6 / 5 !important;
    }

    #globeScene .workImage,
    #globeScene .workImage.is-visible,
    #globeScene .workImage.intro-done{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }
}

/* ===== SMALLER NON-OVERLAPPING DESKTOP THUMBNAILS ===== */
@media (min-width:1000px){
    #globeScene .workItem,
    #globeScene .workItem.globeReady{
        width:228px !important;
        height:190px !important;
        left:-114px !important;
        top:-95px !important;
        aspect-ratio:6 / 5 !important;
    }

    #globeScene .workImage,
    #globeScene .workImage.is-visible,
    #globeScene .workImage.intro-done{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }
}

/* ===== USER-SUPPLIED FULLSCREEN WORK BACKGROUND ===== */

/* Remove all previously generated lighting and ring effects. */
#globeViewport::before,
#globeViewport::after,
#workPageWrapper::before,
#workPageWrapper::after,
#workPageInnerWrapper::before,
#workPageInnerWrapper::after,
#globeReflection::before,
#luminousGlobe,
#atomicGlow{
    content:none !important;
    display:none !important;
}

/* Use the supplied image as the full-screen backdrop behind the globe.
   Bottom anchoring keeps the row of lights/floor aligned to the viewport base. */
#workPageWrapper{
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-size:cover !important;
    background-position:center bottom !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
    background-color:#061b22 !important;
}

/* Make sure inner work containers do not paint over the supplied image. */
#workPageInnerWrapper,
#globeViewport{
    background:transparent !important;
}

/* Preserve the live 3D artwork above the background image. */
#globeScene{
    z-index:10 !important;
}

/* REMOVE X-AXIS MIRROR */
#globeReflection,#globeReflectionScene,#globeReflection .reflectionCard,#globeReflection::before{display:none!important;visibility:hidden!important;opacity:0!important;}

/* ===== CENTER LIVE LAWRENCIUM LOGO ===== */
#logo{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    box-sizing:border-box !important;
    padding:0 !important;
    margin:0 !important;
    line-height:1 !important;
}

/* ===== CENTER LAWRENCIUM LOGO IN SCREEN — DESKTOP + TABLET ===== */
@media (min-width:601px){
    #logo{
        position:fixed !important;
        left:50% !important;
        top:58% !important;
        right:auto !important;
        bottom:auto !important;
        transform:translate(-50%,-50%) !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        text-align:center !important;
        margin:0 !important;
        z-index:1000 !important;
    }
}

/* ===== FULLSCREEN VIDEO BACKGROUND ===== */
#workPageWrapper{
    background-image:none !important;
    background-color:#061b22 !important;
    overflow:hidden !important;
}

#workBackgroundVideo{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    width:100vw !important;
    height:100vh !important;
    object-fit:cover !important;
    object-position:center bottom !important;
    z-index:0 !important;
    pointer-events:none !important;
}

#workPageInnerWrapper{
    position:relative !important;
    z-index:1 !important;
    background:transparent !important;
}


/* ===== RESTORE SUPPLIED STATIC WORK BACKGROUND ===== */
#workBackgroundVideo{
    display:none !important;
}

#workPageWrapper{
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-size:cover !important;
    background-position:center bottom !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
    background-color:#061b22 !important;
}

#workPageInnerWrapper,
#globeViewport{
    background:transparent !important;
}


/* ===== ABOUT PAGE — CENTERED WHITE CONTENT ===== */
#aboutPageWrapper{
    color:#ffffff !important;
}

#aboutPageInnerWrapper{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    box-sizing:border-box !important;
    min-height:calc(100vh - 78px) !important;
    padding:40px 24px !important;
}

#aboutHeading,
#aboutBodyText{
    width:min(760px, 90vw) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    text-align:center !important;
    color:#ffffff !important;
}

#aboutHeading,
#aboutBodyText,
#aboutBodyText *,
.aboutBodyFont{
    color:#ffffff !important;
}

#clientsWrapper{
    margin-left:auto !important;
    margin-right:auto !important;
}

/* ===== ABOUT PAGE — ALIGN CONTENT TO BACKGROUND COMPOSITION ===== */
#aboutPageWrapper{
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-size:cover !important;
    background-position:center bottom !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
    background-color:#061b22 !important;
    overflow:hidden !important;
}
#aboutPageInnerWrapper{
    position:absolute !important;
    inset:78px 0 0 0 !important;
    width:100% !important;
    height:calc(100vh - 78px) !important;
    min-height:0 !important;
    padding:clamp(70px,13vh,80px) 24px 0 !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    text-align:center !important;
}
#aboutHeading{
    width:min(760px,90vw) !important;
    margin:0 auto 18px !important;
    padding:0 !important;
    color:#fff !important;
    text-align:center !important;
}
#aboutBodyText{
    width:min(680px,86vw) !important;
    margin:0 auto !important;
    padding:0 !important;
    color:#fff !important;
    text-align:center !important;
    line-height:1.55 !important;
}
#aboutBodyText *, .aboutBodyFont{ color:#fff !important; }
#clientsWrapper{
    width:min(760px,92vw) !important;
    height:auto !important;
    margin:24px auto 0 !important;
    padding:0 !important;
    left:auto !important;
    top:auto !important;
}
#clientsInnerWrapper{
    width:100% !important;
    margin:0 auto !important;
    padding-bottom:0 !important;
}
@media only screen and (max-width:768px), only screen and (max-device-width:768px){
    #aboutPageInnerWrapper{
        inset:78px 0 0 0 !important;
        height:calc(100vh - 78px) !important;
        padding:clamp(42px,8vh,80px) 20px 24px !important;
        overflow-y:auto !important;
    }
    #aboutHeading{width:min(92vw,620px) !important;margin-bottom:14px !important;}
    #aboutBodyText{width:min(88vw,560px) !important;padding:0 !important;}
    #clientsWrapper{width:min(92vw,620px) !important;margin-top:20px !important;}
}

/* ===== WORK PAGE — VIDEO BACKGROUND ===== */
#workPageWrapper{
    background-image:none !important;
    background-color:#061b22 !important;
    overflow:hidden !important;
}
#workBackgroundVideo{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100vh !important;
    object-fit:cover !important;
    object-position:center bottom !important;
    z-index:0 !important;
    pointer-events:none !important;
}
#workPageInnerWrapper{
    z-index:1 !important;
    background:transparent !important;
}

/* DESKTOP — SLIGHTLY SMALLER PROJECT SPHERE */
@media (min-width:1000px){#globeScene{scale:.82 !important;transform-origin:50% 50% !important;}}

/* ===== WORK PAGE — CENTER BACKGROUND VIDEO VERTICALLY ===== */
#workBackgroundVideo{
    object-position:center center !important;
}

/* Remove Work-page drag hint */
#globeHint{display:none !important;}


/* ===== ABOUT PAGE — MOBILE HORIZONTAL OVERFLOW FIX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #aboutPageWrapper{
        width:100% !important;
        max-width:100vw !important;
        overflow-x:hidden !important;
    }

    #aboutPageInnerWrapper{
        left:0 !important;
        right:0 !important;
        width:100% !important;
        max-width:100vw !important;
        box-sizing:border-box !important;
        overflow-x:hidden !important;
    }

    #aboutHeading,
    #aboutBodyText,
    #clientsWrapper,
    #clientsInnerWrapper{
        box-sizing:border-box !important;
        max-width:100% !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }

    #aboutHeading,
    #aboutBodyText{
        width:100% !important;
    }

    #clientsWrapper,
    #clientsInnerWrapper{
        width:100% !important;
        left:auto !important;
        right:auto !important;
        transform:none !important;
    }
}

/* ===== ABOUT PAGE — SMOOTH SCROLL ===== */
#aboutPageWrapper,
#aboutPageInnerWrapper{
    scroll-behavior:smooth !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #aboutPageInnerWrapper{
        -webkit-overflow-scrolling:touch;
        scroll-behavior:smooth !important;
    }
}


/* ===== LAWRENCIUM LIVE LOGO — ATMOSPHERIC ===== */
@font-face{
    font-family:"aAtmospheric";
    src:url("fonts/aAtmospheric.ttf?v=1") format("truetype");
    font-weight:normal;
    font-style:normal;
    font-display:swap;
}

#logo{
    font-family:"aAtmospheric", sans-serif !important;
    font-weight:normal !important;
    font-variation-settings:normal !important;
}

/* ===== CONTACT PAGE — CINEMATIC REVAMP ===== */
#contactPageWrapper{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:radial-gradient(circle at 75% 72%,rgba(16,78,94,.28),transparent 34%),linear-gradient(135deg,#02090c 0%,#06171d 52%,#031014 100%)!important;color:#fff;}
#contactPageWrapper::before{content:"";position:absolute;inset:78px 0 0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:25vw 100%;opacity:.35;}
#contactPageInnerWrapper{position:absolute!important;inset:78px 0 0!important;top:78px!important;width:100%!important;height:calc(100vh - 78px)!important;padding:clamp(56px,8vh,100px) clamp(32px,7vw,110px) 50px!important;box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:clamp(50px,8vw,130px);align-items:center;overflow-y:auto;overflow-x:hidden;}
#contactImage{display:none!important;}
#contactIntro{max-width:680px;}
.contactEyebrow{margin-bottom:22px;font-family:"grtsk-vf",sans-serif;font-size:12px;letter-spacing:.2em;color:rgba(255,255,255,.56);}
#contactHeading{margin:0!important;padding:0!important;font-family:"grtsk-vf",sans-serif!important;font-size:clamp(58px,7vw,112px)!important;line-height:.86!important;letter-spacing:-.055em;font-weight:700;color:#fff!important;}
#contactLead{width:min(560px,100%);margin:30px 0 34px;font-family:"grtsk-vf",sans-serif;font-size:clamp(16px,1.35vw,20px);line-height:1.55;color:rgba(255,255,255,.72);}
#contactDirect{display:flex;flex-wrap:wrap;gap:10px 24px;font-family:"grtsk-vf",sans-serif;font-size:13px;letter-spacing:.04em;}
#contactDirect a,#contactDirect span{color:#fff;text-decoration:none;}
#contactDirect a{border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:3px;}
#contactDirect a:hover{border-color:#fff;}
#contactForm{width:100%;padding:clamp(26px,3vw,42px);box-sizing:border-box;border:1px solid rgba(255,255,255,.14);background:rgba(2,12,16,.5);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.contactFieldRow{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.contactField{display:block;margin-bottom:22px;font-family:"grtsk-vf",sans-serif;}
.contactField>span{display:flex;justify-content:space-between;margin-bottom:9px;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.62);}
.contactField em{font-style:normal;color:rgba(255,255,255,.34);}
.contactField input,.contactField textarea{display:block;width:100%;box-sizing:border-box;border:0;border-bottom:1px solid rgba(255,255,255,.28);border-radius:0;outline:0;padding:9px 0 11px;background:transparent;color:#fff;font:400 16px/1.4 "grtsk-vf",sans-serif;resize:vertical;}
.contactField textarea{min-height:118px;}
.contactField input:focus,.contactField textarea:focus{border-bottom-color:#fff;}
#contactSubmit{width:100%;min-height:54px;border:1px solid rgba(255,255,255,.82);background:#fff;color:#06151a;display:flex;align-items:center;justify-content:space-between;padding:0 18px;cursor:pointer;font:700 12px/1 "grtsk-vf",sans-serif;letter-spacing:.14em;transition:background .2s ease,color .2s ease;}
#contactSubmit:hover{background:transparent;color:#fff;}
#contactFormNote{margin:12px 0 0;font:400 10px/1.45 "grtsk-vf",sans-serif;color:rgba(255,255,255,.38);}
@media(max-width:900px){#contactPageInnerWrapper{display:block!important;padding:54px 24px 44px!important;-webkit-overflow-scrolling:touch;scroll-behavior:smooth;}#contactIntro{margin:0 auto 44px;}#contactHeading{font-size:clamp(54px,14vw,86px)!important;}#contactForm{max-width:680px;margin:0 auto;}}
@media(max-width:600px){#contactPageWrapper{overflow-x:hidden!important;}#contactPageInnerWrapper{padding:40px 20px 36px!important;max-width:100vw!important;overflow-x:hidden!important;}.contactFieldRow{grid-template-columns:1fr;gap:0;}#contactHeading{font-size:clamp(48px,15vw,70px)!important;}#contactLead{margin-top:24px;}#contactDirect{display:grid;gap:12px;}#contactForm{padding:24px 20px;}}

/* ===== DIRECT CONTACT FORM STATUS ===== */
.contactTrap{
    position:absolute !important;
    left:-10000px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}
#contactFormStatus{
    min-height:18px;
    margin:12px 0 0;
    font:500 11px/1.45 "grtsk-vf",sans-serif;
    letter-spacing:.02em;
    color:rgba(255,255,255,.72);
}
#contactFormStatus.isSuccess{color:#fff;}
#contactFormStatus.isError{color:#fff;}
#contactSubmit:disabled{
    cursor:wait;
    opacity:.62;
}


/* ===== CONTACT MOBILE TEXT / GLYPH FIX ===== */
#contactHeading,
#contactLead,
.contactEyebrow,
#contactDirect,
#contactForm,
#contactForm input,
#contactForm textarea,
#contactForm button{
    font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
}

@media (max-width:600px){
    #contactHeading{
        font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
        font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
        font-feature-settings:normal !important;
        text-rendering:optimizeLegibility;
    }
}


/* ===== CONTACT FORM — FINAL TEXT ALIGNMENT / BUTTON GLYPH FIX ===== */
#contactFormStatus,
#contactFormNote{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    text-align:center !important;
    font-style:normal !important;
    transform:none !important;
    -webkit-transform:none !important;
}

#contactSubmit .contactButtonArrow{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-family:Arial, Helvetica, sans-serif !important;
    font-style:normal !important;
    font-weight:700 !important;
    font-size:18px !important;
    line-height:1 !important;
    transform:none !important;
    -webkit-transform:none !important;
}


/* ===== LIVE LOGO — MATCH CONTACT HEADER FONT ===== */
#logo{
    font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
    font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
    font-weight:700 !important;
    font-style:normal !important;
}


/* ===== CONTACT FORM — FORCE UPRIGHT TYPE ===== */
#contactSubmit,
#contactSubmit span,
#contactFormNote,
#contactFormStatus{
    font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-variation-settings:'wdth' 100, 'wght' 500, 'slnt' 0 !important;
    transform:none !important;
    -webkit-transform:none !important;
}

#contactSubmit,
#contactSubmit span{
    font-weight:700 !important;
    font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
}

#contactFormNote,
#contactFormStatus{
    font-weight:400 !important;
    font-variation-settings:'wdth' 100, 'wght' 400, 'slnt' 0 !important;
}


/* ===== CONTACT FORM — FORCE ALL FORM TYPE UPRIGHT ===== */
#contactForm,
#contactForm label,
#contactForm .contactField,
#contactForm .contactField > span,
#contactForm .contactField em,
#contactForm input,
#contactForm textarea,
#contactForm input::placeholder,
#contactForm textarea::placeholder,
#contactSubmit,
#contactSubmit span,
#contactFormNote,
#contactFormStatus,
#contactFormStatus.isSuccess,
#contactFormStatus.isError{
    font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-variation-settings:'wdth' 100, 'wght' 400, 'slnt' 0 !important;
    transform:none !important;
    -webkit-transform:none !important;
}

#contactSubmit,
#contactSubmit span{
    font-weight:700 !important;
    font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
}

#contactForm input,
#contactForm textarea{
    font-weight:400 !important;
    font-variation-settings:'wdth' 100, 'wght' 400, 'slnt' 0 !important;
}

#contactFormStatus,
#contactFormStatus.isSuccess,
#contactFormStatus.isError,
#contactFormNote{
    font-weight:400 !important;
    font-variation-settings:'wdth' 100, 'wght' 400, 'slnt' 0 !important;
}


/* ===== ABOUT HEADING — MATCH CONTACT HERO TYPE ===== */
#aboutHeading{
    font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
    font-size:clamp(58px,7vw,112px) !important;
    line-height:.86 !important;
    letter-spacing:-.055em !important;
    font-weight:700 !important;
    font-style:normal !important;
    font-synthesis:none !important;
    font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
    color:#fff !important;
}

@media (max-width:900px){
    #aboutHeading{
        font-size:clamp(54px,14vw,86px) !important;
    }
}

@media (max-width:600px){
    #aboutHeading{
        font-size:clamp(48px,15vw,70px) !important;
    }
}


/* ===== LIVE LAWRENCIUM LOGO — ITALIANNO ===== */
#logo{
    font-family:"Italianno", cursive !important;
    font-style:normal !important;
    font-weight:400 !important;
    font-variation-settings:normal !important;
    letter-spacing:.01em !important;
    line-height:1 !important;
    text-transform:none !important;
}


/* ===== LIVE LAWRENCIUM LOGO — THINNER / LARGER / TITLE CASE ===== */
#logo{
    font-family:"Italianno", cursive !important;
    font-style:normal !important;
    font-weight:400 !important;
    font-synthesis:none !important;
    font-variation-settings:normal !important;
    font-size:clamp(76px,9vw,150px) !important;
    letter-spacing:0 !important;
    line-height:.9 !important;
    text-transform:none !important;
}

@media (max-width:600px){
    #logo{
        font-size:clamp(64px,21vw,100px) !important;
    }
}


/* ===== LIVE LAWRENCIUM LOGO — 80PX ===== */
#logo{
    font-size:80px !important;
}

@media (max-width:600px){
    #logo{
        font-size:80px !important;
    }
}


/* ===== MOBILE LOGO — SLIGHTLY SMALLER ===== */
@media (max-width:600px){
    #logo{
        font-size:68px !important;
    }
}

/* ===== ABOUT PAGE — INCREASE VERTICAL RHYTHM ===== */
#aboutHeading{
    margin-bottom:32px !important;
}

#aboutBodyText{
    margin-bottom:36px !important;
}

#clientsWrapper{
    margin-top:36px !important;
}

@media (max-width:768px){
    #aboutHeading{
        margin-bottom:26px !important;
    }

    #aboutBodyText{
        margin-bottom:30px !important;
    }

    #clientsWrapper{
        margin-top:30px !important;
    }
}


/* ===== SUPPLIED IMAGE LOGO ===== */
#logo{
    width:180px !important;
    height:auto !important;
    max-width:none !important;
    font-size:0 !important;
    object-fit:contain !important;
}

@media (max-width:600px){
    #logo{
        width:150px !important;
        height:auto !important;
        font-size:0 !important;
    }
}


/* ===== IMAGE LOGO — PREVENT HEADER CLIPPING ===== */
#header,
#headerWrapper,
#headerInnerWrapper{
    overflow:visible !important;
}

#logo{
    overflow:visible !important;
    z-index:1100 !important;
}


/* ===== CONTEXTUAL IMAGE LOGO PLACEMENT ===== */

/* All pages except Work: logo remains fully inside the header. */
body:not(.page-work) #header,
body:not(.page-work) #headerWrapper,
body:not(.page-work) #headerInnerWrapper{
    overflow:hidden !important;
}
body:not(.page-work) #logo{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:150px !important;
    height:auto !important;
    max-height:62px !important;
    object-fit:contain !important;
    transform:translate(-50%,-50%) !important;
    z-index:1100 !important;
}

/* Work page: larger logo in upper-left, just below the 78px header. */
body.page-work #header,
body.page-work #headerWrapper,
body.page-work #headerInnerWrapper{
    overflow:visible !important;
}
body.page-work #logo{
    position:fixed !important;
    left:28px !important;
    top:94px !important;
    width:210px !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    transform:none !important;
    z-index:1100 !important;
}

@media (max-width:600px){
    body:not(.page-work) #logo{
        width:128px !important;
        max-height:56px !important;
    }
    body.page-work #logo{
        left:18px !important;
        top:90px !important;
        width:175px !important;
        max-height:none !important;
    }
}


/* ===== WORK PAGE — SMALLER MOBILE LOGO ===== */
@media (max-width:600px){
    body.page-work #logo{
        width:150px !important;
    }
}


/* ===== WORK PAGE — DRAG TO EXPLORE IMAGE ===== */
#workDragHint{
    display:none;
}

body.page-work #workDragHint{
    display:block;
    position:fixed;
    top:94px;
    right:28px;
    width:190px;
    height:auto;
    z-index:1100;
    pointer-events:none;
    user-select:none;
    -webkit-user-select:none;
}

/* Aligns vertically with the Work-page logo. */
@media (max-width:600px){
    body.page-work #workDragHint{
        top:90px;
        right:18px;
        width:132px;
    }
}


/* ===== WORK PAGE — LOWER MOBILE DRAG HINT ===== */
@media (max-width:600px){
    body.page-work #workDragHint{
        top:125px !important;
    }
}


/* ===== MOBILE NAV — RIGHT-ALIGNED TRIGGER + TOPMOST OPEN MENU ===== */
@media (max-width:600px){

    /* Hamburger / mobile menu trigger */
    #mobileMenuButton,
    #mobileMenuIcon,
    #hamburgerMenu,
    #mobileMenu,
    .mobileMenuButton,
    .mobileMenuIcon,
    .hamburgerMenu{
        left:auto !important;
        right:20px !important;
    }

    /* Keep the trigger above the page artwork as well. */
    #mobileMenuButton,
    #mobileMenuIcon,
    #hamburgerMenu,
    .mobileMenuButton,
    .mobileMenuIcon,
    .hamburgerMenu{
        z-index:30002 !important;
    }

    /* Opened mobile navigation must sit above logo, drag hint, globe and video UI. */
    #mobileMenuWrapper,
    #mobileMenuContainer,
    #mobileMenuItems,
    #mobileMenuOpen,
    .mobileMenuWrapper,
    .mobileMenuContainer,
    .mobileMenuItems,
    .mobileMenuOpen{
        position:fixed !important;
        z-index:30000 !important;
        isolation:isolate !important;
    }
}


/* ===== MOBILE ICON WRAPPER — FORCE RIGHT SIDE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #mobileIconWrapper{
        position:fixed !important;
        left:auto !important;
        right:20px !important;
        margin-left:0 !important;
        margin-right:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
        z-index:30002 !important;
    }

    #mobileMenuWrapper,
    #mobileMenuInnerWrapper{
        z-index:30000 !important;
    }
}

/* ===== DESKTOP WORK — CENTER GRAPHICS BETWEEN EDGES + GLOBE ===== */
@media (min-width:1000px){
    body.page-work #logo{
        left:12.5vw !important;
        right:auto !important;
        transform:translateX(-50%) !important;
    }
    body.page-work #workDragHint{
        left:auto !important;
        right:12.5vw !important;
        transform:translateX(50%) !important;
    }
}


/* ===== WORK PAGE — CENTER DESKTOP MENU + TRANSPARENT HEADER ===== */
@media (min-width:1001px){
    body.page-work #menuWrapper{
        left:50% !important;
        right:auto !important;
        transform:translateX(-50%) !important;
    }

    body.page-work #headerWrapper{
        background:transparent !important;
        background-color:transparent !important;
        border-bottom:none !important;
        backdrop-filter:none !important;
        -webkit-backdrop-filter:none !important;
    }
}


/* ===== WORK PAGE — LOWER DESKTOP GLOBE ===== */
@media (min-width:1001px){
    body.page-work #globeViewport{
        top:50% !important;
    }
}


/* ===== WORK PAGE — RESPONSIVE SPHERE NAV PLACEMENT ===== */

/* Desktop: center each arrow in the side space, matching the logo / drag graphic axis. */
@media (min-width:1001px){
    body.page-work #globePrev{
        left:12.5vw !important;
        right:auto !important;
        top:50% !important;
        bottom:auto !important;
        transform:translate(-50%,-50%) !important;
    }

    body.page-work #globeNext{
        left:auto !important;
        right:12.5vw !important;
        top:50% !important;
        bottom:auto !important;
        transform:translate(50%,-50%) !important;
    }

    body.page-work #globePrev:hover{
        transform:translate(-50%,-50%) scale(1.07) !important;
    }

    body.page-work #globeNext:hover{
        transform:translate(50%,-50%) scale(1.07) !important;
    }
}

/* Mobile: restore the nav arrows and anchor them along the bottom. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        display:block !important;
        position:absolute !important;
        top:auto !important;
        bottom:20px !important;
        width:46px !important;
        height:46px !important;
        z-index:2500 !important;
        transform:none !important;
    }

    body.page-work #globePrev{
        left:20px !important;
        right:auto !important;
    }

    body.page-work #globeNext{
        left:auto !important;
        right:20px !important;
    }

    body.page-work #globePrev:hover,
    body.page-work #globeNext:hover{
        transform:none !important;
    }
}


/* ===== TABLET — ANCHOR HAMBURGER TO RIGHT ===== */
@media only screen and (min-width:601px) and (max-width:1000px),
       only screen and (min-device-width:601px) and (max-device-width:1000px){
    #mobileIconWrapper{
        position:fixed !important;
        left:auto !important;
        right:20px !important;
        margin-left:0 !important;
        margin-right:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
        z-index:30002 !important;
    }
}


/* ===== WORK PAGE ONLY — LOWER DESKTOP MENU 12PX ===== */
@media (min-width:1001px){
    body.page-work #menuWrapper{
        top:41px !important;
    }
}


/* ===== MOBILE WORK — RAISE SPHERE NAV ARROWS 20PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        bottom:40px !important;
    }
}


/* ===== MOBILE WORK — CENTER NAV BETWEEN GLOBE BOTTOM + PAGE BOTTOM ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        /*
         * Mobile globe viewport:
         * top:47%, height:calc(100vh - 78px).
         * Place the 46px buttons halfway between its bottom edge
         * and the bottom of the Work page.
         */
        top:calc(73.5% + 19.5px) !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev:hover,
    body.page-work #globeNext:hover{
        transform:translateY(-50%) !important;
    }
}


/* ===== WORK PAGE — CONTINUOUS CLIENT LOGO MARQUEE ===== */
#workClientMarquee{
    display:none;
}

body.page-work #workClientMarquee{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:10px;
    height:48px;
    overflow:hidden;
    z-index:1200;
    pointer-events:none;
    -webkit-mask-image:linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image:linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

body.page-work .workClientMarqueeTrack{
    display:flex;
    width:max-content;
    height:100%;
    align-items:center;
    animation:workClientLogoScroll 38s linear infinite;
    will-change:transform;
}

body.page-work .workClientLogoSet{
    display:flex;
    flex-shrink:0;
    align-items:center;
    gap:52px;
    padding-right:52px;
}

body.page-work .workClientLogo{
    display:block;
    width:auto;
    height:28px;
    max-width:115px;
    object-fit:contain;
    opacity:.72;
    filter:brightness(0) invert(1);
}

@keyframes workClientLogoScroll{
    from{ transform:translate3d(0,0,0); }
    to{ transform:translate3d(-50%,0,0); }
}

@media (max-width:1000px){
    body.page-work #workClientMarquee{
        bottom:8px;
        height:42px;
    }

    body.page-work .workClientLogoSet{
        gap:38px;
        padding-right:38px;
    }

    body.page-work .workClientLogo{
        height:24px;
        max-width:100px;
    }
}

@media (max-width:600px){
    body.page-work #workClientMarquee{
        bottom:6px;
        height:38px;
    }

    body.page-work .workClientLogoSet{
        gap:32px;
        padding-right:32px;
    }

    body.page-work .workClientLogo{
        height:21px;
        max-width:88px;
    }
}

@media (prefers-reduced-motion:reduce){
    body.page-work .workClientMarqueeTrack{
        animation-duration:90s;
    }
}


/* ===== CLIENT LOGO MARQUEE — MOBILE WORK PAGE ONLY ===== */
@media (min-width:601px){
    body.page-work #workClientMarquee{
        display:none !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        display:block !important;
        bottom:6px !important;
        height:38px !important;
    }
}


/* ===== MOBILE WORK — LARGER REVERSED CLIENT MARQUEE BELOW NAV ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        /* Arrow buttons are 46px tall and vertically centered below the globe.
           Place the marquee 20px below the bottom edge of that nav row. */
        top:calc(73.5% + 62.5px) !important;
        bottom:auto !important;
        height:52px !important;
    }

    body.page-work .workClientMarqueeTrack{
        animation-name:workClientLogoScrollReverse !important;
        animation-duration:38s !important;
    }

    body.page-work .workClientLogoSet{
        gap:40px !important;
        padding-right:40px !important;
    }

    body.page-work .workClientLogo{
        height:34px !important;
        max-width:132px !important;
    }
}

@keyframes workClientLogoScrollReverse{
    from{ transform:translate3d(-50%,0,0); }
    to{ transform:translate3d(0,0,0); }
}


/* ===== MOBILE WORK — LARGER CLIENT LOGOS + 35PX BELOW NAV ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        /* 46px arrow row + 35px gap beneath its bottom edge. */
        top:calc(73.5% + 77.5px) !important;
        bottom:auto !important;
        height:64px !important;
    }

    body.page-work .workClientLogoSet{
        gap:44px !important;
        padding-right:44px !important;
    }

    body.page-work .workClientLogo{
        height:44px !important;
        max-width:165px !important;
    }
}


/* ===== MOBILE WORK — MUCH LARGER CLIENT LOGOS ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        height:92px !important;
    }

    body.page-work .workClientLogoSet{
        gap:54px !important;
        padding-right:54px !important;
    }

    body.page-work .workClientLogo{
        height:68px !important;
        max-width:240px !important;
    }
}


/* ===== WORK PAGE — BACKGROUND VIDEO REMOVED ===== */
body.page-work #workBackgroundVideo{
    display:none !important;
}


/* ===== WORK PAGE — ABOUT BACKGROUND IMAGE AT 50% ALPHA ===== */
body.page-work #workPageWrapper{
    background-color:#061b22 !important;
    background-image:
        linear-gradient(rgba(6,27,34,.5), rgba(6,27,34,.5)),
        url("images/work_background.jpg?v=20261011-1") !important;
    background-size:cover !important;
    background-position:center bottom !important;
    background-repeat:no-repeat !important;
}


/* ===== MOBILE WORK — LOWER CLIENT LOGO MARQUEE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        top:calc(73.5% + 87.5px) !important;
    }
}


/* ===== MOBILE WORK ONLY — SMALLER HEADER LOGO ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #logo{
        width:130px !important;
    }
}


/* ===== MOBILE WORK — MOVE CLIENT LOGO MARQUEE DOWN 14PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        top:calc(73.5% + 101.5px) !important;
    }
}


/* ===== MOBILE WORK — SLIGHTLY SMALLER DRAG TO EXPLORE GRAPHIC ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workDragHint{
        width:116px !important;
    }
}


/* ===== DESKTOP WORK — ANCHOR LOGO / DRAG GRAPHIC TO GLOBE TOP CORNERS ===== */
@media (min-width:1001px){
    /*
     * Desktop globe is centered at 50vw / 50vh with a 570px radius.
     * Keep the graphics outside the globe footprint and align them to
     * its upper-left / upper-right edges without overlap.
     */
    body.page-work #logo{
        left:calc(50vw - 570px - 24px) !important;
        right:auto !important;
        top:calc(50vh - 570px) !important;
        transform:translateX(-100%) !important;
    }

    body.page-work #workDragHint{
        left:calc(50vw + 570px + 24px) !important;
        right:auto !important;
        top:calc(50vh - 570px) !important;
        transform:none !important;
    }
}


/* ===== DESKTOP WORK — GRAPHICS CLOSER TO GLOBE + 100PX LOWER ===== */
@media (min-width:1001px){
    body.page-work #logo{
        left:calc(50vw - 570px - 8px) !important;
        top:calc(50vh - 470px) !important;
    }

    body.page-work #workDragHint{
        left:calc(50vw + 570px + 8px) !important;
        top:calc(50vh - 470px) !important;
    }
}


/* ===== WORK RESPONSIVE — KEEP SIDE GRAPHICS VISIBLE ===== */
/*
 * The desktop globe uses a 570px radius. With the logo / drag artwork
 * sitting beside it, 1500px is the safe desktop threshold before those
 * graphics begin to run into the viewport edges. Switch to the existing
 * tablet presentation below that width instead of allowing clipping.
 */
@media (min-width:1500px){
    body.page-work #logo{
        left:calc(50vw - 570px - 8px) !important;
        top:calc(50vh - 470px) !important;
        transform:translateX(-100%) !important;
    }

    body.page-work #workDragHint{
        left:calc(50vw + 570px + 8px) !important;
        right:auto !important;
        top:calc(50vh - 430px) !important; /* 40px lower */
        transform:none !important;
    }
}

/* Treat narrower desktop windows as tablet so side graphics never clip. */
@media (min-width:1001px) and (max-width:1499px){
    body.page-work #logo{
        left:18px !important;
        right:auto !important;
        top:90px !important;
        width:175px !important;
        transform:none !important;
    }

    body.page-work #workDragHint{
        left:auto !important;
        right:18px !important;
        top:90px !important;
        width:132px !important;
        transform:none !important;
    }

    body.page-work #menuWrapper{
        display:none !important;
    }

    body.page-work #mobileIconWrapper{
        display:block !important;
        position:fixed !important;
        left:auto !important;
        right:20px !important;
        margin:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
        z-index:30002 !important;
    }
}


/* ===== DESKTOP WORK — BRING DRAG CTA CLOSER TO SPHERE ===== */
@media (min-width:1500px){
    body.page-work #workDragHint{
        /* Pull the CTA toward the sphere while keeping clear separation. */
        left:calc(50vw + 570px - 34px) !important;
    }
}


/* ===== MOBILE / TABLET — FULL-SCREEN HAMBURGER MENU ===== */
@media only screen and (max-width:1499px), only screen and (max-device-width:1499px){
    #mobileMenuWrapper{
        position:fixed !important;
        inset:0 !important;
        left:0 !important;
        top:0 !important;
        width:100vw !important;
        height:100vh !important;
        min-height:100dvh !important;
        box-sizing:border-box !important;
        overflow:hidden !important;
        background:#000b0f !important;
        z-index:30000 !important;
    }

    #mobileMenuInnerWrapper{
        position:absolute !important;
        inset:0 !important;
        width:100% !important;
        height:100% !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:center !important;
        justify-content:center !important;
        gap:clamp(18px,4vh,42px) !important;
        padding:90px 24px 48px !important;
        box-sizing:border-box !important;
        z-index:30001 !important;
    }

    #menuAboutMobile,
    #menuWorkMobile,
    #menuContactMobile{
        position:relative !important;
        left:auto !important;
        right:auto !important;
        top:auto !important;
        bottom:auto !important;
        width:auto !important;
        height:auto !important;
        margin:0 !important;
        transform:none !important;
        text-align:center !important;
        font-size:clamp(42px,10vw,82px) !important;
        line-height:.95 !important;
        letter-spacing:.02em !important;
        font-weight:600 !important;
        color:#fff !important;
        cursor:pointer !important;
    }

    /* Keep the hamburger / close control above the full-screen panel. */
    #mobileIconWrapper{
        z-index:30002 !important;
    }
}


/* ===== RESPONSIVE MENU — HIDE CLOSED FULLSCREEN PANEL ON MANUAL RESIZE ===== */
/*
 * The legacy menu uses inline/animated state. Keep the full-screen panel
 * completely out of view unless the existing menu code explicitly opens it.
 */
@media only screen and (max-width:1499px), only screen and (max-device-width:1499px){
    #mobileMenuWrapper{
        visibility:hidden;
        pointer-events:none;
    }

    #mobileMenuWrapper[style*="display: block"],
    #mobileMenuWrapper[style*="display:block"]{
        visibility:visible;
        pointer-events:auto;
    }
}

/* Returning to true desktop must never leave the responsive overlay visible. */
@media (min-width:1500px){
    #mobileMenuWrapper,
    #mobileMenuInnerWrapper{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }
}


/* ===== FULLSCREEN HAMBURGER MENU — CLICK VISIBILITY FIX ===== */
@media only screen and (max-width:1499px), only screen and (max-device-width:1499px){
    #mobileMenuWrapper{
        visibility:visible !important;
        pointer-events:auto;
    }
}

@media (min-width:1500px){
    #mobileMenuWrapper,
    #mobileMenuInnerWrapper{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }
}


/* ===== TABLET + MOBILE — RELIABLE FULLSCREEN MENU ===== */
@media (max-width:1499px){
    #mobileMenuWrapper{
        position:fixed !important;
        inset:0 !important;
        width:100vw !important;
        height:100vh !important;
        height:100dvh !important;
        background:#000b0f !important;
        z-index:30000 !important;
    }

    #mobileMenuClose{
        display:flex !important;
        position:absolute !important;
        top:20px !important;
        right:20px !important;
        width:48px !important;
        height:48px !important;
        padding:0 !important;
        border:0 !important;
        border-radius:50% !important;
        background:transparent !important;
        color:#fff !important;
        align-items:center !important;
        justify-content:center !important;
        font-family:Arial,Helvetica,sans-serif !important;
        font-size:46px !important;
        font-weight:200 !important;
        line-height:1 !important;
        cursor:pointer !important;
        z-index:30004 !important;
        -webkit-appearance:none !important;
        appearance:none !important;
    }

    #mobileMenuClose span{
        display:block !important;
        line-height:42px !important;
        transform:translateY(-2px) !important;
    }

    #mobileMenuInnerWrapper{
        z-index:30001 !important;
    }

    #menuAboutMobile,
    #menuWorkMobile,
    #menuContactMobile{
        pointer-events:auto !important;
        cursor:pointer !important;
    }
}

@media (min-width:1500px){
    #mobileMenuClose{
        display:none !important;
    }
}


/* ===== FULLSCREEN MENU — OPEN STATE FIX ===== */
@media (max-width:1499px){
    #mobileMenuWrapper{
        display:none;
        height:100vh !important;
        height:100dvh !important;
        opacity:0;
        visibility:visible !important;
        pointer-events:auto !important;
    }

    #mobileMenuInnerWrapper{
        display:flex !important;
    }

    #mobileMenuClose{
        display:flex !important;
    }
}

@media (min-width:1500px){
    #mobileMenuWrapper{
        display:none !important;
    }
}

/* ===== WORK PAGE — SCROLLABLE PROJECT GRID BELOW SPHERE ===== */
body.page-work{
    overflow-y:auto !important;
    overflow-x:hidden !important;
}

body.page-work #workPageWrapper{
    position:relative !important;
    min-height:100vh !important;
    height:auto !important;
    overflow:visible !important;
}

body.page-work #workPageInnerWrapper{
    position:relative !important;
    width:100% !important;
    height:100vh !important;
    min-height:720px !important;
    overflow:hidden !important;
}

#workProjectGridSection{
    position:relative;
    width:100%;
    box-sizing:border-box;
    padding:80px clamp(24px,5vw,84px) 100px;
    z-index:20;
}

#workProjectGrid{
    width:min(1500px,100%);
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:clamp(14px,1.5vw,24px);
}

.workGridItem{
    position:relative;
    display:block;
    width:100%;
    aspect-ratio:6 / 5;
    margin:0;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:5px;
    background:#07171c;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
}

.workGridItem img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:1;
    transform:scale(1);
    transition:transform .35s cubic-bezier(.22,.75,.2,1), filter .35s ease;
}

.workGridItem:not(:disabled):hover img{
    transform:scale(1.035);
    filter:brightness(.72);
}

.workGridItem:focus-visible{
    outline:2px solid #fff;
    outline-offset:4px;
}

.workGridItem.isFpo{ cursor:default; }

@media (max-width:1100px){
    #workProjectGrid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:760px){
    body.page-work #workPageInnerWrapper{ min-height:100vh !important; }
    #workProjectGridSection{ padding:64px 18px 80px; }
    #workProjectGrid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
}

@media (max-width:430px){
    #workProjectGridSection{ padding-left:14px; padding-right:14px; }
    #workProjectGrid{ gap:10px; }
}

/* ===== MOBILE WORK — CLIENT MARQUEE SCROLLS WITH PAGE CONTENT ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        position:absolute !important;
        top:calc(73.5vh + 101.5px) !important;
        bottom:auto !important;
    }
}


/* ===== WORK PAGE — TOP GRAPHICS SCROLL WITH CONTENT ===== */
/*
 * Keep the logo and Drag to Explore artwork in their existing top-of-page
 * positions, but make them part of the Work page's scrolling content instead
 * of pinning them to the viewport.
 */
body.page-work #logo,
body.page-work #workDragHint{
    position:absolute !important;
}

/* Preserve the responsive tablet/hamburger-era placements. */
@media (min-width:1001px) and (max-width:1499px){
    body.page-work #logo{
        position:absolute !important;
        left:18px !important;
        top:90px !important;
        transform:none !important;
    }

    body.page-work #workDragHint{
        position:absolute !important;
        left:auto !important;
        right:18px !important;
        top:90px !important;
        transform:none !important;
    }
}

/* Preserve the current sphere-relative desktop placement while allowing scroll. */
@media (min-width:1500px){
    body.page-work #logo{
        position:absolute !important;
        left:calc(50vw - 570px - 8px) !important;
        top:calc(50vh - 470px) !important;
        transform:translateX(-100%) !important;
    }

    body.page-work #workDragHint{
        position:absolute !important;
        left:calc(50vw + 570px - 34px) !important;
        right:auto !important;
        top:calc(50vh - 430px) !important;
        transform:none !important;
    }
}

/* Preserve the current mobile positions while allowing both graphics to leave
   the viewport naturally as the user scrolls into the project grid. */
@media (max-width:600px){
    body.page-work #logo{
        position:absolute !important;
        left:18px !important;
        top:90px !important;
        transform:none !important;
    }

    body.page-work #workDragHint{
        position:absolute !important;
        left:auto !important;
        right:18px !important;
        top:125px !important;
        transform:none !important;
    }
}


/* ===== WORK PAGE — HEADER BACKGROUND FADE ON SCROLL ===== */
body.page-work #headerWrapper{
    position:fixed !important;
    left:0 !important;
    top:0 !important;
    width:100% !important;
    z-index:29000 !important;
    background-color:rgba(0,11,15,0) !important;
    border-bottom-color:rgba(53,65,121,0) !important;
    transition:
        background-color .35s ease,
        border-bottom-color .35s ease,
        backdrop-filter .35s ease,
        -webkit-backdrop-filter .35s ease !important;
}

body.page-work.work-page-scrolled #headerWrapper{
    background-color:rgba(0,11,15,.94) !important;
    border-bottom-color:rgba(53,65,121,.20) !important;
    backdrop-filter:blur(14px) !important;
    -webkit-backdrop-filter:blur(14px) !important;
}


/* ===== WORK PAGE — SMALLER TOP-ANCHORED SCROLLING LOGO ===== */
/*
 * Keep the Work logo attached to the first-screen content rather than the
 * viewport. It therefore starts near the top and naturally scrolls away with
 * the rest of the page.
 */
body.page-work #logo{
    position:absolute !important;
    z-index:1100 !important;
}

@media (min-width:1500px){
    body.page-work #logo{
        width:165px !important;
        left:calc(50vw - 570px - 8px) !important;
        top:42px !important;
        transform:translateX(-100%) !important;
    }
}

@media (min-width:1001px) and (max-width:1499px){
    body.page-work #logo{
        width:145px !important;
        left:18px !important;
        top:42px !important;
        transform:none !important;
    }
}

@media (min-width:601px) and (max-width:1000px){
    body.page-work #logo{
        width:140px !important;
        left:18px !important;
        top:42px !important;
        transform:none !important;
    }
}

@media (max-width:600px){
    body.page-work #logo{
        width:112px !important;
        left:18px !important;
        top:42px !important;
        transform:none !important;
    }
}


/* ===== WORK PAGE — DESKTOP LOGO TOP POSITION ===== */
@media (min-width:1500px){
    body.page-work #logo{
        top:162px !important;
    }
}


/* ===== WORK PAGE — LOGO TRUE PAGE-SCROLL BEHAVIOR ===== */
/*
 * #logo is inside the fixed headerWrapper. Move it upward by the document's
 * scroll amount so it visually belongs to the page content while the menu
 * header itself remains fixed.
 */
body.page-work #logo{
    margin-top:var(--work-logo-scroll-y, 0px) !important;
    transition:none !important;
}


/* ===== WORK PAGE — MENU MOVES UP WITH SCROLLED HEADER ===== */
/*
 * The existing work-page scroll state already controls the header fade.
 * Use that same state to lift the desktop text menu 12px when the header
 * becomes opaque, then return it smoothly when the page reaches the top.
 */
body.page-work #menuWrapper{
    transition:top .35s ease !important;
}

@media (min-width:1500px){
    body.page-work #menuWrapper{
        top:41px !important;
    }

    body.page-work.work-page-scrolled #menuWrapper{
        top:29px !important;
    }
}


/* ===== MOBILE WORK — GLOBE + LOGO UP ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globeViewport{
        top:calc(46% - 40px) !important;
    }

    body.page-work #logo{
        top:22px !important; /* 42px -> 22px */
    }
}


/* ===== MOBILE WORK — GLOBE HIGHER + PRECISE DRAG HIT AREA ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /* Previous mobile offset was -40px; move another 20px upward. */
    body.page-work #globeViewport{
        top:calc(46% - 60px) !important;

        /*
         * Let vertical finger movement remain available to the browser for
         * normal page scrolling. Horizontal globe dragging is still handled
         * by the existing pointer interaction.
         */
        touch-action:pan-y !important;
    }

    /*
     * The scene/cards themselves remain interactive, but the large viewport
     * no longer needs to claim every touch around the visible sphere.
     */
    body.page-work #globeViewport{
        pointer-events:none !important;
    }

    body.page-work #globeScene,
    body.page-work #globeScene .workItem,
    body.page-work #globeScene .workImage{
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }
}


/* ===== MOBILE WORK — LARGER SPHERE DRAG AREA + NAV UP 35PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /*
     * Restore a larger, sphere-shaped interaction zone without returning to
     * the oversized full viewport hit area. Vertical pan remains available
     * for normal page scrolling.
     */
    body.page-work #globeViewport{
        pointer-events:auto !important;
        width:min(92vw, 520px) !important;
        height:min(92vw, 520px) !important;
        left:50% !important;
        transform:translateX(-50%) !important;
        border-radius:50% !important;
        overflow:visible !important;
        touch-action:pan-y !important;
    }

    /* Move both mobile sphere navigation buttons upward by 35px. */
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:calc(73.5% - 15.5px) !important;
    }
}


/* ===== MOBILE WORK — RESTORE APPROVED SPHERE Y POSITION ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globeViewport{
        top:calc(46% - 60px) !important;
    }
}


/* ===== MOBILE WORK — FIX GLOBE POSITION WITHOUT RESIZING ITS VIEWPORT ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /*
     * The previous larger-hit-area rule changed #globeViewport's dimensions.
     * Because its top is percentage-based, that altered the globe's positioning
     * context and made the sphere appear anchored near the bottom.
     *
     * Restore the viewport's original full first-screen geometry and create the
     * larger drag target separately with a pseudo-element.
     */
    body.page-work #globeViewport{
        left:0 !important;
        width:100% !important;
        height:100vh !important;
        min-height:100vh !important;
        transform:none !important;
        border-radius:0 !important;
        top:calc(46% - 60px) !important;
        pointer-events:none !important;
        overflow:visible !important;
    }

    body.page-work #globeScene{
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }

    /*
     * Expand the scene's draggable region around the visible sphere without
     * changing the sphere's layout/Y position.
     */
    body.page-work #globeScene::after{
        content:"";
        position:absolute;
        left:50%;
        top:50%;
        width:min(92vw,520px);
        height:min(92vw,520px);
        transform:translate(-50%,-50%);
        border-radius:50%;
        pointer-events:auto;
        touch-action:pan-y;
        z-index:-1;
    }

    body.page-work #globeScene .workItem,
    body.page-work #globeScene .workImage{
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }
}


/* ===== MOBILE WORK — CLEAN GLOBE POSITION RESET ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /*
     * Restore the globe viewport's original mobile geometry instead of using
     * the full-height or circular viewport experiments. The approved 60px
     * upward adjustment is applied to the original 47% mobile anchor.
     */
    body.page-work #globeViewport{
        position:absolute !important;
        left:50% !important;
        top:calc(47% - 60px) !important;
        width:100vw !important;
        height:108vw !important;
        min-height:0 !important;
        transform:translate(-50%,-50%) !important;
        border-radius:0 !important;
        overflow:visible !important;
        perspective:1500px !important;
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }

    /* Keep the sphere centered inside the restored viewport. */
    body.page-work #globeScene{
        position:absolute !important;
        left:50% !important;
        top:50% !important;
        width:0 !important;
        height:0 !important;
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }

    /* Remove the experimental pseudo-element hit target entirely. */
    body.page-work #globeScene::after{
        content:none !important;
        display:none !important;
        pointer-events:none !important;
    }

    /* Preserve the requested mobile logo and arrow positions. */
    body.page-work #logo{
        top:22px !important;
    }

    body.page-work #globePrev,
    body.page-work #globeNext{
        top:calc(73.5% - 15.5px) !important;
    }
}


/* ===== MOBILE WORK — EASIER GLOBE DRAG + SLIGHTLY LARGER SPHERE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /*
     * Give the globe a modest visual bump without changing its approved
     * viewport/Y positioning.
     */
    body.page-work #globeScene{}

    /*
     * Keep vertical page scrolling available, while the globe itself remains
     * a generous touch target for deliberate horizontal/diagonal dragging.
     */
    body.page-work #globeViewport,
    body.page-work #globeScene,
    body.page-work #globeScene .workItem,
    body.page-work #globeScene .workImage{
        touch-action:pan-y !important;
    }
}
\n\n/* ===== GLOBE — TALLER VERTICAL DRAG HIT AREA ===== */\n@media (min-width:601px){\n    body.page-work #globeViewport{\n        height:calc(100vh + 160px) !important;\n        margin-top:-80px !important;\n    }\n}\n\n@media only screen and (max-width:600px), only screen and (max-device-width:600px){\n    body.page-work #globeViewport{\n        height:calc(108vw + 140px) !important;\n        margin-top:0 !important;\n        touch-action:pan-y !important;\n    }\n\n    body.page-work #globeScene,\n    body.page-work #globeScene .workItem,\n    body.page-work #globeScene .workImage{\n        touch-action:pan-y !important;\n    }\n}\n

/* ===== GLOBE — FULL-SPHERE DRAG TARGET + MOBILE VERTICAL SWIPE PRIORITY ===== */
@media (min-width:601px){
    /*
     * Make the globe interaction surface cover the full visible sphere.
     * This only enlarges the hit region; the JS-controlled globeScene
     * transform and visual position remain untouched.
     */
    body.page-work #globeViewport{
        width:100vw !important;
        pointer-events:auto !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /*
     * Full visible sphere is draggable on mobile. Use touch-action:none so
     * vertical motion belongs to the globe first; the JS gesture bridge below
     * hands only a strong vertical swipe back to page scrolling.
     */
    body.page-work #globeViewport,
    body.page-work #globeScene,
    body.page-work #globeScene .workItem,
    body.page-work #globeScene .workImage{
        pointer-events:auto !important;
        touch-action:none !important;
    }
}


/* ===== GLOBE — LARGER DESKTOP DRAG FIELD ===== */
@media (min-width:1000px){
    /*
     * Expand the desktop interaction field well beyond the visible sphere.
     * The globeScene itself is untouched, so its visual size, center, depth,
     * auto-spin and rotation transforms remain exactly as controlled by JS.
     */
    body.page-work #globeViewport{
        width:min(96vw, 1500px) !important;
        height:calc(100vh + 280px) !important;
        margin-top:-140px !important;
        pointer-events:auto !important;
    }
}


/* ===== MOBILE GLOBE — LOCK PAGE SCROLL WHILE DRAGGING ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html.mobile-globe-dragging,
    body.mobile-globe-dragging{
        overscroll-behavior:none !important;
    }

    body.mobile-globe-dragging #globeViewport,
    body.mobile-globe-dragging #globeScene,
    body.mobile-globe-dragging #globeScene .workItem,
    body.mobile-globe-dragging #globeScene .workImage{
        touch-action:none !important;
    }
}


/* ===== DESKTOP WORK — SPHERE DOWN 50PX ===== */
@media (min-width:1500px){
    body.page-work #globeScene{
        top:calc(50% + 50px) !important;
    }
}


/* ===== DESKTOP WORK — SPHERE DOWN 95PX TOTAL ===== */
@media (min-width:1500px){
    body.page-work #globeScene{
        top:calc(50% + 95px) !important;
    }
}


/* ===== WORK GLOBE — REMOVE INNER WHITE CIRCLE ===== */
body.page-work #globeScene::before,
body.page-work #globeViewport::before,
body.page-work #globeViewport::after,
body.page-work #globeCore,
body.page-work .globeCore,
body.page-work .globeCenter,
body.page-work .globe-center,
body.page-work .centerCircle,
body.page-work .center-circle{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    border:0 !important;
    box-shadow:none !important;
    background:none !important;
}


/* ===== WORK GLOBE — REMOVE REMAINING FADED WHITE CIRCLE / GLOW ARTIFACT ===== */
body.page-work #luminousGlobe,
body.page-work #atomicGlow,
body.page-work #globeGlow,
body.page-work #globeCore,
body.page-work #globeCenter,
body.page-work .globeGlow,
body.page-work .globe-glow,
body.page-work .globeCore,
body.page-work .globe-core,
body.page-work .globeCenter,
body.page-work .globe-center,
body.page-work .centerGlow,
body.page-work .center-glow,
body.page-work .sphereGlow,
body.page-work .sphere-glow,
body.page-work .innerGlow,
body.page-work .inner-glow,
body.page-work .glowOrb,
body.page-work .glow-orb,
body.page-work #luminousGlobe *,
body.page-work #atomicGlow *{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    background:none !important;
    background-image:none !important;
    border:0 !important;
    box-shadow:none !important;
    filter:none !important;
    -webkit-filter:none !important;
}

/* Kill decorative glow pseudo-elements specifically; do not touch globeScene,
   whose pseudo-element may be used by interaction code in older revisions. */
body.page-work #luminousGlobe::before,
body.page-work #luminousGlobe::after,
body.page-work #atomicGlow::before,
body.page-work #atomicGlow::after,
body.page-work #globeGlow::before,
body.page-work #globeGlow::after{
    content:none !important;
    display:none !important;
}


/* ===== VIDEO LIGHTBOX — SCROLL-SAFE STACKING + CLOSE BUTTON ===== */
#lightbox{
    position:fixed !important;
    inset:0 !important;
    left:0 !important;
    top:0 !important;
    width:100vw !important;
    height:100vh !important;
    height:100dvh !important;
    z-index:50000 !important;
    isolation:isolate !important;
    transform:none !important;
}

#videoWrapper{
    position:absolute !important;
    z-index:50001 !important;
}

#closeButton{
    position:absolute !important;
    z-index:50003 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
    touch-action:manipulation !important;
}

/* Nothing in the fixed Work header should sit above an open video. */
body.page-work #lightbox{
    z-index:50000 !important;
}


/* ===== MOBILE WORK — HAMBURGER POSITION ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #mobileIconWrapper{
        right:24px !important; /* 4px left from previous right:20px */
        top:27px !important;
    }
}


/* ===== CONTACT — DESKTOP "LET'S WORK TOGETHER" BOLD ===== */
@media (min-width:601px){
    body.page-contact #contactHeading,
    body.page-contact .contactHeading{
        font-weight:700 !important;
        font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
        font-style:normal !important;
        font-synthesis:none !important;
    }
}


/* ===== WORK PAGE — HAMBURGER 50PX FARTHER DOWN ===== */
@media (max-width:1499px){
    body.page-work #mobileIconWrapper{
        top:77px !important;
    }
}


/* ===== WORK PAGE — HAMBURGER REST + SCROLL MOTION ===== */
@media (max-width:1499px){
    body.page-work #mobileIconWrapper{
        top:65px !important;
        transition:top .35s ease !important;
    }

    body.page-work.work-page-scrolled #mobileIconWrapper{
        top:27px !important;
    }
}

/* ===== TABLET — REQUIRE PORTRAIT ORIENTATION ===== */
#tabletPortraitGate{display:none;}
@media (min-width:601px) and (max-width:1499px) and (orientation:landscape){
 #tabletPortraitGate{display:flex!important;position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;align-items:center!important;justify-content:center!important;padding:32px!important;box-sizing:border-box!important;background:#061b22!important;z-index:2147483647!important;text-align:center!important;color:#fff!important;font-family:"grtsk-vf",Arial,Helvetica,sans-serif!important;}
 #tabletPortraitGate .tabletPortraitGateInner{width:min(520px,86vw);}
 #tabletPortraitGate .tabletRotateIcon{font-size:72px;line-height:1;margin-bottom:24px;font-weight:400;}
 #tabletPortraitGate .tabletPortraitGateTitle{font-size:clamp(28px,4.5vw,48px);line-height:.95;letter-spacing:-.035em;font-weight:700;font-variation-settings:'wdth' 100,'wght' 700,'slnt' 0;}
 #tabletPortraitGate .tabletPortraitGateText{margin-top:18px;font-size:16px;line-height:1.4;font-weight:400;}
 html,body{overflow:hidden!important;}
}


/* ===== MOBILE + TABLET — FOUR-WAY SPHERE NAV ===== */
/* Left/right return to the vertical center of the sphere. Top/bottom rotate
   the globe around its X axis. Desktop 1500px+ remains unchanged. */
@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext,
    body.page-work #globeUp,
    body.page-work #globeDown{
        display:flex !important;
        position:absolute !important;
        width:46px !important;
        height:46px !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 !important;
        line-height:1 !important;
        z-index:2600 !important;
        pointer-events:auto !important;
        transform:none !important;
    }

    body.page-work #globePrev,
    body.page-work #globeNext{
        top:50% !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev{
        left:20px !important;
        right:auto !important;
    }

    body.page-work #globeNext{
        left:auto !important;
        right:20px !important;
    }

    body.page-work #globeUp,
    body.page-work #globeDown{
        left:50% !important;
        right:auto !important;
        transform:translateX(-50%) !important;
    }

    body.page-work #globeUp{
        top:20px !important;
        bottom:auto !important;
    }

    body.page-work #globeDown{
        top:auto !important;
        bottom:20px !important;
    }

    body.page-work #globePrev:hover,
    body.page-work #globeNext:hover{
        transform:translateY(-50%) !important;
    }

    body.page-work #globeUp:hover,
    body.page-work #globeDown:hover{
        transform:translateX(-50%) !important;
    }
}

/* Keep the four controls anchored to the visible mobile sphere itself,
   whose approved viewport is 100vw x 108vw. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:50% !important;
        bottom:auto !important;
    }

    body.page-work #globeUp{ top:12px !important; }
    body.page-work #globeDown{ bottom:12px !important; }
}

/* Hide the new vertical controls in the true desktop layout. */
@media (min-width:1500px){
    body.page-work #globeUp,
    body.page-work #globeDown{
        display:none !important;
    }
}


/* ===== MOBILE + TABLET — REALIGN FOUR-WAY NAV AROUND VISIBLE GLOBE ===== */
@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext,
    body.page-work #globeUp,
    body.page-work #globeDown{
        position:absolute !important;
        margin:0 !important;
    }
}

/* Mobile: visible globe is centered at the approved mobile globe anchor.
   Keep each arrow just outside the globe's visual perimeter. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:calc(47% - 60px) !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev{
        left:10px !important;
        right:auto !important;
    }

    body.page-work #globeNext{
        left:auto !important;
        right:10px !important;
    }

    body.page-work #globeUp,
    body.page-work #globeDown{
        left:50% !important;
        right:auto !important;
        transform:translateX(-50%) !important;
    }

    body.page-work #globeUp{
        top:calc(47% - 60px - 50vw - 30px) !important;
        bottom:auto !important;
    }

    body.page-work #globeDown{
        top:calc(47% - 60px + 50vw + 30px) !important;
        bottom:auto !important;
    }

    body.page-work #globePrev:hover,
    body.page-work #globeNext:hover{
        transform:translateY(-50%) !important;
    }

    body.page-work #globeUp:hover,
    body.page-work #globeDown:hover{
        transform:translateX(-50%) !important;
    }
}

/* Tablet portrait: form a centered ring around the visible globe, independent
   of the intentionally oversized drag hit-area. */
@media (min-width:601px) and (max-width:1499px) and (orientation:portrait){
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:50% !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev{
        left:4.5vw !important;
        right:auto !important;
    }

    body.page-work #globeNext{
        left:auto !important;
        right:4.5vw !important;
    }

    body.page-work #globeUp,
    body.page-work #globeDown{
        left:50% !important;
        right:auto !important;
        transform:translateX(-50%) !important;
    }

    body.page-work #globeUp{
        top:8% !important;
        bottom:auto !important;
    }

    body.page-work #globeDown{
        top:auto !important;
        bottom:8% !important;
    }

    body.page-work #globePrev:hover,
    body.page-work #globeNext:hover{
        transform:translateY(-50%) !important;
    }

    body.page-work #globeUp:hover,
    body.page-work #globeDown:hover{
        transform:translateX(-50%) !important;
    }
}


/* ===== MOBILE + TABLET — SPHERE NAV REFINEMENT ===== */

/* Center the arrow glyphs precisely inside the left/right circular controls. */
@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 !important;
        text-align:center !important;
        line-height:1 !important;
        text-indent:0 !important;
    }

    body.page-work #globePrev{
        padding-right:1px !important;
    }

    body.page-work #globeNext{
        padding-left:1px !important;
    }
}

/* Pull the bottom/down control closer to the mobile globe. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globeDown{
        top:calc(47% - 60px + 50vw + 12px) !important;
        bottom:auto !important;
    }
}

/* Pull the bottom/down control closer to the tablet portrait globe. */
@media (min-width:601px) and (max-width:1499px) and (orientation:portrait){
    body.page-work #globeDown{
        top:auto !important;
        bottom:12% !important;
    }
}


/* ===== WORK PAGE — MOBILE/TABLET BLACK HEADER + SMALLER LOGO ===== */
@media (max-width:1499px){
    body.page-work #headerWrapper{
        background:#000 !important;
        background-color:#000 !important;
        border-bottom-color:rgba(255,255,255,.08) !important;
    }

    body.page-work.work-page-scrolled #headerWrapper{
        background:#000 !important;
        background-color:#000 !important;
    }

    body.page-work #logo{
        width:118px !important;
        height:auto !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #logo{
        width:96px !important;
        height:auto !important;
    }
}


/* ===== WORK MOBILE/TABLET — MATCH ABOUT/CONTACT HEADER ALIGNMENT ===== */
@media (max-width:1499px){
    /* Match About/Contact logo placement: centered inside the header. */
    body.page-work #logo{
        position:absolute !important;
        left:50% !important;
        top:50% !important;
        width:150px !important;
        height:auto !important;
        max-height:62px !important;
        object-fit:contain !important;
        transform:translate(-50%,-50%) !important;
        margin-top:0 !important;
        z-index:1100 !important;
    }

    /* Keep hamburger at its raised position at all scroll states. */
    body.page-work #mobileIconWrapper,
    body.page-work.work-page-scrolled #mobileIconWrapper{
        top:27px !important;
        transition:none !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    /* Match the existing About/Contact mobile logo size. */
    body.page-work #logo{
        width:128px !important;
        max-height:56px !important;
    }
}


/* ===== WORK MOBILE/TABLET — HAMBURGER DOWN 4PX ===== */
@media (max-width:1499px){
    body.page-work #mobileIconWrapper,
    body.page-work.work-page-scrolled #mobileIconWrapper{
        top:31px !important;
        transition:none !important;
    }
}


/* ===== WORK MOBILE/TABLET — WHITE HAMBURGER LINES ===== */
@media (max-width:1499px){
    body.page-work #mobileIconWrapper div,
    body.page-work #mobileIconTop,
    body.page-work #mobileIconMiddle,
    body.page-work #mobileIconBottom{
        background:#fff !important;
        background-color:#fff !important;
        border-color:#fff !important;
    }
}


/* ===== WORK MOBILE/TABLET — SPHERE + NAV UP 25PX ===== */

/* Move the actual sphere upward without changing its JS-controlled transform. */
@media (max-width:1499px){
    body.page-work #globeScene{
        margin-top:-25px !important;
    }

    /* Move the four navigation controls by the same amount. */
    body.page-work #globePrev,
    body.page-work #globeNext,
    body.page-work #globeUp,
    body.page-work #globeDown{
        margin-top:-25px !important;
    }
}


/* ===== WORK MOBILE/TABLET — PRECISE LEFT/RIGHT ARROW GLYPH CENTERING ===== */
@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        display:grid !important;
        place-items:center !important;
        padding:0 !important;
        text-align:center !important;
        text-indent:0 !important;
        line-height:0 !important;
        font-size:0 !important;
    }

    body.page-work #globePrev::after,
    body.page-work #globeNext::after{
        display:block !important;
        position:static !important;
        width:auto !important;
        height:auto !important;
        margin:0 !important;
        padding:0 !important;
        font-family:"grtsk-vf", Arial, Helvetica, sans-serif !important;
        font-size:22px !important;
        font-weight:400 !important;
        line-height:1 !important;
        text-align:center !important;
        transform:none !important;
    }

    body.page-work #globePrev::after{
        content:"←" !important;
    }

    body.page-work #globeNext::after{
        content:"→" !important;
    }
}


/* ===== WORK MOBILE/TABLET — RESTORE ORIGINAL LEFT/RIGHT ARROW GLYPHS ===== */
@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 !important;
        text-align:center !important;
        text-indent:0 !important;
        font-size:22px !important;
        line-height:1 !important;
        font-family:Arial, Helvetica, sans-serif !important;
    }

    body.page-work #globePrev::after,
    body.page-work #globeNext::after{
        content:none !important;
        display:none !important;
    }
}

/* ===== WORK MOBILE/TABLET — LEFT/RIGHT NAV VERTICAL CENTER + NO BACKGROUND IMAGE ===== */
body.page-work #workPageWrapper{
    background-image:none !important;
    background-color:#061b22 !important;
}

@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:50% !important;
        bottom:auto !important;
        margin-top:-25px !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev:hover,
    body.page-work #globeNext:hover{
        transform:translateY(-50%) !important;
    }
}

/* ===== WORK MOBILE/TABLET — LEFT/RIGHT NAV AT GLOBE OUTER VERTICAL CENTER ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:calc(47% - 60px) !important;
        bottom:auto !important;
        margin-top:-25px !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev{ left:10px !important; right:auto !important; }
    body.page-work #globeNext{ right:10px !important; left:auto !important; }
}

@media (min-width:601px) and (max-width:1499px) and (orientation:portrait){
    body.page-work #globePrev,
    body.page-work #globeNext{
        top:50% !important;
        bottom:auto !important;
        margin-top:-25px !important;
        transform:translateY(-50%) !important;
    }

    body.page-work #globePrev{ left:4.5vw !important; right:auto !important; }
    body.page-work #globeNext{ right:4.5vw !important; left:auto !important; }
}


/* ===== WORK MOBILE — SPHERE / NAV HEADER ALIGNMENT REFINEMENT ===== */

/* Precisely center the visible up/down glyphs inside their circular buttons. */
@media (max-width:1499px){
    body.page-work #globeUp,
    body.page-work #globeDown{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 !important;
        text-align:center !important;
        text-indent:0 !important;
        line-height:1 !important;
    }
}

/* Mobile only: lift the complete globe/navigation assembly so it sits neatly
   below the fixed header, while preserving the globe's JS-controlled transform. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globeViewport{
        top:calc(47% - 85px) !important;
    }

    /* globeScene already inherits its position from the moved viewport;
       cancel the older extra -25px scene offset to keep the whole assembly unified. */
    body.page-work #globeScene{
        margin-top:0 !important;
    }

    /* Navigation positions are absolute to the same work-stage coordinate system.
       Move them up with the globe, then bring the bottom control a little closer. */
    body.page-work #globePrev,
    body.page-work #globeNext,
    body.page-work #globeUp{
        margin-top:-50px !important;
    }

    body.page-work #globeDown{
        margin-top:-62px !important;
    }
}


/* ===== WORK MOBILE — ONLY SPHERE UP 12PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #globeScene{
        margin-top:-12px !important;
    }
}


/* ===== WORK MOBILE/TABLET — CENTER TOP/BOTTOM ARROW GLYPHS ===== */
@media (max-width:1499px){
    body.page-work #globeUp,
    body.page-work #globeDown{
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        padding:0 !important;
        text-align:center !important;
        text-indent:0 !important;
        line-height:1 !important;
    }
}


/* ===== WORK MOBILE — CLIENT LOGO MARQUEE UP 100PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #clientLogoMarquee,
    body.page-work .clientLogoMarquee{
        transform:translateY(-100px) !important;
    }
}


/* ===== MOBILE/TABLET — WHITE HAMBURGER LINES ON ALL PAGES ===== */
@media (max-width:1499px){
    #mobileIconWrapper div,
    #mobileIconTop,
    #mobileIconMiddle,
    #mobileIconBottom{
        background:#fff !important;
        background-color:#fff !important;
        border-color:#fff !important;
    }
}


/* ===== WORK — BLACK BACKGROUND BEHIND LOWER PROJECT THUMBNAIL GRID ===== */
body.page-work #workGridSection,
body.page-work #projectGridSection,
body.page-work #workGridWrapper,
body.page-work #projectGridWrapper,
body.page-work .workGridSection,
body.page-work .projectGridSection,
body.page-work .workGridWrapper,
body.page-work .projectGridWrapper{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
}


/* ===== CORRECTED WORK LOWER GRID + MOBILE MARQUEE TARGETS ===== */

/* The actual lower thumbnail-grid section. */
body.page-work #workProjectGridSection{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
}

/* The actual mobile client marquee, moved 100px upward from its previous position. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        top:calc(73.5vh + 1.5px) !important;
        bottom:auto !important;
        transform:none !important;
    }
}


/* ===== WORK MOBILE — THUMBNAIL GRID DIRECTLY BELOW CLIENT LOGO MARQUEE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workProjectGridSection{
        margin-top:-100px !important;
    }
}


/* ===== WORK MOBILE — CLIENT LOGO MARQUEE DOWN 14PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        top:calc(73.5vh + 15.5px) !important;
    }
}


/* ===== WORK MOBILE — CLIENT LOGO MARQUEE DOWN 3PX MORE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        top:calc(73.5vh + 18.5px) !important;
    }
}

/* ===== WORK LOWER GRID — CATEGORY DROPDOWN VISUAL ===== */
body.page-work #workCategoryFilter{position:relative;width:min(100%,360px);margin:0 0 38px;z-index:80;font-family:"grtsk-vf",Arial,Helvetica,sans-serif;}
body.page-work .workCategoryFilterButton{width:100%;min-height:58px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 22px;border:1px solid rgba(255,255,255,.48);border-radius:0;background:#000;color:#fff;cursor:pointer;font:inherit;font-size:15px;font-weight:600;letter-spacing:.11em;text-align:left;}
body.page-work .workCategoryFilterChevron{width:9px;height:9px;flex:0 0 9px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:translateY(-2px) rotate(45deg);transition:transform .22s ease;}
body.page-work #workCategoryFilter.is-open .workCategoryFilterChevron{transform:translateY(3px) rotate(225deg);}
body.page-work .workCategoryFilterMenu{position:absolute;left:0;top:calc(100% + 6px);width:100%;box-sizing:border-box;display:none;padding:7px 0;border:1px solid rgba(255,255,255,.34);background:#000;box-shadow:0 18px 44px rgba(0,0,0,.45);}
body.page-work #workCategoryFilter.is-open .workCategoryFilterMenu{display:block;}
body.page-work .workCategoryOption{width:100%;min-height:46px;display:flex;align-items:center;padding:0 22px;border:0;background:transparent;color:rgba(255,255,255,.62);cursor:pointer;font:inherit;font-size:14px;font-weight:500;letter-spacing:.11em;text-align:left;}
body.page-work .workCategoryOption:hover,body.page-work .workCategoryOption:focus-visible,body.page-work .workCategoryOption.is-active{color:#fff;background:rgba(255,255,255,.08);outline:none;}
@media (max-width:600px){body.page-work #workCategoryFilter{width:100%;margin-bottom:24px;}body.page-work .workCategoryFilterButton{min-height:52px;padding:0 18px;font-size:14px;}body.page-work .workCategoryOption{min-height:44px;padding:0 18px;font-size:13px;}}


/* ===== WORK LOWER GRID — CENTER CATEGORY DROPDOWN ===== */
body.page-work #workCategoryFilter{
    margin-left:auto !important;
    margin-right:auto !important;
}


/* ===== WORK MOBILE/TABLET — REMOVE SPHERE NAV ARROWS ===== */
@media (max-width:1499px){
    body.page-work #globePrev,
    body.page-work #globeNext,
    body.page-work #globeUp,
    body.page-work #globeDown{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }
}


/* ===== WORK MOBILE/TABLET — DRAG TO EXPLORE UP 23PX ===== */
@media (max-width:1499px){
    body.page-work #workDragHint{
        margin-top:-23px !important;
    }
}


/* ===== WORK MOBILE — EXTEND LOWER BLACK SECTION BEHIND LOGO MARQUEE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workProjectGridSection{
        position:relative !important;
    }

    body.page-work #workProjectGridSection::before{
        content:"" !important;
        position:absolute !important;
        left:0 !important;
        right:0 !important;
        top:-120px !important;
        height:120px !important;
        background:#000 !important;
        pointer-events:none !important;
        z-index:-1 !important;
    }

    body.page-work #workClientMarquee{
        z-index:30 !important;
    }
}


/* ===== MOBILE/TABLET — LOGO TOP-LEFT IN HEADER ON ALL PAGES ===== */
@media (max-width:1499px){
    body #logo{
        position:absolute !important;
        left:24px !important;
        right:auto !important;
        top:50% !important;
        width:150px !important;
        height:auto !important;
        max-height:62px !important;
        margin:0 !important;
        object-fit:contain !important;
        transform:translateY(-50%) !important;
        z-index:1100 !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body #logo{
        left:20px !important;
        width:128px !important;
        max-height:56px !important;
    }
}


/* ===== MOBILE/TABLET — FORCE LOGO TO HEADER LEFT ON EVERY PAGE ===== */
@media (max-width:1499px){
    html body #headerWrapper #logo,
    html body #logo{
        position:fixed !important;
        left:20px !important;
        right:auto !important;
        top:31px !important;
        bottom:auto !important;
        width:150px !important;
        height:auto !important;
        max-height:62px !important;
        margin:0 !important;
        padding:0 !important;
        object-fit:contain !important;
        transform:translateY(-50%) !important;
        -webkit-transform:translateY(-50%) !important;
        z-index:30003 !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo,
    html body #logo{
        left:20px !important;
        top:31px !important;
        width:128px !important;
        max-height:56px !important;
    }
}


/* ===== MOBILE/TABLET — SLIGHTLY LARGER LOGO, EXACTLY 20PX FROM LEFT ===== */
@media (max-width:1499px){
    html body #headerWrapper #logo,
    html body #logo{
        left:20px !important;
        right:auto !important;
        width:160px !important;
        max-height:66px !important;
    }
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo,
    html body #logo{
        left:20px !important;
        right:auto !important;
        width:138px !important;
        max-height:60px !important;
    }
}


/* ===== MOBILE — LARGER LOGO + CLOSER TO LEFT EDGE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo,
    html body #logo{
        left:10px !important;
        right:auto !important;
        width:154px !important;
        max-height:66px !important;
    }
}


/* ===== WORK MOBILE — LOGO MARQUEE DOWN 22PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        top:calc(73.5vh + 40.5px) !important;
    }
}


/* ===== MOBILE — BIGGER HEADER LOGO, DOWN 5PX + LEFT 20PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo,
    html body #logo{
        left:-10px !important;
        right:auto !important;
        top:36px !important;
        width:170px !important;
        max-height:72px !important;
    }
}


/* ===== MOBILE — HEADER LOGO ANCHORED EXACTLY 15PX FROM LEFT ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo,
    html body #logo{
        position:fixed !important;
        left:15px !important;
        right:auto !important;
        margin-left:0 !important;
        margin-right:0 !important;
        translate:none !important;
        transform:translateY(-50%) !important;
        -webkit-transform:translateY(-50%) !important;
    }
}


/* ===== MOBILE — CORRECT LOGO LEFT ANCHOR ===== */
/* Anchor to the header itself rather than the viewport/fixed positioning. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo{
        position:absolute !important;
        left:15px !important;
        right:auto !important;
        top:36px !important;
        bottom:auto !important;
        width:170px !important;
        max-width:none !important;
        max-height:72px !important;
        margin:0 !important;
        padding:0 !important;
        translate:none !important;
        transform:translateY(-50%) !important;
        -webkit-transform:translateY(-50%) !important;
        box-sizing:border-box !important;
    }
}


/* ===== WORK MOBILE — FULL-WIDTH WHITE RULES AROUND CLIENT LOGO MARQUEE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        overflow:visible !important;
    }

    body.page-work #workClientMarquee::before,
    body.page-work #workClientMarquee::after{
        content:"" !important;
        position:absolute !important;
        left:50% !important;
        width:100vw !important;
        height:1px !important;
        background:#fff !important;
        transform:translateX(-50%) !important;
        pointer-events:none !important;
        z-index:40 !important;
    }

    body.page-work #workClientMarquee::before{
        top:0 !important;
    }

    body.page-work #workClientMarquee::after{
        bottom:0 !important;
    }
}


/* ===== WORK MOBILE — 3PX WHITE RULES AROUND CLIENT LOGO MARQUEE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee::before,
    body.page-work #workClientMarquee::after{
        height:3px !important;
    }
}


/* ===== MOBILE — DEFINITIVE HEADER LOGO ANCHOR ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #headerWrapper #logo,
    html body #logo{
        position:fixed !important;
        inset:auto !important;
        left:15px !important;
        right:auto !important;
        top:11px !important;
        bottom:auto !important;

        width:170px !important;
        height:auto !important;
        max-width:none !important;
        max-height:72px !important;

        margin:0 !important;
        padding:0 !important;
        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;

        z-index:30003 !important;
    }
}


/* ===== WORK MOBILE — BLACK BACKGROUND BEGINS AT TOP MARQUEE WHITE LINE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        background:#000 !important;
        background-color:#000 !important;
    }

    body.page-work #workProjectGridSection::before{
        top:-220px !important;
        height:220px !important;
        background:#000 !important;
    }
}


/* ===== WORK MOBILE — LOWER BLACK BACKGROUND START ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workProjectGridSection::before{
        top:-120px !important;
        height:120px !important;
    }
}


/* ===== WORK MOBILE — BLACK STARTS EXACTLY AT LOGO MARQUEE TOP ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workClientMarquee{
        background:#000 !important;
        background-color:#000 !important;
    }

    body.page-work #workProjectGridSection::before{
        display:none !important;
        content:none !important;
    }

    body.page-work #workProjectGridSection{
        background:#000 !important;
        background-color:#000 !important;
        background-image:none !important;
    }
}


/* ===== WORK MOBILE — FIX HORIZONTAL PAGE OVERFLOW ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html,
    body{
        overflow-x:hidden !important;
        overscroll-behavior-x:none !important;
    }

    body.page-work #workClientMarquee{
        width:100% !important;
        max-width:100vw !important;
        overflow:hidden !important;
        box-sizing:border-box !important;
    }

    body.page-work #workClientMarquee::before,
    body.page-work #workClientMarquee::after{
        left:0 !important;
        right:0 !important;
        width:100% !important;
        transform:none !important;
    }
}


/* ===== MOBILE — LOGO OUTSIDE HEADER, FRESH POSITIONING ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body > #logo,
    html body #logo{
        position:fixed !important;
        left:15px !important;
        right:auto !important;
        top:5px !important;
        bottom:auto !important;
        width:170px !important;
        height:auto !important;
        max-width:none !important;
        max-height:none !important;
        margin:0 !important;
        padding:0 !important;
        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;
        z-index:30003 !important;
    }
}


/* ===== MOBILE — LOGO ANCHORED TO PAGE TOP-LEFT ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body > #logo,
    html body #logo{
        position:absolute !important;
        left:15px !important;
        right:auto !important;
        top:5px !important;
        bottom:auto !important;
        width:170px !important;
        height:auto !important;
        max-width:none !important;
        max-height:none !important;
        margin:0 !important;
        padding:0 !important;
        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;
        z-index:30003 !important;
    }
}


/* ===== MOBILE — DEFINITIVE TOP-LEFT LOGO (OVERRIDE PAGE-SPECIFIC LEGACY RULES) ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body.page-work > #logo,
    html body:not(.page-work) > #logo{
        position:absolute !important;
        left:15px !important;
        right:auto !important;
        top:5px !important;
        bottom:auto !important;

        width:170px !important;
        height:auto !important;
        max-width:none !important;
        max-height:none !important;

        margin:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        margin-top:0 !important;
        padding:0 !important;

        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;
        inset:auto !important;

        z-index:30003 !important;
    }
}


/* ===== MOBILE + TABLET — 75PX LOGO AT PAGE TOP-LEFT ===== */
@media (max-width:1499px){
    html body.page-work > #logo,
    html body:not(.page-work) > #logo{
        position:absolute !important;
        left:15px !important;
        right:auto !important;
        top:5px !important;
        bottom:auto !important;

        width:75px !important;
        height:auto !important;
        max-width:none !important;
        max-height:none !important;

        margin:0 !important;
        padding:0 !important;
        inset:auto !important;
        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;

        z-index:30003 !important;
    }
}


/* ===== MOBILE + TABLET — FIX LOGO TO VIEWPORT ===== */
@media (max-width:1499px){
    html body.page-work > #logo,
    html body:not(.page-work) > #logo{
        position:fixed !important;
    }
}


/* ===== WORK THUMBNAILS — ONE-LINE FPO DESCRIPTION ===== */
body.page-work .workGridItem{
    aspect-ratio:auto !important;
    overflow:visible !important;
    border-radius:0 !important;
    background:transparent !important;
    text-align:left !important;
}
body.page-work .workGridItem img{
    width:100% !important;
    height:auto !important;
    aspect-ratio:6 / 5 !important;
    border-radius:5px !important;
}
body.page-work .workGridCaption{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding-top:8px;
    color:#fff;
    font-family:"grtsk-vf",Arial,Helvetica,sans-serif;
    font-size:12px;
    line-height:1.25;
    font-weight:300;
    font-variation-settings:'wdth' 100, 'wght' 300, 'slnt' 0;
    letter-spacing:.015em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
@media (max-width:600px){
    body.page-work .workGridCaption{
        padding-top:6px;
        font-size:10px;
    }
}


/* ===== ABOUT + CONTACT DESKTOP — MATCH WORK MOBILE LOGO ===== */
@media (min-width:1500px){
    html body.page-about > #logo,
    html body.page-contact > #logo{
        position:fixed !important;
        left:15px !important;
        right:auto !important;
        top:5px !important;
        bottom:auto !important;

        width:75px !important;
        height:auto !important;
        max-width:none !important;
        max-height:none !important;

        margin:0 !important;
        padding:0 !important;
        inset:auto !important;
        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;

        z-index:30003 !important;
    }
}


/* ===== WORK — KEEP BOTTOM MARQUEE VISIBLE AT 1500PX BREAKPOINT ===== */
@media (min-width:601px) and (max-width:1500px){
    body.page-work #workClientMarquee{
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
    }
}


/* =====================================================================
   WORK TABLET — MATCH THE APPROVED MOBILE COMPOSITION
   601px–1499px now intentionally follows the mobile Work presentation.
   ===================================================================== */
@media (min-width:601px) and (max-width:1499px){

    /* Remove the old tablet-only orientation interruption. */
    body.page-work #tabletPortraitGate{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }
    html:has(body.page-work),
    body.page-work{
        overflow-x:hidden !important;
    }

    /* Same first-screen geometry as mobile. */
    body.page-work #workPageInnerWrapper{
        min-height:100vh !important;
    }

    body.page-work #globeViewport{
        position:absolute !important;
        left:50% !important;
        top:calc(47% - 85px) !important;
        width:100vw !important;
        height:108vw !important;
        min-height:0 !important;
        margin-top:0 !important;
        transform:translate(-50%,-50%) !important;
        border-radius:0 !important;
        overflow:visible !important;
        perspective:1500px !important;
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }

    body.page-work #globeScene{
        position:absolute !important;
        left:50% !important;
        top:50% !important;
        width:0 !important;
        height:0 !important;
        margin-top:-12px !important;
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }

    body.page-work #globeScene::after{
        content:none !important;
        display:none !important;
        pointer-events:none !important;
    }

    body.page-work #globeScene .workItem,
    body.page-work #globeScene .workItem.globeReady,
    body.page-work .workItem{
        width:216px !important;
        height:180px !important;
        left:-108px !important;
        top:-90px !important;
        aspect-ratio:6 / 5 !important;
    }

    body.page-work #globeScene .workItem,
    body.page-work #globeScene .workImage{
        pointer-events:auto !important;
        touch-action:pan-y !important;
    }

    /* Mobile treatment has no sphere navigation arrows. */
    body.page-work #globePrev,
    body.page-work #globeNext,
    body.page-work #globeUp,
    body.page-work #globeDown{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

    /* Same compact top-left logo and hamburger behavior. */
    html body.page-work > #logo{
        position:fixed !important;
        inset:auto !important;
        left:15px !important;
        right:auto !important;
        top:5px !important;
        bottom:auto !important;
        width:75px !important;
        height:auto !important;
        max-width:none !important;
        max-height:none !important;
        margin:0 !important;
        padding:0 !important;
        translate:none !important;
        transform:none !important;
        -webkit-transform:none !important;
        z-index:30003 !important;
    }

    body.page-work #mobileIconWrapper,
    body.page-work.work-page-scrolled #mobileIconWrapper{
        top:31px !important;
        transition:none !important;
    }

    body.page-work #workDragHint{
        width:116px !important;
        margin-top:-23px !important;
    }

    /* Same mobile client-logo marquee: placement, scale, direction and rules. */
    body.page-work #workClientMarquee{
        display:block !important;
        visibility:visible !important;
        opacity:1 !important;
        position:absolute !important;
        left:0 !important;
        right:0 !important;
        top:calc(73.5vh + 40.5px) !important;
        bottom:auto !important;
        width:100% !important;
        max-width:100vw !important;
        height:92px !important;
        overflow:hidden !important;
        box-sizing:border-box !important;
        background:#000 !important;
        background-color:#000 !important;
        transform:none !important;
        z-index:30 !important;
    }

    body.page-work .workClientMarqueeTrack{
        animation-name:workClientLogoScrollReverse !important;
        animation-duration:38s !important;
    }

    body.page-work .workClientLogoSet{
        gap:54px !important;
        padding-right:54px !important;
    }

    body.page-work .workClientLogo{
        height:68px !important;
        max-width:240px !important;
    }

    body.page-work #workClientMarquee::before,
    body.page-work #workClientMarquee::after{
        content:"" !important;
        position:absolute !important;
        left:0 !important;
        right:0 !important;
        width:100% !important;
        height:3px !important;
        background:#fff !important;
        transform:none !important;
        pointer-events:none !important;
        z-index:40 !important;
    }
    body.page-work #workClientMarquee::before{ top:0 !important; }
    body.page-work #workClientMarquee::after{ bottom:0 !important; }

    /* Same mobile lower-project section and two-column thumbnail grid. */
    body.page-work #workProjectGridSection{
        position:relative !important;
        margin-top:-100px !important;
        padding:64px 18px 80px !important;
        background:#000 !important;
        background-color:#000 !important;
        background-image:none !important;
    }

    body.page-work #workProjectGridSection::before{
        display:none !important;
        content:none !important;
    }

    body.page-work #workProjectGrid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:12px !important;
    }

    body.page-work #workCategoryFilter{
        width:100% !important;
        margin-bottom:24px !important;
    }

    body.page-work .workCategoryFilterButton{
        min-height:52px !important;
        padding:0 18px !important;
        font-size:14px !important;
    }

    body.page-work .workCategoryOption{
        min-height:44px !important;
        padding:0 18px !important;
        font-size:13px !important;
    }

    body.page-work .workGridCaption{
        padding-top:6px !important;
        font-size:10px !important;
    }
}


/* =====================================================================
   WORK TABLET — ENABLE PAGE SCROLL + RESTORE PORTRAIT-ONLY GATE
   ===================================================================== */

/* Portrait tablet: allow the page to scroll normally. */
@media (min-width:601px) and (max-width:1499px) and (orientation:portrait){
    html,
    body,
    html:has(body.page-work),
    body.page-work{
        overflow-x:hidden !important;
        overflow-y:auto !important;
        height:auto !important;
        min-height:100% !important;
        touch-action:pan-y !important;
        overscroll-behavior-y:auto !important;
    }

    body.page-work #tabletPortraitGate{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

    body.page-work #workPageInnerWrapper{
        overflow:visible !important;
        touch-action:pan-y !important;
    }

    body.page-work #workProjectGridSection{
        touch-action:pan-y !important;
    }
}

/* Landscape tablet: restore the full-screen rotate-device requirement. */
@media (min-width:601px) and (max-width:1499px) and (orientation:landscape){
    body.page-work #tabletPortraitGate{
        display:flex !important;
        visibility:visible !important;
        opacity:1 !important;
        pointer-events:auto !important;
        position:fixed !important;
        inset:0 !important;
        width:100vw !important;
        height:100vh !important;
        height:100dvh !important;
        align-items:center !important;
        justify-content:center !important;
        z-index:60000 !important;
    }

    html:has(body.page-work),
    body.page-work{
        overflow:hidden !important;
    }
}

/* ===== WORK PROJECT CATEGORY FILTER — ACTIVE FILTERING ===== */
body.page-work .workGridItem.is-category-hidden{display:none !important;}


/* =====================================================================
   ABOUT — ALLOW CONTENT TO SCROLL WHEN IT EXCEEDS THE VIEWPORT
   ===================================================================== */
html:has(body.page-about),
body.page-about{
    height:auto !important;
    min-height:100% !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    overscroll-behavior-y:auto !important;
}

body.page-about #pageWrapper,
body.page-about #aboutPageWrapper,
body.page-about #aboutWrapper,
body.page-about #aboutContentWrapper{
    height:auto !important;
    min-height:100vh !important;
    overflow:visible !important;
}

/* Keep touch scrolling available on mobile/tablet About. */
@media (max-width:1499px){
    html:has(body.page-about),
    body.page-about{
        touch-action:pan-y !important;
        -webkit-overflow-scrolling:touch;
    }
}


/* =====================================================================
   ABOUT — KEEP BACKGROUND IMAGE CONTINUOUS WHILE PAGE SCROLLS
   ===================================================================== */
html:has(body.page-about){
    background:#000 url("images/work_background.jpg?v=20261011-1") center center / cover fixed no-repeat !important;
}

body.page-about{
    background-color:transparent !important;
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
}

body.page-about #pageWrapper,
body.page-about #aboutPageWrapper,
body.page-about #aboutWrapper,
body.page-about #aboutContentWrapper{
    background-color:transparent !important;
}

/* iOS/mobile browsers handle fixed backgrounds inconsistently; anchoring
   the same image to the document root prevents black from appearing below. */
@media (max-width:1499px){
    html:has(body.page-about){
        background-attachment:scroll !important;
        background-size:cover !important;
    }

    body.page-about{
        background-attachment:scroll !important;
        background-size:cover !important;
        min-height:100vh !important;
    }
}


/* =====================================================================
   ABOUT — SINGLE CONTINUOUS BACKGROUND IMAGE
   Prevent the image from being rendered once on <html> and again on <body>.
   ===================================================================== */
html:has(body.page-about){
    background:#000 !important;
    background-image:none !important;
}

body.page-about{
    background-color:#000 !important;
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-position:center top !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    background-attachment:scroll !important;
    min-height:100vh !important;
}

body.page-about #pageWrapper,
body.page-about #aboutPageWrapper,
body.page-about #aboutWrapper,
body.page-about #aboutContentWrapper{
    background:transparent !important;
}


/* =====================================================================
   ABOUT — ONE BACKGROUND THAT COVERS THE FULL SCROLLABLE DOCUMENT
   ===================================================================== */
html:has(body.page-about){
    background:#000 !important;
    background-image:none !important;
    min-height:100% !important;
}

body.page-about{
    position:relative !important;
    background:#000 !important;
    background-image:none !important;
    min-height:100vh !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
}

/* Render the About artwork once, behind the entire body. Because this layer
   belongs to the scrolling body (not the viewport), its height follows the
   complete document and cannot expose black at the bottom. */
body.page-about::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-height:100vh !important;
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-position:center top !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    pointer-events:none !important;
    z-index:-1 !important;
}

body.page-about #pageWrapper,
body.page-about #aboutPageWrapper,
body.page-about #aboutWrapper,
body.page-about #aboutContentWrapper{
    position:relative !important;
    background:transparent !important;
}


/* =====================================================================
   ABOUT — SCROLLABLE WRAPPER + ONE VISIBLE CONTINUOUS BACKGROUND
   ===================================================================== */
html:has(body.page-about),
body.page-about{
    height:auto !important;
    min-height:100% !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    background:#000 !important;
}

/* The About wrapper is the single owner of the background artwork. */
body.page-about #aboutPageWrapper{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    width:100% !important;
    height:auto !important;
    min-height:100vh !important;
    overflow:visible !important;

    background-color:#061b22 !important;
    background-image:url("images/work_background.jpg?v=20261011-1") !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
}

/* Let the content determine the document height instead of clipping it
   to the original one-viewport absolute layout. */
body.page-about #aboutPageInnerWrapper{
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    width:100% !important;
    height:auto !important;
    min-height:100vh !important;
    overflow:visible !important;
    background:transparent !important;
}

/* Do not paint a second copy on the document/body. */
body.page-about::before{
    content:none !important;
    display:none !important;
}


/* =====================================================================
   ABOUT — MOVE CONTENT BELOW THE HEADER
   ===================================================================== */
body.page-about #aboutPageInnerWrapper{
    box-sizing:border-box !important;
    padding-top:110px !important;
}

/* Keep a little extra breathing room on mobile/tablet where the fixed
   logo/hamburger occupy the top of the viewport. */
@media (max-width:1499px){
    body.page-about #aboutPageInnerWrapper{
        padding-top:125px !important;
    }
}


/* ===== ABOUT DESKTOP — MORE HEADER CLEARANCE ===== */
@media (min-width:1500px){
    body.page-about #aboutPageInnerWrapper{
        padding-top:165px !important;
    }
}

/* ===== WORK THUMBNAILS — PROJECT DESCRIPTIONS ===== */
body.page-work .workGridCaption{
 display:block !important;width:100% !important;box-sizing:border-box !important;
 padding-top:8px !important;color:#fff !important;
 font-family:"grtsk-vf",Arial,Helvetica,sans-serif !important;
 font-size:12px !important;line-height:1.35 !important;font-weight:300 !important;
 font-variation-settings:'wdth' 100, 'wght' 300, 'slnt' 0 !important;
 letter-spacing:.015em !important;white-space:normal !important;
 overflow:visible !important;text-overflow:clip !important;
}
@media (max-width:600px){
 body.page-work .workGridCaption{padding-top:6px !important;font-size:10px !important;line-height:1.35 !important;}
}


/* ===== WORK THUMBNAILS — DESCRIPTION ALIGNMENT / SPACING ===== */
body.page-work .workGridCaption{
    text-align:center !important;
    padding-top:12px !important;
    font-size:13px !important;
}

@media (max-width:600px){
    body.page-work .workGridCaption{
        padding-top:10px !important;
        font-size:11px !important;
    }
}


/* ===== WORK THUMBNAILS — BOLD CLIENT + MORE VERTICAL BREATHING ROOM ===== */
body.page-work .workGridCaptionClient{
    font-weight:700 !important;
    font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
}

/* Increase only the vertical grid spacing so the descriptions have room
   without making the thumbnail columns feel unnecessarily farther apart. */
body.page-work #workProjectGrid{
    row-gap:42px !important;
}

@media (max-width:600px){
    body.page-work #workProjectGrid{
        row-gap:34px !important;
    }
}


/* ===== WORK THUMBNAIL DESCRIPTIONS — LARGER + ROW-ALIGNED ===== */
body.page-work #workProjectGrid{
    align-items:stretch !important;
    grid-auto-flow:row !important;
}

body.page-work .workGridItem{
    display:flex !important;
    flex-direction:column !important;
    align-self:stretch !important;
    height:100% !important;
    aspect-ratio:auto !important;
}

body.page-work .workGridItem img{
    flex:0 0 auto !important;
}

body.page-work .workGridCaption{
    flex:0 0 auto !important;
    font-size:14px !important;
    line-height:1.4 !important;
}

/* Each CSS-grid row now takes the height of its tallest description.
   A two-line caption therefore pushes the entire next row down together. */
@media (max-width:600px){
    body.page-work .workGridCaption{
        font-size:12px !important;
        line-height:1.4 !important;
    }
}


/* ===== WORK THUMBNAIL DESCRIPTIONS — 17PX ===== */
body.page-work .workGridCaption{
    font-size:17px !important;
}
@media (max-width:600px){
    body.page-work .workGridCaption{
        font-size:17px !important;
    }
}


/* ===== WORK DRAG HINT — TOP POSITION ===== */
body.page-work #workDragHint{
    top:162px !important;
}
body.page-work #globeScene{z-index:2!important;}
body.page-work #globeScene{ z-index:2 !important; }

/* ===== WORK SPHERE LIQUID LIGHTS — IMMEDIATE / 35% ===== */
/* ===== WORK SPHERE LIQUID LIGHTS — 15% ===== */
/* ===== WORK SPHERE LIQUID LIGHTS — STARTUP OBSERVER ===== */
/* ===== WORK PAGE — 1500PX+ SCROLLBAR FIX =====
   Desktop begins at 1500px, but the Work page must remain vertically scrollable
   so the project grid below the sphere is reachable. */
@media (min-width:1500px){
    html:has(body.page-work),
    body.page-work{
        height:auto !important;
        min-height:100% !important;
        overflow-x:hidden !important;
        overflow-y:auto !important;
    }

    body.page-work #workPageWrapper{
        height:auto !important;
        min-height:100vh !important;
        overflow:visible !important;
    }

    body.page-work #workPageInnerWrapper{
        overflow:visible !important;
    }
}


/* ===== WORK PAGE — EXACT 1500PX SCROLL OWNERSHIP FIX ===== */
@media (min-width:1500px) and (max-width:1500px){
    html,
    html:has(body.page-work){
        height:auto !important;
        min-height:100% !important;
        overflow-x:hidden !important;
        overflow-y:scroll !important;
    }

    body.page-work{
        position:relative !important;
        height:auto !important;
        min-height:100vh !important;
        overflow:visible !important;
    }

    body.page-work #workPageWrapper,
    body.page-work #workPageInnerWrapper{
        position:relative !important;
        height:auto !important;
        min-height:100vh !important;
        overflow:visible !important;
    }

    body.page-work #workProjectGridSection{
        position:relative !important;
    }
}


/* ===== WORK TABLET — REAL DOCUMENT SCROLLBAR =====
   The base Work shell is fixed/viewport-height. On portrait tablets, release
   both wrappers into normal document flow so the project grid contributes to
   document height and the browser has a real vertical scrollbar. */
@media (min-width:601px) and (max-width:1499px) and (orientation:portrait){
    html,
    html:has(body.page-work){
        height:auto !important;
        min-height:100% !important;
        overflow-x:hidden !important;
        overflow-y:scroll !important;
    }

    body.page-work{
        position:relative !important;
        height:auto !important;
        min-height:100vh !important;
        overflow-x:hidden !important;
        overflow-y:visible !important;
    }

    body.page-work #workPageWrapper{
        position:relative !important;
        inset:auto !important;
        top:auto !important;
        left:auto !important;
        right:auto !important;
        bottom:auto !important;
        width:100% !important;
        height:auto !important;
        min-height:100vh !important;
        overflow:visible !important;
    }

    body.page-work #workPageInnerWrapper{
        position:relative !important;
        inset:auto !important;
        top:auto !important;
        left:auto !important;
        right:auto !important;
        bottom:auto !important;
        width:100% !important;
        height:auto !important;
        min-height:100vh !important;
        overflow:visible !important;
    }
}


/* ===== WORK TABLET — ALWAYS-VISIBLE VERTICAL SCROLLBAR ===== */
#workTabletScrollbar{display:none;}

@media (min-width:601px) and (max-width:1499px) and (orientation:portrait){
    body.page-work #workTabletScrollbar{
        display:block !important;
        position:fixed !important;
        top:0 !important;
        right:2px !important;
        width:7px !important;
        height:100vh !important;
        height:100dvh !important;
        z-index:2147483000 !important;
        pointer-events:none !important;
        background:rgba(255,255,255,.10) !important;
        border-radius:999px !important;
    }

    body.page-work #workTabletScrollbarThumb{
        position:absolute !important;
        top:0;
        left:0;
        width:100% !important;
        min-height:42px !important;
        border-radius:999px !important;
        background:rgba(255,255,255,.62) !important;
        transform:translateY(0);
        will-change:transform,height;
    }
}


/* ===== SITEWIDE CUSTOM SCROLLBAR / NATIVE BAR HIDDEN ===== */
html,
body{
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
    display:none !important;
}

#workTabletScrollbar{display:none !important;}

#siteScrollbar{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    right:2px !important;
    width:7px !important;
    height:100vh !important;
    height:100dvh !important;
    z-index:2147483000 !important;
    pointer-events:none !important;
    background:#e8e8e8 !important;
    border-radius:999px !important;
    opacity:1 !important;
}
#siteScrollbarThumb{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    width:100% !important;
    min-height:42px !important;
    border-radius:999px !important;
    background:#929292 !important;
    transform:translate3d(0,0,0);
    will-change:transform,height;
}

/* Native smooth behavior remains available for anchors/programmatic scroll,
   while JS below smooths wheel input without hijacking touch scrolling. */
html{scroll-behavior:smooth !important;}


/* ===== SITEWIDE CUSTOM SCROLLBAR — INTERACTIVE ===== */
#siteScrollbar{
    pointer-events:auto !important;
    cursor:pointer !important;
    touch-action:none !important;
    user-select:none !important;
}
#siteScrollbarThumb{
    cursor:grab !important;
    pointer-events:auto !important;
}
#siteScrollbarThumb:active{
    cursor:grabbing !important;
}


/* ===== CUSTOM SCROLLER — CHROME FIX =====
   JS owns interpolation. Native CSS smoothing must be off or Chrome queues
   another smooth animation for every scrollTo() frame. */
html,
body{
    scroll-behavior:auto !important;
}


/* ===== SITEWIDE SCROLLBAR — RELIABLE HIT AREA ===== */
#siteScrollbar{
    right:0 !important;
    width:12px !important;
    background:transparent !important;
    z-index:2147483646 !important;
}
#siteScrollbar::before{
    content:"";
    position:absolute;
    top:0;
    right:2px;
    width:7px;
    height:100%;
    border-radius:999px;
    background:#e8e8e8;
    pointer-events:none;
}
#siteScrollbarThumb{
    left:auto !important;
    right:2px !important;
    width:7px !important;
    z-index:1 !important;
}


/* Slightly darker grey on hover/drag for a clearer affordance. */
#siteScrollbarThumb:hover,
#siteScrollbarThumb:active{
    background:#6d6d6d !important;
}

/* ===== CUSTOM SCROLLBAR — CLEAN AUTO-HIDE ===== */
#siteScrollbar{
    transition:opacity .18s ease, visibility .18s ease !important;
}


/* ===== WORK SPHERE CENTER — BACKGROUND VIDEO =====
   Anchored to globeViewport rather than globeScene so sphere rotation cannot
   alter its center position at any viewport size. */
body.page-work #globeViewport{
    isolation:isolate;
}
body.page-work #workSphereBackgroundVideo{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:min(72%,650px) !important;
    height:auto !important;
    aspect-ratio:1 / 1 !important;
    transform:translate(-50%,-50%) !important;
    object-fit:cover !important;
    border-radius:50% !important;
    pointer-events:none !important;
    z-index:1 !important;
    display:block !important;
}
body.page-work #globeScene{
    z-index:2 !important;
}


/* ===== MOBILE LOGO — POSITION NUDGE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #logo{
        left:19px !important;
        top:9px !important;
    }
}


/* ===== MOBILE LOGO — CENTERED IN HEADER + 4PX DOWN ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #logo{
        position:fixed !important;
        left:50% !important;
        right:auto !important;
        top:9px !important;
        transform:translateX(-50%) !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}

/* ===== MOBILE CLIENT MARQUEE — iOS SAFARI STABILITY ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
 body.page-work #workClientMarquee{ -webkit-transform:translateZ(0)!important; transform:translateZ(0)!important; -webkit-backface-visibility:hidden; backface-visibility:hidden; contain:paint; }
 body.page-work .workClientMarqueeTrack{ display:flex!important; width:max-content!important; min-width:max-content!important; flex-wrap:nowrap!important; align-items:center!important; -webkit-animation:none!important; animation:none!important; will-change:transform; -webkit-backface-visibility:hidden; backface-visibility:hidden; }
 body.page-work .workClientLogoSet{ flex:0 0 auto!important; flex-shrink:0!important; white-space:nowrap!important; }
 body.page-work .workClientLogo{ flex:0 0 auto!important; -webkit-transform:translateZ(0); transform:translateZ(0); }
}


/* ===== WORK SPHERE — FULLSCREEN STARBURST VIDEO ===== */
body.page-work #globeViewport{ isolation:isolate; }
body.page-work #workSphereBackgroundVideo{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:100vw !important;
    height:100vh !important;
    width:100dvw !important;
    height:100dvh !important;
    max-width:none !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    transform:translate(-50%,-50%) !important;
    object-fit:cover !important;
    object-position:50% 50% !important;
    border-radius:0 !important;
    pointer-events:none !important;
    z-index:1 !important;
    display:block !important;
}
body.page-work #globeScene{ z-index:2 !important; }


/* ===== WORK PAGE — SOLID BLACK BACKGROUND ===== */
html:has(body.page-work),
body.page-work,
body.page-work #workPageWrapper,
body.page-work #workPageInnerWrapper,
body.page-work #globeViewport{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
}
body.page-work #workPageWrapper::before,
body.page-work #workPageWrapper::after,
body.page-work #workPageInnerWrapper::before,
body.page-work #workPageInnerWrapper::after{
    background-image:none !important;
}


/* ===== MOBILE CLIENT MARQUEE — ALWAYS RUNNING ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work .workClientMarqueeTrack{
        -webkit-animation:none !important;
        animation:none !important;
        will-change:transform !important;
    }
}


/* ===== WORK GRID — FEATURED WORK HEADING ===== */
body.page-work #workFeaturedHeading{
    width:100%;
    margin:0 auto 18px;
    text-align:center;
    font-family:"grtsk-vf",sans-serif !important;
    font-variation-settings:'wdth' 100, 'wght' 600, 'slnt' 0;
    font-size:20px;
    line-height:1.1;
    letter-spacing:.08em;
    color:#fff;
}


/* ===== FEATURED WORK — LARGER HEADING ===== */
body.page-work #workFeaturedHeading{
    font-size:28px !important;
}


/* ===== DESKTOP WORK GLOBE — 30PX UP ===== */
@media (min-width:1500px){
    body.page-work #globeScene{
        top:calc(50% + 65px) !important;
    }
}


/* ===== MOBILE WORK — TIGHTEN DRAG HINT + MARQUEE SECTIONS ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workDragHint{
        top:132px !important;
    }

    body.page-work #workClientMarquee,
    body.page-work #workProjectGridSection{
        transform:translateY(-40px) !important;
    }
}

/* ===== DESKTOP FEATURED WORK — LARGE + RAISED ===== */
@media (min-width:1500px){
 body.page-work #workFeaturedHeading{
  position:relative !important;
  top:-30px !important;
  margin-bottom:-12px !important;
  font-size:52px !important;
  line-height:1 !important;
  letter-spacing:.045em !important;
 }
}


/* ===== DESKTOP FEATURED WORK — 40PX FURTHER UP ===== */
@media (min-width:1500px){
    body.page-work #workFeaturedHeading{
        top:-70px !important;
        margin-bottom:-52px !important;
    }
}


/* ===== HOME / COVER SLIDER — KEEP LOGO TOP LEFT ===== */
body:not(.page-work):not(.page-about):not(.page-contact) #logo,
body:has(#coverSlider) #logo{
    position:fixed !important;
    left:20px !important;
    right:auto !important;
    top:20px !important;
    bottom:auto !important;
    margin:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
    z-index:2147483001 !important;
}


/* ===== SITEWIDE LOGO — LARGE + UNIFORM ===== */
#logo,
body.page-work #logo,
body.page-about #logo,
body.page-contact #logo,
body:has(#coverSlider) #logo{
    position:fixed !important;
    left:24px !important;
    right:auto !important;
    top:20px !important;
    bottom:auto !important;
    width:260px !important;
    height:auto !important;
    max-width:none !important;
    margin:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
    object-fit:contain !important;
    z-index:2147483001 !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #logo,
    body.page-work #logo,
    body.page-about #logo,
    body.page-contact #logo,
    body:has(#coverSlider) #logo{
        left:18px !important;
        top:16px !important;
        width:220px !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}


/* ===== SITEWIDE LOGO CONTAINER — HEADER ALIGNMENT ===== */
#logoDiv{
    top:-30px !important;
}


/* ===== LOGO — CONTAIN WITHIN HEADER ===== */
#headerDiv{
    position:relative !important;
}

#logoDiv{
    position:absolute !important;
    top:0 !important;
    left:20px !important;
    bottom:0 !important;
    height:auto !important;
    display:flex !important;
    align-items:center !important;
    margin:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
    z-index:20 !important;
}

#logo,
body.page-work #logo,
body.page-about #logo,
body.page-contact #logo,
body:has(#coverSlider) #logo{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    width:260px !important;
    height:auto !important;
    max-height:calc(100% - 10px) !important;
    margin:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
    object-fit:contain !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #logoDiv{
        left:14px !important;
    }

    #logo,
    body.page-work #logo,
    body.page-about #logo,
    body.page-contact #logo,
    body:has(#coverSlider) #logo{
        width:220px !important;
        max-height:calc(100% - 8px) !important;
    }
}


/* ===== SITEWIDE LOGO — EXACT 20PX TOP / LEFT ===== */
#logoDiv{
    position:fixed !important;
    top:20px !important;
    left:20px !important;
    right:auto !important;
    bottom:auto !important;
    height:auto !important;
    margin:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
    display:block !important;
    z-index:2147483001 !important;
}

#logo,
body.page-work #logo,
body.page-about #logo,
body.page-contact #logo,
body:has(#coverSlider) #logo{
    position:relative !important;
    top:0 !important;
    left:0 !important;
    right:auto !important;
    bottom:auto !important;
    margin:0 !important;
    transform:none !important;
    -webkit-transform:none !important;
}

/* Override earlier mobile logo centering/offset rules too. */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    #logoDiv{
        top:20px !important;
        left:20px !important;
    }

    #logo,
    body.page-work #logo,
    body.page-about #logo,
    body.page-contact #logo,
    body:has(#coverSlider) #logo{
        top:0 !important;
        left:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}


/* ===== FINAL HEADER / LOGO FIX ===== */
/* Keep the existing header at its intended 78px height; do not create a second bar. */
#headerWrapper{
    height:78px !important;
}

/* The actual logo element is a sibling of #headerWrapper. Position it directly. */
html body #logo,
html body.page-work #logo,
html body.page-about #logo,
html body.page-contact #logo,
html body:has(#coverSlider) #logo{
    position:fixed !important;
    top:20px !important;
    left:20px !important;
    right:auto !important;
    bottom:auto !important;
    margin:0 !important;
    padding:0 !important;
    translate:none !important;
    transform:none !important;
    -webkit-transform:none !important;
    width:260px !important;
    height:auto !important;
    max-width:none !important;
    max-height:58px !important;
    object-fit:contain !important;
    object-position:left top !important;
    z-index:30001 !important;
}

/* Same exact top/left anchor on tablet and mobile. */
@media (max-width:1499px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        top:20px !important;
        left:20px !important;
        width:220px !important;
        max-height:58px !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}

/* ===== SITEWIDE LOGO — 2X SIZE ===== */
html body #logo,
html body.page-work #logo,
html body.page-about #logo,
html body.page-contact #logo,
html body:has(#coverSlider) #logo{
 top:20px !important;
 left:20px !important;
 width:520px !important;
 max-height:none !important;
}
@media (max-width:1499px){
 html body #logo,
 html body.page-work #logo,
 html body.page-about #logo,
 html body.page-contact #logo,
 html body:has(#coverSlider) #logo{
  top:20px !important;
  left:20px !important;
  width:440px !important;
  max-height:none !important;
 }
}


/* ===== SITEWIDE LOGO — DOUBLE AGAIN + 20PX UP ===== */
html body #logo,
html body.page-work #logo,
html body.page-about #logo,
html body.page-contact #logo,
html body:has(#coverSlider) #logo{
    top:0 !important;
    left:20px !important;
    width:1040px !important;
    max-height:none !important;
}

@media (max-width:1499px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        top:0 !important;
        left:20px !important;
        width:880px !important;
        max-height:none !important;
    }
}


/* ===== SITEWIDE LOGO — 220PX / TOP -20PX ===== */
html body #logo,
html body.page-work #logo,
html body.page-about #logo,
html body.page-contact #logo,
html body:has(#coverSlider) #logo{
    top:-20px !important;
    left:20px !important;
    width:220px !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
}

@media (max-width:1499px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        top:-20px !important;
        left:20px !important;
        width:220px !important;
    }
}


/* ===== ABOUT PAGE — MATCH CONTACT BACKGROUND ===== */
html:has(body.page-about),
body.page-about{
    background:#02090c !important;
    background-image:none !important;
}

body.page-about #aboutPageWrapper{
    background:
        radial-gradient(circle at 75% 72%,rgba(16,78,94,.28),transparent 34%),
        linear-gradient(135deg,#02090c 0%,#06171d 52%,#031014 100%) !important;
    background-color:#02090c !important;
    background-image:
        radial-gradient(circle at 75% 72%,rgba(16,78,94,.28),transparent 34%),
        linear-gradient(135deg,#02090c 0%,#06171d 52%,#031014 100%) !important;
    background-attachment:fixed !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

body.page-about #aboutPageInnerWrapper{
    background:transparent !important;
}


/* ===== WORK THUMBNAIL GRID — MATCH CONTACT / ABOUT BACKGROUND ===== */
body.page-work #workProjectGridSection{
    background:
        radial-gradient(circle at 75% 72%,rgba(16,78,94,.28),transparent 34%),
        linear-gradient(135deg,#02090c 0%,#06171d 52%,#031014 100%) !important;
    background-color:#02090c !important;
    background-image:
        radial-gradient(circle at 75% 72%,rgba(16,78,94,.28),transparent 34%),
        linear-gradient(135deg,#02090c 0%,#06171d 52%,#031014 100%) !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}


/* ===== WORK PAGE — ONE CONTINUOUS DARK TEAL GRADIENT ===== */
html:has(body.page-work),
body.page-work{
    background:#02090c !important;
    background-image:
        radial-gradient(circle at 75% 72%,rgba(16,78,94,.28),transparent 34%),
        linear-gradient(135deg,#02090c 0%,#06171d 52%,#031014 100%) !important;
    background-attachment:fixed !important;
    background-position:center center !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
}

body.page-work #workPageWrapper,
body.page-work #workPageInnerWrapper,
body.page-work #globeViewport,
body.page-work #workProjectGridSection{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
}

body.page-work #workPageWrapper::before,
body.page-work #workPageWrapper::after,
body.page-work #workPageInnerWrapper::before,
body.page-work #workPageInnerWrapper::after{
    background:transparent !important;
    background-image:none !important;
}


/* ===== WORK PAGE DESKTOP MENU — ANCHOR TO RIGHT ===== */
@media (min-width:1500px){
    body.page-work #menuDiv{
        position:fixed !important;
        left:auto !important;
        right:20px !important;
        margin-left:0 !important;
        margin-right:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}


/* ===== WORK MENU — EXACT ABOUT / CONTACT POSITION ===== */
@media (min-width:1500px){
    body.page-work #menuWrapper,
    body.page-work.work-page-scrolled #menuWrapper{
        position:fixed !important;
        left:auto !important;
        right:5.2% !important;
        top:29px !important;
        width:335px !important;
        height:34px !important;
        margin:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}


/* ===== DESKTOP WORK GLOBE — 20PX FURTHER UP ===== */
@media (min-width:1500px){
    body.page-work #globeScene{
        top:calc(50% + 45px) !important;
    }
}


/* ===== MOBILE LOGO — 8PX FROM LEFT ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        left:8px !important;
    }
}

/* ===== WORK SPHERE VIDEO — NATIVE 1920x1080 MAX ===== */
body.page-work #workSphereBackgroundVideo{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:min(100vw, 1920px) !important;
    height:auto !important;
    max-width:1920px !important;
    max-height:1080px !important;
    aspect-ratio:16 / 9 !important;
    transform:translate(-50%,-50%) !important;
    -webkit-transform:translate(-50%,-50%) !important;
    object-fit:contain !important;
    object-position:50% 50% !important;
    border-radius:0 !important;
}


/* ===== SITEWIDE BACKGROUNDS — SOLID BLACK ===== */
html,
body,
html:has(body.page-work),
html:has(body.page-about),
html:has(body.page-contact),
body.page-work,
body.page-about,
body.page-contact{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
}

body.page-work #workPageWrapper,
body.page-work #workPageInnerWrapper,
body.page-work #globeViewport,
body.page-work #workProjectGridSection,
body.page-about #aboutPageWrapper,
body.page-about #aboutPageInnerWrapper,
body.page-contact #contactPageWrapper,
body.page-contact #contactPageInnerWrapper{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
}

body.page-work #workPageWrapper::before,
body.page-work #workPageWrapper::after,
body.page-work #workPageInnerWrapper::before,
body.page-work #workPageInnerWrapper::after,
body.page-about #aboutPageWrapper::before,
body.page-about #aboutPageWrapper::after,
body.page-contact #contactPageWrapper::before,
body.page-contact #contactPageWrapper::after{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
}


/* ===== WORK VIDEO — LARGE DESKTOP FULL FRAME / NO SIDE CROPPING ===== */
@media (min-width:1500px){
    body.page-work #globeViewport{
        width:100vw !important;
        max-width:none !important;
        left:0 !important;
        right:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        overflow:visible !important;
    }

    body.page-work #workSphereBackgroundVideo{
        position:absolute !important;
        left:50% !important;
        top:50% !important;
        width:min(1920px, 100vw, calc(100vh * 16 / 9)) !important;
        height:auto !important;
        max-width:1920px !important;
        max-height:1080px !important;
        aspect-ratio:16 / 9 !important;
        transform:translate(-50%,-50%) !important;
        -webkit-transform:translate(-50%,-50%) !important;
        object-fit:contain !important;
        object-position:50% 50% !important;
    }
}


/* ===== LARGE DESKTOP — RECENTER SPHERE + VIDEO ===== */
@media (min-width:1500px){
    body.page-work #globeViewport{
        width:100vw !important;
        max-width:none !important;
        left:50% !important;
        right:auto !important;
        margin-left:-50vw !important;
        margin-right:0 !important;
        overflow:visible !important;
    }

    body.page-work #globeScene{
        left:50% !important;
        right:auto !important;
        margin-left:0 !important;
    }

    body.page-work #workSphereBackgroundVideo{
        left:50% !important;
        right:auto !important;
        top:50% !important;
        margin:0 !important;
        width:min(1920px, 100vw, calc(100vh * 16 / 9)) !important;
        height:auto !important;
        max-width:1920px !important;
        max-height:1080px !important;
        aspect-ratio:16 / 9 !important;
        transform:translate(-50%,-50%) !important;
        -webkit-transform:translate(-50%,-50%) !important;
        object-fit:contain !important;
        object-position:center center !important;
    }
}


/* ===== LARGE DESKTOP — TRUE SHARED CENTER FOR SPHERE + VIDEO ===== */
@media (min-width:1500px){
    body.page-work #globeViewport{
        position:absolute !important;
        left:50% !important;
        right:auto !important;
        width:min(96vw, 1500px) !important;
        max-width:none !important;
        height:calc(100vh + 280px) !important;
        margin-left:0 !important;
        margin-right:0 !important;
        margin-top:-140px !important;
        transform:translate(-50%,-50%) !important;
        -webkit-transform:translate(-50%,-50%) !important;
        overflow:visible !important;
    }

    body.page-work #globeScene{
        position:absolute !important;
        left:50% !important;
        right:auto !important;
        margin-left:0 !important;
        /* Keep the approved desktop vertical globe position. */
        top:calc(50% + 45px) !important;
    }

    body.page-work #workSphereBackgroundVideo{
        position:absolute !important;
        left:50% !important;
        right:auto !important;
        /* Match the sphere's center, including its approved +45px Y offset. */
        top:calc(50% + 45px) !important;
        margin:0 !important;
        width:min(1920px, 100vw, calc(100vh * 16 / 9)) !important;
        height:auto !important;
        max-width:1920px !important;
        max-height:1080px !important;
        aspect-ratio:16 / 9 !important;
        transform:translate(-50%,-50%) !important;
        -webkit-transform:translate(-50%,-50%) !important;
        object-fit:contain !important;
        object-position:50% 50% !important;
    }
}


/* ===== WORK VIDEO — 1953PX WIDTH ===== */
@media (min-width:1500px){
    body.page-work #workSphereBackgroundVideo{
        width:1953px !important;
        max-width:1953px !important;
        height:auto !important;
        aspect-ratio:16 / 9 !important;
        object-fit:contain !important;
        object-position:center center !important;
    }
}

/* ===== HEADER — SOLID BLACK / NO BOTTOM LINE ===== */
#headerDiv,
#headerWrapper,
body.page-work #headerDiv,
body.page-work #headerWrapper,
body.page-about #headerDiv,
body.page-about #headerWrapper,
body.page-contact #headerDiv,
body.page-contact #headerWrapper{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
    border-bottom:0 !important;
    border-bottom-width:0 !important;
    box-shadow:none !important;
}

#headerDiv::before,
#headerDiv::after,
#headerWrapper::before,
#headerWrapper::after{
    border-bottom:0 !important;
    background-image:none !important;
    box-shadow:none !important;
}


/* ===== WORK VIDEO — OUTSIDE SPHERE / NEVER CROPPED ===== */
body.page-work #workSphereBackgroundVideo{
    position:absolute !important;
    left:50% !important;
    top:calc(50% + 45px) !important;
    width:min(100vw, 1953px) !important;
    max-width:1953px !important;
    height:auto !important;
    max-height:none !important;
    aspect-ratio:16 / 9 !important;
    margin:0 !important;
    transform:translate(-50%,-50%) !important;
    -webkit-transform:translate(-50%,-50%) !important;
    object-fit:contain !important;
    object-position:center center !important;
    pointer-events:none !important;
    z-index:1 !important;
    overflow:visible !important;
}

body.page-work #globeViewport{
    z-index:2 !important;
}

@media (min-width:1500px){
    body.page-work #workSphereBackgroundVideo{
        width:1953px !important;
        max-width:1953px !important;
    }
}


/* ===== WORK SPHERE — TRANSPARENT OVER BACKGROUND VIDEO ===== */
body.page-work #globeViewport,
body.page-work #globeScene{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
}

body.page-work #globeViewport::before,
body.page-work #globeViewport::after,
body.page-work #globeScene::before,
body.page-work #globeScene::after{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    box-shadow:none !important;
}


/* ===== WORK BACKGROUND VIDEO — NATIVE 1953x1080 WHEN SPACE ALLOWS ===== */
body.page-work #workSphereBackgroundVideo{
    position:absolute !important;
    left:50% !important;
    top:calc(50% + 45px) !important;

    /* Fit the entire 1953x1080 frame; never crop it. */
    width:min(1953px, 100vw, calc(100vh * 1953 / 1080)) !important;
    height:auto !important;
    max-width:1953px !important;
    max-height:1080px !important;
    aspect-ratio:1953 / 1080 !important;

    margin:0 !important;
    transform:translate(-50%,-50%) !important;
    -webkit-transform:translate(-50%,-50%) !important;
    object-fit:contain !important;
    object-position:50% 50% !important;
    overflow:visible !important;
    pointer-events:none !important;
}

/* If the viewport can hold the native frame, render it at the full native size. */
@media (min-width:1953px) and (min-height:1080px){
    body.page-work #workSphereBackgroundVideo{
        width:1953px !important;
        height:1080px !important;
        max-width:1953px !important;
        max-height:1080px !important;
    }
}


/* ===== WORK BACKGROUND VIDEO — 1920x1080 RATIO ===== */
body.page-work #workSphereBackgroundVideo{
    width:min(1920px, 100vw, calc(100vh * 16 / 9)) !important;
    height:auto !important;
    max-width:1920px !important;
    max-height:1080px !important;
    aspect-ratio:16 / 9 !important;
    object-fit:contain !important;
    object-position:50% 50% !important;
}

@media (min-width:1920px) and (min-height:1080px){
    body.page-work #workSphereBackgroundVideo{
        width:1920px !important;
        height:1080px !important;
        max-width:1920px !important;
        max-height:1080px !important;
    }
}


/* ===== WORK VIDEO — VERTICALLY CENTERED ===== */
body.page-work #workSphereBackgroundVideo{
    top:50% !important;
}

/* ===== SITEWIDE LOGO — FLUSH LEFT ===== */
html body #logo,
html body.page-work #logo,
html body.page-about #logo,
html body.page-contact #logo,
html body:has(#coverSlider) #logo{
    left:0 !important;
}

@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        left:0 !important;
    }
}

/* ===== ABOUT + CONTACT — PAGE ENTRANCE ANIMATION ===== */
body.page-about #aboutPageInnerWrapper,
body.page-contact #contactPageInnerWrapper{
    opacity:0;
    transform:translate3d(0,24px,0);
    -webkit-transform:translate3d(0,24px,0);
    animation:lawrenciumPageReveal .9s cubic-bezier(.2,.75,.2,1) .12s forwards;
    will-change:opacity,transform;
}

body.page-about #aboutPageInnerWrapper > *,
body.page-contact #contactPageInnerWrapper > *{
    opacity:0;
    transform:translate3d(0,18px,0);
    -webkit-transform:translate3d(0,18px,0);
    animation:lawrenciumContentReveal .8s cubic-bezier(.2,.75,.2,1) .32s forwards;
}

@keyframes lawrenciumPageReveal{
    from{
        opacity:0;
        transform:translate3d(0,24px,0);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0);
    }
}

@keyframes lawrenciumContentReveal{
    from{
        opacity:0;
        transform:translate3d(0,18px,0);
    }
    to{
        opacity:1;
        transform:translate3d(0,0,0);
    }
}

@media (prefers-reduced-motion:reduce){
    body.page-about #aboutPageInnerWrapper,
    body.page-contact #contactPageInnerWrapper,
    body.page-about #aboutPageInnerWrapper > *,
    body.page-contact #contactPageInnerWrapper > *{
        opacity:1 !important;
        transform:none !important;
        -webkit-transform:none !important;
        animation:none !important;
    }
}


/* ===== WORK VIDEO — 60PX UP ===== */
body.page-work #workSphereBackgroundVideo{
    top:calc(50% - 60px) !important;
}


/* ===== SCROLLED / REVEALED HEADER — SOLID BLACK ===== */
body.page-work.work-page-scrolled #headerDiv,
body.page-work.work-page-scrolled #headerWrapper,
body.page-about #headerDiv,
body.page-about #headerWrapper,
body.page-contact #headerDiv,
body.page-contact #headerWrapper,
body.header-scrolled #headerDiv,
body.header-scrolled #headerWrapper{
    background:#000 !important;
    background-color:#000 !important;
    background-image:none !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
    border-bottom:0 !important;
    box-shadow:none !important;
}


/* ===== MOBILE WORK — DRAG HINT UP 20PX / GLOBE UP 30PX ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workDragHint{
        top:112px !important;
    }

    body.page-work #globeViewport{
        top:calc(47% - 115px) !important;
    }
}


/* ===== MOBILE WORK VIDEO — ADDITIONAL 75PX UP ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workSphereBackgroundVideo{
        top:calc(50% - 135px) !important;
    }
}


/* ===== WORK SPHERE INTRO — PREVENT PRE-EXPLOSION THUMBNAIL FLASH ===== */
body.page-work:not(.work-intro-released) #globeScene .workItem{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
}


/* ===== MOBILE WORK VIDEO — LARGER + CENTERED IN SPHERE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workSphereBackgroundVideo{
        left:50% !important;
        top:calc(47% - 127px) !important;
        width:150vw !important;
        max-width:none !important;
        max-height:none !important;
        height:auto !important;
        aspect-ratio:16 / 9 !important;
        transform:translate(-50%,-50%) !important;
        -webkit-transform:translate(-50%,-50%) !important;
        object-fit:contain !important;
        object-position:center center !important;
    }
}


/* ===== MOBILE WORK VIDEO — FILL SPHERE ===== */
@media only screen and (max-width:600px), only screen and (max-device-width:600px){
    body.page-work #workSphereBackgroundVideo{
        width:200vw !important;
        max-width:none !important;
        max-height:none !important;
    }
}


/* ===== DESKTOP — LARGER CENTERED LOGO / SPHERE DOWN 50PX ===== */
@media (min-width:1500px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        left:50% !important;
        right:auto !important;
        width:280px !important;
        height:auto !important;
        max-width:none !important;
        transform:translateX(-50%) !important;
        -webkit-transform:translateX(-50%) !important;
    }

    body.page-work #globeScene{
        top:calc(50% + 95px) !important;
    }
}

/* Tablet + mobile remain top-left. */
@media (max-width:1499px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        left:0 !important;
        right:auto !important;
        width:220px !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}

/* ===== HEADER WRAPPER — 100PX HEIGHT ===== */
#headerWrapper{
    height:100px !important;
}

/* ===== TABLET + MOBILE LOGO — 150PX / TOP -11PX ===== */
@media (max-width:1499px){
    html body #logo,
    html body.page-work #logo,
    html body.page-about #logo,
    html body.page-contact #logo,
    html body:has(#coverSlider) #logo{
        width:150px !important;
        top:-11px !important;
    }
}


/* ===== FINAL DESKTOP LOGO RULES — STRICTLY PAGE-SPECIFIC ===== */
@media (min-width:1500px){

    /* ABOUT + CONTACT: always 150px, top-left. */
    html body.page-about:has(#coverSlider) #logo,
    html body.page-contact:has(#coverSlider) #logo,
    html body.page-about #logo,
    html body.page-contact #logo{
        left:0 !important;
        right:auto !important;
        top:-11px !important;
        width:150px !important;
        height:auto !important;
        max-width:none !important;
        transform:none !important;
        -webkit-transform:none !important;
    }

    /* WORK ONLY: large and centered while at the top. */
    html body.page-work:has(#coverSlider) #logo,
    html body.page-work #logo{
        left:50% !important;
        right:auto !important;
        top:-20px !important;
        width:280px !important;
        height:auto !important;
        max-width:none !important;
        transform:translateX(-50%) !important;
        -webkit-transform:translateX(-50%) !important;
        transition:
            width .42s cubic-bezier(.2,.75,.2,1),
            top .42s cubic-bezier(.2,.75,.2,1) !important;
    }

    /* Use the Work page's EXISTING scroll class, so this stays synchronized
       with the header reveal and does not affect About or Contact. */
    html body.page-work.work-page-scrolled:has(#coverSlider) #logo,
    html body.page-work.work-page-scrolled #logo{
        top:-11px !important;
        width:150px !important;
    }
}

@media (prefers-reduced-motion:reduce){
    html body.page-work #logo{
        transition:none !important;
    }
}


/* ===== WORK PAGE — BACKGROUND VIDEO + SPHERE DOWN 35PX ===== */
@media (min-width:1500px){
    body.page-work #workSphereBackgroundVideo{
        top:calc(50% - 25px) !important;
    }

    body.page-work #globeScene{
        top:calc(50% + 130px) !important;
    }
}


/* ===== MOBILE/TABLET SPA NAVIGATION — ABOUT/CONTACT VISIBILITY SAFETY ===== */
@media (max-width:1499px){
    body.page-about #aboutPageInnerWrapper,
    body.page-contact #contactPageInnerWrapper{
        visibility:visible !important;
    }
}

/* ===== DESKTOP WORK — DESIGN IN MOTION + MARQUEE DOWN 50PX ===== */
@media (min-width:1500px){
    body.page-work #workFeaturedHeading{
        letter-spacing:0 !important;
        transform:translateY(50px) !important;
        -webkit-transform:translateY(50px) !important;
    }

    body.page-work #workClientMarquee{
        transform:translateY(50px) !important;
        -webkit-transform:translateY(50px) !important;
    }
}


/* ===== DESKTOP WORK — HEADER + LOWER WORK LAYOUT ===== */
@media (min-width:1500px){
    /* Work logo: fixed top-left in the header. */
    html body.page-work:has(#coverSlider) #logo,
    html body.page-work #logo,
    html body.page-work.work-page-scrolled #logo{
        left:0 !important;
        right:auto !important;
        top:-11px !important;
        width:150px !important;
        height:auto !important;
        transform:none !important;
        -webkit-transform:none !important;
    }

    /* Work navigation: centered in the header. */
    body.page-work #menuWrapper,
    body.page-work.work-page-scrolled #menuWrapper{
        position:fixed !important;
        left:50% !important;
        right:auto !important;
        top:29px !important;
        width:335px !important;
        height:34px !important;
        margin:0 !important;
        transform:translateX(-50%) !important;
        -webkit-transform:translateX(-50%) !important;
    }

    /* Give DESIGN IN MOTION clear space before the selector and thumbnails. */
    body.page-work #workCategoryFilter{
        transform:translateY(70px) !important;
        -webkit-transform:translateY(70px) !important;
    }

    body.page-work #workProjectGrid{
        transform:translateY(70px) !important;
        -webkit-transform:translateY(70px) !important;
    }

    body.page-work #workProjectGridSection{
        padding-bottom:170px !important;
    }
}


/* ===== DESKTOP WORK LOGO — 280PX TOP-LEFT, SHRINK ON SCROLL ===== */
@media (min-width:1500px){
    html body.page-work:has(#coverSlider) #logo,
    html body.page-work #logo{
        left:0 !important;
        right:auto !important;
        top:-20px !important;
        width:280px !important;
        height:auto !important;
        transform:none !important;
        -webkit-transform:none !important;
        transition:
            width .42s cubic-bezier(.2,.75,.2,1),
            top .42s cubic-bezier(.2,.75,.2,1) !important;
    }

    html body.page-work.work-page-scrolled:has(#coverSlider) #logo,
    html body.page-work.work-page-scrolled #logo{
        left:0 !important;
        right:auto !important;
        top:-11px !important;
        width:150px !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}

@media (prefers-reduced-motion:reduce){
    html body.page-work #logo{
        transition:none !important;
    }
}


/* ===== ABOUT PAGE — VERTICALLY CENTER CONTENT ===== */
body.page-about #aboutPageInnerWrapper{
    min-height:calc(100vh - 100px) !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}


/* ===== DESKTOP WORK MENU — DOWN 20PX ===== */
@media (min-width:1500px){
    body.page-work #menuWrapper,
    body.page-work.work-page-scrolled #menuWrapper{
        top:49px !important;
    }
}


/*
===============================================================================
CURRENT LAYOUT — EDIT HERE
These final rules intentionally define the current page layout in one place.
===============================================================================
*/

#headerWrapper{
    height:100px !important;
}

/* MOBILE + TABLET */
@media (max-width:1499px){
    html body #logo{
        left:0 !important;
        right:auto !important;
        top:-11px !important;
        width:150px !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}

/* DESKTOP */
@media (min-width:1500px){
    /* Work logo */
    html body.page-work #logo,
    html body.page-work:has(#coverSlider) #logo{
        left:0 !important;
        right:auto !important;
        top:-20px !important;
        width:280px !important;
        transform:none !important;
        -webkit-transform:none !important;
        transition:
            width .42s cubic-bezier(.2,.75,.2,1),
            top .42s cubic-bezier(.2,.75,.2,1) !important;
    }

    html body.page-work.work-page-scrolled #logo,
    html body.page-work.work-page-scrolled:has(#coverSlider) #logo{
        top:-11px !important;
        width:150px !important;
    }

    /* About + Contact logo */
    html body.page-about #logo,
    html body.page-contact #logo,
    html body.page-about:has(#coverSlider) #logo,
    html body.page-contact:has(#coverSlider) #logo{
        left:0 !important;
        right:auto !important;
        top:-11px !important;
        width:150px !important;
        transform:none !important;
        -webkit-transform:none !important;
    }

    /* Work menu */
    body.page-work #menuWrapper,
    body.page-work.work-page-scrolled #menuWrapper{
        left:50% !important;
        right:auto !important;
        top:49px !important;
        width:335px !important;
        transform:translateX(-50%) !important;
        -webkit-transform:translateX(-50%) !important;
    }

    /* Work video + sphere */
    body.page-work #workSphereBackgroundVideo{
        top:calc(50% - 25px) !important;
    }

    body.page-work #globeScene{
        top:calc(50% + 130px) !important;
    }

    /* Work lower content */
    body.page-work #workFeaturedHeading{
        letter-spacing:0 !important;
        transform:translateY(50px) !important;
        -webkit-transform:translateY(50px) !important;
    }

    body.page-work #workClientMarquee{
        transform:translateY(50px) !important;
        -webkit-transform:translateY(50px) !important;
    }

    body.page-work #workCategoryFilter,
    body.page-work #workProjectGrid{
        transform:translateY(70px) !important;
        -webkit-transform:translateY(70px) !important;
    }
}

/* ABOUT */
body.page-about #aboutPageInnerWrapper{
    min-height:calc(100vh - 100px) !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}


/* ===== DESKTOP MENU — ALWAYS CENTERED ===== */
@media (min-width:1500px){
    html body #menuWrapper,
    html body.page-work #menuWrapper,
    html body.page-work.work-page-scrolled #menuWrapper,
    html body.page-about #menuWrapper,
    html body.page-contact #menuWrapper,
    html body:has(#coverSlider) #menuWrapper{
        position:fixed !important;
        left:50% !important;
        right:auto !important;
        margin-left:0 !important;
        margin-right:0 !important;
        transform:translateX(-50%) !important;
        -webkit-transform:translateX(-50%) !important;
    }
}


/* ===== DESKTOP WORK — SPHERE + BACKGROUND VIDEO UP 65PX ===== */
@media (min-width:1500px){
    body.page-work #workSphereBackgroundVideo{
        top:calc(50% - 90px) !important;
    }

    body.page-work #globeScene{
        top:calc(50% + 65px) !important;
    }
}


/* ===== GLOBAL DESKTOP MENU — MOVE DOWN WITH SCROLLED HEADER ===== */
@media (min-width:1500px){
    html body #menuWrapper{
        transition:
            top .42s cubic-bezier(.2,.75,.2,1),
            transform .42s cubic-bezier(.2,.75,.2,1) !important;
    }

    /* Resting position on About + Contact. */
    body.page-about #menuWrapper,
    body.page-contact #menuWrapper{
        top:29px !important;
    }

    /* Match the Work page's lowered menu position when the header is revealed. */
    body.page-about.global-header-scrolled #menuWrapper,
    body.page-contact.global-header-scrolled #menuWrapper,
    body.header-scrolled #menuWrapper{
        top:49px !important;
    }

    /* Preserve the existing Work behavior. */
    body.page-work #menuWrapper,
    body.page-work.work-page-scrolled #menuWrapper{
        top:49px !important;
    }
}

@media (prefers-reduced-motion:reduce){
    html body #menuWrapper{
        transition:none !important;
    }
}

/* Work background video removed */
body.page-work #workSphereBackgroundVideo{display:none !important;}

/* ===== LIGHT THEME PREVIEW ===== */
html,body,
body.page-work,body.page-about,body.page-contact,
body.page-work #workPageWrapper,
body.page-work #workPageInnerWrapper,
body.page-work #workProjectGridSection,
body.page-about #aboutPageWrapper,
body.page-about #aboutPageInnerWrapper,
body.page-contact #contactPageWrapper,
body.page-contact #contactPageInnerWrapper{
 background:#fff !important;background-color:#fff !important;background-image:none !important;
}
body.page-work #globeViewport,body.page-work #globeScene{
 background:transparent !important;background-image:none !important;
}
#headerDiv,#headerWrapper,
body.page-work #headerDiv,body.page-work #headerWrapper,
body.page-about #headerDiv,body.page-about #headerWrapper,
body.page-contact #headerDiv,body.page-contact #headerWrapper,
body.page-work.work-page-scrolled #headerDiv,
body.page-work.work-page-scrolled #headerWrapper,
body.header-scrolled #headerDiv,body.header-scrolled #headerWrapper{
 background:#f5f5f5 !important;background-color:#f5f5f5 !important;
 background-image:none !important;border:0 !important;box-shadow:none !important;
}
body,#menuWrapper,#menuWrapper *,
#aboutPageInnerWrapper,#aboutPageInnerWrapper *,
#contactPageInnerWrapper,#contactPageInnerWrapper *,
#workProjectGridSection,#workProjectGridSection *,
#workFeaturedHeading,#workCategoryFilter,#workDragHint,#globeHint,#globeTagline,#globeCounter{
 color:#000 !important;
}
body a,body a:link,body a:visited{color:#000 !important;}
body.page-work #workClientMarquee{border-color:#000 !important;}
body.page-contact input,body.page-contact textarea,body.page-contact select{
 color:#000 !important;border-color:#000 !important;background:#fff !important;
}
body.page-contact input::placeholder,body.page-contact textarea::placeholder{color:#555 !important;}
::selection{background:#000;color:#fff;}


/* ===== LIGHT THEME — WHITE HEADER ===== */
#headerDiv,
#headerWrapper,
body.page-work #headerDiv,
body.page-work #headerWrapper,
body.page-about #headerDiv,
body.page-about #headerWrapper,
body.page-contact #headerDiv,
body.page-contact #headerWrapper,
body.page-work.work-page-scrolled #headerDiv,
body.page-work.work-page-scrolled #headerWrapper,
body.header-scrolled #headerDiv,
body.header-scrolled #headerWrapper{
    background:#fff !important;
    background-color:#fff !important;
    background-image:none !important;
}

/* ===== WORK CATEGORY DROPDOWN — LIGHT GREY / BLACK ===== */
body.page-work #workCategoryFilter,
body.page-work #workCategoryFilter select,
body.page-work #workCategoryFilter option,
body.page-work select{
    color:#000 !important;
}

body.page-work #workCategoryFilter select,
body.page-work select{
    background:#f5f5f5 !important;
    background-color:#f5f5f5 !important;
    border-color:#d8d8d8 !important;
    color:#000 !important;
}

body.page-work #workCategoryFilter option,
body.page-work select option{
    background:#f5f5f5 !important;
    background-color:#f5f5f5 !important;
    color:#000 !important;
}


/* ===== LIGHT THEME — BLACK HAMBURGER MENU ===== */
#mobileMenuButton div,
#mobileMenuButton span,
#hamburgerMenu div,
#hamburgerMenu span,
.hamburger div,
.hamburger span,
.menuIcon div,
.menuIcon span{
    background:#000 !important;
    background-color:#000 !important;
}


/* ===== WORK GLOBE THUMBNAILS — SOFTER SHADOWS ===== */
body.page-work #globeScene .workItem,
body.page-work #globeScene .workImage{
    box-shadow:0 6px 16px rgba(0,0,0,.12) !important;
    -webkit-box-shadow:0 6px 16px rgba(0,0,0,.12) !important;
    filter:none !important;
}


/* ===== MOBILE + TABLET MENU — WHITE / BLACK ===== */
@media (max-width:1499px){
    /* Full-screen/open mobile menu surfaces */
    #mobileMenuWrapper,
    #mobileMenu,
    #mobileMenuDiv,
    .mobileMenuWrapper,
    .mobileMenu,
    body.mobile-menu-open #headerWrapper,
    body.mobile-menu-open #headerDiv{
        background:#fff !important;
        background-color:#fff !important;
        background-image:none !important;
    }

    /* Menu text + links */
    #mobileMenuWrapper,
    #mobileMenuWrapper *,
    #mobileMenu,
    #mobileMenu *,
    #mobileMenuDiv,
    #mobileMenuDiv *,
    .mobileMenuWrapper,
    .mobileMenuWrapper *,
    .mobileMenu,
    .mobileMenu *,
    .mobileMenuFont{
        color:#000 !important;
    }

    #mobileMenuWrapper a,
    #mobileMenu a,
    #mobileMenuDiv a,
    .mobileMenuWrapper a,
    .mobileMenu a{
        color:#000 !important;
    }

    /* Close/X button bars */
    #mobileMenuClose div,
    #mobileMenuClose span,
    #mobileMenuCloseButton div,
    #mobileMenuCloseButton span,
    #closeMenu div,
    #closeMenu span,
    .mobileMenuClose div,
    .mobileMenuClose span,
    .closeButton div,
    .closeButton span{
        background:#000 !important;
        background-color:#000 !important;
        border-color:#000 !important;
    }

    #mobileMenuClose,
    #mobileMenuCloseButton,
    #closeMenu,
    .mobileMenuClose,
    .closeButton{
        color:#000 !important;
        border-color:#000 !important;
    }
}


/* ===== FINAL MOBILE/TABLET MENU COLORS ===== */
@media (max-width:1499px){
    /* Actual hamburger bars */
    #mobileIconWrapper div,
    #mobileIconTop,
    #mobileIconMiddle,
    #mobileIconBottom,
    body.page-work #mobileIconWrapper div,
    body.page-work #mobileIconTop,
    body.page-work #mobileIconMiddle,
    body.page-work #mobileIconBottom{
        background:#000 !important;
        background-color:#000 !important;
        border-color:#000 !important;
    }

    /* Open menu */
    #mobileMenuWrapper,
    #mobileMenuInnerWrapper{
        background:#fff !important;
        background-color:#fff !important;
        background-image:none !important;
    }

    #menuAboutMobile,
    #menuWorkMobile,
    #menuContactMobile{
        color:#000 !important;
    }

    /* Close button: white button with black X */
    #mobileMenuClose{
        background:#fff !important;
        background-color:#fff !important;
        color:#000 !important;
        border:0 !important;
        box-shadow:none !important;
    }

    #mobileMenuClose span{
        background:transparent !important;
        background-color:transparent !important;
        color:#000 !important;
        border:0 !important;
        box-shadow:none !important;
    }
}


/* ===== DESKTOP WORK GLOBE — DOWN 25PX ===== */
@media (min-width:1500px){
    body.page-work #globeScene{
        top:calc(50% + 90px) !important;
    }
}


/* ===== MOBILE + TABLET MENU — NO LETTER SPACING ===== */
@media (max-width:1499px){
    #mobileMenuWrapper,
    #mobileMenuWrapper *,
    #mobileMenuInnerWrapper,
    #mobileMenuInnerWrapper *,
    #menuAboutMobile,
    #menuWorkMobile,
    #menuContactMobile,
    .mobileMenuFont{
        letter-spacing:0 !important;
    }
}


/* ===== WORK THUMBNAIL SELECTOR — LIGHT THEME COLORS ===== */
/* Dropdown/list background */
body.page-work #workCategoryFilter{
    background:#f5f5f5 !important;
    background-color:#f5f5f5 !important;
    color:#000 !important;
}

/* Selector/control itself */
body.page-work #workCategoryFilter select,
body.page-work #workCategoryFilter .workCategorySelect,
body.page-work #workCategoryFilter .categorySelect{
    background:#d9d9d9 !important;
    background-color:#d9d9d9 !important;
    color:#000 !important;
    border-color:#d9d9d9 !important;
}

/* Native dropdown options */
body.page-work #workCategoryFilter option,
body.page-work #workCategoryFilter select option{
    background:#f5f5f5 !important;
    background-color:#f5f5f5 !important;
    color:#000 !important;
}


/* ===== MOBILE + TABLET MENU — MATCH ABOUT/CONTACT HEADLINE WEIGHT ===== */
@media (max-width:1499px){
    #menuAboutMobile,
    #menuWorkMobile,
    #menuContactMobile,
    #mobileMenuWrapper .mobileMenuFont,
    #mobileMenuInnerWrapper .mobileMenuFont{
        font-weight:700 !important;
        font-variation-settings:'wdth' 100, 'wght' 700, 'slnt' 0 !important;
        font-style:normal !important;
        font-synthesis:none !important;
    }
}


/* ===== WORK CATEGORY SELECTOR — CORRECT CUSTOM CONTROL COLORS ===== */
body.page-work #workCategoryFilter{
    background:transparent !important;
}

/* Closed selector/control: darker grey with black text */
body.page-work .workCategoryFilterButton{
    background:#d9d9d9 !important;
    background-color:#d9d9d9 !important;
    color:#000 !important;
    border-color:#cfcfcf !important;
}

/* Chevron */
body.page-work .workCategoryFilterChevron{
    border-right-color:#000 !important;
    border-bottom-color:#000 !important;
}

/* Open dropdown/list: very light grey */
body.page-work .workCategoryFilterMenu{
    background:#f5f5f5 !important;
    background-color:#f5f5f5 !important;
    border-color:#d9d9d9 !important;
    box-shadow:0 12px 28px rgba(0,0,0,.12) !important;
}

/* Dropdown choices: black text */
body.page-work .workCategoryOption{
    background:transparent !important;
    color:#000 !important;
}

/* Hover/focus/selected choice */
body.page-work .workCategoryOption:hover,
body.page-work .workCategoryOption:focus-visible,
body.page-work .workCategoryOption.is-active{
    background:#e2e2e2 !important;
    color:#000 !important;
    outline:none !important;
}


/* ===== WORK SPHERE — COLOR-SHIFTING CENTER GLOW ===== */
/* Re-enable the existing center glow as a soft circle behind the thumbnails. */
body.page-work #globeGlow{
    display:block !important;
    visibility:visible !important;
    opacity:.72 !important;
    position:absolute !important;
    left:50% !important;
    top:calc(50% + 90px) !important;
    width:clamp(280px,30vw,470px) !important;
    aspect-ratio:1 / 1 !important;
    height:auto !important;
    border-radius:50% !important;
    transform:translate(-50%,-50%) !important;
    -webkit-transform:translate(-50%,-50%) !important;
    pointer-events:none !important;
    z-index:1 !important;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(255,255,255,.88) 0%,
            rgba(145,215,255,.58) 18%,
            rgba(154,120,255,.34) 42%,
            rgba(255,105,190,.16) 62%,
            rgba(255,255,255,0) 76%) !important;
    filter:blur(20px) hue-rotate(0deg) !important;
    -webkit-filter:blur(20px) hue-rotate(0deg) !important;
    box-shadow:none !important;
    animation:lawrenciumGlobeColorGlow 10s linear infinite !important;
    will-change:filter,opacity !important;
}

@keyframes lawrenciumGlobeColorGlow{
    0%   { filter:blur(20px) hue-rotate(0deg); opacity:.62; }
    25%  { filter:blur(24px) hue-rotate(90deg); opacity:.78; }
    50%  { filter:blur(20px) hue-rotate(180deg); opacity:.66; }
    75%  { filter:blur(25px) hue-rotate(270deg); opacity:.80; }
    100% { filter:blur(20px) hue-rotate(360deg); opacity:.62; }
}

@media (max-width:1499px){
    body.page-work #globeGlow{
        top:calc(47% - 127px) !important;
        width:clamp(240px,58vw,390px) !important;
        opacity:.66 !important;
    }
}

@media (prefers-reduced-motion:reduce){
    body.page-work #globeGlow{
        animation:none !important;
    }
}


/* =====================================================================
   WORK CUBE PREVIEW — SIX 3x3 FACES, DRAG TO ROTATE
   Each face uses the existing project thumbnails and video interaction.
   The 3D geometry is set in initProjectGlobe() in lawrencium.js.
   ===================================================================== */
body.page-work #globeScene{
    transform-style:preserve-3d !important;
    -webkit-transform-style:preserve-3d !important;
}
body.page-work #globeScene .workItem,
body.page-work #globeScene .workItem.globeReady{
    width:var(--cube-card-width,228px) !important;
    height:var(--cube-card-height,190px) !important;
    left:var(--cube-card-left,-114px) !important;
    top:var(--cube-card-top,-95px) !important;
    aspect-ratio:6 / 5 !important;
    backface-visibility:hidden !important;
    -webkit-backface-visibility:hidden !important;
    transform-style:preserve-3d !important;
    -webkit-transform-style:preserve-3d !important;
    border-radius:4px !important;
}
body.page-work #globeScene .workCubeFacePanel{
    position:absolute;
    left:var(--cube-half-side,-378px);
    top:var(--cube-half-side,-378px);
    width:var(--cube-side,756px);
    height:var(--cube-side,756px);
    box-sizing:border-box;
    border:1px solid rgba(0,0,0,.15);
    border-radius:4px;
    background:rgba(246,246,246,.70);
    box-shadow:inset 0 0 28px rgba(0,0,0,.025);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    pointer-events:none !important;
    transform-style:preserve-3d;
    -webkit-transform-style:preserve-3d;
}
/* Keep the current color-changing central glow behind the cube. */
body.page-work #globeGlow{
    width:clamp(240px,29vw,440px) !important;
    opacity:.55 !important;
}
@media (min-width:1500px){
    body.page-work #globeScene{scale:var(--work-cube-scale,.60) !important;}
}
@media (min-width:601px) and (max-width:1499px){
    body.page-work #globeScene{scale:var(--work-cube-scale,.65) !important;}
    body.page-work #globeGlow{top:calc(50% - 12px) !important;}
}
@media (max-width:600px){
    body.page-work #globeScene{scale:.84 !important;}
    body.page-work #globeGlow{
        top:calc(50% - 12px) !important;
        width:min(65vw,320px) !important;
    }
}


/* ===== LIGHT THEME — CONTACT FORM AND HAMBURGER GREY =====
   Keep the surrounding pages white and the expanded mobile menu unchanged. */
body.page-contact #contactForm{
    background:#e8e8e8 !important;
    background-color:#e8e8e8 !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}

/* These are the actual three hamburger bars used across Work/About/Contact. */
@media (max-width:1499px){
    html body #mobileIconWrapper .hamMenuBar,
    html body #mobileIconTop,
    html body #mobileIconMiddle,
    html body #mobileIconBottom{
        background:#acacac !important;
        background-color:#acacac !important;
        border-color:#acacac !important;
    }
}


/* ===== WORK CUBE NAVIGATION ARROWS — GREY + DARKER HOVER ===== */
/* Light controls keep the darker hover glyph readable against the white page. */
body.page-work .globeArrow{
    color:#acacac !important;
    background:rgba(255,255,255,.9) !important;
    border-color:rgba(172,172,172,.5) !important;
    transition:color .25s ease, background-color .25s ease,
               border-color .25s ease, transform .25s ease !important;
}
body.page-work .globeArrow:hover,
body.page-work .globeArrow:focus-visible{
    color:#646464 !important;
    background:#f1f1f1 !important;
    border-color:#999 !important;
}


/* ===== WORK CUBE — RESPONSIVE CENTERING + STABLE RESIZE =====
   Keep one shared 3D origin as the desktop window narrows, including
   across the old 1500px breakpoint. The mobile (<=600px) layout is unchanged. */
@media (min-width:601px){
    body.page-work #globeViewport{
        position:absolute !important;
        left:50% !important;
        right:auto !important;
        top:50% !important;
        width:min(96vw,1500px) !important;
        height:calc(100vh + 280px) !important;
        margin: -140px 0 0 0 !important;
        transform:translate(-50%,-50%) !important;
        -webkit-transform:translate(-50%,-50%) !important;
        perspective:1800px !important;
        perspective-origin:50% 50% !important;
        overflow:visible !important;
    }
    body.page-work #globeScene{
        position:absolute !important;
        left:50% !important;
        top:calc(50% + 90px) !important;
        margin-top:0 !important;
        width:0 !important;
        height:0 !important;
    }
    body.page-work #globeGlow{
        top:calc(50% + 90px) !important;
    }
}

/* Cube faces and their thumbnail grids must move as one when resized.
   The initial burst uses the Web Animations API instead of CSS transitions. */
body.page-work #globeScene .workItem,
body.page-work #globeScene .workItem.globeReady{
    transition:opacity .2s ease,filter .25s ease,box-shadow .25s ease !important;
}


/* ===== CUBE UPDATE — LOADER, MOBILE CONTROLS, GLOW REMOVAL ===== */
/* A safeguard for older markup; the glow element is removed from HTML too. */
body.page-work #globeGlow{
    display:none !important;
    visibility:hidden !important;
    animation:none !important;
}

/* Move the existing hamburger control 15px down, on all pages and scroll
   states, without changing its left/right anchoring or icon animations. */
@media (max-width:1499px){
    html body #mobileIconWrapper{
        transform:translateY(15px) !important;
        -webkit-transform:translateY(15px) !important;
    }
}

/* Move the Work cube and its drag hint down together on phones only.
   Moving the viewport preserves the cube's JS-driven 3D rotation and its
   responsive thumbnail alignment. */
@media (max-width:600px){
    body.page-work #workDragHint{
        top:128px !important; /* previously 112px */
    }
    body.page-work #globeViewport{
        top:calc(47% - 99px) !important; /* previously 47% - 115px */
    }
}


/* ===== HOME (LOGO CLICK) — KEEP SMALL LOGO TOP LEFT =====
   The cover slider is present on every page, so use .page-home instead of
   a broad :has(#coverSlider) selector. Match the smaller About/Contact logo. */
html body.page-home:has(#coverSlider) > #logo,
html body.page-home > #logo{
    position:fixed !important;
    left:0 !important;
    right:auto !important;
    top:-11px !important;
    bottom:auto !important;
    width:150px !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    margin:0 !important;
    padding:0 !important;
    translate:none !important;
    transform:none !important;
    -webkit-transform:none !important;
    object-fit:contain !important;
    z-index:2147483001 !important;
}

/* ===== HOME DESKTOP HEADER — LOGO LEFT / NAVIGATION RIGHT =====
   Applies only when clicking the logo to view the Home slideshow.
   The global desktop centered-menu rule remains in place for Work/About/Contact. */
@media (min-width:1500px){
    html body.page-home:has(#coverSlider) > #logo,
    html body.page-home > #logo{
        position:fixed !important;
        left:0 !important;
        right:auto !important;
        top:-11px !important;
        width:150px !important;
        height:auto !important;
        margin:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
    }

    html body.page-home:has(#coverSlider) #menuWrapper,
    html body.page-home #menuWrapper{
        position:fixed !important;
        left:auto !important;
        right:5.2% !important;
        top:29px !important;
        width:335px !important;
        margin:0 !important;
        transform:none !important;
        -webkit-transform:none !important;
    }
}
