/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Montaga, sans-serif;
    line-height: 1.6;
    color: #111;
    background: #fff;
    font-size: 16px;
}

.montaga-regular {
    font-family: "Montaga", serif;
    font-weight: 400;
    font-style: normal;
}

/* ========================================
   TYPOGRAPHY
======================================== */
.work-text p, 
.hero p, 
.mission-text p, 
h2, 
.service-text, 
.approach-item h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #111;
    font-weight: 500;
}

.marquee-content span {
    font-size: 4.5rem;
}

/* ========================================
   LAYOUT CONTAINERS
======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   HEADER
======================================== */
header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 2rem;
}

.logo {
    max-width: 220px;
}

.logo img {
    width: 100%;
    height: auto;
}

a.contact {
    font-size: 1.4rem;
    text-decoration: none;
    color: #111;
}

/* ========================================
   HERO SECTION - 100VH CENTERED
======================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 720px;
}

.hero h1 {
    font-size: 5.6rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #111;
}

.hero p {
    color: #111;
    line-height: 1.5;
    margin-bottom: 0;
}

.hero a, #contact {
    color: #565656;
    background: rgb(242, 242, 242);
    font-size: 2rem;
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.06) 1px 1px 10px 0px;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.hero a:hover, #contact:hover {
    color: #686868;
    box-shadow: rgba(0, 1, 1, 0.1) 1px 1px 10px 1px;
}

/* Hero Floating Images */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-images img {
    position: absolute;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.hero-images .cd,
.hero-images .bow,
.hero-images .zip {
    width: 180px;
    height: auto;
}

.hero-images .key {
    width: 360px;
    height: auto;
}

.hero-images .bow {
    width: 260px;
}

.hero-images .zip {
    width: 80px;
}

.hero-images .hat {
    width: 200px;
}

img {
    border-radius: 12px;
}

/* ========================================
   WORK SECTION
======================================== */
.work {
  padding: 2rem 0;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 12rem;
}

.images img {
  width: 100%;
  height: auto; /* ← critical for SVG scaling */
  display: block;
  object-fit: contain; /* prevents cropping */
  max-width: 100%;
}


.work .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.container-left, 
.container-right {
  width: 50%;
}

.work-item {
  aspect-ratio: 16 / 9;
  width: 80%;
}

.work-text {
  width: 50%;
}

#mission .work-text {
  width: 100%;
}

.work-text-mob {
  display: none;
}

.work-text p:first-child {
  margin-bottom: 2rem;
}

.images {
  margin: -6rem 0rem auto;
  width: 50%;
  position: relative;
  min-height: 400px;
  box-shadow: none !important;
  filter: none !important;
}

.container-left .images, 
.container-right .images {
  width: 100%;
}

.image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: none !important;
  filter: none !important;
}

.cs-image {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.s-img {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}
.cs-image picture {
  width: 100%;
  height: 100%;
  display: block;
}

.cs-image picture img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}



