/* ========================
   FONT IMPORTS & DECLARATIONS
   ======================== */

   @import url('https://fonts.googleapis.com/css2?family=Krub:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

   @font-face {
       font-family: 'brush';
       src: url('fonts/brush.ttf') format('truetype');
   }
   
   @font-face {
       font-family: 'mts';
       src: url('fonts/mts.otf') format('opentype');
   }
   
   @font-face {
       font-family: 'mtsb';
       src: url('fonts/mtsb.otf') format('opentype');
   }
   
   @font-face {
       font-family: 'gb';
       src: url('fonts/gb.woff') format('woff');
   }
   
   @font-face {
    font-family: 'mtsxb';
    src: url('fonts/mtsxb.otf') format('opentype');
}

   /* ========================
      GLOBAL STYLES
      ======================== */
   
   * {
       box-sizing: border-box;
   }
   
   body {
       background-color: #141516;
       font-family: 'mts', sans-serif;
       letter-spacing: .2rem;
       color: #bebebe;
       margin: 0;
       padding: 0;
   }
   
   a {
       color: rgb(221, 221, 221);
       text-decoration: none;
   }
   
   h2 {
       font-family: 'mtsb', sans-serif;
       letter-spacing: .112rem;
       font-size: .9em;
   }

   h5 {
    font-family: 'mtsxb', sans-serif;
    letter-spacing: .5rem;
    font-size: 1.85em;
    margin-bottom: 10px;
    margin-top:0;
}
   /* ========================
      MATERIAL ICONS
      ======================== */
   
   .material-symbols-outlined {
       font-size: 35px;
       font-variation-settings:
           'FILL' 1,
           'wght' 400,
           'GRAD' 0,
           'opsz' 0;
   }
   
   /* ========================
      HEADER SECTIONS
      ======================== */
   
   .header1 {
       background-color: transparent;
       width: 100%;
       display: grid;
       grid-template-columns: 25% 25% auto 25%;
       grid-template-rows: 130px;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
       color: #e2e2e2;
   }
   
   div.top1 {
       background-color: transparent;
       font-size: .9rem;
       padding-left: 0.5rem;
       letter-spacing: .0rem;
       text-align: center;
   }
   
   div.top1 .icon {
       display: none;
   }
   
   div.top2 {
       background-color: transparent;
       text-align: center;
       letter-spacing: .31rem;
       font-size: .9rem;
       padding-right: 0rem;
       padding-left: 0rem;
       -webkit-font-smoothing: antialiased;
       -moz-osx-font-smoothing: grayscale;
   }
   
   div.top3 {
       display: flex;
       align-items: center;
       justify-content: flex-end;
       width: 100%;
       -webkit-font-smoothing: antialiased;
       -moz-osx-font-smoothing: grayscale;
   }
   
   div.top4 {
       background-color: transparent;
       text-align: right;
       font-size: .75rem;
       padding-right: 2rem;
       letter-spacing: .05rem;
   }
   
   .skills-title {
       font-size: .7rem;
       letter-spacing: .1rem;
       margin-right: 2em;
   }
   
   .divider {
       border-left: 1px solid #383838;
       height: 50px;
       margin-right: 1em;
   }
   
   .skills-list {
       font-size: .67em;
       letter-spacing: .05em;
       text-align: left;
   }

    .home-button {
        position: absolute;
        top: 45px;
        left: 25px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #e2e2e2;
        font-size: 20px;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        z-index: 100;
    }

    .home-button:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-2px);
        color: #ffffff;
    }

    .home-button::before {
        content: url(images/home.png);
        font-size: 18px;
    }
   
   /* ========================
      MOBILE HEADER
      ======================== */

    .mobile-header {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: transparent;
        padding: 15px 20px;
        z-index: 1000;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-header.hidden {
        transform: translateY(-100%);
        opacity: 0;
    }

    .mobile-header.visible {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-header.scrolled {
        opacity: 1;
    }

    .mobile-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-header.hidden .mobile-header-content {
        opacity: 0.7;
    }
   
   .burger-menu {
       width: 30px;
       height: 24px;
       display: flex;
       flex-direction: column;
       justify-content: space-between;
       cursor: pointer;
   }
   
   .burger-line {
       width: 100%;
       height: 3px;
       background-color: #e0e0e0;
       border-radius: 2px;
       transition: all 0.3s ease;
   }
   
   .contact-icon {
       width: 30px;
       height: 30px;
       background-color: transparent;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       color: white;
       font-size: 30px;
       cursor: pointer;
       transition: all 0.3s ease;
   }
   
   .contact-icon:hover {
       transform: scale(1.1);
       color: #f0f0f0;
   }
   
   /* ========================
      MOBILE NAVIGATION
      ======================== */
   
   .mobile-nav {
       position: fixed;
       top: 0;
       left: -100%;
       width: 280px;
       height: 100vh;
       background: linear-gradient(135deg, #0e0e0e 100%, #1a1a1a 100%);
       z-index: 2000;
       transition: left 0.3s ease;
       overflow-y: auto;
   }
   
   .mobile-nav.active {
       left: 0;
   }
   
   .mobile-nav-header {
       padding: 20px;
       border-bottom: 1px solid rgba(255, 255, 255, 0.1);
       background: rgba(0, 0, 0, 0.2);
   }
   
   .mobile-nav-logo {
       color: white;
       font-size: 1.2rem;
       font-weight: bold;
       letter-spacing: 0.2rem;
   }
   
   .mobile-nav-close {
       position: absolute;
       top: 15px;
       right: 20px;
       background: none;
       border: none;
       color: white;
       font-size: 24px;
       cursor: pointer;
       padding: 5px;
       line-height: 1;
   }
   
   .mobile-nav-links {
       padding: 20px 0;
   }
   
   .mobile-nav-links a {
       display: block;
       color: rgba(255, 255, 255, 0.9);
       text-decoration: none;
       padding: 15px 25px;
       font-size: 0.9rem;
       letter-spacing: 0.1rem;
       border-bottom: 1px solid rgba(255, 255, 255, 0.05);
       transition: all 0.3s ease;
   }
   
   .mobile-nav-links a:hover {
       background: rgba(255, 255, 255, 0.1);
       color: white;
       padding-left: 35px;
   }
   
   .mobile-nav-contact {
       padding: 20px 25px;
       border-top: 1px solid rgba(255, 255, 255, 0.1);
       margin-top: auto;
   }
   
   .mobile-nav-contact h4 {
       color: white;
       margin: 0 0 10px 0;
       font-size: 0.8rem;
       letter-spacing: 0.1rem;
   }
   
   .mobile-nav-contact a {
       display: block;
       color: rgba(255, 255, 255, 0.7);
       text-decoration: none;
       font-size: 0.75rem;
       margin-bottom: 8px;
       transition: color 0.3s ease;
   }
   
   .mobile-nav-contact a:hover {
       color: white;
   }
   
   .mobile-nav-overlay {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.5);
       z-index: 1500;
       opacity: 0;
       visibility: hidden;
       transition: all 0.3s ease;
   }
   
   .mobile-nav-overlay.active {
       opacity: 1;
       visibility: visible;
   }
   
   /* ========================
      CONTACT MODAL
      ======================== */
   
   .contact-modal {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(0, 0, 0, 0.8);
       z-index: 3000;
       display: flex;
       align-items: center;
       justify-content: center;
       opacity: 0;
       visibility: hidden;
       transition: all 0.3s ease;
       backdrop-filter: blur(5px);
   }
   
   .contact-modal.active {
       opacity: 1;
       visibility: visible;
   }
   
   .contact-modal-content {
       background: linear-gradient(135deg, #141414 0%, #141414 100%);
       border-radius: 20px;
       padding: 40px 30px;
       max-width: 400px;
       width: 90%;
       position: relative;
       box-shadow: 
           0 20px 40px rgba(0, 0, 0, 0.3),
           inset 0 1px 0 rgba(43, 43, 43, 0.8);
       transform: scale(0.7);
       transition: all 0.3s ease;
   }
   
   .contact-modal.active .contact-modal-content {
       transform: scale(1);
   }
   
   .contact-modal-header {
       text-align: center;
       margin-bottom: 30px;
   }
   
   .contact-modal-title {
       font-family: 'mtsb', sans-serif;
       font-size: 1.4rem;
       letter-spacing: 0.15rem;
       color: #a3a8ad;
       margin: 0 0 10px 0;
   }
   
   .contact-modal-subtitle {
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       color: #aebbc7;
       letter-spacing: 0.05rem;
   }
   
   .contact-modal-close {
       position: absolute;
       top: 10px;
       right: 20px;
       background: none;
       border: none;
       font-size: 20px;
       color: #505253;
       cursor: pointer;
       padding: 5px;
       line-height: 1;
       transition: all 0.3s ease;
   }
   
   .contact-modal-close:hover {
       color: #495057;
       transform: scale(1.1);
   }
   
   .contact-info {
       display: flex;
       flex-direction: column;
       gap: 20px;
   }
   
   .contact-item {
       display: flex;
       align-items: center;
       gap: 15px;
       padding: 15px;
       background: rgba(255, 255, 255, 0.7);
       border-radius: 12px;
       transition: all 0.3s ease;
       cursor: pointer;
       border: 1px solid rgba(0, 0, 0, 0.1);
   }
   
   .contact-item:hover {
       background: rgba(255, 255, 255, 0.9);
       transform: translateY(-2px);
       box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   }
   
   .contact-item-icon {
       width: 40px;
       height: 40px;
       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       color: white;
       font-size: 18px;
       flex-shrink: 0;
   }
   
   .contact-item-content {
       flex: 1;
   }
   
   .contact-item-label {
       font-family: 'mtsb', sans-serif;
       font-size: 0.8rem;
       color: #495057;
       letter-spacing: 0.1rem;
       margin-bottom: 2px;
   }
   
   .contact-item-value {
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       color: #2c3e50;
       letter-spacing: 0.05rem;
   }
   
   .email-button {
       background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
       border: none;
       border-radius: 12px;
       padding: 15px 25px;
       color: white;
       font-family: 'mtsb', sans-serif;
       font-size: 0.9rem;
       letter-spacing: 0.1rem;
       cursor: pointer;
       transition: all 0.3s ease;
       margin-top: 5px;
       width: 100%;
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 10px;
   }
   
   .email-button:hover {
       transform: translateY(-2px);
       box-shadow: 0 8px 20px rgba(13, 32, 18, 0.3);
   }
   
   /* ========================
      BURGER MENU ANIMATION
      ======================== */
   
   .burger-menu.active .burger-line:nth-child(1) {
       transform: rotate(-45deg) translate(-6px, 6px);
   }
   
   .burger-menu.active .burger-line:nth-child(2) {
       opacity: 0;
   }
   
   .burger-menu.active .burger-line:nth-child(3) {
       transform: rotate(45deg) translate(-6px, -6px);
   }
   
   /* ========================
      BACK BUTTON
      ======================== */
   
   .back-button {
       display: inline-block;
       margin: 20px auto;
       margin-bottom: 1.3rem;
       padding: 20px 30px;
       background: linear-gradient(135deg, #292929, #2c2c2c);
       color: rgba(255, 255, 255, 0.596);
       text-decoration: none;
       border-radius: 5px;
       font-family: 'mts', sans-serif;
       letter-spacing: 0.2rem;
       font-size: .7rem;
       transition: all 0.3s ease;
       text-align: center;
   }
   
   .back-button:hover {
       transform: translateY(2px);
       box-shadow: 0 5px 15px rgba(0, 0, 0, 0.096);
   }
   
   .back-button-container {
       background: linear-gradient(135deg, #202020, #111111);
       text-align: center;
       margin: 0px 0;
   }
   
   /* ========================
      BANNER STRIPS
      ======================== */
   
   .bannerstrip {
       background-image: url(images/mcstrip.png);
       width: 100%;
       height: 3.2rem;
       grid-column-end: span 4;
   }
   
   .bannerstrip2 {
       background-image: url(images/mcstrip2.png);
       width: 100%;
       height: 2.0rem;
       grid-column-end: span 4;
       margin-top: 0rem;
   }

   .bannerstrip5 {
    background-image: url(images/mcstrip2.png);
    width: 100%;
    height: 2.0rem;
    grid-column-end: span 4;
    margin-top: 0rem;
}

   .bannerthicc {
    background-image: url(images/thicc.png);
    width: 100%;
    height: 10rem;
    grid-column-end: span 4;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.spacer {
    background-image: url(images/divbg.png);
    background-size:cover;
    width: 100%;
    height: 10rem;
    grid-column-end: span 4;
    display: flex;
    justify-content: center; 
    align-items: center;     
}


.bannerthicc.triangle-divider {
    position: relative;
}

.bannerthicc.triangle-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -50px;
    width: 100px;
    height: 100px;
    background-color: transparent;
    transform: translateX(-50%) rotate(45deg);
    -webkit-transform: translateX(-50%) rotate(45deg);
    z-index: 10;
}

   /* ========================
      LIGHTBOX
      ======================== */
   
      .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85); 
        backdrop-filter: blur(5px); 
        -webkit-backdrop-filter: blur(5px);
        z-index: 3000;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease-in-out; 
    }
    
    .lightbox.active {
        display: flex;
        opacity: 1;
    }
    
    .lightbox-content {
        max-width: 90%;
        max-height: 90%;
        position: relative;
        animation: lightboxZoom 0.3s ease-out; 
    }
   

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3); 
}

.lightbox-close {
    position: absolute;
    top: 5px;
    right: 5px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5); 
    border: none;
    padding: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); 
    color: white;
    border: none;
    font-size: 24px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -35px;
}

