@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    background-color: #121212;
    overflow-x: hidden; 
    margin: 0;
}
  

#main-section {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: auto 1fr auto;
    min-height: 100vh;
    margin: 0.8rem;
    gap: 2rem;
    margin-left: 3rem;
    margin-right: 3rem;
    margin-top: 2rem;
    position: relative;
}

#logo {
    background-image: url("iconfinalfinal.svg");
    width: 11rem;
    height: 5rem;
    background-repeat: no-repeat;
    grid-column: 1;
    grid-row: 1;
    margin: 1rem;
}

#text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: span 2;
    grid-row: 2;
    margin-top: 5rem;
}

h1, h2, h3, p{
    color: #FFFBF7;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

#title {
    font-size: 4rem;
    margin: 0;
    text-align: center;
    margin-top: -5rem;
    letter-spacing: 1rem;
}


#subheader {
    letter-spacing: 0.2rem;
    font-weight: 500;
    font-style: italic;
    font-size: 1.5rem;
    margin: 1rem;
    text-align: center;
    margin-left: 5rem;
    margin-right: 5rem;
    line-height: 2.5rem;
}

#blob1 {
    background-image: url(blob1Codesign.png);
    top: -25vh;
    left: 70vw;
    width: 40vw;
    height: 70vh;
}

#blob2 {
    background-image: url(blob2codesign.png);
    bottom: -23vh;
    right: 75vw;
    width: 39rem;
    height: 40rem;
}

.margin-bottom {
    margin-bottom: 10rem;
}

.blobs {
    width: 20rem;
    height: 20rem;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;  
    position: absolute;
    z-index: -1;
    filter: blur(8px);
    transition: transform 2s ease-out;
}

.menu-item {
    letter-spacing: 0.2rem;
    font-weight: 500;
    font-size: 1.2rem;
}

#menu {
    display: flex;
    gap: 4rem;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: flex-end;
}


.menu-item:hover {
    color: grey;
    cursor: pointer;
    transition: color 0.4s ease;
}

#project-menu {
    color: grey;
}

#project-section {
    margin: 0.8rem;
    margin-left: 7rem;
    margin-right: 7rem;
    margin-top: 2rem;
    scroll-margin-top: 6rem;
}

.p-title {
    letter-spacing: 0.3rem;
    margin: 0;
    font-size: 2.8rem;
}

.p-subheader {
    letter-spacing: 0.1rem;
    font-weight: 600;
    font-size: 2.2rem;
    line-height: 2.2rem;
    margin-top: 12rem;
}

.p-text {
    letter-spacing: normal;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 2.4rem;
    margin: 0;
}

.p-images {
    flex: 0 0 50%; 
    width: 100%;
    aspect-ratio: auto; 
    background-size: cover; 
    border-radius: 0.8rem;
}

.between-p-text {
    font-weight: 400;
    line-height: 2.3;
    margin-top: 1rem;
    font-size: 1.7rem;
    margin-bottom: 3rem;
}

#arrow {
    background-image: url(arrowcolab.svg);
    width: 7rem;
    height: 7rem;
    background-repeat: no-repeat;

    transition: transform 0.4s ease;
    margin: 5rem;

    transform: scale(0.8);
}

#linkedin {
    background-image: url(linkedinIcon.svg);
    width: 5rem;
    height: 5rem;
    background-repeat: no-repeat;
}

#mail {
    background-image: url(MailIcon.svg);
    width: 7rem;
    height: 5rem;
    background-repeat: no-repeat;
}

#logo-footer {
    background-image: url(iconfinalfinal.svg);
    width: 15rem;
    height: 5rem;
    background-repeat: no-repeat;
    margin-left: 3rem; 
}

#arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

#arrow:hover {
    cursor: pointer;
    transform: scale(1);
}

#logo-footer-container {
    display: flex;
}

