/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import Playfair Display font */
@import url('https://fonts.googleapis.com/css2?family=Mercury+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* Boost productivity text styling */
.boost-productivity {
    font-family: 'Mercury Display', serif;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Hero emphasis styling */
.hero__emphasis {
    font-family: 'Mercury Display', serif;
    font-weight: 700;
    font-style: italic;
    color: #6B46C1;
    position: relative;
    letter-spacing: -0.02em;
}

/* Beating heart animation */
#beating-heart {
    display: inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
    margin-left: 4px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.2);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.2);
    }
    70% {
        transform: scale(1);
    }
}

/* Emoji animations */
.emoji-flex {
    display: inline-block;
    animation: muscle-flex 3s ease-in-out infinite;
    margin: 0 4px;
}

.emoji-twinkle {
    display: inline-block;
    animation: twinkle 1.8s ease-in-out infinite;
    margin: 0 4px;
}

.emoji-rocket {
    display: inline-block;
    animation: rocket 2.5s ease-in-out infinite;
    margin: 0 4px;
}

.emoji-wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
    margin: 0 4px;
    transform-origin: 70% 70%;
}

/* Muscle flexing animation - arm at rest, then muscles clench */
@keyframes muscle-flex {
    0%, 85% {
        transform: scale(1) scaleX(1);
        filter: brightness(1);
    }
    15% {
        transform: scale(1.02) scaleX(0.98);
        filter: brightness(1.05);
    }
    25% {
        transform: scale(1.05) scaleX(0.96);
        filter: brightness(1.08);
    }
    35% {
        transform: scale(1.08) scaleX(0.94);
        filter: brightness(1.1);
    }
    45% {
        transform: scale(1.05) scaleX(0.96);
        filter: brightness(1.08);
    }
    55% {
        transform: scale(1.02) scaleX(0.98);
        filter: brightness(1.05);
    }
}

/* Sparkles twinkle animation */
@keyframes twinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) rotate(3deg);
        opacity: 0.9;
    }
    50% {
        transform: scale(0.98) rotate(-3deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.03) rotate(2deg);
        opacity: 0.95;
    }
}

/* Rocket launch animation */
@keyframes rocket {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-1px) rotate(1deg);
    }
    50% {
        transform: translateY(-2px) rotate(-1deg);
    }
    75% {
        transform: translateY(-1px) rotate(1deg);
    }
}

/* Wave animation */
@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(14deg);
    }
    20% {
        transform: rotate(-8deg);
    }
    30% {
        transform: rotate(14deg);
    }
    40% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(0deg);
    }
}

/* Table of Contents Styles - HIDDEN */
/*
.case-study__toc {
    position: fixed !important;
    left: 40px !important;
    top: 200px !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    width: 240px;
    max-height: 65vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999 !important;
    transform: none !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.case-study__toc-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-study__toc-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-study__toc-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.case-study__toc-link {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.case-study__toc-link:hover {
    color: #6B46C1;
    background-color: rgba(107, 70, 193, 0.05);
    border-left-color: #6B46C1;
}

.case-study__toc-link--active {
    color: #6B46C1;
    background-color: rgba(107, 70, 193, 0.12);
    border-left-color: #6B46C1;
    font-weight: 500;
}
*/

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure case study sections have relative positioning for TOC */
.case-study__section {
    position: relative;
}

/* Hide TOC on smaller screens - HIDDEN */
/*
@media (max-width: 1200px) {
    .case-study__toc-wrapper {
        display: none;
    }
}
*/