.lightbox-next {
    right: -35px;
}
   
   /* ========================
      SITE FOOTER
      ======================== */
   
   .site-footer {
       display: flex;
       justify-content: center;
       align-items: center;
       padding: 10px;
       font-family: 'mtsb', sans-serif;
       background-image: url(images/footer.png);
       color: #55595ecc;
       font-size: 0.5em;
       letter-spacing: .1rem;
   }
   
   .site-footer p {
       padding-top: 10px;
   }
   
   /* ========================
      COLLAPSIBLE CONTENT (Model Citizen)
      ======================== */
   
   .collapsible {
       background-color: transparent;
       color: #e2e2e2;
       cursor: pointer;
       padding: 18px;
       width: 100%;
       border: none;
       text-align: left;
       outline: none;
       font-size: 15px;
       font-family: 'mts', sans-serif;
       font-weight: 200;
       font-size: 0.75rem;
       line-height: 1.5;
       letter-spacing: 0.25rem;
       text-align: center;
   }
   
   .active, .collapsible:hover {
       background-color: transparent;
   }
   
   .content {
       padding: 0 18px;
       display: none;
       overflow: hidden;
       background-color: transparent;
       text-align: center;
       font-weight: 600;
       font-size: 0.75rem;
       line-height: 1.5;
       letter-spacing: 0.2rem;
       margin-bottom: 20px;
   }
   
   .collapsible:after {
       content: '\271A';
       font-size: 13px;
       color: rgb(255, 255, 255);
       float: right;
       margin-left: 5px;
   }
   
   .collapsible.active:after {
    content: "\2500";
    font-size: 13px;
    color: rgb(255, 255, 255);
}
   
   /* ========================
      PAGE-SPECIFIC STYLES
      ======================== */
   
   /* === INDEX PAGE === */
   .page-index .mainhero {
       background-image: url(images/topbg2.png);
       height: 83vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-index .mainhero > div {
       background-color: transparent;
       overflow: hidden;
       margin-top: 1rem;
   }
   
   .page-index .splash {
       background-image: url(images/socal/socalbgx.png);
       height: 93vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-index .innersplash {
       background-color: transparent;
       width: 100%;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       text-align: center;
       padding: 60px 20px;
       z-index: 1;
   }
   
   .page-index .projectlogo {
       background-image: url(images/altlogo.png);
       background-position: center;
       background-repeat: no-repeat;
       background-size: contain;
       width: 100%;
       height: 40vh;
       margin-bottom: 1vh;
   }
   
   .page-index .projecttext {
       font-size: .8em;
       letter-spacing: .05em;
       color: #e2e2e2;
       text-align: center;
       max-width: 500px;
       margin-top: 0px;
       line-height: 1.6;
   }
   
   .page-index .portfolio-grid {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 35px;
       padding: 50px 8%;
       background-image: url(images/divbg.png);
       padding-bottom: 4rem;
   }
   
   .page-index .portfolio-item {
       position: relative;
       border-radius: 25px;
       padding: 8px;
       border-image: linear-gradient(45deg, #ffffff, #608486) 1;
       box-shadow: 
           5px 5px 6px 1px rgba(32, 32, 34, 0.199),
           2px 2px 6px 4px rgba(0, 0, 0, 0.5),
           inset 3px 3px 7px #0b0c0c,
           inset -3px -3px 7px #121313;
       transition: all 0.3s ease;
       cursor: pointer;
   }
   
   .page-index .portfolio-item:hover {
       box-shadow: 
           8px 8px 12px 2px rgba(36, 36, 37, 0.3),
           8px 8px 12px 6px rgba(0, 0, 0, 0.7),
           inset 3px 3px 7px #141818,
           inset -3px -3px 7px #1b1d1d;
   }
   
   .page-index .portfolio-item img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       display: block;
       border-radius: 15px;
       box-shadow: 
           inset 2px 2px 4px #000000,
           inset -2px -2px 4px rgba(52, 56, 63, 0.7);
       transition: all 0.3s ease;
   }
   
   .page-index .portfolio-link {
       overflow: hidden;
       border-radius: 15px;
       display: block;
       text-decoration: none;
       color: inherit;
       height: 100%;
   }
   
   .page-index .portfolio-item:hover img {
       transition: all 25ms ease-in-out;
   }
   
   .page-index .category-tag {
       position: absolute;
       right: 8px;
       bottom: 7px;
       z-index: 10;
       background: linear-gradient(135deg, rgb(10, 10, 10) 0%, rgb(26, 26, 26) 100%);
       backdrop-filter: blur(3px);
       padding: 25px 10px;
       writing-mode: vertical-rl;
       text-orientation: mixed;
       transform: rotate(180deg);
       border-top-left-radius: 15px;
       border-bottom-left-radius: 0px;
       border-top-right-radius: 0px;
       border-bottom-right-radius: 15px;
       font-size: 1rem;
       letter-spacing: .2rem;
       color: #e4e4e4;
       box-shadow: 
           inset 2px 2px 4px #0f0f0fb3,
           inset -2px -2px 4px #131313;
   }
   
   .page-index .hover-shelf {
       position: absolute;
       bottom: 8px;
       left: 8px;
       right: 8px;
       background: linear-gradient(180deg, rgba(238, 238, 238, 0.8) 0%, rgba(238, 238, 238, 0.95) 100%);
       color: rgb(37, 37, 37);
       padding: 20px 15px;
       border-radius: 0 0 15px 15px;
       transform: translateY(100%);
       opacity: 0;
       transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
       backdrop-filter: blur(10px);
       z-index: 5;
   }
   
   .page-index .portfolio-item:hover .hover-shelf {
       transform: translateY(0);
       opacity: 1;
   }
   
   .page-index .shelf-title {
       font-size: 0.9rem;
       font-weight: bold;
       letter-spacing: 0.1rem;
       margin-bottom: 8px;
       color: #313131;
   }
   
   .page-index .shelf-description {
       font-size: 0.7rem;
       letter-spacing: 0.05rem;
       line-height: 1.3;
       color: #363636;
   }
   
   /* === MODEL CITIZEN PAGE === */
   .page-model-citizen {
       background-color: #18191a;
   }
   
   .page-model-citizen .splash {
       background-image: url(images/mcbg.png);
       background-position: 0px -50px;
       height: 88vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-model-citizen .bannerstrip {
       background-image: url(images/mcstrip.png);
       width: 100%;
       height: 3.3rem;
       grid-column-end: span 4;
       margin-top: 0rem;
   }
   
   .page-model-citizen .bannerstrip2 {
       background-image: url(images/mcstrip2.png);
       width: 100%;
       height: 2.0rem;
       grid-column-end: span 4;
       margin-top: 0rem;
   }
   
   .page-model-citizen .innersplash {
       background-color: transparent;
       width: 100%;
       display: grid;
       grid-template-columns: 1fr 2fr 3fr 3fr 3fr 1fr 3fr 3fr 2fr;
       grid-template-rows: 25vh 25vh auto;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-model-citizen .project {
       font-family: 'mtsb', sans-serif;
       grid-column: 1 / 4;
       grid-row: 1 / 2;
       width: 100%;
       padding: 0 0rem;
       color: #c9c9c9;
       padding: 0px 120px;
       text-align: end;
       text-transform: uppercase;
       font-size: .85em;
       letter-spacing: .05em;
       line-height: 1.4em;
   }
   
   .page-model-citizen .project2 {
       grid-column: 4 / 6;
       grid-row: 1 / 2;
       padding: 0 4rem;
       font-size: .87em;
       letter-spacing: .05em;
       color: #bebebe;
       margin-left: -10em;
   }
   
   /* Model Citizen Gallery Section */
   .page-model-citizen .gallery-section {
       background-image: url(images/mcsectionbg.jpg);
       padding: 0px 0;
   }
   
   .page-model-citizen .gallery-container {
       background-color: rgba(0, 0, 0, 0.2);
       max-width: 90%;
       margin: 0 auto;
       padding: 10px 10px;
       display: grid;
       grid-template-columns: 3fr 1fr;
       gap: 60px;
       align-items: start;
   }
   
   .page-model-citizen .gallery-grid {
       display: grid;
       grid-template-columns: repeat(5, 1fr);
       grid-template-rows: repeat(2, 1fr);
       gap: 0px;
   }
   
   .page-model-citizen .gallery-item {
       aspect-ratio: 3 / 4;
       background: linear-gradient(135deg, #ddd, #ccc);
       cursor: pointer;
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;
   }
   
   .page-model-citizen .gallery-item:hover {
       transform: translateY(-5px);
   }
   
   .page-model-citizen .gallery-item img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   .page-model-citizen .gallery-text {
       color: #b0b0b0;
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       line-height: 1.6;
       letter-spacing: 0.05rem;
       padding-top: 40px;
       text-align: justify;
       width: 90%;
       margin-top: 50px;
   }
   
   .page-model-citizen .gallerymobile-text {
       display: none;
   }
   
   .page-model-citizen .gallery-text h3 {
       font-family: 'mtsb', sans-serif;
       font-size: 1.2rem;
       letter-spacing: 0.1rem;
       color: #e0e0e0;
       margin-bottom: 20px;
       text-transform: uppercase;
   }
   
   .page-model-citizen .gallery-text p {
       margin-top: 15px;
   }
   
   /* Clothing Mockups Section */
   .page-model-citizen .clothing-section {
       background-image: url(images/mc/studdedbg.png);
       padding: 30px 100px;
   }
   
   .page-model-citizen .clothing-container {
       max-width: 100%;
       margin: 0 auto;
       padding: 0 40px;
       text-align: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-model-citizen .clothing-mockup {
       overflow: hidden;
       max-width: 100%;
       height: auto;
       border-radius: 20px;
       position: relative;
       margin-bottom: 40px;
   }
   
   .page-model-citizen .clothing-mockup img {
       width: 100%;
       height: auto;
       display: block;
       transition: transform 0.3s ease;
   }
   
   /* Pannable Image Styles */
   .page-model-citizen .pannable-container {
       width: 100%;
       height: 650px;
       overflow: hidden;
       position: relative;
       border-radius: 20px;
       cursor: grab;
       margin-bottom: 40px;
   }
   
   .page-model-citizen .pannable-container:active {
       cursor: grabbing;
   }
   
   .page-model-citizen .pannable-image {
       width: auto;
       height: 100%;
       min-width: 100%;
       position: absolute;
       top: 0;
       left: 0;
       transition: transform 0.1s ease-out;
       user-select: none;
       -webkit-user-drag: none;
   }
   
   .page-model-citizen .manufacturing-section {
       background-image: url(images/mcsectionbg.jpg);
       padding: 20px 0;
   }
   
   .page-model-citizen .manufacturing-text {
       background-color: rgba(0, 0, 0, 0.3);
       padding: 10px 80px;
       border-radius: 15px;
       max-width: 60%;
       margin: 0 auto;
       color: #b0b0b0;
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       line-height: 1.6;
       letter-spacing: 0.05rem;
   }
   
   .page-model-citizen .manufacturingmobile-text {
       display: none;
   }
   
   .page-model-citizen .manufacturing-text h3 {
       font-family: 'mtsb', sans-serif;
       font-size: 1.2rem;
       letter-spacing: 0.1rem;
       color: #e0e0e0;
       margin-bottom: 20px;
       text-transform: uppercase;
       text-align: center;
   }
   
   .page-model-citizen .manufacturing-text p {
       margin-bottom: 15px;
       text-align: justify;
   }
   
   .page-model-citizen .photoshoot-section {
       background-image: url(images/brickback2.jpg);
       padding: 80px 0;
   }
   
   .page-model-citizen .photoshoot-container {
       background-color: rgba(0, 0, 0, 0.4);
       max-width: 90%;
       margin: 0 auto;
       padding: 0 40px;
       display: grid;
       grid-template-columns: 1fr 3fr;
       gap: 60px;
       align-items: start;
   }
   
   .page-model-citizen .photoshoot-text {
       color: #b0b0b0;
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       line-height: 1.6;
       letter-spacing: 0.05rem;
       padding-top: 40px;
       text-align: justify;
       width: 90%;
       margin-top: 20px;
   }
   
   .page-model-citizen .photoshootmobile-text {
       color: #b0b0b0;
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       line-height: 1.6;
       letter-spacing: 0.05rem;
       padding-top: 40px;
       text-align: justify;
       width: 100%;
       margin-top: 20px;
       display: none;
   }
   
   .page-model-citizen .photoshoot-text h3 {
       font-family: 'mtsb', sans-serif;
       font-size: 1.2rem;
       letter-spacing: 0.1rem;
       color: #e0e0e0;
       margin-bottom: 20px;
       text-transform: uppercase;
   }
   
   .page-model-citizen .photoshoot-text p {
       margin-bottom: 15px;
   }
   
   .page-model-citizen .photoshoot-grid {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       grid-template-rows: repeat(2, 1fr);
       gap: 0px;
   }
   
   .page-model-citizen .photoshoot-item {
       aspect-ratio: 1 / 1;
       background: linear-gradient(135deg, #ddd, #ccc);
       cursor: pointer;
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;
   }
   
   .page-model-citizen .photoshoot-item:hover {
       transform: translateY(-5px);
   }
   
   .page-model-citizen .photoshoot-item img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
   .page-model-citizen .final-text-section {
       background-image: url(images/mc/mcban.png);
       background-repeat: no-repeat;
       height: 70vh;
       padding: 80px 0;
       display: grid;
       grid-template-columns: 4fr 3fr 1fr;
       grid-template-rows: repeat(1, 1fr);
       gap: 10px;
       color: #b0b0b0;
       font-family: 'mts', sans-serif;
       font-size: 0.9rem;
       line-height: 1.6;
       letter-spacing: 0.05rem;
   }
   
   .page-model-citizen .final-text-container {
       grid-column: 2 / 3;
       max-width: 800px;
       background-color: #0c0c0cc4;
       margin: 0 auto;
       padding: 40px 40px;
       text-align: center;
       border-radius: 20px;
   }
   
   /* === SOCAL PAGE === */
   .page-socal {
       background-color: #181818;
   }
   
   .page-socal .splash {
       background-image: url(images/socal/socalbgx.png);
       height: 93vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-socal .innersplash {
       background-color: transparent;
       width: 100%;
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       text-align: center;
       padding: 60px 20px;
       min-height: 80vh;
       z-index: 1;
   }
   
   .page-socal .project {
       font-family: 'mtsb', sans-serif;
       color: #e2e2e2;
       text-transform: uppercase;
       font-size: .9em;
       letter-spacing: .05em;
       line-height: 1.4em;
       margin-bottom: 40px;
       max-width: 600px;
   }
   
   .page-socal .projectlogo {
       background-image: url(images/socal/sclogo.png);
       background-position: center;
       background-repeat: no-repeat;
       background-size: contain;
       width: 100%;
       height: 40vh;
       margin: 0px 0;
   }
   
   .page-socal .project2 {
       font-size: .87em;
       letter-spacing: .05em;
       color: #e2e2e2;
       text-align: center;
       max-width: 600px;
       margin-top: 0px;
       line-height: 1.6;
   }


   .strip2 {
    background-image: url(images/mcstrip2.png);
    background-position: 0 -4px;
    width: 100%;
    height: 1.9rem;
    grid-column-end: span 4;
    margin-top: 0rem;
}

.strip3 {
    background-image: url(images/mcstrip.png);
    background-position: 0 -5px;
    width: 100%;
    height: 2.0rem;
    grid-column-end: span 4;
    margin-top: 0rem;
    box-shadow: 
        5px 5px 6px 1px rgba(15, 15, 15, 0.151),
        -5px 5px 10px 4px rgba(17, 17, 17, 0.308);
}

.strip4 {
    background-image: url(images/mcstrip2.png);
    width: 100%;
    height: 2.0rem;
    grid-column-end: span 4;
    margin-top: 0rem;
}

.description-section {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    padding: 80px 0;
}

.description-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.description-text {
    color: #b0b0b0;
    font-family: 'mts', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
}

.description-text h3 {
    font-family: 'mtsb', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.description-text p {
    margin-bottom: 20px;
}

.mockups-section {
    background-image: url(images/brickbacki.jpg);
    padding: 80px 0;
}

.mockups-container {
    max-width: 60%;
    margin: 0 auto;
    padding: 0 40px;
}

.mockups-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.mockup-item {
    background-color: transparent;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mockup-item:hover {
    transform: translateY(-8px);
}

.mockup-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.fullest-width-section {
    background-color: transparent;
    padding: 0px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.fullest-width-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.fullest-width-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.fullest-width-image {
    max-width: 100%;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.fullest-width-image:active {
    cursor: grabbing;
}

.full-width-section {
    background-color: transparent;
    padding: 0px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.full-width-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.full-width-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.full-width-image {
    max-width: 100%;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.full-width-image:active {
    cursor: grabbing;
}

.large-gallery-section {
    background-image: url(images/brickback.jpg);
    padding: 80px 0;
}

.large-gallery-container {
    max-width: 60%;
    margin: 0 auto;
    padding: 0 40px;
}

.large-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.large-gallery-item {
    aspect-ratio: 11 / 16;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.large-gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.large-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.large-gallery-wide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    margin-bottom: 60px;
}

.large-gallery-wide-item {
    aspect-ratio: 8 / 5;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
}

.large-gallery-wide-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.large-gallery-wide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.large-gallery-text {
    color: #b0b0b0;
    font-family: 'mts', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.large-gallery-text h3 {
    font-family: 'mtsb', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.large-gallery-text p {
    margin-bottom: 0px;
}

.fuller-width-section {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 0px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.fuller-width-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.fuller-width-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.fuller-width-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.fuller-width-image:active {
    cursor: grabbing;
}

   /* === TATTOOLKIT PAGE === */
   .page-tattoolkit {
       background-color: #111111;
   }
   
   .page-tattoolkit .splash {
       background-image: url(images/ttkbg.png);
       height: 100vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-tattoolkit .innersplash {
       background-color: transparent;
       width: 100%;
       display: grid;
       grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
       grid-template-rows: repeat(10, 10vh);
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-tattoolkit .project {
       font-family: 'mtsb', sans-serif;
       grid-column: 4 / 5;
       grid-row: 6 / 3;
       width: 100%;
       padding: 0 0rem;
       color: #d6d6d6;
       padding: 0px 0px;
       text-align: justify;
       text-align-last: justify;
       text-transform: uppercase;
       font-size: .9em;
       letter-spacing: .05em;
       line-height: 1.4em;
       margin-right: 4em;
   }
   
   .page-tattoolkit .project2 {
       grid-column: 2 / 4;
       grid-row: 8 / 7;
       padding: 0 rem;
       font-size: .87em;
       letter-spacing: .05em;
       color: #cfcfcf;
       margin-left: -8em;
       text-align: justify;
       text-align-last: start;
   }
   
   .page-tattoolkit .projectlogo {
       background-image: url(images/ttklogo.png);
       background-position: 15px 0px;
       background-repeat: none;
       width: 31em;
       height: 30em;
       margin-bottom: 2em;
       grid-column: 2 / 4;
       grid-row: 4 / 6;
       padding: 0 4rem;
       font-size: .87em;
       letter-spacing: .05em;
       color: #cfcfcf;
       margin-left: -10em;
   }

   .page-tattoolkit .main-content-section {
    background-image: url(images/brickback.jpg);
    padding: 80px 0;
}

.page-tattoolkit .main-content-container {
    max-width: 75vw;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 4fr 3fr;
    gap: 15px;
    align-items: center;
}

.page-tattoolkit .content-text {
    color: #b0b0b0;
    font-family: 'mts', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    background-color: #0e0e0ec4;
    text-align: center;
    border-radius: 20px;
    padding: 20px 40px;
}

.page-tattoolkit .content-text h3 {
    font-family: 'mtsb', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-tattoolkit .content-text p {
    margin-bottom: 15px;
}

.page-tattoolkit .contentmobile-text {
    color: #b0b0b0;
    font-family: 'mts', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    background-color: #0e0e0ec4;
    text-align: center;
    border-radius: 20px;
    padding: 20px 40px;
    display: none;
}

.page-tattoolkit .ttkfinaltext {
    color: #b0b0b0;
    font-family: 'mts', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    background-color: #0e0e0ec4;
    text-align: center;
    border-radius: 20px;
    padding: 20px 40px;
    display: none;
}


.page-tattoolkit .mobile-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-tattoolkit .mobile-mockup img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.page-tattoolkit .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.page-tattoolkit .feature-item {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-tattoolkit .feature-item:hover {
    transform: translateY(-5px);
}

.page-tattoolkit .feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-tattoolkit .appsc-section {
    background-color: #000000;
    padding: 10px 0;
    display: grid;
    grid-template-columns: repeat(1fr, 2fr, 1fr);
    grid-template-rows: repeat(1, 1fr);
}


.page-tattoolkit .ttkvideo {
    grid-column: 2 / 3;
    position: inherit;
    top: 0;
    left: 0;
    width: 50vw;
    object-fit: cover;
    z-index: 1;
}


.page-tattoolkit .appsc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.page-tattoolkit .appsc-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
    margin-bottom: 10px;
}

.page-tattoolkit .appsc-item {
    aspect-ratio: 1 / 2;
    padding: 4px;
    box-shadow: 
        5px 5px 6px 1px rgba(0, 0, 0, 0.199),
        -5px -5px 10px 4px rgba(95, 93, 93, 0.288),
        inset 3px 3px 7px #0c0c0c,
        inset -3px -3px 7px #080808;
    border-radius: 5px;
    background: linear-gradient(135deg, #0c0c0c, #272727);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-tattoolkit .appsc-item:hover {
    transform: translateY(-5px);
}

.page-tattoolkit .appsc-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-tattoolkit .bannerstrip2 {
    background-repeat: no-repeat;
    height: 3vh;
}


.page-tattoolkit .final-text-section {
    background-image: url(images/ttk/ecombann.png);
    background-repeat: no-repeat;
    height: 70vh;
    padding: 80px 0;
    display: grid;
    grid-template-columns: 4fr 3fr 1fr;
    grid-template-rows: repeat(1, 1fr);
    gap: 10px;
}

.page-tattoolkit .final-text-container {
    grid-column: 2 / 3;
    max-width: 1000px;
    background-color: #0c0c0cc4;
    margin: 0 auto;
    padding: 40px 40px;
    text-align: center;
    border-radius: 20px;
}

.page-tattoolkit .final-text {
    color: #b0b0b0;
    font-family: 'mts', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    letter-spacing: 0.05rem;
    max-width: 800px;
    margin: 0 auto;
}

.page-tattoolkit .final-text h3 {
    font-family: 'mtsb', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.page-tattoolkit .final-text p {
    margin-bottom: 20px;
}



   
   /* === ANIMATION PAGE === */
   .page-animation {
       background-color: #111111;
   }
   
   .page-animation .splash {
       background-image: url(images/3d/gamebg.png);
       background-position: center;
       height: 55vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-animation .innersplash {
       background-color: transparent;
       width: 100%;
       display: grid;
       grid-template-columns: 1fr 2fr 3fr 3fr 3fr 1fr 3fr 3fr 2fr;
       grid-template-rows: 25vh 25vh auto;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }


.page-animation .bannerstrip {
    background-image: url(images/mcstrip.png);
    width: 100%;
    height: 3.3rem;
    grid-column-end: span 4;
    margin-top: 0rem;
    box-shadow: 
        5px 5px 6px 1px rgba(15, 15, 15, 0.329),
        -5px -5px 10px 4px rgba(17, 17, 17, 0.5);
}

.page-animation .bannerstrip2 {
    background-image: url(images/mcstrip3.png);
    width: 100%;
    height: 1.13rem;
    grid-column-end: span 4;
    margin-top: 0rem;
}


.video-background-section {
    position: relative;
    min-height: 60vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sketches-section {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: row;
    gap: 0px;
}

.sketch-item {
    background-color: transparent;
    border-radius: 10px;
    padding: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sketch-item:hover {
    transform: translateY(-5px);
}

.sketch-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.sc-section1 {
    background-image: url(images/3d/scbgex.png);
    position: relative;
    height: 37vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.sc-content {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    margin-bottom: 2rem;
    padding: 0px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: #070707ee;
    border-radius: 20px;
}

.sc-text {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    gap: 0px;
    color: #c4c4c4;
    font-size: 0.9rem;
    padding: 50px 50px;
    text-align: center;
}

.sc-section2 {
    grid-column: 2 / 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0px;
}

.sc-item {
    background-color: transparent;
    border-radius: 10px;
    padding: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sc-item:hover {
    transform: translateY(-5px);
}

.sc-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


.knex-consolidated-section {
    background-image: url(images/3d/knexbg.jpg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.knex-container {
    height: 80vh;
    margin: 0 auto;
    padding: 40px 180px;
    display: grid;
    grid-template-columns: 4fr 3fr;
    grid-template-rows: 1fr 1fr; 
    gap: 0px;
    align-items: center;
}

.knex-left {
    padding: 40px 80px;
    display: grid;
    grid-column: 1/2;
    grid-row: 1/1;

}

.knex-right {
    margin-top:0px;
    margin-bottom: 0px;
    display: grid;

}

.knex-bottom {
    padding: 40px 120px;
    align-items: center;
    justify-content: center;
    grid-row: 2/2;
    grid-column: span 2;
}

.knex-video {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 7px; 
    box-shadow: 
      5px 5px 6px 1px rgba(15, 15, 15, 0.199),
      -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
      inset 3px 3px 7px #1b1d1d,
      inset -3px -3px 7px #000000;
    border-radius: 5px;
    background: linear-gradient(135deg, #0c0c0c, #272727);
}

.knex-description {
    order: 2;
    background-color: #070707f8;
    padding: 40px 20px;
    color: #c4c4c4;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 10px;
    width: 80%;
}

.knex-screenshots {
    order: 3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 5px;
    margin-top: 0px;
    padding: 4px;
    box-shadow: 
        5px 5px 6px 1px rgba(15, 15, 15, 0.199),
        -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
        inset 3px 3px 7px #1b1d1d,
        inset -3px -3px 7px #000000;
    border-radius: 5px;
    background: linear-gradient(135deg, #0c0c0c, #272727);
}

.knex-screenshot {
    aspect-ratio: 16/9;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.knex-screenshot:hover {
    transform: translateY(-5px);
}

.knex-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.knex-character {
    display: flex;
    align-items: center;
    justify-content: center;
}

.knex-character img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.bm-section {
    background-image: url(images/brickback3.jpg);
    padding: 0px 0;
    height: 95vh;
}

.bm-container {
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 50% 40% 1fr;
    gap: 0px;
}


.bm-title {
    width: 30%;
    margin-top: 0px;
    padding: 30px 0px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}


.bm-left {
    margin-top:2rem;
    grid-column: 2/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}
.bm-video {
    width: 76%;
    height: 45vh;
    margin-top: 5rem;
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 7px; 
    box-shadow: 
      5px 5px 6px 1px rgba(15, 15, 15, 0.199),
      -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
      inset 3px 3px 7px #0f0f0f,
      inset -3px -3px 7px #000000;
    border-radius: 5px;
    background: linear-gradient(135deg, #0c0c0c, #141414);
}

.bm-right {
    width:80%;
    grid-column: 3/4;
    display: flex;
    flex-direction: column;
    margin-top:8rem;
    gap: 0px;
}

.bm-logo img {
    height: auto;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3vh;
}

.bm-description {
    background-color: #070707cb;
    padding: 20px 60px;
    border-radius: 10px;
    margin-top: 2vh;
    color: #b0b0b0;
    font-size: 0.9rem;
    text-align: center;
    width: 80%;
}

.bm-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0px;
}

.bm-item {
    aspect-ratio: 2 / 3;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
}

.bm-item:hover {
    transform: translateY(-3px);
}

.bm-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bm-stripgallery {
    width: 80%;
    margin-top: 8vh;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 0px;
}

.bm-stripitem {
    aspect-ratio: 3 / 2;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
    max-width: 15vw;
}

.bm-stripitem:hover {
    transform: translateY(-3px);
}

.bm-stripitem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.nvd-section {
    background-image: url(images/brickback2.jpg);
    padding: 0px 0;
    height: 65vh;
    display:none;
}

.nvd-container {
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 50% 40% 1fr;
    gap: 0px;
}

.nvd-left {
    grid-column: 2/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}
.nvd-video {
    width: 65%;
    height: 45vh;
    margin-top: 5rem;
    border-radius: 5px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 7px; 
    box-shadow: 
      5px 5px 6px 1px rgba(15, 15, 15, 0.199),
      -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
      inset 3px 3px 7px #1b1d1d,
      inset -3px -3px 7px #000000;
    border-radius: 5px;
    background: linear-gradient(135deg, #0c0c0c, #272727);
}

.nvd-right {
    width:80%;
    grid-column: 3/4;
    display: flex;
    flex-direction: column;
    margin-top:10vh;
    gap: 0px;
}

.nvd-description {
    background-color: #070707cb;
    padding: 20px 60px;
    border-radius: 10px;
    margin-top: 2vh;
    color: #b0b0b0;
    font-size: 0.9rem;
    text-align: center;
    width: 80%;
}

.nvd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0px;
}

.nvd-item {
    aspect-ratio: 3 / 2;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
}

.nvd-item:hover {
    transform: translateY(-3px);
}

.nvd-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



   /* === CHARACTER DESIGN PAGE === */
   .page-characterdesign {
    background-color: #111111;
}

.page-characterdesign .splash {
    background-image: url(images/char/bg.jpg);
    background-position: center;
    height: 60vh;
    width: 100%;
    z-index: 1;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.page-characterdesign .innersplash {
    background-color: transparent;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 3fr 3fr 3fr 1fr 3fr 3fr 2fr;
    grid-template-rows: 25vh 25vh auto;
    z-index: 1;
    align-items: center;
    overflow: hidden;
    position: relative;
}


.page-characterdesign .bannerstrip {
 background-image: url(images/mcstrip.png);
 width: 100%;
 height: 3.3rem;
 grid-column-end: span 4;
 margin-top: 0rem;
 box-shadow: 
     5px 5px 6px 1px rgba(15, 15, 15, 0.329),
     -5px -5px 10px 4px rgba(17, 17, 17, 0.5);
}

.page-characterdesign .bannerstrip2 {
 background-image: url(images/mcstrip3.png);
 width: 100%;
 height: 1.13rem;
 grid-column-end: span 4;
 margin-top: 0rem;
}


.cosmo-text {
    /* Aligns the text to the bottom to match your screenshot */
    align-self: end; 
    color: #ccc; /* A light grey color for the text */
    font-size: 1rem;
    padding-bottom: 20px; /* Some spacing from the bottom */
}

/* Your existing CSS */
.cosmo-section {
    background-image: url(images/char/brockbg.jpg);
    position: relative;
    min-height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cosmo-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    padding: 0px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr; /* This will now work correctly */
    gap: 60px;
    align-items: center;
    background-color: transparent;
}

/* MODIFIED: Change grid-template-columns to match a 2x2 layout */
.cosmo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from 3 to 2 */
    grid-template-rows: repeat(2, 1fr);
    gap: 5px; /* Added a small gap to space out the images */
    width:70%;
}

.cosmo-item {
    aspect-ratio: 4 / 7; /* Adjusted ratio to better fit mockup */
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
}

.cosmo-item:hover {
    transform: translateY(-5px);
}

.cosmo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MODIFIED: Change grid-template-columns to match a 2x2 layout */
.cosmobile-grid {
    display: none;
}

.cosmobile-item {
    aspect-ratio: 4 / 7; /* Adjusted ratio to better fit mockup */
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
}

.cosmobile-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.cosmolow-section {
 background-color:#0d0e0e;
 position: relative;
 height: 37vh;
 width: 100%;
 overflow: hidden;
 display: flex;
 align-items: center;
}

.cosmolow-content {
 position: relative;
 z-index: 3;
 margin: 0 auto;
 margin-bottom: 2rem;
 padding: 0px 100px;
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
 background-color: #070707ee;
 border-radius: 20px;
}

.cosmo-text {
 grid-column: 1 / 2;
 display: flex;
 flex-direction: column;
 gap: 0px;
 color: #c4c4c4;
 font-size: 0.9rem;
 padding: 50px 50px;
 text-align: center;
}

.cd3-section {
 grid-column: 2 / 2;
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0px;
 width:70%;
}

.cd3-item {
 background-color: transparent;
 border-radius: 10px;
 padding: 5px;
 transition: transform 0.3s ease;
 cursor: pointer;
}

.cd3-item:hover {
 transform: translateY(-5px);
}

.cd3-item img {
 width: 100%;
 height: auto;
 border-radius: 5px;
}



.cd4-section {
    background-image: url(images/char/robotbg.jpg);
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cd4-container {
 padding: 0 40px;
 display: grid;
 grid-template-columns: 1fr 4fr 4fr 1fr;
 gap: 0px;
}


.cd2-sketch {
    grid-column: 2 / 2;
    display: grid;
    gap: 0px;
    background-color:transparent;
   }

   .cd2-sketch img {
    width: 100%;
    height: auto;
   }
   
   .klaus-section {
    background-image: url(images/char/klausbg.jpg);
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.klaus-container {
    width: 100%; 
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 4fr 4fr 1fr;
    gap: 0px;
}

.klaus-grid {
    grid-column: 3 / 4; 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr); 
    gap: 5px;
}

.klaus-item {
    aspect-ratio: 16 / 10; 
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
}
.klaus-item:hover {
    transform: translateY(-5px);
   }
   
   .klaus-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
   }

   .klauslow-section {
    background-color:#0d0e0e;
    position: relative;
    height: 37vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
   }
   
   .klauslow-content {
    position: relative;
    z-index: 3;
    margin: 0 auto;
    margin-bottom: 2rem;
    padding: 0px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background-color: #070707ee;
    border-radius: 20px;
   }

   .page-characterdesign .klausmob-grid {
    display: none;
    }

/* Your existing CSS */
.robo-section {
    background-image: url(images/char/robotbg.jpg);
    position: relative;
    min-height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.robo-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
    padding: 0px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr; /* This will now work correctly */
    gap: 60px;
    align-items: center;
    background-color: transparent;
}

/* MODIFIED: Change grid-template-columns to match a 2x2 layout */
.robo-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Changed from 3 to 2 */
    grid-template-rows: repeat(1, 1fr);
    gap: 15px; /* Added a small gap to space out the images */
    width:70%;
}

.robo-item {
    aspect-ratio: 7 / 4; /* Adjusted ratio to better fit mockup */
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #333, #222);
}

.robo-item:hover {
    transform: translateY(-5px);
}

.robo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.robomobo-grid {
    display: none;
}

   .page-artwork {
       background-color: #1a1a1a;
   }
   
   .page-artwork .splash {
       background-image: url(images/headerbg.jpg);
       background-size: cover;
       background-position: 0px -100px;
       height: 70vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-artwork .innersplash {
       background-color: transparent;
       width: 100%;
       display: grid;
       grid-template-columns: 1fr 1fr 1fr 1fr;
       grid-template-rows: 25vh 25vh auto;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
    
    
    .page-artwork .gallery-section {
        background-image: url(images/mcsectionbg.jpg);
        padding: 80px 0;
    }
    
    .page-artwork .gallery-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .page-artwork .gallery-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(6, 1fr);
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .page-artwork .gallery-item {
        aspect-ratio: 2 / 3;
        padding: 4px; 
        box-shadow: 
          5px 5px 6px 1px rgba(15, 15, 15, 0.199),
          -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
          inset 3px 3px 7px #1b1d1d,
          inset -3px -3px 7px #000000;
        border-radius: 5px;
        background: linear-gradient(135deg, #0c0c0c, #272727);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
 
    }
    
    .page-artwork .gallery-item:hover {
        transform: translateY(-5px);
    }
    
    .page-artwork .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

 
    .tattoo-section {
        background-image: url(images/brickback3.jpg);
        padding: 0px 0;
        height: 70vh;
        overflow: hidden;
    }
    
    .tattoo-container {
        padding: 0 40px;
        display: grid;
        grid-template-columns: 1fr 25% 30% 16% 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 20px;
        overflow: hidden;
    }


    .tattoo-left {
        width:100%;
        grid-column: 2/3;
        display: flex;
        flex-direction: column;
        margin-top:10vh;
        gap: 0px;
    
    }
   
    .tattoo-design {
        width:100%;
        height:90%;
        border-radius: 5px;
        overflow: hidden;
        transition: transform 0.3s ease;
        background: linear-gradient(135deg, #333, #222);
    }
        
    .tattoo-design img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .tattoo-middle{
        grid-column: 3/4;
        width:100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-top:8vh;
        gap: 0px;
    }

    .tattoo-description {
        background-color: #070707cb;
        padding: 20px 60px;
        border-radius: 10px;
        margin-top:0rem;
        margin-bottom: 1vh;
        color: #b0b0b0;
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .tattoo-description h5{
        font-size: 1.1rem;
        letter-spacing: 0.2rem;
        margin: 20px 0;
    }

    .tattoo-ig {
        background-color: #070707cb;
        padding: 20px 60px;
        border-radius: 10px;
        color: #b0b0b0;
        font-size: 0.8rem;
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap:40px;
    }
    

    .tattoo-right {
        margin-top:8.5vh;
        grid-column: 4/5;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }

    .tattoo-video {
        width: 100%;
        height: 55vh;
        border-radius: 5px;
        overflow: hidden;
        background: transparent;
        display: flex;
        align-items: center;
        padding: 7px; 
        box-shadow: 
          5px 5px 6px 1px rgba(15, 15, 15, 0.199),
          -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
          inset 3px 3px 7px #0f0f0f,
          inset -3px -3px 7px #000000;
        border-radius: 5px;
        background: linear-gradient(135deg, #0c0c0c, #141414);
    }


    .page-artwork .art-section {
        background-image: url(images/mcsectionbg.jpg);
        padding: 80px 0;
    }
    
    .page-artwork .art-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .page-artwork .art-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(1, 1fr);
        gap: 10px;
        margin-bottom: 40px;
    }
    
    .page-artwork .art-item {
        aspect-ratio: 2 / 3;
        padding: 4px; 
        box-shadow: 
          5px 5px 6px 1px rgba(15, 15, 15, 0.199),
          -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
          inset 3px 3px 7px #1b1d1d,
          inset -3px -3px 7px #000000;
        border-radius: 5px;
        background: linear-gradient(135deg, #0c0c0c, #272727);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
 
    }
    
    .page-artwork .art-item:hover {
        transform: translateY(-5px);
    }
    
    .page-artwork .art-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


   /* === GRAPHICS PAGE === */
   .page-about {
    background-color: #131313;
}
    .page-about .splash {
        background-image: url(images/topbg2.png);
        background-position: center;
        height: 15vh;
        width: 100%;
        z-index: 1;
        align-items: center;
        overflow: hidden;
        position: relative;
    }


    .about-section {
        background-image: url(images/mcsectionbg.jpg);
        padding: 50px 0;
    }
    .about-container {
        padding: 0 10px;
        display: grid;
        grid-template-columns: 1fr 2fr 2fr 1fr;
        gap: 10px;
        overflow: hidden;
        align-items: center;
    }
    .about-content {
        background-image: url(images/mcsectionbg.jpg);
        padding: 50px 0;
        grid-column: 2/3;
        align-items: center;
        text-align: center;
    }
    .about-text {
        background-image: url(images/mcsectionbg.jpg);
        padding: 50px 0;
        grid-column: 3/4;
        align-items: center;
        text-align: center;
    }

   /* === GRAPHICS PAGE === */
   .page-graphics {
       background-color: #131313;
   }
   
   .page-graphics .splash {
       background-image: url(images/gph/gphbg.png);
       background-position: center;
       height: 65vh;
       width: 100%;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }
   
   .page-graphics .innersplash {
       background-color: transparent;
       width: 100%;
       display: grid;
       grid-template-columns: 1fr 2fr 3fr 3fr 3fr 1fr 3fr 3fr 2fr;
       grid-template-rows: 25vh 25vh auto;
       z-index: 1;
       align-items: center;
       overflow: hidden;
       position: relative;
   }

   .page-graphics .gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 40px;
    }

   
    .page-graphics .gallery-section {
        background-image: url(images/mcsectionbg.jpg);
        padding: 80px 0;
    }

    .page-graphics .gallery-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .page-graphics .gallery-item {
        aspect-ratio: 2 / 3;
        padding: 4px; 
        box-shadow: 
        5px 5px 6px 1px rgba(15, 15, 15, 0.199),
        -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
        inset 3px 3px 7px #1b1d1d,
        inset -3px -3px 7px #000000;
        border-radius: 5px;
        background: linear-gradient(135deg, #0c0c0c, #272727);
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;

    }

    .page-graphics .gallery-item:hover {
        transform: translateY(-5px);
    }

    .page-graphics .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

   
   /* ========================
      GALLERY SECTIONS
      ======================== */
   
   .gallery-section {
       background-image: url(images/mcsectionbg.jpg);
       padding: 80px 0;
   }
   
   .gallery-container {
       max-width: 1000px;
       margin: 0 auto;
       padding: 0 40px;
   }
   
   .gallery-grid {
       display: grid;
       grid-template-columns: repeat(5, 1fr);
       grid-template-rows: repeat(7, 1fr);
       gap: 10px;
       margin-bottom: 40px;
   }
   
   .gallery-item {
       aspect-ratio: 2 / 3;
       background: linear-gradient(135deg, #ddd, #ccc);
       cursor: pointer;
       transition: all 0.3s ease;
       position: relative;
       overflow: hidden;

   }
   
   .gallery-item:hover {
       transform: translateY(-5px);
   }
   
   .gallery-item img {
       width: 100%;
       height: 100%;
       object-fit: cover;
   }
   
    /* Triangles */
    .ss-style-triangles::before,
    .ss-style-triangles::after {
        left: 50%;
        width: 100px;
        height: 100px;
        -webkit-transform: translateX(-50%) rotate(45deg);
        transform: translateX(-50%) rotate(45deg);
    }

    .ss-style-triangles::before {
        top: -50px;
        background: #070707;
    }

    .ss-style-triangles::after {
        bottom: -50px;
        z-index: 10;
        background: inherit;
    }
    section::before,
    section::after {
        position: absolute;
        content: '';
        pointer-events: none;
    }


   /* ========================
      MOBILE STYLES
      ======================== */
   
   @media (max-width: 768px) {
       body {
           padding-top: 0px;
           overflow-x: hidden;
       }

       h5 {
        font-family: 'mtsxb', sans-serif;
        letter-spacing: .1rem;
        font-size: 1.3em;
        margin-bottom: 20px;
        margin-top:0;
       }
   
       .mobile-header {
           display: block;
       }
   
       .header1 {
           display: none;
       }

       .home-button {
        display: none;
    }
   
       .site-footer {
           height: 7vh;
           font-size: 0.4em;
           color: #353535;
           background-image: url(images/footer.png);
           filter: brightness(2);
       }
   
       .burger-line {
           background-color: #d1d1d1;
       }
   
       .contact-icon {
           color: #d1d1d1;
       }
   
       .lightbox-nav {
           display: none;
       }
   
       .lightbox-close {
           top: 2px;
           right: 2px;
       }
   
       .contact-modal-content {
           padding: 30px 20px;
           max-width: 350px;
       }
   
       .contact-modal-title {
           font-size: 1.2rem;
       }
   
       .contact-item {
           padding: 12px;
       }
   
       .contact-item-icon {
           width: 35px;
           height: 35px;
           font-size: 16px;
       }
   
       .page-index .splash {
           background-image: url(images/mobilebg.png);
           background-size: cover;
           background-position: center;
           display: flex;
           flex-direction: column;
           min-height: 90vh;
           grid-template-columns: 1fr 1fr 1fr;
           grid-template-rows: none;
           padding: 20px 0px 0px;
           align-items: center;
           justify-content: center;
           text-align: center;
       }
   
       .page-index .bannerstrip {
               background-image: url(images/stripmbl.png);
        height: 3.1rem;
       }
       .page-index .mainhero {
           background-image: url(images/mobilebg.png);
           background-size: cover;
           background-position: center;
           display: flex;
           flex-direction: column;
           min-height: 90vh;
           grid-template-columns: 1fr 1fr 1fr;
           grid-template-rows: none;
           padding: 20px 0px 0px;
           align-items: center;
           justify-content: center;
           text-align: center;
       }
   
       .page-index .portfolio-grid {
           grid-template-columns: 1fr;
           gap: 25px;
           padding: 30px 20px;

       }
   
       .page-index .portfolio-item {
           border-image: linear-gradient(45deg, #000000, #000000) 1;
           box-shadow: 
               5px 5px 6px 1px rgba(15, 15, 15, 0.199),
               -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
               inset 3px 3px 7px #0d0e0e,
               inset -3px -3px 7px #080808;
           border-radius: 20px;
           padding: 6px;
           min-height: 300px;
       }
   
       .page-index .portfolio-item img {
           border-radius: 12px;
           min-height: 250px;
           box-shadow: 
               inset 2px 2px 4px #1a1a1a,
               inset -2px -2px 4px rgba(49, 49, 49, 0.7);
       }
   
       .page-index .category-tag {
           padding: 15px 10px;
           right: 6px;
           bottom: 6px;
           z-index: 0;
           font-size: 0.8rem;
           letter-spacing: 0.1rem;
           font-family: 'mtsb', sans-serif;
           background-image: url(images/mcsectionbg.jpg);
           filter: brightness(1.2);
           box-shadow: 
               3px 1px 6px 1px rgba(7, 7, 7, 0.171),
               inset 2px 2px 4px #2324258c,
               inset -2px -2px 1px #1a1a1abb;
           color: #b6b6b6;
           max-height: 90%;
       }
   
       /* Model Citizen Mobile Styles */
       .page-model-citizen .back-button {
           color: rgba(248, 248, 248, 0.788);
           font-family: 'mtsb', sans-serif;
       }
   
       .page-model-citizen .splash {
           background-image: url(images/mc/mcbgmbl.png);
           background-repeat: no-repeat;
           background-size: cover;
           height: 100vh;
           background-position: center;
       }
   
       .page-model-citizen .innersplash {
           display: flex;
           flex-direction: column;
           justify-content: center;
           align-items: center;
           text-align: center;
           padding: 60px 20px 20px;
           min-height: 80vh;
       }
   
       .page-model-citizen .project {
           font-family: 'Krub', sans-serif;
           font-weight: 600;
           font-size: 0.75rem;
           line-height: 1.5;
           letter-spacing: 0.2rem;
           color: #e2e2e2;
           text-align: center;
           margin-top: 15vh;
           margin-bottom: 25vh;
           padding: 0 20px;
           text-transform: uppercase;
           max-width: 90%;
       }
   
       .page-model-citizen .project2 {
           font-family: 'Krub', sans-serif;
           font-weight: 200;
           font-size: 0.75rem;
           line-height: 1.5;
           letter-spacing: 0.1rem;
           color: #e2e2e2;
           text-align: center;
           padding: 0 10px;
           margin: 0;
           margin-top: 9vh;
           max-width: 100%;
           margin-bottom: 2vh;
       }
   
       .page-model-citizen .gallery-item, 
       .page-model-citizen .photoshoot-item {
           padding: 4px;
           box-shadow: 
               5px 5px 6px 1px rgba(15, 15, 15, 0.199),
               -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
               inset 3px 3px 7px #1b1d1d,
               inset -3px -3px 7px #000000;
           border-radius: 5px;
           background: linear-gradient(135deg, #0c0c0c, #272727);
       }
   
       .page-model-citizen .gallery-section {
        background-image: url(images/mcsectionbg.jpg);
        padding: 30px 0;
       }


       .page-model-citizen .photoshoot-section {
           background-image: url(images/mcsectionbg.jpg);
           padding: 0px 0;
       }
   
       .page-model-citizen .gallery-container {
            grid-template-columns: 1fr;
            max-width: 90%;
       }


       .page-model-citizen .photoshoot-container {
           grid-template-columns: 1fr;
           gap: 30px;
           padding: 0 0px;
       }
   
       .page-model-citizen .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
        gap: 0px;
        margin-bottom: 0px;
       }


       .page-model-citizen .photoshoot-grid {
           grid-template-columns: repeat(2, 1fr);
           grid-template-rows: repeat(4, 1fr);
           gap: 0px;
           margin-bottom: 0px;
       }
   
       .page-model-citizen .gallery-text {
           padding-top: 0;
           text-align: center;
       }
   
       .page-model-citizen .clothing-section {
           padding: 30px 0px;
           height: 65vh;
       }
   
       .page-model-citizen .clothing-container {
           padding: 0 0px;
           max-width: unset;
           height: 65vh;
       }
   
       .page-model-citizen .clothing-mockup {
           max-width: unset;
           height: 60vh;
       }
   
       .page-model-citizen .clothing-mockup img {
           width: unset;
           height: 80vh;
       }
   
       .page-model-citizen .photoshoot-section {
           background-image: url(images/brickback3.jpg);
           padding: 50px 0;
       }
   
       .page-model-citizen .photoshoot-text {
           display: none;
       }
   
       .page-model-citizen .photoshootmobile-text {
           font-weight: 600;
           font-size: 0.75rem;
           line-height: 1.5;
           letter-spacing: 0.2rem;
           display: unset;
       }
   
       .page-model-citizen .pannable-container {
           width: unset;
           height: 55vh;
       }
   
       .page-model-citizen .pannable-image {
           width: unset;
           height: 60vh;
           min-width: unset;
       }
   
       .page-model-citizen .manufacturing-section {
           padding: 20px 20px;
       }
   
       .page-model-citizen .gallery-text {
           display: none;
       }
   
       .page-model-citizen .gallerymobile-text {
           color: #b0b0b0;
           font-family: 'mts', sans-serif;
           font-size: 0.9rem;
           line-height: 1.6;
           letter-spacing: 0.05rem;
           padding-top: 0px;
           text-align: justify;
           width: 100%;
           margin-top: 0px;
           display: unset;
       }
   
       .page-model-citizen .manufacturing-text {
           display: none;
       }
   
       .page-model-citizen .manufacturingmobile-text {
           color: #b0b0b0;
           font-family: 'mts', sans-serif;
           font-size: 0.9rem;
           line-height: 1.6;
           letter-spacing: 0.05rem;
           padding-top: 40px;
           text-align: justify;
           width: 90%;
           margin-top: 20px;
           display: unset;
       }

       .page-model-citizen .final-text-section {
        background-image: url(images/mc/mcban.png);
        background-repeat: repeat-y;
        height: unset;
        padding: 20px 0;
        display: flex;
        width: 100%;
        gap: 10px;
        color: #b0b0b0;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
    }
    
    .page-model-citizen .final-text-container {
        grid-column: unset;
        max-width: unset;
        width: 100%;
        background-color: #0c0c0c;
        margin: 0 auto;
        padding: 30px 30px;
        text-align: center;
        border-radius: 20px;
    }
   
       .page-tattoolkit .splash {
        background-image: url(images/ttkmobile.png);
        background-repeat: no-repeat;
        background-size: cover;
        height: 100vh;
        background-position: center;
    }

    .page-tattoolkit .projectlogo {
        background-image: url(images/ttklogo.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 80vw;
        max-width: 300px;
        height: 280px;
        margin: 5vh auto 2em auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .page-tattoolkit .innersplash {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 60px 20px 20px;
        min-height: 80vh;
    }

    .page-tattoolkit .project {
        font-family: 'Krub', sans-serif;
        font-weight: 600;
        font-size: 0.75rem;
        line-height: 1.5;
        letter-spacing: 0.2rem;
        color: #e2e2e2;
        text-align: center;
        margin-top: 10vh;
        margin-bottom: 1vh;
        padding: 0 20px;
        text-transform: uppercase;
        max-width: 90%;
    }

    .page-tattoolkit .project2 {
        font-family: 'Krub', sans-serif;
        font-weight: 200;
        font-size: 0.8rem;
        line-height: 1.2;
        letter-spacing: 0.1rem;
        color: #e2e2e2;
        justify-content: center;
        align-items: center;
        text-align-last: center;
        padding: 0 10px;
        margin: 0;
        margin-top: 1vh;
        max-width: 90%;
    }

    .page-tattoolkit .main-content-section {
        padding: 30px 10px;
    }

    .page-tattoolkit .main-content-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 0px;
        max-width: 100vw;
    }

    .page-tattoolkit .mobile-mockup {
        order: 1;
    }

    .page-tattoolkit .content-text {
        order: 3;
        text-align: center;
        padding: 10px 20px;
        display:none;
    }

    .page-tattoolkit .contentmobile-text {
        order: 4;
        color: #b0b0b0;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
        background-color: #0e0e0ec4;
        text-align: center;
        border-radius: 20px;
        padding: 10px 10px;
        display: unset;
    }

    .page-tattoolkit .contentmobile-text h3 {
        order: 4;
        color: #ffffff;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
        text-align: center;
        border-radius: 20px;
        padding: 20px 40px;
        display: unset;
    }

    .page-tattoolkit .contentmobile-text p{
        order: 4;
        color: #b0b0b0;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
    }



    .page-tattoolkit .feature-grid {
        order: 2;
        width: 95%;
        margin: 0 auto;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 5px;
    }

    .page-tattoolkit .final-text-section {
        padding: 40px 0;
        grid-template-columns: unset;
        grid-template-rows: unset;
        height: unset;
        padding: 20px 20px;
        display: flex;
    }

    .page-tattoolkit .ttkfinaltext {
        order: 4;
        color: #b0b0b0;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
        background-color: #0e0e0ec4;
        text-align: center;
        border-radius: 20px;
        padding: 10px 10px;
        display: unset;
    }

    .page-tattoolkit .ttkfinaltext h3 {
        order: 4;
        color: #ffffff;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
        text-align: center;
        border-radius: 20px;
        padding: 20px 40px;
        display: unset;
    }

    .page-tattoolkit .ttkfinaltext p{
        order: 4;
        color: #b0b0b0;
        font-family: 'mts', sans-serif;
        font-size: 0.9rem;
        line-height: 1.6;
        letter-spacing: 0.05rem;
    }
    .page-tattoolkit .final-text {
        display:none;
    }



    .page-tattoolkit .final-text-container {
        padding: 10px 20px;
        background-color: #0c0c0c;
    }

    .page-tattoolkit .ttkvideo {
        width: 100vw;
        object-fit: cover;
        z-index: 1;
    }




    .page-socal .splash {
        background-image: url(images/socal/socalbgmbl.jpg);
        height: 100vh;
        background-position: center;
        background-size: cover;
    }

    .page-socal .innersplash {
        margin-top: 4em; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10vh 3vw;
        min-height: 60vh;
        background-color: rgba(65, 65, 65, 0.1);
        backdrop-filter: blur(7px);
    }

    .page-socal .project, .page-socal .project2 {
        margin: 0;
        margin-left: 0;
        padding: 0px 20px;
        font-size: 0.8rem;
        color: #c9c9c9;
        text-align-last: center;
        width: unset;
    }

    .page-socal .projectlogo {
        background-image: url(images/socal/sclogo.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 270px;
        width: 100%;
        margin: 0px 0;
        margin-left: 0;
        padding: 0;
    }
    
    .description-section {
        padding: 40px 0;
    }

    .description-container {
        padding: 0 20px;
    }

    .large-gallery-container {
        max-width: 90%;

        padding: 0 20px;
    }

    .large-gallery-section {
        padding: 40px 0;
    }

    .mockups-section {
        padding: 40px 0;
    }

    .mockups-container {
        padding: 0 20px;
        max-width: 100%;
    }

    .mockup-item {
        border-radius: 0px;
        padding: 0px;
    }

    .mockups-grid {
        grid-template-columns: 1fr;
        margin-bottom: 0px;
    }

    .large-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
    }
    .large-gallery-wide-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
    }



    .fullest-width-container,
    .full-width-container,
    .fuller-width-container {
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .fullest-width-content,
    .full-width-content,
    .fuller-width-content {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }

    .fullest-width-image {
        width: auto;
        min-width: 1200px;
        height: auto;
        cursor: grab;
        user-select: none;
        -webkit-user-drag: none;
        transform: translateX(0);
        transition: transform 0.1s ease-out;
    }

    .full-width-image  {
        width: auto;
        min-width: 1000px;
        height: auto;
        cursor: grab;
        user-select: none;
        -webkit-user-drag: none;
        transform: translateX(0);
        transition: transform 0.1s ease-out;
    }

    .fuller-width-image {
        width: auto;
        min-width: 1000px;
        height: auto;
        cursor: grab;
        user-select: none;
        -webkit-user-drag: none;
        transform: translateX(0);
        transition: transform 0.1s ease-out;
    }




    .page-animation .splash {
        height: 40vh;
        background-image: url(images/3d/gamebgmbl.png);
        background-position: center;
        background-size: cover;
    }
    
    .page-animation .innersplash {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        min-height: 30vh;
    }
    
    .video-background-section {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        display: flex;
        align-items: center;
        padding: 0;
    }
    
    .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: -280px 0px;
        z-index: 1;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .video-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 400px;
        background-color:transparent;
        z-index: 2;
    }
    
    .video-content {
        position: relative;
        z-index: 3;
        width: 100%;
        height: 400px;
        padding: 0px 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .sketches-section {
        display: none; 
    }

    .sc-section1 {
        background-image: none;
        background-color: #070707;
        padding: 40px 0;
        height: auto;
        min-height: auto;
    }
    
    .sc-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        margin: 0;
        background-color: rgba(7, 7, 7, 0.95);
        border-radius: 20px;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .sc-text {
        order: 1;
        padding: 20px;
        font-size: 0.85rem;
        line-height: 1.5;
        color: #c4c4c4;
        text-align: center;
    }
    
    .sc-text h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #ffffff;
    }
    
    .sc-section2 {
        order: 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        width: 100%;
    }
    
    .sc-item {
        aspect-ratio: 2 / 3;
        border-radius: 8px;
        overflow: hidden;
        background: #222;
        padding: 0px;
    }
    
    .sc-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .knex-consolidated-section {
        padding: 40px 0;
        background-image: none;
        background-color: #1a1a1a;
    }
    
    .knex-container {
        height: unset;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    
    .knex-left {
        background-color: rgba(7, 7, 7, 0.95);
        border-radius: 20px;
        padding: 0px 0px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin: 0;
    }
    
    .knex-right {
        margin-top:20px;
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
    }
    
    .knex-bottom {
        padding: 30px 10px;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    .knex-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        border-radius: 10px;
        box-shadow: 
            5px 5px 15px rgba(0, 0, 0, 0.3),
            inset 2px 2px 5px #1b1d1d,
            inset -2px -2px 5px #000000;
    }
    
    .knex-description {
        color: #c4c4c4;
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
        width: 100%;
    }
    
    .knex-description h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        color: #ffffff;
    }
    
    .knex-screenshots {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-top: 0px;
        padding: 0px;
        box-shadow: unset;
        background-color: transparent;
        border-radius: 0px;
        background: unset;
    }
    
    .knex-screenshot {
        aspect-ratio: 16/9;
        border-radius: 5px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .knex-screenshot:hover {
        transform: scale(1.05);
    }
    
    .knex-screenshot img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .bm-section {
        background-image: none;
        background-color: #111111;
        padding: 40px 0;
        height: auto;
    }
    
    .bm-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .bm-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }
    
    .bm-video {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16/9;
        margin-top: 0;
        border-radius: 10px;
        box-shadow: 
            5px 5px 15px rgba(0, 0, 0, 0.3),
            inset 2px 2px 5px #1b1d1d,
            inset -2px -2px 5px #000000;
    }
    
    .bm-right {
        width: 100%;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .bm-description {
        background-color: rgba(7, 7, 7, 0.95);
        padding: 20px;
        border-radius: 15px;
        margin-top: 0;
        color: #b0b0b0;
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
        width: 100%;
    }
    
    .bm-gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        margin-top: 0;
        width: 100%;
    }
    
    .bm-item {
        aspect-ratio: 3/4;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease;
        background: #333;
        max-width: none;
    }
    
    .bm-item:hover {
        transform: scale(1.05);
    }
    
    .bm-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .bm-stripgallery {
        width: 100%;
        margin-top: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .bm-stripitem {
        aspect-ratio: 3/2;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease;
        background: #333;
        max-width: none;
    }
    
    .bm-stripitem:hover {
        transform: scale(1.05);
    }
    
    .bm-stripitem img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Splash section mobile improvements */
    .page-characterdesign .splash {
        background-image: url(images/char/bg2.jpg);
        background-position: center;
        background-size: cover;
        height: 20vh;
        min-height: 200px;
    }

    .page-characterdesign .innersplash {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        min-height: 10vh;
    }

    /* Main character sections mobile layout */
    .page-characterdesign .cosmo-section {
        background-image: url(images/char/brockbg.jpg);
        background-position: -180px;
        background-size: cover;
        padding: 40px 0;
        min-height: 50vh;
    }

    .page-characterdesign .cosmo-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 20px;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Character grid - make it 2x2 for mobile */
    .page-characterdesign .cosmo-grid {
        display:none;
    }

    .page-characterdesign .cosmo-item {
        aspect-ratio: 3/4;
        border-radius: 8px;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-characterdesign .cosmo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    
    /* Character grid - make it 2x2 for mobile */
    .page-characterdesign .cosmobile-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .page-characterdesign .cosmobile-item {
        aspect-ratio: 3/4;
        border-radius: 8px;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-characterdesign .cosmobile-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Text section improvements */
    .page-characterdesign .cosmolow-section {
        background-color: rgba(20, 20, 20, 0.95);
        padding: 30px 0;
        backdrop-filter: blur(10px);
        height: 100%;
    }

    .page-characterdesign .cosmolow-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 20px;
        margin: 0 auto;
        max-width: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 15px;
        max-width: 95%;
    }

    .page-characterdesign .cosmo-text {
        order: 1;
        padding: 20px;
        color: #e0e0e0;
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center;
    }

    .page-characterdesign .cosmo-text h5 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #ffffff;
        letter-spacing: 0.2rem;
    }

    .page-characterdesign .cd3-section {
        order: 2;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    .page-characterdesign .cd3-item {
        aspect-ratio: 3/4;
        border-radius: 8px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
    }

    .page-characterdesign .cd3-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

        /* Text section improvements */
        .page-characterdesign .klauslow-section {
            height: 100%;
            background-color: rgba(20, 20, 20, 0.95);
            padding: 30px 0;
            backdrop-filter: blur(10px);
        }
    
        .page-characterdesign .klauslow-content {
            display: flex;
            flex-direction: column;
            gap: 25px;
            padding: 20px;
            margin: 0 auto;
            max-width: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            border-radius: 15px;
            max-width: 95%;
        }

    /* Klaus section (character gallery) mobile layout */
    .page-characterdesign .klaus-section {
        background-image: url(images/char/klausbg.jpg);
        background-position: -130px;
        background-size: cover;
        padding: 40px 0;
        min-height: 60vh;
    }

    .page-characterdesign .klaus-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        margin: 0 auto;
        max-width: 100%;
    }

    .page-characterdesign .klaus-grid {
        display: none;
    }


    .page-characterdesign .klausmob-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 10px;
        width: 100%;
    }

    .page-characterdesign .klausmob-item {
        aspect-ratio: 4/3;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .page-characterdesign .klausmob-item:hover {
        transform: scale(1.05);
    }

    .page-characterdesign .klausmob-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* CD4 section (robot character) mobile layout */
    .page-characterdesign .robo-section {
        background-image: url(images/char/robotbg.jpg);
        background-position: 440px;
        background-size: cover;
        padding: 40px 0;
        min-height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        /* Character grid - make it 2x2 for mobile */
        .page-characterdesign .robomobo-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(1, 1fr);
            gap: 10px;
            width: 100%;
        }
    
        .page-characterdesign .robomobo-item {
            aspect-ratio: 7/4;
            border-radius: 8px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
    
        .page-characterdesign .robomobo-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .page-characterdesign .cd4-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        margin: 0 auto;
        max-width: 100%;
        align-items: center;
    }


    .page-characterdesign .cd3-section {
        display: none;
    }

    .page-characterdesign .cd2-sketch {
        max-width: 90%;
        margin: 0 auto;
    }

    .page-characterdesign .cd2-sketch img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

        .page-graphics .gallery-grid {
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(10, 1fr);
            gap: 15px;
        }


        .page-artwork .splash {
            background-image: url(images/headerbgmb.jpg);
            background-position: center;
            background-size: cover;
            height: 70vh;
            width: 100%;
            z-index: 1;
            align-items: center;
            overflow: hidden;
            position: relative;
        }
        
        .page-artwork .innersplash {
            background-color: transparent;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr;
            z-index: 1;
            align-items: center;
            overflow: hidden;
            position: relative;
        }

        .page-artwork .gallery-section {
            background-image: url(images/mcsectionbg.jpg);
            padding: 50px 0;
        }
                
        .page-artwork .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(10, 1fr);
            gap: 0px;
            margin-bottom: 40px;
        }

        .tattoo-section {
            background-image: url(images/brickback3.jpg);
            padding: 0px 0;
            height: 100%;
            overflow: hidden;
        }
        
        .tattoo-container {
            padding: 0 10px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 2fr 3fr;
            gap: 10px;
            overflow: hidden;
        }
        .tattoo-left {
            width:100%;
            grid-column:1/2;
            grid-row: 1/2;
            display: flex;
            flex-direction: column;
            margin-top:10vh;
            gap: 0px;
        
        }

           
    .tattoo-design {
        width:100%;
        height:100%;
    }
       
        .tattoo-middle{
            grid-column: span 2;
            grid-row: 2/2;
            width:100%;
            margin-top:0vh;
        }
        .tattoo-description {
            background-color: #070707cb;
            padding: 20px 10px;
            border-radius: 10px;
            color: #b0b0b0;
            font-size: 0.8rem;
            text-align: center;
            width: 100%;
        }

        .tattoo-right {
            margin-top:8.5vh;
            grid-column: 2/2;
            grid-row: 1/1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0px;
        }
        .tattoo-video {
            width: 100%;
            height: 100%;
        }


        .page-artwork .art-section {
            background-image: url(images/mcsectionbg.jpg);
            padding: 50px 0;
        }
                
        .page-artwork .art-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(3, 1fr);
            gap: 0px;
            margin-bottom: 40px;
        }


        .page-graphics {
            background-color: #131313;
        }
        
        .page-graphics .splash {
            background-image: url(images/gph/gphbgmbl.png);
            background-position: center;
            background-size: cover;
            height: 40vh;
            width: 100%;
            z-index: 1;
            align-items: center;
            overflow: hidden;
            position: relative;
        }
             
        .page-graphics .gallery-grid {
         display: grid;
         grid-template-columns: repeat(2, 1fr);
         grid-template-rows: repeat(10, 1fr);
         gap: 0px;
         margin-bottom: 40px;
         }


       .gallery-item {
           padding: 2px;
           box-shadow: 
               5px 5px 6px 1px rgba(15, 15, 15, 0.199),
               -5px -5px 10px 4px rgba(17, 17, 17, 0.288),
               inset 3px 3px 7px #1f2020,
               inset -3px -3px 7px #323233;
           border-radius: 15px;
           background: linear-gradient(135deg, #1f1f1f, #202020);
       }
   
       .gallery-grid {
           grid-template-columns: repeat(3, 1fr);
           grid-template-rows: repeat(13, 1fr);
           gap: 5px;
       }

   }