#footer-left {
    display: flex;
    justify-content: end;
    width: 100%;
    margin-right: 3rem;
}

#mail,
#linkedin {
  transform: scale(0.4);
  transition: transform 0.4s ease
}

#footer-copyright {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
}

#mail:hover,
#linkedin:hover {
    transform: scale(0.6);
    cursor: pointer;
}

a {
    text-decoration: none;
}

/* Initial hidden state */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  /* When visible */
  .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

/* initial state */
.page-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
  
  /* final visible state */
  .page-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  html {
    scroll-behavior: smooth;
  }

  .haptics-word {
    display: inline-block;
    margin-left: -0.05rem;
  }
  
  .haptics-word .letter {
    display: inline-block;
    transition: transform 0.4s ease;
    margin-left: -2rem;
  }
  
  /* soft hover trigger */
  .haptics-word:hover .letter {
    animation: soft-float 1.1s ease-in-out infinite;
  }
  
  .haptics-word:hover .letter:nth-child(1) { animation-delay: 0s; }
.haptics-word:hover .letter:nth-child(2) { animation-delay: 0.08s; }
.haptics-word:hover .letter:nth-child(3) { animation-delay: 0.16s; }
.haptics-word:hover .letter:nth-child(4) { animation-delay: 0.24s; }
.haptics-word:hover .letter:nth-child(5) { animation-delay: 0.32s; }

  

  #project-meta {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
  
    margin-top: 5.5rem;
    padding: 2rem 2.4rem;
    
    max-width: 34rem;
    width: 100%;
  
    border-radius: 1rem;
    
  box-shadow:
  0 0 12px rgba(255, 165, 81, 0.349),
  0 0 24px rgba(252, 101, 202, 0.25);
  
    font-size: 1.2rem;
    letter-spacing: 0.12rem;
  }
  
  
  #project-meta p {
    margin: 0;
    color: #FFFBF7; /* same white as the rest */
    white-space: nowrap;
  }
  
  #project-meta span {
    font-weight: 400;
    margin-right: 0.6rem;
    color: #FFFBF7;
  }

  #project-meta p:last-child::after {
    content: "";
  }

#image3 {
    background-image: url(image3.png);
}

#image1 {
    background-image: url(image1.png);
}

#image4 {
    background-image: url(image4.png);
}

#image5 {
    background-image: url(image5.png);
}

.image-block-solo {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 5rem;
    height: 100%;
    align-items: center;
    text-align: center;
}

/* We target the caption inside the solo block specifically */
.image-block-solo .exploration-item {
    width: 70%; /* This MUST match the width you set for #image2 */
    text-align: left;
    margin-top: 1rem;
}

#image2 {
    width: 70%; /* Keep this width to make it 'smaller' */
    height: auto;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 1rem;
    overflow: hidden;
    background-image: url(image2.svg);
    /* Remove margin-left/right auto from here, the parent now handles centering */
}

#image1, #image3 {
    /* Remove the fixed width and height */
    width: 100%; 
    height: 45vh; /* Keep the height if you want them tall */
    
    background-position: center;
    background-size: cover;
    border-radius: 1rem;
}

#image4, #image5 {
    width: 100%; 
    height: 65vh; /* Increased height to show more of the UI */
    background-position: top center; /* Start from the top of the interface */
    background-size: contain; /* This ensures the WHOLE image fits without cropping */
    background-repeat: no-repeat;
    border-radius: 1rem;
}

.image-block {
    flex: 1; /* This forces both blocks to share the width 50/50 */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0; /* Prevents flex children from bursting out */
}

.image-block2 {
    flex: 1; /* This forces both blocks to share the width 50/50 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 0; /* Prevents flex children from bursting out */
}

.image-block2 .exploration-item {
    text-align: left;
    margin-top: 1.5rem;
    align-self: center;
    width: 900px;
}