.images img {
  width: 100%;
  height: auto; 
  display: block;
  object-fit: contain; 
  max-width: 100%;
  border-radius: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.images svg {
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* Stack positioning with offset */
.cs-image:nth-child(1) {
  z-index: 1;
  transform: translate(0px, 0px) rotate(-3deg);
  
}

.cs-image:nth-child(2) {
  z-index: 2;
  transform: translate(12px, 16px) rotate(4deg);
  
}

.cs-image:nth-child(3) {
  z-index: 3;
  
}

.cs-image:nth-child(4) {
  z-index: 4;
  
}

.cs-image:nth-child(1):hover {
  transform: translate(0px, -8px) ;
}

/* Cycling animation - simple fade */
.cs-image.cycling {
  animation: cycleOut 0.3s ease-out forwards;
}

@keyframes cycleOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ===== Mobile Fix ===== */
@media (max-width: 768px) {
  .work .container {
    flex-direction: column;
    align-items: center;
  }

  .work-text {
    width: 100%;
    order: 1;
  }

  .images {
    width: 100%;
    margin: 2rem 0 0;
    order: 2;
    min-height: 300px;
  }

  .cs-image:nth-child(2) {
    transform: translate(8px, 12px) rotate(3deg);
  }

  .cs-image:nth-child(3) {
    transform: translate(-6px, 24px) rotate(-1deg);
  }

  .cs-image:nth-child(4) {
    transform: translate(10px, 36px) rotate(2deg);
  }
}

/* ========================================
   IMAGE STACK FUNCTIONALITY - NO ROTATION, SIZE/OFFSET BASED
======================================== */
.image-stack {
    position: relative;
    width: 100%;
    height: 600px;
    cursor: pointer;
}

.image-stack .s-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-stack .s-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-15px) translateY(45px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: none;
    outline: none;
}

/* Active image */
.image-stack .s-img.active {
    z-index: 10;
}

.image-stack .s-img.active img {
    transform:  translateX(0) translateY(0);
}

/* Behind positions */
.image-stack .s-img.behind-1 {
    z-index: 9;
}

.image-stack .s-img.behind-1 img {
    transform: translateX(10px) translateY(10px);
}

.image-stack .s-img.behind-2 {
    z-index: 8;
}

.image-stack .s-img.behind-2 img {
    transform: translateX(-20px) translateY(15px);
}

.image-stack .s-img.behind-3 {
    z-index: 7;
}

.image-stack .s-img.behind-3 img {
    transform:translateX(25px) translateY(25px);
}
/* ========================================
   REGULAR CS-IMAGE STYLES (UNCHANGED)
======================================== */
.cs-image {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-content: center;
    text-align: center;
    margin-bottom: 6rem;
    transition: all 0.3s ease;
}


.cs-image img {
    width: 100%;
    height: auto;
}

.v-lg {
    width: 75%;
}

.mt {
    margin-top: 4rem;
}

.v-sm {
    width: 45%;
}

.h-lg {
    width: 100%;
}

.h-sm {
    width: 75%;
}

.desc-text {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

/* ========================================
   MARQUEE
======================================== */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    margin: 5rem 0;
}

.marquee {
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: none;
}

.marquee-content span {
    font-weight: 500;
    margin-right: 100px;
    color: #111;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    font-size: 2.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .marquee-content span {
        font-size: 1.75rem !important;
        margin-right: 30px;
    }
    
    .marquee-container {
        margin: 1.5rem 0;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .marquee-content span {
        font-size: 1.5rem !important;
        margin-right: 25px;
    }
}
/* ========================================
   MISSION SECTION - INFINITE HORIZONTAL SCROLL
======================================== */
#mission {
    margin-top: 10rem;
}

#mission .container {
    display: flex;
    flex-direction: column;
}

#mission .work-text {
    width: 50%;
    margin-bottom: 3rem;
}

.horizontal-scroll-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 0;
}

.horizontal-scroll {
    display: flex;
    gap: 2rem;
    padding: 0;
    padding-left: 2rem;
    padding-bottom: 2rem;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    width: 400px;
    padding: 0;
    margin: 0;
}

.scroll-item:hover {
    opacity: 0.8;
    transform: translateY(-5px);
}

.scroll-item img {
    height: 550px;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: block;
}

.scroll-item .desc-text {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
    max-width: 100%;
    width: 100%;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #mission {
        margin-top: 5rem;
    }

    #mission .work-text {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .horizontal-scroll-container {
        padding-bottom: 3rem;
    }
    
    .horizontal-scroll {
        gap: 1.5rem;
        padding-left: 1rem;
        padding-bottom: 3rem;
    }
    
    .scroll-item {
        width: 280px;
    }
    
    .scroll-item img {
        height: 350px;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .scroll-item .desc-text {
        font-size: 0.85rem;
        max-width: 100%;
        padding: 0 0.5rem;
        margin-top: 0.5rem;
        white-space: normal;
        word-wrap: break-word;
    }
}

/* ========================================
   TEAM
======================================== */

.team {
  padding: 80px 0;
}

.team .container {
  display: flex;
  flex-direction: column;
}

.team h2 {
  margin-bottom: 3rem;
  font-weight: 400;
  color: #111;
}

.first {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  margin: 0;
  justify-content: center;
  align-items: flex-start;
}

.team-member {
  display: flex;
  flex-direction: column;
  flex: 0 0 400px;
  max-width: 400px;
  margin-left: -180px;
  transition: transform 0.3s ease, z-index 0.3s ease;
}