/* Before/After Slider Styles */
.before-after-slider {
    margin: 8px 0 32px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.before-after-labels {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.before-after-label-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 400px;
    cursor: grab;
    user-select: none;
}

.before-after-container:active {
    cursor: grabbing;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.slider-before {
    z-index: 1;
}

.slider-after {
    z-index: 2;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.05s ease-out;
}

.before-after-label {
    position: absolute;
    bottom: 16px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    z-index: 3;
}

.before-label {
    left: 16px;
}

.after-label {
    right: 16px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 4;
    transform: translateX(-50%);
    cursor: ew-resize;
    transition: left 0.05s ease-out;
}

.slider-line {
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: #333;
    transition: all 0.2s ease;
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.slider-button svg {
    width: 24px;
    height: 24px;
}

body {
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Automatic Section Spacing */
section + section {
    margin-top: 24px;
}

section:first-of-type {
    margin-top: 0;
}

/* Auto-fix gaps for main content sections */
.hero + .projects {
    margin-top: 0; /* Override for hero to projects */
}

.projects + section {
    margin-top: 80px;
}


.case-study__section:first-of-type {
    margin-top: 0;
}

/* Auto-fix gaps for about page sections */
.about-hero + .about-content {
    margin-top: 0; /* Override for about-hero to about-content */
}

.about-content + .contact-section {
    margin-top: 80px;
}

/* Auto-fix gaps for nested sections */
.case-study__section .case-study__section {
    margin-top: 60px;
}

.case-study__section .case-study__section:first-of-type {
    margin-top: 40px;
}

/* Auto-fix gaps for cards and grids */
.case-study__cards-grid + .case-study__section {
    margin-top: 60px;
}

.case-study__communication-cards + .case-study__section {
    margin-top: 60px;
}

.case-study__competitive-cards + .case-study__section {
    margin-top: 60px;
}

.case-study__insights-cards + .case-study__section {
    margin-top: 60px;
}

/* Auto-fix gaps for conclusion */
.case-study__conclusion {
    margin-top: 100px;
}

/* Override spacing for bonus screens section */
.case-study__section--large {
    margin-bottom: 0;
    margin-top: 0;
}

/* Override spacing after bonus screens */
.case-study__section--large + .case-study__section {
    margin-top: 16px;
}

/* Indent nested list items in conclusion */
.case-study__reflection-list ul {
    margin-left: 20px;
}

.case-study__reflection-list ul li {
    margin-bottom: 4px;
}

/* Add gap before FEATURES section */
.case-study__section + .case-study__section--large {
    margin-top: 48px;
}

/* Add gap before Competitive Audit section */
.case-study__section--large + .case-study__section--spaced {
    margin-top: 48px;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    z-index: 100;
    padding: 0 32px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header--transparent {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    backdrop-filter: blur(20px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav__logo-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav__item {
    list-style: none;
}

.nav__link {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    letter-spacing: 0.08em;
    transition: color 0.2s;
    font-family: Helvetica, sans-serif;
}

.nav__link:hover {
    color: #8449CB;
}

.nav__link--active {
    color: #6B46C1;
}

/* Hamburger Menu */
.nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.nav__hamburger-line {
    width: 100%;
    height: 2.5px;
    background: #333;
    border-radius: 0.5px;
    transition: all 0.3s ease;
}

.nav__hamburger.active .nav__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__hamburger.active .nav__hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active .nav__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main {
    margin-top: 64px;
    min-height: calc(100vh - 64px);
    flex: 1 1 0%;
    padding: 0px;
    flex-direction: column;
}

@media (max-width: 768px) {
    .about-content {
        padding: 40px 16px;
        max-width: 100%;
        margin: 0 auto;
        text-align: left;
    }
}

/* Hero Section */
.hero {
    padding: 120px 32px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero__content {
    max-width: none;
    padding: 0;
}

.hero__subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero__title {
    font-size: 60px;
    font-weight: 650;
    color: #333;
    line-height: 1.2;
    margin: 0;
    max-width: none;
    text-align: left;
}

.hero__highlight {
    background: linear-gradient(135deg, #7c4dec 0%, #a486fd 100%);
    -webkit-background-clip: text;
    line-height: 1.2;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Projects Section */
.projects {
    padding: 80px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.projects__content {
    width: 100%;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
    margin-top: 16px;
}

/* Project Cards */
.project-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    transition: border-color 0.2s ease;
    pointer-events: auto;
}

.project-card:hover {
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}

.project-card:hover::before {
    border-color: #8864ff;
}

/* Disable hover effects on mobile */
@media (max-width: 768px) {
    .project-card:hover {
        border: 1px solid #e8e8e8;
        box-shadow: 0 2px 16px rgba(0,0,0,0.04);
        transform: none;
    }
    
    .hero {
        padding: 60px 16px 0px;
        margin-bottom: 20px;
    }
    
    .hero__content {
        padding: 0;
       margin-left: 16px;
    }
    
    .projects {
        margin-top: 0px;
    }
    
    .projects__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 20px;
    }
    
    .project-card__image-container {
        height: 250px;
        padding: 20px;
        margin-bottom: 0px !important;
    }
    
    .project-card__description {
        font-size: 16px;
    }
}

.project-card__image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin-bottom: 0px;
}

.project-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


.project-card__content {
    padding: 0 24px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.project-card__tag {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 11px;
    margin-right: 8px;
    border: 1px solid #c3c3c3;
    border-radius: 8px;
}



.project-card__title {
    font-weight: 600;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.project-card__description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.project-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}






/* About Page Styles */
.about-hero {
    color: white;
    padding: 120px 32px 0px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-hero__content {
    max-width: 600px;
}

.about-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.about-hero__subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 16px;
}

.about-hero__intro {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.about-content {
    padding: 80px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content__container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.about-content__left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.profile-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.profile-card__image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.info-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.info-card__icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.info-card__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.info-card__text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
    margin-top: 16px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    background: #f9f9f9;
}

.interest-icon {
    font-size: 16px;
}

.interest-text {
    font-size: 14px;
    color: #333;
}

.about-content__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.image-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    height: 600px;
}

.gallery-main {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.gallery-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gallery-side__item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    flex: 1;
}

.gallery-side__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-section {
    padding: 80px 32px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-section__text {
    font-size: 18px;
    color: #333;
}

.contact-section__email {
    color: #8134df;
    text-decoration: none;
    font-weight: 500;
}

.contact-section__email:hover {
    text-decoration: underline;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 200px);
    gap: 16px;
    width: 100%;
    max-width: 1200px;
}

.bento-grid__card {
    background: #ffffff;
    border: 1px solid #6b7280;
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%; /* ensures card fills the grid cell */
    align-items: center;
    gap: 16px;
    padding: 24px;
    overflow: visible;
}

/* Profile Card */
.bento-grid__profile {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    padding: 16px;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

.bento-grid__profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Location Card */
.bento-grid__location {
    grid-column: 1 / span 2;
    grid-row: 3 / span 1;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.bento-grid__location-content {
    text-align: center;
    width: 100%;
    margin: 0;
}

.bento-grid__location-pin {
    font-size: 20px;
    margin-bottom: 8px;
    margin-top: 0;
}

.bento-grid__location-city {
    font-size: 18px;
    font-weight: 600;
    color: #333111;
    margin-bottom: 4px;
    margin-top: 0;
}

.bento-grid__location-subtitle {
    font-size: 16px;
    color: #595858;
    margin: 0;
}

/* Interests Card */
.bento-grid__interests {
    grid-column: 1 / span 2;
    grid-row: 4 / span 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 24px;
    min-height: 400px;
}

.bento-grid__interests-title {
    font-size: 18px;
    font-weight: 600;
    color: #333111;
    margin-bottom: 16px;
    text-align: left;
    width: 100%;
}

.bento-grid__interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    font-size: 14px;
    color: #666666;
}

.bento-grid__interests-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    font-size: 16px;
}



.bento-grid__interests-emoji {
    font-size: 16px;
}

.bento-grid__interests-button {
    margin-top: 24px;
    padding: 12px 24px;
    background: #f2f2f2;
    color: #222;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
}

.bento-grid__interests-button:hover {
    background: #ededed;
}

/* Interests Modal */
.interests-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.interests-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.interests-modal-header {
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.interests-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.interests-modal-close {
    color: #666;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.interests-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.interests-modal-body {
    padding: 24px;
}

.interests-modal-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Mobile Responsive for Interests Modal */
@media (max-width: 768px) {
    .interests-modal-content {
        margin: 0;
        width: 95%;
        max-width: none;
        border-radius: 8px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .interests-modal-header {
        padding: 16px 20px;
        border-radius: 8px 8px 0 0;
    }
    
    .interests-modal-title {
        font-size: 16px;
    }
    
    .interests-modal-close {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }
    
    .interests-modal-body {
        padding: 20px;
    }
    
    .interests-modal-description {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* Content Cards (Who Am I, Philosophy, Journey) */
.bento-grid__content {
    grid-column: 3 / span 4;
    grid-row: 1 / span 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 140px;
}

.bento-grid__content--philosophy {
    grid-column: 3 / span 2;
    grid-row: 2 / span 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 160px;
}

.bento-grid__content--journey {
    grid-column: 5 / span 2;
    grid-row: 2 / span 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    min-height: 160px;
}

.bento-grid__content-icon {
    font-size: 18px;
    margin-right: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.bento-grid__content-text {
    flex: 1;
    margin-top: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bento-grid__content-title {
    font-size: 18px;
    font-weight: 600;
    color: #333111;
    margin-top: 8px;
}

.bento-grid__content-title--small {
    margin-bottom: 6px;
}

.bento-grid__content-description {
    font-size: 16px;
    color: #595858;
    line-height: 1.7;
    margin-top: 16px;
}

.bento-grid__content-description--tight {
    line-height: 1.5 !important;
}

/* Photo Cards */
.bento-grid__photo {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 0;
}

.bento-grid__photo--scotland {
    grid-column: 3 / span 2;
    grid-row: 3 / span 3;
}

.bento-grid__photo--waterfall {
    grid-column: 5 / span 2;
    grid-row: 3 / span 1;
}

.bento-grid__photo--sheep {
    grid-column: 5 / span 2;
    grid-row: 4 / span 1;
}

.bento-grid__photo--lake {
    grid-column: 5 / span 2;
    grid-row: 5 / span 1;
}

.bento-grid__photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop Layout Adjustments */
@media (min-width: 1025px) {
    .bento-grid__content {
        padding: 20px;
        justify-content: flex-start;
        overflow: hidden;
    }
    
    .bento-grid__content--philosophy,
    .bento-grid__content--journey {
        padding: 18px;
        justify-content: flex-start;
        overflow: hidden;
    }
    
    .bento-grid__content-icon {
        margin-bottom: 12px;
    }
    
    .bento-grid__content-title {
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .bento-grid__content-description {
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .bento-grid__content-text {
        width: 100%;
    }
}

/* Case Study Styles */
.case-study {
    max-width: 800px;
    margin: 0 auto;
    padding: 0px 0px 32px 0px;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    margin-top: 56px;
}

.case-study__hero-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 48px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.case-study__hero-banner-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.case-study__hero-section {
    margin-bottom: 48px;
}

.case-study__hero-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    line-height: 1.1;
}

.case-study__hero-title-highlight {
    font-weight: 400;
    color: #333111;
}

.case-study__hero-subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 24px;
}

.case-study__project-details {
    margin-top: 32px;
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    font-weight: 400;
}

.case-study__project-detail-item {
    margin-bottom: 8px;
    color: #333;
}

.case-study__project-detail-label {
    font-weight: 600;
}


.case-study__section--spaced {
    margin-top: 80px;
    margin-bottom: 48px;
}

.case-study__section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    margin-top: 16px;
    line-height: 1.3;
}

.case-study__section-subtitle {
    font-size: 24px;
    font-weight: 400; /* Fixed invalid font-weight value */
    color: #333;
    margin-bottom: 32px;
    line-height: 1.5;
}

.case-study__section-subtitle--small {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.case-study__section-text {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    font-weight: 400; /* Fixed invalid font-weight value */
    margin-bottom: 0;
    margin-top: 8px;
}

/* Add extra spacing after specific text before images */
.case-study__section-text + .case-study__section-image {
    margin-top: 32px; /* Increased gap after text before images */
}

.case-study__section-text strong {
    font-weight: 600;
}

.case-study__section-text-highlight {
    background: #f3e9ff;
    padding: 2px 4px;
    border-radius: 4px;
}

.case-study__section-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* Cards Grid */
.case-study__cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 24px 0 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-study__card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.case-study__card--small {
    width: 100%;
    max-width: 100%;
}

.case-study__card-icon {
    margin-bottom: 24px;
}

.case-study__card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3E9FF;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.case-study__current-experience-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.case-study__current-experience-description {
    font-size: 16px;
    margin-top: 8px;
    color: #666;
    line-height: 1.7;
}

/* Communication Cards */
.case-study__communication-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-study__communication-card {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin: 0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
}

.case-study__communication-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.case-study__communication-card-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.7;
}

.case-study__communication-card-image {
    width: 100%;
    margin-top: 16px;
}

.case-study__communication-card-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Competitive Cards */
.case-study__competitive-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin: 48px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-study__competitive-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.case-study__competitive-card:nth-child(3) {
    margin-left: auto;
    margin-right: auto;
}

.case-study__competitive-card-image-container {
    width: 100%;
    height: 330.1px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

.case-study__competitive-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.case-study__competitive-card-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
    margin-top: 8px;
    color: #333;
    text-align: left;
    width: 100%;
    line-height: 1.3;
}

.case-study__competitive-card-description {
    font-size: 16px;
    color: #666666;
    text-align: left;
    font-weight: 400;
    width: 100%;
    line-height: 1.7;
    margin-top: 8px;
}

/* Center the third card */
.case-study__competitive-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
}

/* Fix image height for calendar card */
.case-study__competitive-card:nth-child(3) .case-study__competitive-card-image-container {
    height: 400px;
}

/* Content wrapper for text */
.case-study__insight-card-content {
    width: 100%;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.image-modal-content {

    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.image-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.image-modal-caption {
    margin-top: 16px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Make journey map image clickable */
.case-study__journey-map-image {
    cursor: pointer;
}

/* Make affinity diagram image clickable */
.case-study__affinity-diagram-image {
    cursor: pointer;
}

/* Make journey map image clickable */
.case-study__journey-map-image {
    cursor: pointer;
}

/* Affinity diagram viewer spacing */
.affinity-diagram-viewer {
    margin-top: 24px;
}

/* Journey map viewer spacing */
.journey-map-viewer {
    margin-top: 24px;
}

/* Placeholder Container Styles */
.placeholder-container {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 40px;
    box-sizing: border-box;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.placeholder-text {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    text-align: center;
}

.placeholder-subtext {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
}

/* Make design exploration images clickable */
.case-study__design-exploration-image {
    cursor: pointer;
}

/* Insights Cards */
.case-study__insights-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.case-study__insight-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.case-study__insight-card--alerts {
    grid-column: 1 / -1;
}

.case-study__insight-card-icon {
    margin-bottom: 16px;
}

.case-study__insight-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3E9FF;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.case-study__insight-card-content {
    flex: 1;
    width: 100%;
}

.case-study__card-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
    margin-top: 8px;
    color: #333;
    line-height: 1.3;
}

.case-study__card-description {
    font-size: 16px;
    margin-top: 16px;
    color: #666;
    line-height: 1.7;
}

/* Idea Titles */
.case-study__idea-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 32px;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Design Exploration */
.case-study__design-exploration {
    margin: 24px 0;
}

.case-study__design-exploration:last-of-type {
    margin-bottom: 56px;
}

.case-study__design-exploration-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Journey Map */
.case-study__journey-map {
    margin: 24px 0;
}

.case-study__journey-map-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.case-study__section-caption {
    margin-top: 12px;
    margin-bottom: 24px; /* Reduced for better fit within ideation sections */
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    font-weight: 400;
}

/* Affinity Diagram */
.case-study__affinity-diagram {
    margin: 24px 0;
}

.case-study__affinity-diagram-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Final Screens */
.case-study__final-screens {
    margin-top: 64px;
}

.case-study__final-screens-subtitle {
    font-weight: 700;
    font-size: 20px;
    color: #333;
}


.case-study__final-screens-subtitle--parents {
    margin-top: 56px;
}

.case-study__final-screens-image {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.case-study__final-screens-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.case-study__final-screens-imgs {
    width: 50%;
    height: auto;
    border-radius: 12px;
}

/* Conclusion */
.case-study__conclusion {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid #e0e0e0;
}

.case-study__conclusion-content {
    max-width: 800px;
}

.case-study__conclusion-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.case-study__reflection-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    line-height: 1.2;
}

.case-study__reflection-text {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
}

.case-study__reflection-list {
    padding-left: 24px;
}

.case-study__reflection-list li {
    margin-bottom: 12px;
}

.case-study__reflection-list ul li {
    margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects__grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 32px;
    }
    
    .about-content__container {
        gap: 48px;
    }
}

@media (max-width: 1024px) {
    .hero__title {
        font-size: 40px;
    }
    
    .about-hero__title {
        font-size: 40px;
    }
    
    .about-content__container {
        grid-template-columns: 1fr;
        gap: 48px;
        display: block;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .gallery-side {
        flex-direction: row;
    }
    
    .gallery-side__item {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 8px;
    }
    
    .nav__menu {
        display: none;
    }
    
    .nav__hamburger {
        display: flex;
        margin-right: 8px;
    }
    
    .nav__menu--mobile {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 20px 20px 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        width: 100vw;
        height: 100vh;
    }
    
    .nav__menu--mobile .nav__hamburger {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10000;
    }
    
    .nav__menu--mobile .nav__item {
        margin: 0;
        padding: 32px 0;
        border-bottom: 1px solid #e0e0e0;
        text-align: center;
        width: 100%;
    }
    
    .nav__menu--mobile .nav__item:last-child {
        border-bottom: none;
    }
    
    .nav__menu--mobile .nav__link {
        font-size: 28px;
        padding: 16px 0;
        display: block;
        width: 100%;
        font-weight: 600;
        color: #333;
        text-decoration: none;
    }
    
    
    
    .hero__title {
        font-size: 42px;
    }
    
    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero {
        padding: 20px 8px 10px; /* Reduced padding between navbar and product  */
    }
    .projects {
        padding: 20px 8px 20px 8px;
    }
    
    .projects__grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        max-width: 380px !important;
        margin: 0 auto !important;
    }
    

    
    .project-card__image-container {
        height: 200px;
        margin-bottom: 2px !important;
    }
    
    /* Mobile tag improvements */
    .project-card__tags {
        margin-bottom: 24px;
        gap: 12px;
    }
    
    .project-card__tag {
        padding-top: 2px;
        padding-bottom: 2px;
        padding-left: 8px;
        padding-right: 8px;
        font-size: 11px;
        margin-right: 0;
        border: 1px solid #c3c3c3;
        border-radius: 8px;
    }
    
    .about-hero {
        padding: 24px;
    }
    
    .about-hero__title {
        font-size: 32px;
    }
    
    .about-content {
        padding: 24px 0px !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: left !important;
    }
    
    .about-content__container {
        display: block !important;
        grid-template-columns: 1fr !important;
        gap: 32px;
        padding: 0 !important;
    }
    
    /* Bento Grid Mobile Responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        max-width: 88%;
        margin: 0 auto; 
        margin-left: auto;
    }

    .bento-grid__profile {
        grid-column: 1;
        grid-row: 1;
        min-height: 300px;
    }
    
    .bento-grid__location {
        grid-column: 1;
        grid-row: 2;
    }
    
    .bento-grid__content {
        grid-column: 1;
        grid-row: 3;
    }
    
    .bento-grid__content--philosophy {
        grid-column: 1;
        grid-row: 4;
    }
    
    .bento-grid__content--journey {
        grid-column: 1;
        grid-row: 5;
    }
    
    .bento-grid__interests {
        grid-column: 1;
        grid-row: 6;
    }
    
    .bento-grid__photo--scotland {
        grid-column: 1;
        grid-row: 7;
        height: 200px;
    }
    
    .bento-grid__photo--waterfall {
        grid-column: 1;
        grid-row: 8;
        height: 200px;
    }
    
    .bento-grid__photo--sheep {
        grid-column: 1;
        grid-row: 9;
        height: 200px;
    }
    
    .bento-grid__photo--lake {
        grid-column: 1;
        grid-row: 10;
        height: 200px;
    }
    
    /* Mobile Bento Card Typography */
    .bento-grid__content-title {
        font-size: 18px !important;
    }
    
    .bento-grid__content-description {
        font-size: 16px !important;
    }
    
    .bento-grid__interests-title {
        font-size: 18px !important;
    }
    
    .bento-grid__location-city {
        font-size: 18px !important;
    }
    
    .bento-grid__interests-item {
        font-size: 16px !important;
    }
    
    .bento-grid__content-description {
        line-height: 1.6 !important;
    }
    
    .bento-grid__location-subtitle {
        font-size: 16px !important;
    }
}
    
    .bento-grid__profile {
        min-height: 300px;
    }
    
    .bento-grid__photo {
        height: 200px;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-side {
        flex-direction: column;
    }
    
    .contact-section {
        padding: 60px 16px;
    }
    
    .case-study {
        padding: 0 16px 32px; /* No top padding to eliminate space after navbar */
    }
    
    .case-study__hero-title {
        font-size: 32px;
    }
    
    .case-study__cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Make the third card (spanning both columns) responsive */
    .case-study__card[style*="grid-column: 1 / span 2"],
    .case-study__card--span-2 {
        grid-column: 1 !important;
        justify-self: stretch !important;
        width: 100% !important;
    }
    
    /* Ensure all cards stack properly on mobile */
    .case-study__card {
        width: 100%;
        max-width: none;
    }
    
    .case-study__communication-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .case-study__competitive-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .case-study__competitive-card {
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .case-study__competitive-card:nth-child(3) {
        grid-column: auto;
        justify-self: auto;
        width: 100%;
    }
    
    /* Mobile font sizes for case study descriptions */
    .case-study__communication-card-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    .case-study__competitive-card-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    .case-study__card-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    /* Mobile font sizes for case study card titles */
    .case-study__communication-card-title {
        font-size: 18px;
    }
    
    .case-study__competitive-card-title {
        font-size: 18px;
    }
    
    .case-study__card-title {
        font-size: 18px;
    }
    
    /* Mobile font weight consistency for list items */
    .case-study__section-list li {
        font-weight: 400;
    }
    
    .case-study__section-list li strong {
        font-weight: 600;
    }
    
    /* Mobile font weight consistency for ideation descriptions */
    .case-study__ideation-description {
        font-weight: 400;
    }
    
    /* Mobile font weight consistency for reflection text */
    .case-study__reflection-text {
        font-weight: 400;
    }
    
    /* Mobile font weight consistency for Guild Gaming competitive cards */
    .case-study--guild-gaming .case-study__competitive-card .case-study__competitive-card-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    .case-study--guild-gaming .case-study__competitive-card .case-study__competitive-card-title {
        font-size: 18px;
        font-weight: 600;
    }
    
    /* Mobile font consistency for Guild Gaming general case study cards */
    .case-study--guild-gaming .case-study__card .case-study__card-title {
        font-size: 18px;
        font-weight: 600;
    }
    
    .case-study--guild-gaming .case-study__card .case-study__card-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    /* Mobile font weight consistency for Baseball insight cards */
    .case-study__insight-card .case-study__card-title {
        font-size: 18px;
        font-weight: 600;
    }
    
    .case-study__insight-card .case-study__card-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    /* Mobile spacing for Baseball case study cards */
    .case-study__card {
        margin-bottom: 16px;
    }
    
    .case-study__card-title {
        margin-bottom: 12px;
    }
    
    .case-study__card-description {
        margin-bottom: 16px;
    }
    
    /* Mobile font consistency for current experience description */
    .case-study__current-experience-description {
        font-size: 16px;
        font-weight: 400;
    }
    
    /* Mobile font consistency for current experience title */
    .case-study__current-experience-title {
        font-size: 18px;
        font-weight: 600;
    }
    
    /* Mobile styling for Next Up section - similar to "You might also like" */
    .case-study__related {
        margin: 40px 16px;
        padding: 24px;
        border-radius: 16px;
    }
    
    .case-study__related-content {
        padding: 0;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-study__related-text h3 {
        font-size: 20px;
        margin-bottom: 12px;
        text-align: left;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .case-study__related-text p {
        font-size: 16px;
        margin-bottom: 20px;
        line-height: 1.5;
        color: #333;
    }
    
    .case-study__related-link {
        font-size: 15px;
        display: inline-block;
        color: #8134df;
        font-weight: 600;
        text-decoration: none;
    }
    
    /* Mobile layout: image on top, text below in single column */
    .case-study__related-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 16px !important;
        max-width: none !important;
        padding: 0 !important;
    }
    
    .case-study__related-image-container {
        grid-row: 1;
        order: -1;
    }
    
    .case-study__related-image {
        width: 100%;
        height: 900px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .case-study__related-text {
        grid-row: 2;
        margin-top: 16px;
    }
    


    .case-study__competitive-card-image-container {
        height: auto;
    }

    .case-study__competitive-card:nth-child(3) .case-study__competitive-card-image-container {
        height: auto;
    }
    
    .case-study__insights-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .case-study__final-screens-imgs {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }
    
    .about-hero__title {
        font-size: 28px;
    }
    
    .case-study__hero-title {
        font-size: 28px;
    }
    
    .project-card__content {
        padding: 20px;
    }

    .project-card__title {
        font-size: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .case-study__card {
        padding: 20px;
    }
    
    /* Additional responsive improvements for cards */
    .case-study__card-title {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .case-study__card-description {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .case-study__card-icon {
        margin-bottom: 20px;
    }
    
    .case-study__card-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .case-study__communication-card {
        padding: 16px;
    }
    
    .case-study__competitive-card {
        padding: 20px;
    }
    
    .case-study__insight-card {
        padding: 20px;
    }
    
    /* Extra small screen improvements for cards */
    .case-study__card-title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .case-study__card-description {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .case-study__card-icon {
        margin-bottom: 16px;
    }
    
    .case-study__card-icon-wrapper {
        width: 28px;
        height: 28px;
    }
}

/* Guild Gaming Case Study Specific Styles */
.case-study--guild-gaming {
    /* Main container for Guild Gaming case study */
}

/* Guild Gaming spacing to match Baseball Little League */
.case-study--guild-gaming .case-study__section {
    margin-bottom: 40px; /* Match general case study spacing */
}

.case-study--guild-gaming .case-study__section--spaced {
    margin-top: 80px; /* Match general case study spacing */
}

.case-study--guild-gaming .case-study__cards-grid + .case-study__section {
    margin-top: 60px; /* Keep this specific spacing */
}

.case-study--guild-gaming .case-study__ideation-section + .case-study__ideation-section {
    margin-top: 60px; /* Keep this specific spacing */
}



.case-study--guild-gaming .case-study__quote {
    margin: 32px 0; /* Match general quote spacing */
}
.quote-mark {
    font-size: 30px;
    color: #333;
    line-height: 1;
    display: inline;
}

.case-study__quote .quote-mark:first-of-type {
    vertical-align: top;
}

.case-study__quote .quote-mark:last-of-type {
    vertical-align: bottom;
}
  
.case-study--guild-gaming .case-study__company-logos {
    margin: 48px 0; /* Match general company logos spacing */
}

.case-study--guild-gaming .case-study__placeholder {
    margin: 24px auto; /* Match general placeholder spacing */
}

/* Quote styling */
.case-study__quote {
    background: #f8f9fa;
    border-left: 4px solid #9B6FD9;
    padding: 24px;
    margin: 32px 0; /* Consistent with Guild Gaming override */
    border-radius: 8px;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    position: relative;
}

.case-study__quote-attribution {
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: #666666;
    margin-top: 16px;
    font-size: 14px;
}

/* Section list styling */
.case-study__section-list {
    margin: 24px 0;
    padding-left: 24px;
}

.case-study__section-list li {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

.case-study__section-list li strong {
    font-weight: 600;
}

/* Company logos section */
.case-study__company-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 48px 0; /* Consistent with Guild Gaming override */
    max-width: 800px; /* Match the case study content width */
    margin-left: 0; /* Align with left edge of text content */
    margin-right: auto;
}

/* Ensure equal column widths */
.case-study__company-logos > * {
    width: 100%;
    max-width: none; /* Allow full width */
}

/* Make the third logo span the full bottom row */
.case-study__company-logo:nth-child(3) {
    grid-column: 1 / -1;
    max-width: none; /* Allow full width */
    justify-self: center;
    margin: 0 auto; /* Center the card horizontally */
}

/* Enhanced logo card styling to match the reference image */
.case-study__company-logo {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    width: 100%; /* Ensure consistent width */
    box-sizing: border-box; /* Include padding in width calculation */
}




.case-study__company-logo-img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}



/* Ideation section styling */
.case-study__ideation-section {
    margin: 48px 0;
    border-radius: 16px;
    width: 100%; /* Full width */
    max-width: none; /* Remove any width constraints */
}

.case-study__ideation-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.3;
}

.case-study__ideation-description {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
}

/* Placeholder styling */
.case-study__placeholder {
    width: 100%;
    max-width: 800px;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto; /* Consistent with Guild Gaming override */
    color: #666666;
    font-style: italic;
}

.case-study__placeholder--large {
    height: 300px;
}

.case-study__placeholder-content {
    text-align: center;
}

.case-study__placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.case-study__placeholder-title {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.case-study__placeholder-subtitle {
    font-size: 14px;
    color: #6c757d;
}

/* Guild Gaming specific overrides */
.case-study--guild-gaming .case-study__hero-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 48px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.case-study--guild-gaming .case-study__hero-banner--desktop {
    margin-bottom: 96px;
}

.case-study--guild-gaming .case-study__hero-banner-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}



/* Competitive card styling for Guild Gaming */
.case-study--guild-gaming .case-study__competitive-card {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    width: 100%;
    max-width: 100%; /* Allow full width like general case study */
    margin: 0; /* Remove auto margin to match general case study */
}

.case-study--guild-gaming .case-study__competitive-card .case-study__competitive-card-img {
    width: 100%;
    height: 400px; /* Fixed height for better control */
    object-fit: cover;
    border-radius: 12px;
    display: block; /* Ensure proper display */
}

/* Fix video container within competitive card */
.case-study--guild-gaming .case-study__competitive-card .case-study__competitive-card-image-container {
    width: 100%;
    height: 400px; /* Match video height */
    border-radius: 12px;
    overflow: hidden; /* Ensure video stays within bounds */
}

/* Bento grid content styling for Guild Gaming */
.bento-grid__content-wrapper {
    /* Wrapper for bento grid content */
}

/* Section image styling for Guild Gaming */
.case-study__section-image {
    display: flex;
    justify-content: center;
    margin: 16px 0 12px 0; /* Bottom margin matches caption's margin-top for consistent spacing */
}

.case-study__section-img {
    max-width: 100%; /* Allow full width for images */
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.bento-grid__content {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 140px;
}

.bento-grid__content--philosophy {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 160px;
}

.bento-grid__content--journey {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 160px;
}

/* Mobile responsive styles for Guild Gaming */
@media (max-width: 768px) {
    .case-study__company-logos {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }
    
    .case-study__company-logo {
        min-height: 100px;
        padding: 20px;
    }
    
    /* Company logos responsive behavior */
    .case-study__company-logos {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 24px;
        max-width: 100%; /* Full width on mobile */
        margin: 32px 0; /* Remove auto margins for full width */
    }
    
    /* Reset the third logo span on mobile */
    .case-study__company-logo:nth-child(3) {
        grid-column: 1;
        max-width: 100%;
        justify-self: stretch;
    }
    
    .case-study__company-logo {
        min-height: 100px;
        padding: 20px;
        width: 100%;
    }
    
    .case-study__company-logo-img {
        max-height: 50px;
    }
    
    .case-study__ideation-section {
        padding: 24px 16px;
        margin: 32px 0;
    }
    
    .case-study__quote {
        padding: 20px 16px;
        margin: 24px 0;
        font-size: 16px;
    }
    
    .case-study__placeholder {
        height: 150px;
        margin: 20px auto;
    }
    
    .case-study__placeholder--large {
        height: 200px;
    }
    
    /* Section image responsive styles */
    .case-study__section-img {
        max-width: 100%; /* Allow full width on mobile */
        width: 100%;
        height: auto;
    }
}

/* Additional card styling to replace inline styles */
.case-study__card--with-border {
    border: 1px solid #e0e0e0;
}

.case-study__communication-card--with-border {
    border: 1px solid #e0e0e0;
}

.case-study__competitive-card--with-border {
    border: 1px solid #e0e0e0;
}

.case-study__insight-card--with-border {
    border: 1px solid #e0e0e0;
}

/* Image container styling to replace inline styles */
.case-study__image-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.case-study__image-wrapper {
    border-radius: 20px;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.case-study__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Third card spanning both columns styling */
.case-study__card--span-2 {
    grid-column: 1 / span 2;
    justify-self: center;
}

/* Hero title highlight styling */
.case-study__hero-title-highlight {
    font-weight: 400;
    color: #333;
}

/* Spacer utility class */
.case-study__spacer {
    height: 16px;
}

/* Work Page Styles */
.work-hero {
    background: white;
    padding: 120px 32px 80px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.work-hero__tags {
    margin-bottom: 24px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.work-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto;
}

.work-hero__highlight {
    color: #8B5CF6;
}

/* Work Projects Section */
.work-projects {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.work-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 64px;
}

/* Individual Project Cards */
.work-project {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.work-project__mockup {
    border-radius: 16px;
    padding: 24px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-project__mockup--baseball {
    background: #E0F2FE;
}

.work-project__mockup--gaming {
    background: #F3E8FF;
}

/* Baseball Project Mockup */
.work-project__phone {
    background: white;
    border-radius: 20px;
    padding: 20px;
    width: 200px;
    height: 350px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.work-project__calendar-header {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.work-project__calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.work-project__calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 16px;
    font-size: 12px;
    color: #333;
}

.work-project__calendar-dates .highlight {
    background: #8B5CF6;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.work-project__upcoming {
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

.work-project__upcoming-title {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.work-project__upcoming-date {
    font-size: 11px;
    color: #666;
}

/* Gaming Project Mockup */
.work-project__dashboard {
    background: #1F2937;
    border-radius: 12px;
    width: 300px;
    height: 250px;
    display: flex;
    color: white;
    overflow: hidden;
}

.work-project__sidebar {
    background: #374151;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.work-project__nav-item {
    font-size: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.work-project__nav-item:hover {
    background: #4B5563;
}

.work-project__main {
    padding: 16px;
    flex: 1;
}

.work-project__header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.work-project__subtitle {
    font-size: 10px;
    color: #9CA3AF;
    margin-bottom: 16px;
}

.work-project__metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.work-project__metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.work-project__metric-label {
    font-size: 10px;
    color: #9CA3AF;
}

.work-project__metric-value {
    font-size: 16px;
    font-weight: 600;
}

.work-project__chart {
    width: 100%;
    height: 40px;
    background: #4B5563;
    border-radius: 6px;
    margin-bottom: 16px;
}

.work-project__popup {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 12px;
    color: #333;
}

.work-project__popup-question {
    font-size: 10px;
    margin-bottom: 8px;
    font-weight: 500;
}

.work-project__popup-input input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 10px;
    margin-bottom: 8px;
}

.work-project__popup-suggestions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.work-project__suggestion {
    font-size: 9px;
    color: #6B7280;
    padding: 4px 6px;
    background: #F3F4F6;
    border-radius: 4px;
    cursor: pointer;
}

/* Project Tags */
.work-project__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-project__tag {
    background: #F3F4F6;
    color: #374151;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Project Content */
.work-project__title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.work-project__description {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .work-hero {
        padding: 80px 16px 60px;
        text-align: left;
    }
    
    .work-hero__title {
        font-size: 32px;
        text-align: left;
    }
    
    .work-projects {
        padding: 0 16px 60px;
    }
    
    .work-projects__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
    
    .work-project__mockup {
        min-height: 250px;
        padding: 16px;
    }
    
    .work-project__phone {
        width: 160px;
        height: 280px;
    }
    
    .work-project__dashboard {
        width: 250px;
        height: 200px;
    }
    
    .work-project__sidebar {
        min-width: 100px;
        padding: 12px;
    }
    
    .work-project__main {
        padding: 12px;
    }
    
    .work-project__title {
        font-size: 20px;
    }
    
    .work-project__description {
        font-size: 14px;
    }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.back-to-top-btn.show {
    display: flex;
}

/* Related Case Study Section */
.case-study__related {
    margin: 100px 0 60px 0;
    padding: 60px 0;
    border-radius: 20px;
}

.case-study__related-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

.case-study__related-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.case-study__related-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.case-study__related-text {
    padding: 20px 0;
}

.case-study__related-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #333;
}

.case-study__related-text p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
    color: #666;
}

.case-study__related-link {
    color: #8134df;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

.case-study__related-link:hover {
    color: #6b21a8;
}

.case-study__related-image-container {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study__related-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.case-study__related-mockup {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study__related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 40px 0;
    margin-top: 80px;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 32px;
}

.footer__contact {
    font-size: 16px;
    color: #444444;
    margin: 0 0 16px 0;
    font-weight: 400;
}

.footer__email {
    color: #722FC5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer__email:hover {
    color: #8449CB;
}

.footer__made-with {
    font-size: 14px;
    color: #666666;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer__spotify-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #000000;
}

/* Footer Mobile Responsiveness */
@media (max-width: 768px) {
    .footer {
        padding: 32px 0;
        margin-top: 60px;
    }
    
    .footer__content {
        padding: 0 16px;
    }
    
    .footer__contact {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer__made-with {
        font-size: 14px;
    }
    
    .footer__spotify-logo {
        width: 18px;
        height: 18px;
    }
}

/* Small Mobile Devices (iPhone SE, small Android) */
@media (max-width: 480px) {
    /* Header & Navigation */
    .header {
        padding: 0 8px;
    }
    
    .nav__logo-image {
        width: 56px;
        height: 56px;
    }
    
    /* Hero Section */
    .hero {
        padding: 20px 12px 20px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    /* Projects Section */
    .projects {
        padding: 40px 16px;
    }
    
    .projects__grid {
        max-width: 320px !important;
        gap: 24px !important;
    }
    
    .project-card__image-container {
        height: 180px;
    }
    
    .project-card__title {
        font-size: 16px;
    }
    
    .project-card__description {
        font-size: 13px;
    }
    
    .project-card__tag {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    /* About Page */
    .about-hero {
        padding: 60px 12px 30px;
    }
    
    .about-hero__title {
        font-size: 28px;
    }
    
    .about-hero__subtitle {
        font-size: 18px;
    }
    
    .about-hero__intro {
        font-size: 16px;
    }
    
    .about-content {
        padding: 30px 12px;
    }
    
    .bento-grid {
        gap: 16px;
        max-width: 95%;
    }
    
    .bento-grid__content-title {
        font-size: 16px !important;
    }
    
    .bento-grid__content-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .bento-grid__interests-title {
        font-size: 16px !important;
    }
    
    .bento-grid__interests-item {
        font-size: 14px !important;
    }
    
    .bento-grid__location-city {
        font-size: 16px !important;
    }
    
    .bento-grid__location-subtitle {
        font-size: 14px !important;
    }
    
    /* Case Studies */
    .case-study {
        padding: 0 12px 24px;
    }
    
    .case-study__hero-title {
        font-size: 28px;
    }
    
    .case-study__card-title {
        font-size: 16px;
    }
    
    .case-study__card-description {
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 24px 0;
        margin-top: 40px;
    }
    
    .footer__content {
        padding: 0 12px;
    }
    
    .footer__contact {
        font-size: 13px;
    }
    
    .footer__made-with {
        font-size: 12px;
    }
}