#image-container {
    display: flex;
    gap: 1rem;
  }
  
  /* caption styling */
  .exploration-item {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.08rem;
    color: #FFFBF7;
    
    text-align: left;      /* force left alignment */
    align-self: flex-start; /* prevents flex centering */

    margin-top: 1rem;      /* consistent spacing from image */
    margin-bottom: 2rem;
  }
  

.exploration-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    color: #FFFBF7;
  }
  
  /* description */
  .exploration-item p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.8;
  }
  
  .interface-gallery {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Space between the four pairs */
    margin: 4rem 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two images per pair */
    gap: 2rem;
}

#insights {
    margin-bottom: 5rem;
}


.tech-card-container {
    display: flex;
    gap: 3rem; /* Slightly wider gap for better breathing room */
    margin: 10rem 0; /* More vertical space to match your section margins */
    justify-content: center;
}

.tech-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* More space between title and text */
    padding: 3rem; /* Increased padding to match the 'projects' card feel */
    border-radius: 1rem;
    background: transparent; 
    
    /* Maintaining your signature glow */
    box-shadow:
    0 0 12px rgba(255, 165, 81, 0.35),
    0 0 24px rgba(252, 101, 202, 0.25);
  
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card {
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}


.card-title-purple {
    color: rgba(252, 101, 202, 0.8);
    font-size: 1.6rem; /* Increased to stand out next to 1.5rem body text */
    letter-spacing: 0.15rem;
    font-weight: 700;
    margin: 0;
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
}

.card-text {
    font-size: 1.5rem; /* Matches your .between-p-text size */
    line-height: 2.3;
    margin: 0;
    color: #FFFBF7;
    font-weight: 400;
    margin-top: 1.5rem;
}

.left {
    text-align: match-parent;
}

.card-text.italic {
    font-style: italic;
    opacity: 0.95;
}

/* Quote styling */
.quote-text {
    font-style: italic;
    font-size: 1.8rem;
    color: rgba(252, 101, 202, 0.8);
    border-left: 3px solid rgba(252, 101, 202, 0.8);
    padding-left: 2rem;
    margin: 2rem 0;
}

.arrow-gradient {
    background: linear-gradient(90deg, rgba(252, 101, 202, 0.8), rgba(255, 165, 81, 0.8)); /* pink → orange */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.orange-color {
    color: rgba(255, 165, 81, 0.8);
}

/* Ensures the visualization insight text aligns well */
.insight-unit {
    width: 70%;
    margin-top: 2rem;
}

@keyframes soft-float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-6px);
    }
  }

.last-quote {
    margin-top: 15rem;
    margin-bottom: 7rem;
}

/* PROCESS SECTION */

.process-section{
    margin:10rem 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4rem;
    }
    
    /* diamond layout */
    
    .diamond-process{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4rem;
        flex-wrap: wrap;
    }
    
    /* diamond shape */
    
    .diamond{
        width:140px;
        height:140px;
        background:transparent;
        border:2px solid rgba(132,218,65,0.45);
        transform:rotate(45deg);
        display:flex;
        align-items:center;
        justify-content:center;
        cursor:pointer;
        transition:all 0.35s ease;
        position:relative;
        }
    
    /* inner text corrected */
    
    .diamond-inner{
    transform:rotate(-45deg);
    text-align:center;
    pointer-events:none;
    }
    
    .diamond h3{
    font-size:1.5rem;
    font-weight:600;
    letter-spacing:0.1rem;
    color:#FFFBF7;
    }
    
    /* hover glow */
    
    .diamond:hover{
        transform:rotate(45deg) scale(1.05);
        box-shadow:
        0 0 12px rgba(51,255,0,0.25),
        0 0 24px rgba(255,207,0,0.25);
        }
    
    /* active state */
    
    .diamond.active{
        box-shadow:
        0 0 12px rgba(51,255,0,0.25),
        0 0 24px rgba(255,207,0,0.25);
        }
    
    /* content area */
    
    .process-content{
    max-width:850px;
    width:100%;
    }
        
    .process-panel{
    display:none;
    text-align:center;
    }
    
    .process-panel.active{
    display:block;
    animation:fadeProcess 0.4s ease;
    }
    
    @keyframes fadeProcess{
    from{
    opacity:0;
    transform:translateY(10px);
    }
    to{
    opacity:1;
    transform:translateY(0);
    }
    }
    
    .concept-image{
        width: 80%;
        height:80%;            /* ✅ key: natural proportions */
        
        border-radius:1rem;
        
        }