.team-member:first-child {
  margin-left: 0;
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.team-member:hover {
  transform: translateY(-10px) rotate(2deg);
  z-index: 10;
}

.team-member p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0.5rem;
  line-height: 1.6;
  color: #666;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.team-member:hover p {
  opacity: 1;
  max-height: 500px;
}

.member-desc {
  margin-top: 0.5rem;
  text-align: center;
  min-height: 150px;
}

.member-desc a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

.member-name {
  font-size: 1.1rem;
}

.member-text {
  font-size: 0.9rem;
  text-align: left;
}

/* ====== RESPONSIVE ====== */

/* Tablet */
@media (max-width: 1024px) {
  .team-member {
    flex: 0 0 calc(33.33% - 1.5rem);
    margin-left: 0;
  }
  
  .first {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* Mobile: stacked cards + tap-through */
@media (max-width: 768px) {
  .first {
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    gap: 0;
  }

  .team-member {
    position: absolute;
    flex: 0 0 280px;
    max-width: 280px;
    margin-left: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, z-index 0.4s ease;
  }

  /* stacked "pile" look */
  .team-member:nth-child(1) { transform: rotate(-6deg) translateY(-6px); z-index: 1; }
  .team-member:nth-child(2) { transform: rotate(4deg)  translateY(-3px); z-index: 2; }
  .team-member:nth-child(3) { transform: rotate(-2deg) translateY(0px);  z-index: 3; }
  .team-member:nth-child(4) { transform: rotate(5deg)  translateY(3px);  z-index: 4; }
  .team-member:nth-child(5) { transform: rotate(-4deg) translateY(6px);  z-index: 5; }

  /* active one is centered and full opacity */
  .team-member.active {
    opacity: 1;
    transform: rotate(0deg) translateY(-30px) ;
    z-index: 20;
    pointer-events: auto;
  }

  .team h2 {
    margin-bottom: 2rem;
  }

  .member-desc {
    min-height: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .team-member.active .member-desc {
    opacity: 1;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .first {
    min-height: 350px;
  }

  .team-member {
    flex: 0 0 240px;
    max-width: 240px;
  }
}

/* ========================================
   SERVICES
======================================== */
.services {
            padding: 80px 0;
            position: relative;
        }

        .services h2 {
            margin-bottom: 40px;
            font-weight: 400;
            color: #111;
        }

        .services-grid {
            display: flex;
            flex-wrap: wrap;
            max-width: 1400px;
            gap: 1rem;
            flex-direction: column;
        }

        .service-item {
            color: #111;
            font-weight: 500;
            display: flex;
            flex-direction: row;
            align-items: center;
            transition: all ease-out 0.5s;
            position: relative;
            cursor: pointer;
        }

        .service-img {
            width: 120px;
            height: auto;
            opacity: 0;
            transition: all ease-out 0.5s;
            position: absolute;
            left: 250px;
            pointer-events: none;
        }

        .service-item:hover .service-img,
        .service-item:active .service-img,
        .service-item.active .service-img {
            opacity: 1;
            transition: all ease-out 0.5s;
        }

        .service-text {
            padding-left: 0.4rem;
            align-self: center;
        }

        @media (max-width: 1200px) {
            .service-img {
                left: 450px;
            }
        }

        @media (max-width: 768px) {
            .service-img {
                left: 250px;
                width: 80px;
            }
            
        }

        @media (max-width: 480px) {
            .service-img {
                left: 180px;
                width: 60px;
            }
            
        }
/* ========================================
   APPROACH - STACKED IMAGE + TILTED CARD
======================================== */
.approach {
  padding: 2rem 1rem;
}

.approach h2 {
  text-align: center;
  margin-bottom: 4rem;
}

.cards {
  position: relative;
  list-style-type: none;
  padding: 0;
  max-width: 34em;
  margin: 5% auto;
  margin-top: 5rem;
  min-height: 400px;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: #f8f8f8;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transform: translateY(0) rotate(3deg) translateX(20px) scale(1);
  transform-origin: 0 0;
  transition: transform 0.6s cubic-bezier(.8,.2,.1,0.8), background 0.4s linear;
  cursor: pointer;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

/* Make images responsive and wider */
.approach-image {
  width: 100%;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.approach-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.approach-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.approach-card p {
  margin: 0;
  line-height: 1.6;
}

.card--next {
  z-index: 5;
  transform: translateY(-25px) rotate(4deg) translateX(25px) scale(1);
}

.card--out {
  animation: card-out 0.6s cubic-bezier(.8,.2,.1,0.8);
  transform: translateY(-50px) rotate(8deg) translateX(55px) scale(0.95);
  z-index: 1;
  background: #ddd;
}

@keyframes card-out {
  0% { z-index: 20; transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(-120%) rotate(-5deg) translateX(-40px); }
  80% { z-index: 1; }
  100% { transform: translateY(-50px) rotate(8deg) translateX(55px) scale(0.95); }
}

.card--current {
  cursor: auto;
  user-select: auto;
  position: relative;
  z-index: 10;
  background: #fff;
  transform: rotate(-1deg) translateX(0%) scale(1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .cards {
    min-height: 450px;
    max-width: 90%;
  }
  
  .card {
    padding: 20px;
  }
  
  .approach-image {
    margin-bottom: 1rem;
  }
  
  .approach-image img {
    width: 100%;
    max-width: 100%;
  }
  
  .approach h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
  }
  
  .approach-card h3 {
    font-size: 1.2rem;
  }
  
  .approach-card p {
    font-size: 0.95rem;
  }
  
  /* Adjust card transforms for mobile */
  .card {
    transform: translateY(0) rotate(2deg) translateX(10px) scale(1);
  }
  
  .card--next {
    transform: translateY(-15px) rotate(3deg) translateX(15px) scale(1);
  }
  
  .card--out {
    transform: translateY(-30px) rotate(5deg) translateX(30px) scale(0.95);
  }
  
  @keyframes card-out {
    0% { z-index: 20; transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-100%) rotate(-3deg) translateX(-20px); }
    80% { z-index: 1; }
    100% { transform: translateY(-30px) rotate(5deg) translateX(30px) scale(0.95); }
  }
}

@media (max-width: 480px) {
  .approach {
    padding: 1.5rem 0.5rem;
  }
  
  .cards {
    min-height: 500px;
  }
  
  .card {
    padding: 15px;
  }
  
  .approach-image img {
    width: 100%;
    max-width: 100%;
  }
  
  .approach h2 {
    font-size: 1.5rem;
  }
  
  .approach-card h3 {
    font-size: 1.1rem;
  }
  
  .approach-card p {
    font-size: 0.9rem;
  }
}

/* ========================================
   FOOTER
======================================== */
footer {
    padding: 80px 0;
    color: #111;
    display: flex;
}

footer h2 {
    font-size: 32px;
    font-weight: 400;
}

footer a {
    text-decoration: none;
    color: #111;
}

footer a:hover {
    color: #686868;
}

footer .container {
    display: flex;
    flex-direction: column;
}

footer a:first-child {
    margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Large Screens */
@media (max-width: 1399px) {
    body {
        padding: 0 2rem;
    }

    .work-text p, 
    .hero p, 
    .mission-text p, 
    h2, 
    .service-text, 
    .approach-item h3 {
        font-size: 2rem;
        line-height: 1.2;
        color: #111;
        font-weight: 500;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .approach-grid {
        gap: 40px;
    }

    .approach .container {
        padding: 0 0rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero h1, .marquee-content span {
        font-size: 4rem;
    }

    .hero-images .key {
        width: 280px;
    }

    .hero-images .cd,
    .hero-images .hat,
    .hero-images .bow,
    .hero-images .zip {
        width: 100px;
    }

    .work {
        flex-direction: column;
        margin-top: 8rem;
    }

    .container-left, 
    .container-right {
        width: 100%;
    }

    .container-right {
        display: flex;
        flex-direction: row;
        margin-top: -4rem;
    }

    .container-right .cs-image:first-child {
        margin-right: 2rem;
    }

    .work .container {
        display: flex;
    flex-direction: row;

         align-items: flex-start;
    }

    .work-text {
        width: 100%;
        margin-bottom: 2rem;
    }

    .images {
        width: 100%;
    }

    .approach-grid {
        gap: 1rem;
        display: flex;
        flex-direction: column;
    }

    .approach-item {
        display: flex;
    }

    .approach-icon {
        margin-right: 2rem;
    }

    .approach-icon, .approach-text {
        width: 50%;
    }

    .marquee-container {
        margin: 2rem 0;
    }

    #mission {
        margin-top: 5rem;
    }

    /* Mission Section - Tablet */
    #mission .work-text {
        width: 100%;
    }

    .horizontal-scroll {
        padding: 0 0 1rem 0;
        margin-left: -125px;
    }

    .scroll-item img {
        max-height: 350px;
        min-width: 250px;
    }

    .scroll-item:nth-child(1) img, .scroll-item:nth-child(6) img { max-height: 320px; }
    .scroll-item:nth-child(2) img, .scroll-item:nth-child(7) img { max-height: 380px; }
    .scroll-item:nth-child(3) img, .scroll-item:nth-child(8) img { max-height: 280px; }
    .scroll-item:nth-child(4) img, .scroll-item:nth-child(9) img { max-height: 350px; }
    .scroll-item:nth-child(5) img, .scroll-item:nth-child(10) img { max-height: 400px; }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .hero h1, .marquee-content span {
        font-size: 3.5rem;
    }

    .header {
        padding: 20px 1rem;
    }

    .hero a, #contact {
        font-size: 1.5rem;
    }

    .logo {
        position: fixed;
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
        max-width: 180px;
    }

    .container {
        width: 100%;
    }

    .container-right {
        display: flex;
        flex-direction: row;
        margin-top: 0;
    }

    .container-right .cs-image:first-child {
        margin: auto;
    }

    .work-text-mob {
        display: block;
        font-size: 1.5rem;
        line-height: 1.3;
        color: #111;
        width: 100%;
        padding: 2rem 1rem;
        text-align: center;
    }

    .work-text {
        display: none;
    }

    .work-text p, 
    .hero p, 
    .mission-text p, 
    h2, 
    .service-text, 
    .approach-item h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        color: #111;
    }

    .work {
        margin-top: 4rem;
        padding: 0 1rem;
    }

    .services, .approach {
        padding: 4rem 1rem 1rem 1rem;
    }

    .image-stack {
        height: 600px;
    }

    .services-grid {
        gap: 1rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .approach-item {
        text-align: left;
    }

    .approach-item p, .member-text, .member-name {
        font-size: 1.1rem;
    }

    .approach h2 {
        text-align: center;
    }

    .approach-icon {
        margin-right: 1rem;
    }

    .approach-icon img {
        width: 100%;
        height: 100%;
        object-fit: none;
    }

    .hero-images .key {
        width: 200px;
    }

    .hero-images .cd,
    .hero-images .hat,
    .hero-images .bow,
    .hero-images .zip {
        width: 80px;
    }

    .marquee-container {
        margin-top: 4rem;
    }

    #mission {
        margin-top: 0;
    }

    .v-sm {
        width: 60%;
        margin-bottom: 2rem !important;
    }

    .h-sm {
        width: 100%;
    }

    .v-lg:first-child {
        margin-top: 1rem;
    }

    .cs-image {
        margin-bottom: 2rem;
    }

    .image-stack .s-img {
        height: calc(100% - 50px);
    }

    .image-stack .s-img .desc-text {
        bottom: -50px;
        font-size: 0.9rem;
    }

    /* Adjust transforms for mobile - no rotations */
    .image-stack .s-img img {
        transform: scale(0.84) translateX(-10px) translateY(35px);
    }

    .image-stack .s-img.behind-1 img {
        transform: scale(0.96) translateX(8px) translateY(8px);
    }

    .image-stack .s-img.behind-2 img {
        transform: scale(0.94) translateX(-15px) translateY(12px);
    }

    .image-stack .s-img.behind-3 img {
        transform: scale(0.90) translateX(18px) translateY(18px);
    }

    .image-stack .s-img.behind-4 img {
        transform: scale(0.87) translateX(-20px) translateY(25px);
    }

    .service-img {
        width: 48px;
    }

    /* Mission Section - Mobile */
    #mission .work-text {
        width: 100%;
        margin-bottom: 2rem;
    }

    .horizontal-scroll {
        gap: 1.5rem;
        max-height: 320px;
        margin-left: -100px;
        padding: 0 0 1rem 0;
    }

    .scroll-item img {
        max-height: 280px;
        min-width: 200px;
    }

    .scroll-item:nth-child(1) img, .scroll-item:nth-child(6) img { max-height: 250px; }
    .scroll-item:nth-child(2) img, .scroll-item:nth-child(7) img { max-height: 310px; }
    .scroll-item:nth-child(3) img, .scroll-item:nth-child(8) img { max-height: 220px; }
    .scroll-item:nth-child(4) img, .scroll-item:nth-child(9) img { max-height: 280px; }
    .scroll-item:nth-child(5) img, .scroll-item:nth-child(10) img { max-height: 320px; }

    .scroll-item .desc-text {
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 640px) {
    body {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero a {
        font-size: 1.5rem;
        padding: 0.6rem 0.8rem;
    }

    .image-stack {
        height: 400px;
    }

    .image-stack .s-img .desc-text {
        bottom: -45px;
        font-size: 0.85rem;
    }

    .approach-icon {
        width: auto;
        margin: 0;
    }

    .approach-item {
        flex-direction: column;
    }

    .approach-text {
        width: 80%;
        margin: 0 auto;
    }

    .approach h2 {
        margin-bottom: 0rem;
    }

    .approach-text h3, .approach-text p {
        text-align: center;
    }

    footer .container{
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        text-align: center;
        align-content: center;
        align-items: center;
    }

    /* Mission Section - Small Mobile */
    .horizontal-scroll {
        gap: 1rem;
        max-height: 280px;
        margin-left: -90px;
        padding: 0 0 1rem 0;
    }

    .scroll-item img {
        max-height: 240px;
        min-width: 180px;
    }

    .scroll-item:nth-child(1) img, .scroll-item:nth-child(6) img { max-height: 220px; }
    .scroll-item:nth-child(2) img, .scroll-item:nth-child(7) img { max-height: 270px; }
    .scroll-item:nth-child(3) img, .scroll-item:nth-child(8) img { max-height: 190px; }
    .scroll-item:nth-child(4) img, .scroll-item:nth-child(9) img { max-height: 240px; }
    .scroll-item:nth-child(5) img, .scroll-item:nth-child(10) img { max-height: 280px; }

    .scroll-item .desc-text {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero {
        height: 100vh;
        height: 100svh;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .logo {
        max-width: 160px;
    }

    .services-grid {
        padding: 0 1rem;
    }

    .approach {
        padding: 60px 1rem;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    .approach-item h3 {
        font-size: 1.3rem !important;
    }

    .approach-icon {
        margin: 1rem 0;
    }

    .hero-images .key {
        width: 150px;
    }

    .hero-images .cd,
    .hero-images .hat,
    .hero-images .bow,
    .hero-images .zip {
        width: 60px;
    }

    .marquee-content span {
        margin-right: 40px;
        font-size: 1.2rem;
    }

    .image-stack {
        height: 300px;
    }

    .image-stack .s-img {
        height: calc(100% - 40px);
    }

    .image-stack .s-img .desc-text {
        bottom: -40px;
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    /* Even smaller transforms for very small screens */
    .image-stack .s-img img {
        transform: scale(0.86) translateX(-8px) translateY(30px);
    }

    .image-stack .s-img.behind-1 img {
        transform: scale(0.97) translateX(6px) translateY(6px);
    }

    .image-stack .s-img.behind-2 img {
        transform: scale(0.95) translateX(-12px) translateY(9px);
    }

    .image-stack .s-img.behind-3 img {
        transform: scale(0.92) translateX(15px) translateY(15px);
    }

    /* Mission Section - Extra Small Mobile */
    .horizontal-scroll {
        gap: 0.8rem;
        max-height: 240px;
        margin-left: -80px;
        padding: 0 0 1rem 0;
    }

    .scroll-item img {
        max-height: 200px;
        min-width: 160px;
    }

    .scroll-item:nth-child(1) img, .scroll-item:nth-child(6) img { max-height: 180px; }
    .scroll-item:nth-child(2) img, .scroll-item:nth-child(7) img { max-height: 220px; }
    .scroll-item:nth-child(3) img, .scroll-item:nth-child(8) img { max-height: 160px; }
    .scroll-item:nth-child(4) img, .scroll-item:nth-child(9) img { max-height: 200px; }
    .scroll-item:nth-child(5) img, .scroll-item:nth-child(10) img { max-height: 240px; }
}

/* Landscape Mobile */
@media (max-width: 896px) and (max-height: 500px) {
    .hero {
        height: 100vh;
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .logo {
        max-width: 140px;
    }
}