.section-margin {
    margin-bottom: 10rem;
}

.video-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 4rem 0 2rem 0;
}

.case-study-video {
    width: 70%;
    max-width: 1000px;
}

.video-wrapper {
    position: relative;
    width: 100%;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    background: #000;
}

.play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 2rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.video-wrapper.playing .play-btn {
    opacity: 0;
    pointer-events: none;
}

.final-concept-text {
    text-align: center;
    max-width: 60rem;
    margin: 0 auto 3rem auto;
}

.final-concept-text .p-subheader {
    margin-top: 12rem;
}

.final-concept-text .between-p-text {
    margin-bottom: 0;
}

.final-concept-caption {
    text-align: center;
    max-width: 60rem;
    margin: 2rem auto 0 auto;
}

.left-aligned {
    text-align: left;
}

.research-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 5rem 0 8rem 0;
    width: 100%;
}

.research-item {
    position: relative;
    cursor: pointer; /* Makes it feel interactive */
}

.research-image {
    width: 100%;
    height: 20rem;
    border-radius: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Subtle zoom on the image when hovering */
.research-item:hover .research-image {
    transform: scale(1.02);
}

/* The Post-It Note Base Styles */
.post-it {
    position: absolute;
    color: #1a1a1a;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-style: italic;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.2);
    max-width: 50%;
    z-index: 10;
    line-height: 1.4;
    
    /* Animation starting state (Hidden and scaled down) */
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    pointer-events: none; /* Prevents the post-it from glitching the hover state */
}

/* Custom Placements and Colors for each Post-It to make it look organic */
.post-it-1 { bottom: -1rem; right: -1rem; background: #ffe598; }
.post-it-2 { bottom: 2rem; left: -2rem; right: auto; background: #febd83; } /* Warm orange/yellow */
.post-it-3 { top: -1rem; right: -1rem; bottom: auto; background: #a7d892; } /* Light purple */
.post-it-4 { bottom: -1rem; right: 2rem; background: #9eddf3; } /* Light blue */

/* Pop up the post-it on hover with different messy rotations */
.research-item:hover .post-it {
    border-radius: 1rem;
    opacity: 1;
    font-family: "Inter", sans-serif;
}
.research-item:hover .post-it-1 { transform: rotate(5deg) scale(1); }
.research-item:hover .post-it-2 { transform: rotate(-4deg) scale(1); }
.research-item:hover .post-it-3 { transform: rotate(3deg) scale(1); }
.research-item:hover .post-it-4 { transform: rotate(-6deg) scale(1); }

/* Keep your existing background image URLs below */
#research-space { background-image: url('colabmaterialmanagement.jpg'); }
#research-box { background-image: url('colabspaces.jpg'); }
#research-board { background-image: url('codesignobservation2.jpg'); }
#research-repair { background-image: url('repaircafecolab_anonymized.jpg'); }

#margin-bottom-bcnotworking {
    margin-bottom: 10rem;
}

.stacking-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6rem auto;
    gap: 0; /* important for overlap */
}

.stack-card {
    position: relative;
    padding: 3rem;
    border-radius: 1.5rem;
    background: rgba(20, 20, 20);
    cursor: pointer;
    margin-left: -90px;
    height: 480px;
    filter: blur(2px) brightness(0.5);
    
    /* THE SMOOTHNESS FIX: z-index waits 0.4s before switching back */
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease, z-index 0s linear 0.4s;
}

.stack-card:first-child {
    margin-left: 0;
}

.stack-card:nth-child(1) { z-index: 4; }
.stack-card:nth-child(2) { z-index: 3; }
.stack-card:nth-child(3) { z-index: 2; }
.stack-card:nth-child(4) { z-index: 1; }

/* Active card (default = first one) */
.stack-card.active {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: scale(1.02);
}

.stacking-container:hover .stack-card {
    filter: blur(2px) brightness(0.5);
}

.stack-card:hover {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: scale(1.03);
    z-index: 10;
    /* Instant z-index change on hover */
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease, z-index 0s linear 0s;
}

/* --- COLOR THEMES (Title & Glow) --- */

/* 1. Pink */
.card-pink h2 { color: #fc65ca; }
.card-pink { box-shadow: 0 0 12px rgba(252, 101, 202, 0.3), 0 0 24px rgba(252, 101, 202, 0.2); }

/* 2. Orange */
.card-orange h2 { color: #ffa551; }
.card-orange { box-shadow: 0 0 12px rgba(255, 165, 81, 0.3), 0 0 24px rgba(255, 165, 81, 0.2); }

/* 3. Yellow (applied to card-green class) */
.card-green h2 { color: #ffe600; }
.card-green { box-shadow: 0 0 12px rgba(255, 230, 0, 0.3), 0 0 24px rgba(255, 230, 0, 0.2); }

/* 4. Green (applied to card-purple class) */
.card-purple h2 { color: #84da41; }
.card-purple { box-shadow: 0 0 12px rgba(132, 218, 65, 0.3), 0 0 24px rgba(132, 218, 65, 0.2); }

.text-center {
    text-align: center;
}

.co-lab-gallery {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin: 3rem 0;
}

.co-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.co-block {
    display: flex;
    flex-direction: column;
    align-items: center;   /* keeps everything centered as a block */
    gap: 0.6rem;
}

.co-image {
    width: 100%;
    border-radius: 1rem;
}

.co-title {
    margin-top: 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    margin-bottom: 0;
}

.co-text {
    width: 100%;
    max-width: 90%;

    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.85;

    margin: 0;
}

.co-title,
.co-text {
    text-align: left;
    width: 100%;
    max-width: 90%;
}

#colabboard {
    align-items: center;
    justify-content: center;
}

#reach-out-link {
    color: #FFFBF7;
    cursor: pointer;
    font-weight: 600;
    display: inline-block; /* needed for transform */
    animation: pulse 3s ease-in-out infinite alternate;
    margin-left: 0.4rem;
    
  }

  /* Keep arrow centered */
#arrow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Previous project (LEFT) */
.prev-project-inline {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);

    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.12rem;
    color: #FFFBF7;
    text-decoration: none;
    opacity: 0.8;

    transition: all 0.3s ease;
}

.prev-project-inline:hover {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 768px) {

    /* MAIN GRID */
    #main-section {
        margin: 1.5rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        gap: 0;
    }

    #mobile-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: stretch;
        height: auto;
        overflow: hidden;
    }

    /* LOGO */
    #logo {
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        width: 8rem;
        height: 4rem;
        background-size: contain;
    }

    #logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* MENU */
    #menu {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        gap: 1.8rem;
        flex-wrap: nowrap;
    }

    .menu-item {
        font-size: 0.8rem;
        white-space: nowrap;
        letter-spacing: 0.1rem;
    }

    /* HERO */
    #text-container {
        grid-column: 1;
        grid-row: 3;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
        margin-top: 6rem;
    }

    #title {
        font-size: 2.3rem;
        margin-top: 0;
        line-height: 1.2;
        letter-spacing: 0.4rem;
        word-break: keep-all;
    }

    .stacking-container.fade-in {
        opacity: 1;
        transform: none;
    }

    .haptics-word {
        letter-spacing: 0.95rem;
        margin-left: 1.2rem;
    }

    .stacking-container:hover .stack-card {
        filter: none;
    }

    #subheader {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 90%;
        letter-spacing: 0.1rem;
        margin-left: 0;
        margin-right: 0;
    }

    /* PROJECT META */
    #project-meta {
        margin-top: 3rem;
        padding: 1.5rem;
        font-size: 1rem;
        width: 72%;
        align-items: center;
        text-align: center;
    }

    #project-meta p {
        white-space: normal;
    }

    /* BLOBS */
    #blob1 {
        width: 80vw;
        height: 60vh;
        top: -12vh;
        left: 50vw;
        background-size: contain;
    }

    #blob2 {
        width: 82vw;
        height: 61vh;
        bottom: -30vh;
        right: 42vw;
        background-size: contain;
    }

    /* MAIN CONTENT */
    #project-section {
        margin: 2rem 1.5rem;
        max-width: 315px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* TEXT */
    .p-subheader {
        font-size: 1.6rem;
        margin-top: 6rem;
    }

    .p-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .between-p-text {
        font-size: 1.1rem;
        line-height: 2;
        margin: 1rem 0;
        margin-bottom: 2rem;
    }

    /* IMAGES STACK */
    #image-container {
        flex-direction: column;
        gap: 0;
    }

    .image-block {
        width: 100%;
    }
    
    .concept-image {
        width: 100%;
        margin-bottom: -1rem;
    }

    /* RESEARCH GRID → STACK */
    .research-gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .research-image {
        height: 180px;
    }

    .post-it {
        font-size: 1rem;
        max-width: 70%;
    }

    /* STACK CARDS */
    .stacking-container {
        flex-direction: column;
        gap: 2rem;
    }

    .stack-card {
        margin-left: 0;
        height: auto;
        filter: none;
    }

    /* TECH CARDS */
    .tech-card-container {
        flex-direction: column;
        gap: 4rem;
        margin: 3rem 0;
        align-items: center;
    }

    .tech-card {
        width: 100%;
        max-width: 320px;
        padding: 1.5rem;
        gap: 0.8rem;
    }

    .card-title-purple {
        font-size: 1.1rem;
        letter-spacing: 0.1rem;
    }

    .card-text {
        font-size: 1rem;
        line-height: 2;
        margin-top: 0.5rem;
    }

    /* CO-LAB GRID */
    .co-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .co-text {
        font-size: 1rem;
    }

    /* VIDEO */
    .case-study-video {
        width: 100%;
    }

    /* FOOTER ORDER (MATCH OTHER PAGES) */
    #arrow-container {
        flex-direction: column;
        gap: 1rem;
    }

    #arrow-link-footer {
        order: 1;
    }

    #image-container.fade-in {
        opacity: 1;
        transform: none;
    }

    .prev-project-inline {
        position: static;
        transform: none;
        order: 2;
        text-align: center;
        margin-top: 0.5rem;
    }

    #margin-bottom-bcnotworking {
        margin-bottom: 2rem;
    }

    .section-margin {
        margin-bottom: 3rem;
    }

    .image-block2 .exploration-item {
        width: 302px;
        font-size: 1rem;
        margin-top: 0rem;
    }

    .video-container {
        margin: 0;
    }

    .last-quote {
        margin-top: 10rem;
    }

    /* FOOTER */
    #logo-footer-container {
        align-items: center;
        margin-bottom: 1rem;
        margin-top: 3rem;
    }

    #footer-left {
        margin-right: 0;
    }

    #logo-footer {
        margin-left: 1rem;
        width: 8rem;
        height: 4rem;
        background-size: contain;
    }

    #arrow {
        width: 5rem;
        height: 5rem;
        margin: 1rem;
        background-size: contain;
    }

    #footer-copyright {
        font-size: 0.9rem;
    }

}