* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to right bottom, #eaf0f6 0%, #e8eef4 25%, #eef2f6 60%, #f1f3f6 100%);
    background-attachment: fixed;
    color: #3B4D50;
    line-height: 1.6;
    padding: 2rem 1rem;
    min-height: 100vh;
    letter-spacing: -0.02em;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0A6A47;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 0;
    font-weight: 500;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
    outline: 2px solid #06402B;
    outline-offset: 2px;
}

/* Screen reader only class - visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Make all strong/bold text semibold instead */
strong {
    font-weight: 600;
}

/* Default text link styling for content */
p a,
.project-section-content a,
.key-findings-content a,
.my-role-content a,
.project-view-description a,
.project-section-content a,
.thumbnail-description a {
    color: #0A6A47;
    font-weight: 500;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

p a:hover,
.project-section-content a:hover,
.key-findings-content a:hover,
.my-role-content a:hover,
.project-view-description a:hover,
.project-section-content a:hover,
.thumbnail-description a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Hero Card */
.hero-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-bottom: 1rem;
    border: 1px solid rgba(10, 106, 71, 0.15);
    overflow: visible;
    display: flex;
    align-items: stretch;
    position: relative;
}

.profile-section {
    display: flex;
    gap: 0;
    align-items: stretch;
    width: 100%;
}

.profile-image {
    width: 250px;
    height: auto;
    border-radius: 12px 0 0 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: block;
    align-self: flex-start;
}

/* Hide secondary-page hero on mobile (keep index hero) */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}
.about-card-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Ensure images align with title text - account for title's line-height */
.about-card-header .about-card-images {
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.about-card-header .about-card-text {
    display: flex;
    flex-direction: column;
}

.about-card-header .about-card-text .project-title {
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
}

.about-profile-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
    transform-origin: center;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, z-index 0s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.about-profile-image:hover {
    transform: scale(1.875); /* 1.5 * 1.25 = 1.875 (25% bigger than previous) */
    transform-origin: center;
    z-index: 10;
    position: relative;
}

/* Allow card to overflow when about image is hovered */
.project-card:has(.about-profile-image:hover) {
    overflow: visible;
}

/* Also allow project-content to overflow */
.project-content:has(.about-profile-image:hover) {
    overflow: visible;
}

/* Allow about-card-header to overflow */
.about-card-header:has(.about-profile-image:hover) {
    overflow: visible;
}

/* Allow about-images-row to overflow */
.about-images-row:has(.about-profile-image:hover) {
    overflow: visible;
}
.about-card-header .about-image {
    margin-right: 0.5rem;
}

.about-card-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-top: 0;
    margin-top: 0;
    align-self: flex-start;
    /* Account for font metrics - align with text visual top */
    margin-top: 0.2em;
    overflow: visible;
    position: relative;
    z-index: 1;
}

/* Images row - all images in a horizontal row, centered */
.about-images-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
    overflow: visible;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Ensure images in row have no conflicting margins and add fallback spacing */
.about-images-row .about-profile-image {
    margin: 0;
}

/* Fallback spacing if gap is not applied - horizontal spacing */
.about-images-row .about-profile-image:not(:last-child) {
    margin-right: 16px;
}

/* Align first image with title text - match title's visual top */
.about-card-images .about-profile-image:first-child {
    margin-top: 0;
    align-self: flex-start;
}

/* Fallback spacing if gap is not applied */
.about-card-images .about-profile-image:not(:last-child) {
    margin-bottom: 16px;
}

.about-card-text {
    flex: 1;
    min-width: 260px;
    padding-top: 0;
    margin-top: 0;
}

.about-section-spacing {
    margin-top: 0;
    padding-top: 0;
}

/* About image interaction variants */
.about-profile-image.about-profile-image--v1 {
    animation: aboutAvatarSlideFade 420ms ease-out both;
}

.about-profile-image.about-profile-image--v2 {
    animation: aboutAvatarOrigin 420ms ease-out both;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.08));
}

@keyframes aboutAvatarSlideFade {
    from {
        opacity: 0;
        transform: translate(-12px, -6px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

@keyframes aboutAvatarOrigin {
    from {
        opacity: 0;
        transform: translate(-28px, -18px) scale(1.15);
    }
    60% {
        opacity: 1;
        transform: translate(-8px, -4px) scale(1.05);
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

/* Disable about image animation on mobile */
@media (max-width: 768px) {
    .about-profile-image {
        animation: none !important;
        filter: none !important;
    }
    
    .about-images-row {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .about-images-row .about-profile-image {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        max-width: calc(50% - 4px);
        box-sizing: border-box;
        margin: 0 !important;
    }
    
    /* Override the general margin-right rule for mobile */
    .about-images-row .about-profile-image:not(:last-child) {
        margin-right: 0 !important;
    }
    
    .about-images-row .about-profile-image:nth-child(3),
    .about-images-row .about-profile-image:nth-child(4) {
        margin-top: 8px;
    }
    
    /* Center the last image if it's alone in a row (4th image) */
    .about-images-row .about-profile-image:nth-child(4):last-child {
        margin-left: auto;
        margin-right: auto;
    }
}

.profile-info {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.name {
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: #3B4D50;
}

.bio {
    font-size: 0.95rem;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.7;
}


/* Navigation */
.main-nav, .footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.main-nav {
    position: relative;
}

.main-nav.nav-slide-in {
    animation: navSlideIn 260ms ease-out both;
}

@keyframes navSlideIn {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-nav {
    margin-top: 4rem;
    margin-bottom: 0;
}

.nav-link {
    color: #3B4D50;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

/* Focus styles for navigation links */
.nav-link:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 4px;
    border-radius: 2px;
    padding: 0.5rem 4px;
    margin: 0 -4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #0A6A47;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:not(.active) {
    color: #0A6A47;
    transform: translateY(-1px);
}

.nav-link:hover:not(.active)::after {
    width: 100%;
}

.nav-link:active {
    transform: translateY(0);
}

/* Active state for current section */
.nav-link.active {
    color: #0A6A47;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
    transition: none;
}

.nav-link.active::after {
    width: 100%;
    transition: none;
}

.nav-link.active:hover {
    transform: none !important;
    color: #0A6A47 !important;
    cursor: default;
    pointer-events: none;
}

.nav-link.active:hover::after {
    width: 100% !important;
    transition: none;
}

/* Layout Toggle */
.layout-toggle {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 32px;
    padding: 0;
}

.layout-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: white;
    border: 2px solid rgba(10, 106, 71, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: content-box;
}

.layout-icon {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    color: #0A6A47;
    transition: transform 0.3s ease;
}

.layout-icon-wrapper:hover {
    border-color: #0A6A47;
    background: rgba(10, 106, 71, 0.05);
}

/* Focus styles for layout toggle */
.layout-icon-wrapper:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 2px;
    border-color: #0A6A47;
}

.layout-icon-wrapper.rotating .layout-icon {
    transform: rotate(180deg);
}

.layout-btn span {
    line-height: 1;
}

/* Project Cards */
.projects-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 530px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.projects-section.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
}

.projects-section.grid-layout .project-card {
    display: flex;
    flex-direction: column;
}

.projects-section.grid-layout .project-image {
    height: 110px;
}

.projects-section.grid-layout .project-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projects-section.grid-layout .project-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.projects-section.grid-layout .project-description {
    display: none;
}

.projects-section.grid-layout .expand-btn {
    margin-top: auto;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.project-card {
    background: #f6f9fc;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: none;
    position: relative;
    cursor: default;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-card:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    position: relative;
}

/* Gradient background system for project images - color progression */
/* Card 1: Blue */
/* Project card gradients - all use the same light green */
.project-image-gradient-1,
.project-image-gradient-2,
.project-image-gradient-3,
.project-image-gradient-4,
.project-image-gradient-5,
.project-image-gradient-6,
.project-image-gradient-7,
.project-image-gradient-8,
.project-image-gradient-9 {
    background: linear-gradient(135deg, rgba(18, 190, 128, 0.3) 0%, rgba(18, 190, 128, 0.15) 100%);
}

/* Hide overlay and placeholder for all gradient images */
.project-image-gradient-1::after,
.project-image-gradient-1::before,
.project-image-gradient-2::after,
.project-image-gradient-2::before,
.project-image-gradient-3::after,
.project-image-gradient-3::before,
.project-image-gradient-4::after,
.project-image-gradient-4::before,
.project-image-gradient-5::after,
.project-image-gradient-5::before,
.project-image-gradient-6::after,
.project-image-gradient-6::before,
.project-image-gradient-7::after,
.project-image-gradient-7::before,
.project-image-gradient-8::after,
.project-image-gradient-8::before,
.project-image-gradient-9::after,
.project-image-gradient-9::before {
    display: none;
}

/* Title text inside gradient */
.project-title-in-gradient {
    position: absolute;
    top: calc(50% - 15px);
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0 1rem;
    color: #3B4D50;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
    box-sizing: border-box;
}

.project-image .project-info-line {
    position: absolute;
    top: calc(50% + 20px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 400;
    color: rgba(59, 77, 80, 0.8);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Zoom effect for large layout cards only */
.projects-section:not(.grid-layout) .project-image img {
    transform: scale(1.1);
}

.projects-section:not(.grid-layout) .project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.05) 35%, transparent 50%),
        radial-gradient(ellipse 100% 100% at center, transparent 80%, rgba(255, 255, 255, 0.02) 90%, rgba(255, 255, 255, 0.04) 96%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card.expanded .project-image::after {
    opacity: 0;
}

.project-image:has(img[src=""])::before,
.project-image:not(:has(img[src]))::before {
    content: "Project Image";
    position: absolute;
    z-index: 2;
}

.project-content {
    padding: 24px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #3B4D50;
}

.project-description {
    font-size: 16px;
    color: rgba(59, 77, 80, 0.8);
    margin-bottom: 0;
    line-height: 1.7;
}

.expand-btn, .close-btn {
    background: #0A6A47;
    color: white;
    border: 1px solid rgba(6, 64, 43, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 300;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    margin-top: 24px;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.expand-btn:hover, .close-btn:hover {
    background: #06402B;
    border-color: rgba(6, 64, 43, 0.3);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

/* Focus styles for buttons */
.expand-btn:focus-visible,
.close-btn:focus-visible,
.cv-btn:focus-visible,
.cv-download:focus-visible,
.contact-submit:focus-visible,
.welcome-toast-close:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 2px;
    border-color: #0A6A47;
}

.placeholder-btn {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Grey background for placeholder project card titles */
.placeholder-project .project-image-gradient-4,
.placeholder-project .project-image-gradient-5,
.placeholder-project .project-image-gradient-6,
.placeholder-project .project-image-gradient-7,
.placeholder-project .project-image-gradient-8,
.placeholder-project .project-image-gradient-9 {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
}

/* Project Details (Expanded) - Hidden, using modal instead */
.project-details {
    display: none;
}

/* Project Modal Dialog */
.project-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.project-view.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.modal-dialog {
    position: relative;
    width: 950px;
    max-width: 100%;
    max-height: 90vh;
    background: #F5F5F5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #666;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.modal-content-wrapper {
    flex: 1;
    position: relative;
    min-height: 0; /* Allow flex child to shrink */
    display: flex;
    flex-direction: column;
}

.modal-content {
    padding: 2rem;
    padding-bottom: 3rem; /* Extra padding at bottom to ensure all content is visible */
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    min-height: 0;
    position: relative;
    /* Custom scrollbar - always visible */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Show scrollbar on hover or when scrolling for Firefox */
.modal-content-wrapper.hovering .modal-content,
.modal-content-wrapper.scrolling .modal-content {
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

/* Webkit scrollbar styling (Chrome, Safari, Edge) */
.modal-content::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    margin-top: 0;
    margin-bottom: 20px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    border: none;
    min-height: 40px;
    opacity: 0.7; /* Always visible but subtle */
    transition: opacity 0.2s ease;
}

/* Show scrollbar more prominently when hovering or scrolling */
.modal-content-wrapper.hovering .modal-content::-webkit-scrollbar-thumb,
.modal-content-wrapper.scrolling .modal-content::-webkit-scrollbar-thumb,
.modal-content:hover::-webkit-scrollbar-thumb {
    opacity: 1;
    transition: opacity 0.15s ease 0s;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #3B4D50;
    padding-right: 2rem;
}

.modal-body {
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.8;
}

.modal-body p {
    margin-bottom: 1rem;
}

/* Project View Structure */
.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 14px;
    font-weight: 400;
    color: rgba(59, 77, 80, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-meta-item {
    display: inline-block;
}

/* Project Title Banner (Gradient) - matches project card */
.project-view-title-banner {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin: 0 0 32px 0;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-sizing: border-box;
}

.project-view-title-banner {
    flex-direction: column;
    justify-content: center;
}

.project-view-title-banner .project-view-title {
    position: absolute;
    top: calc(50% - 15px);
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: #3B4D50;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 2rem);
    padding: 0 1rem;
}

.project-view-title-banner .project-info-line {
    position: absolute;
    top: calc(50% + 20px);
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 400;
    color: rgba(59, 77, 80, 0.8);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
    text-align: center;
    white-space: nowrap;
}

.project-card .project-info-line {
    font-size: 16px;
    font-weight: 400;
    color: rgba(59, 77, 80, 0.8);
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

.project-view-header {
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.project-view-description {
    font-size: 20px;
    font-weight: 300;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.project-view-hero {
    width: 100%;
    height: 200px;
    margin-top: 40px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
}

.project-view-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.project-view-header {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-top: 0;
}

.project-view-title {
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    margin-top: 0;
    color: #3B4D50;
}

.project-view-description {
    font-size: 20px;
    font-weight: 300;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
}

/* Key Facts Section */
.key-facts-section {
    margin: 32px 0;
    text-align: left;
}

.key-facts-content {
    background: rgba(10, 106, 71, 0.08);
    border-radius: 16px;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #0A6A47;
    line-height: 1.7;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.key-facts-icon {
    width: 24px;
    height: 24px;
    color: #0A6A47;
    flex-shrink: 0;
}

.key-facts-text {
    flex: 1;
    color: #0A6A47;
    padding-top: 0;
    padding-bottom: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* My Role Section */
.project-description-divider {
    border-top: 1px solid rgba(10, 106, 71, 0.15);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.my-role-section {
    margin-bottom: 16px;
}

.my-role-content {
    font-size: 20px;
    font-weight: 300;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* Methods Section - Centered Icons */
.methods-section {
    width: 100%;
    margin-bottom: 2.5rem;
    position: relative;
}

.methods-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: fit-content;
}

.methods-icons {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    height: fit-content;
}

.method-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

/* Section Navigation Divider */
.section-nav-divider {
    border-top: 1px solid rgba(10, 106, 71, 0.15);
    margin-top: 32px;
    margin-bottom: 32px;
    width: 100%;
}

/* Section Navigation Buttons */
.section-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 32px;
}

.section-nav-btn {
    min-height: 16px;
    height: auto;
    padding: 4px;
    background: transparent;
    border: 2px solid rgba(10, 106, 71, 0.4);
    border-radius: 4px;
    color: #0A6A47;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    box-sizing: border-box;
}

.section-nav-btn.active {
    border: 3px solid #0A6A47 !important;
    background: rgba(10, 106, 71, 0.15) !important;
    font-weight: 700;
}

.section-nav-btn:hover {
    background: rgba(10, 106, 71, 0.12);
    border-color: #0A6A47;
    border-width: 2px;
}

.section-nav-btn:active {
    background: rgba(10, 106, 71, 0.18);
}

/* Focus styles for section navigation buttons */
.section-nav-btn:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 2px;
    border-color: #0A6A47;
    padding: 3px;
}

.method-icon {
    width: 56px;
    height: 56px;
    display: block;
    opacity: 1;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

/* Slightly smaller testing icon to visually match others */
.method-group img[src*="method-testing2-icon"] {
    width: 51px !important;
    height: 46px !important;
}

.method-label {
    font-size: 14px;
    font-weight: 400;
    color: #3B4D50;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: block;
}

.project-view-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 2rem;
}

.project-section-content p {
    margin: 0 0 12px;
}

.project-section-content p:last-child {
    margin-bottom: 0;
}

.project-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 1.5rem;
    padding-top: 40px;
    padding-bottom: 20px;
    margin-bottom: 32px;
}

.project-section::before {
    content: none;
}

/* Color coding for different sections - testing with same color */
.project-section[data-section="discovery"]::before {
    background: #0A6A47;
    border-radius: 2px;
    left: 0;
}

.project-section[data-section="discovery"] {
    background: rgba(10, 106, 71, 0.08);
    padding: 40px 1.5rem;
    border-radius: 8px;
    margin-bottom: 32px;
}

.project-section[data-section="ideation"]::before {
    background: #0A6A47;
    border-radius: 2px;
    left: 0;
}

.project-section[data-section="ideation"] {
    background: rgba(10, 106, 71, 0.08);
    padding: 16px 1.5rem;
    border-radius: 8px;
    margin-bottom: 32px;
}

.project-section[data-section="validation"]::before {
    background: #0A6A47;
    border-radius: 2px;
    left: 0;
}

.project-section[data-section="validation"] {
    background: rgba(10, 106, 71, 0.08);
    padding: 16px 1.5rem;
    border-radius: 8px;
    margin-bottom: 32px;
}

.project-section[data-section="results"]::before {
    background: #0A6A47;
    border-radius: 2px;
    left: 0;
}

.project-section[data-section="results"] {
    background: rgba(10, 106, 71, 0.08);
    padding: 16px 1.5rem;
    border-radius: 8px;
    margin-bottom: 32px;
}

.results-images-section {
    padding: 0;
    margin-top: 24px;
    margin-bottom: 0;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
    width: calc(100% + 1rem);
}

.results-images-section img,
.results-images-section video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.results-images-section video {
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

/* Video container for result videos */
.result-video-container {
    position: relative;
    width: 100%;
    display: block;
}

.result-video-container .result-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Background overlay for result videos */
.result-video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Play/Pause overlay buttons */
.result-video-play-overlay,
.result-video-pause-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    opacity: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.result-video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.result-video-play-overlay:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.result-video-pause-overlay:hover {
    opacity: 0.9;
}

.result-video-pause-overlay:active {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.95);
}

.result-video-play-overlay svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    transition: transform 0.3s ease;
}

.result-video-play-overlay:hover svg {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.result-video-pause-overlay svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

.result-video-pause-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mobile: keep overlay visible and larger */
@media (max-width: 768px) {
    .result-video-play-overlay svg,
    .result-video-pause-overlay svg {
        width: 80px;
        height: 80px;
    }
    
    .result-video-pause-overlay {
        opacity: 1;
    }
}

.project-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #3B4D50;
    margin: 0;
    margin-bottom: 0;
}

.project-section-content {
    font-size: 16px;
    font-weight: 400;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.7;
    margin-top: 0;
}

.project-section-content p {
    margin: 0 0 1rem 0;
}

.project-section-content p:last-child {
    margin-bottom: 0;
}

/* Key findings inline in Discovery section */
.project-section-content .key-findings-inline {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.project-section-content .key-findings-label {
    font-weight: 600;
    color: #0A6A47;
}

/* Miro Link Styling - inherits from default text link styles above */

/* Key Findings Section */
.key-findings-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.key-findings-title {
    font-size: 12px;
    font-weight: 300;
    color: #3B4D50;
    margin: 0;
    margin-bottom: 12px;
    padding: 0;
    line-height: 1.2;
}

.key-findings-content {
    font-size: 14px;
    font-weight: 600;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

.key-findings-content p {
    margin: 0 0 0.5rem 0;
    padding: 0;
    color: rgba(59, 77, 80, 0.8);
}

.key-findings-content p:first-child {
    margin-top: 0;
    padding-top: 0;
}

.key-findings-content p:last-child {
    margin-bottom: 0;
}

/* Project Thumbnails */
.project-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
}

.project-thumbnail {
    width: 160px;
    height: 130px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: #f0f0f0;
    flex-shrink: 0;
    border: 1px solid rgba(10, 106, 71, 0.15);
    padding: 4px;
    box-sizing: border-box;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    border-radius: 4px;
    position: relative;
    will-change: width, height, left, top;
    box-sizing: border-box;
}

.thumbnail-image[src=""],
.thumbnail-image:not([src]),
.thumbnail-image[src="undefined"] {
    display: none;
}

/* Video styles for thumbnails */
.thumbnail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: none;
    border-radius: 4px;
    position: relative;
    will-change: width, height, left, top;
    box-sizing: border-box;
    pointer-events: none; /* Allow clicks to pass through to container */
}

/* When expanded, allow pointer events for video controls */
.project-thumbnail.expanded .thumbnail-video {
    pointer-events: auto;
}

/* Ensure video is visible when it has a src */
.thumbnail-video[src]:not([src=""]):not([src="undefined"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.thumbnail-video[src=""],
.thumbnail-video:not([src]),
.thumbnail-video[src="undefined"] {
    display: none;
}

/* Hide thumbnail only if both image and video are missing */
.project-thumbnail:empty,
.project-thumbnail:has(.thumbnail-image[src=""]):has(.thumbnail-video[src=""]),
.project-thumbnail:has(.thumbnail-image:not([src])):has(.thumbnail-video:not([src])),
.project-thumbnail:has(.thumbnail-image[src="undefined"]):has(.thumbnail-video[src="undefined"]) {
    display: none;
}

/* Hide thumbnail if both image and video are empty */
.project-thumbnail:has(.thumbnail-image[src=""]):has(.thumbnail-video[src=""]),
.project-thumbnail:has(.thumbnail-image:not([src])):has(.thumbnail-video:not([src])) {
    display: none;
}

/* Thumbnail expand icon */
.thumbnail-expand-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    padding: 0;
    background: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.thumbnail-expand-btn:hover {
    opacity: 1;
}

/* Focus styles for thumbnail expand button */
.thumbnail-expand-btn:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 2px;
    opacity: 1;
}

.thumbnail-expand-btn svg {
    width: 14px;
    height: 14px;
    color: #0A6A47;
    stroke-width: 2px;
}

/* Hide expand button on mobile (use tap instead) */
@media (max-width: 768px) {
    .thumbnail-expand-btn {
        display: none;
    }
}

/* Desktop adjustments for methods icons */
@media (min-width: 769px) {
    .methods-icons {
        gap: 32px;
        justify-content: center;
    }

    .method-icon {
        width: 61px;
        height: 61px;
    }

    .method-group img[src*="method-testing2-icon"] {
        width: 56px !important;
        height: 51px !important;
    }
}
/* Hide close button on desktop (browser version) */
@media (min-width: 769px) {
    .thumbnail-close-btn {
        display: none !important;
    }
}

/* Ensure modal-content is positioned for absolute children */
.modal-content {
    position: relative;
}

.project-thumbnail.expanded {
    overflow: visible;
    z-index: 100;
}

/* Ensure non-expanded thumbnails have low z-index to stay below modal content */
.project-thumbnail:not(.expanded) {
    z-index: 1 !important;
    position: relative;
    overflow: hidden;
}

.project-thumbnail:not(.expanded) .thumbnail-image,
.project-thumbnail:not(.expanded) .thumbnail-video {
    z-index: 1 !important;
}

/* Base styles for expanded image/video - will be overridden by inline styles initially */
.project-thumbnail.expanded .thumbnail-image,
.project-thumbnail.expanded .thumbnail-video {
    position: fixed;
    transform: translate(-50%, -50%);
    z-index: 10001 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    object-fit: contain;
    pointer-events: auto;
    /* Smooth, subtle transition from thumbnail position to center */
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Desktop: Show full image with black background */
@media (min-width: 769px) {
    .project-thumbnail.expanded .thumbnail-image {
        object-fit: contain;
        background-color: #000000;
    }
}

/* Reset position when not expanded (for mobile closing) */
@media (max-width: 768px) {
    .project-thumbnail:not(.expanded) .thumbnail-image {
        position: relative !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .project-thumbnail:not(.expanded) .thumbnail-description {
        display: none !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
}

/* Thumbnail description text overlay */
.thumbnail-description {
    display: none;
    position: fixed;
    padding: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #3B4D50;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    z-index: 10002;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 4px 0 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

/* Description only visible when expanded, no interactions */
.project-thumbnail:not(.expanded) .thumbnail-description {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.project-thumbnail.expanded .thumbnail-description {
    display: block;
    opacity: 1;
    pointer-events: none;
}

/* Position description at bottom-left of expanded image (750px × 617px) */
.project-thumbnail.expanded .thumbnail-description {
    bottom: calc(50vh - 309px + 4px); /* Center minus half height plus padding */
    left: calc(50vw - 375px + 4px); /* Center minus half width plus padding */
    max-width: calc(750px - 8px); /* Image width minus padding, prevent overflow */
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile tap support */
@media (max-width: 768px) {
    .project-thumbnail.expanded .thumbnail-image {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        object-fit: contain;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 0;
        z-index: 10001;
    }
    
    .project-thumbnail.expanded::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        z-index: 10000;
        pointer-events: auto;
    }
    
    .project-thumbnail.expanded .thumbnail-description {
        bottom: 2rem;
        left: 1rem;
        right: 1rem;
        max-width: calc(100vw - 2rem);
        background: rgba(255, 255, 255, 0.95);
        padding: 8px 12px;
        border-radius: 4px;
        z-index: 10002;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Hide description when not expanded on mobile */
    .project-thumbnail:not(.expanded) .thumbnail-description {
        display: none !important;
    }
    
    /* Hide modal close button when image is expanded */
    .project-view:has(.project-thumbnail.expanded) .modal-close {
        display: none !important;
        pointer-events: none;
    }
    
    /* Close button for expanded image */
    .thumbnail-close-btn {
        display: none;
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        padding: 0;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        color: #333;
        z-index: 10003;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .project-thumbnail.expanded .thumbnail-close-btn {
        display: flex;
    }
    
    /* Hide modal close button when image is expanded on mobile */
    .project-view:has(.project-thumbnail.expanded) .modal-close {
        display: none !important;
        pointer-events: none;
    }
    
    .thumbnail-close-btn svg {
        width: 24px;
        height: 24px;
        stroke: currentColor;
    }
}

.project-view-final {
    width: 100%;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.project-view-final-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background: white;
    border: 1px solid rgba(10, 106, 71, 0.15);
    padding: 4px;
    box-sizing: border-box;
    border-radius: 8px;
}

.project-view-final-image:not(:last-child) {
    margin-bottom: 32px;
}

.project-view-final-image[src=""],
.project-view-final-image:not([src]),
.project-view-final-image[src="undefined"] {
    display: none;
}

.results-images-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    background: white;
    border: 1px solid rgba(10, 106, 71, 0.15);
    padding: 4px;
    box-sizing: border-box;
    border-radius: 8px;
    margin-bottom: 32px;
}

.results-images-section img:last-child {
    margin-bottom: 0;
}

.results-images-section img.mobile-view-image,
.results-images-section .result-video-container.mobile-view-image {
    width: 50% !important;
    max-width: 50% !important;
    margin-left: auto;
    margin-right: auto;
}

/* Project 4 results are 25% smaller (37.5% instead of 50%) */
.results-images-section[data-project="4"] img.mobile-view-image,
.results-images-section[data-project="4"] .result-video-container.mobile-view-image {
    width: 37.5% !important;
    max-width: 37.5% !important;
}

.results-images-section video.mobile-view-image {
    width: 100% !important;
    max-width: 100% !important;
}

/* Reference Cards Carousel */
.references-section {
    margin-top: 0;
    margin-bottom: 3rem;
}

.references-carousel {
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
    padding-right: 86px; /* Show 80% of 3rd card (428px * 0.2 = 86px hidden) */
}

.carousel-gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(234, 240, 246, 0.4) 40%,
        rgba(238, 242, 246, 0.8) 80%,
        rgba(241, 243, 246, 1) 100%);
    pointer-events: none;
    z-index: 5;
}

.carousel-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(10, 106, 71, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A6A47;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: white;
    border-color: #0A6A47;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

/* Focus styles for carousel arrow */
.carousel-arrow:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 2px;
    border-color: #0A6A47;
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.references-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
    will-change: transform;
    padding-top: 20px;
    padding-bottom: 20px;
}

.reference-card {
    width: 428px;
    flex-shrink: 0;
    background: #f6f9fc;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.0646), 0 2px 8px rgba(0, 0, 0, 0.0323);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    margin-bottom: 20px;
    height: auto;
    align-self: flex-start;
}

.reference-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.reference-row .reference-card {
    flex: 1 1 320px;
    min-width: 320px;
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
}

.reference-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1026), 0 3px 10px rgba(0, 0, 0, 0.0513);
}

.reference-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* About page feedback layout */
.feedback-separator {
    border-top: 1px solid rgba(10, 106, 71, 0.15);
    margin-top: 1rem;
    margin-bottom: 32px;
}

/* Section separators */
.section-separator {
    border-top: 1px solid rgba(10, 106, 71, 0.15);
    margin-top: 40px;
    margin-bottom: 40px;
}

.feedback-grid {
    display: flex;
    flex-direction: column;
    gap: 40px; /* vertical spacing between feedback items */
    margin-top: 0; /* spacing handled by separator */
}

.feedback-item {
    display: flex;
    flex-direction: column;
    gap: 16px; /* text to author block */
}

.feedback-item .reference-text {
    margin: 0; /* remove default margins */
}

.feedback-item .reference-text + .reference-text {
    margin-top: 8px; /* spacing between multiple paragraphs in same item */
}

.feedback-item .reference-author {
    align-items: center;
    gap: 8px; /* icon to name block */
    padding: 0;
}

.reference-text {
    font-size: 14px;
    color: rgba(59, 77, 80, 0.95);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Reduce spacing between text columns ONLY in Feedback from colleagues cards (cards with multiple reference-text elements) */
.reference-content:has(.reference-text + .reference-text) .reference-text {
    margin-bottom: 0;
}

.reference-content:has(.reference-text + .reference-text) .reference-text + .reference-text {
    margin-top: 16px;
}

.reference-content:has(.reference-text + .reference-text) .reference-text:last-of-type {
    margin-bottom: 1.5rem;
}

.reference-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reference-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(10, 106, 71, 0.15);
}

.reference-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reference-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c8e8d8 0%, #b3dcc8 50%, #a0d0b8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-avatar-placeholder .colleague-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.reference-avatar-placeholder .heart-icon {
    width: 16px;
    height: 16px;
    color: #c85a6b;
    opacity: 0.85;
    animation: heartPulse 2s ease-in-out infinite;
    transform-origin: center;
}

.reference-avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.reference-avatar-placeholder .colleague-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.reference-author-info {
    flex: 1;
}

.reference-author-name {
    font-size: 0.95rem;
    color: rgba(59, 77, 80, 0.95);
    margin-bottom: 0.25rem;
}

.reference-author-title {
    font-size: 0.85rem;
    color: rgba(59, 77, 80, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hide layout toggle on mobile */
    .layout-toggle {
        display: none;
    }

    /* Project cards typography to mirror modal sizing */
    .project-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .project-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .cv-link {
        font-size: 14px;
    }

    /* Match project info line with title size on cards */
    .project-image .project-info-line {
        font-size: 14px;
        line-height: 1.3;
    }

    /* Keep key facts text smaller/inline with body size on mobile */
    .key-facts-content {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.6;
    }
    
    .hero-card {
        padding: 16px;
    }

    .profile-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 170px;
        height: 170px;
        border-radius: 50%;
        align-self: center;
    }

    .profile-info {
        padding: 2rem 1.5rem;
    }

    .main-nav, .footer-nav {
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .project-image {
        height: 110px;
        padding: 10px 0;
        box-sizing: border-box;
    }

    /* Force large layout on mobile - grid layout doesn't apply */
    .projects-section.grid-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 530px;
    }
    
    .projects-section.grid-layout .project-image {
        height: 180px;
    }
    
    .projects-section.grid-layout .project-content {
        padding: 1.5rem;
    }
    
    .projects-section.grid-layout .project-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .projects-section.grid-layout .project-description {
        display: block;
    }
    
    .projects-section.grid-layout .expand-btn {
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .projects-section.grid-layout .project-image {
        height: 120px;
    }

    .layout-btn span {
        display: none;
    }

    .layout-btn {
        padding: 0.5rem;
    }
    
    /* Reference cards mobile - full width with same padding as hero */
    .references-carousel {
        padding-left: 0; /* Carousel itself has no padding */
        padding-right: 0;
        overflow-x: hidden !important;
        overflow-y: visible;
        position: relative;
        width: 100vw; /* Full viewport width */
        max-width: 100vw;
    }
    
    .references-track {
        gap: 1rem; /* 16px gap between cards */
        padding-left: 1rem; /* 16px padding to align with body */
        padding-right: 3rem; /* Space for arrow (48px) */
    }
    
    .reference-card {
        width: calc(100vw - 5rem) !important; /* 1rem left padding + 1rem gap + 3rem right arrow space */
        max-width: calc(100vw - 5rem) !important;
        min-width: calc(100vw - 5rem) !important;
        flex-shrink: 0;
    }
    
    /* Hide gradient overlay on mobile */
    .carousel-gradient-overlay {
        display: none;
    }
    
    /* Position arrow properly on mobile */
    .carousel-arrow {
        right: 1rem;
    }

}

@media (max-width: 768px) {
    .project-view {
        padding: 0;
    }
    
    .modal-overlay {
        display: none; /* Hide overlay on mobile for full screen */
    }
    
    .modal-dialog {
        width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        margin: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .modal-content {
        padding: 8px;
        padding-top: calc(24px + 8px);
        height: 100%;
        overflow-y: auto;
    }
    
    .project-view-title-banner {
        width: calc(100% + 16px);
        margin: calc(-24px - 8px - 8px) -8px 32px -8px;
        border-radius: 0;
    }
    
    .project-view-title-banner .project-view-title {
        white-space: nowrap;
        max-width: calc(100vw - 3rem);
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .methods-section {
        width: 100%;
    }
    
    .methods-container {
        width: 100%;
    }
    
    .methods-icons {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .method-group {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .method-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .method-group img[src*="method-testing2-icon"] {
        width: 37px !important;
        height: 32px !important;
    }

    /* Mobile: tighter page margins */
    .project-section {
        margin-left: 8px;
        margin-right: 8px;
    }
    .project-view .project-section {
        margin-left: 8px;
        margin-right: 8px;
    }

    .results-images-section {
        padding: 0 8px;
    }
    .project-view .results-images-section {
        padding: 0 8px;
    }

    /* Ensure thumbnails fit within section on mobile */
    .project-thumbnails {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        width: 100%;
    }

    /* Mobile: slightly smaller thumbnails */
    .project-thumbnail {
        width: 140px;
        height: 112px;
        max-width: 100%;
    }

    /* Mobile: tighter page margins */
    .project-section {
        margin-left: 8px;
        margin-right: 8px;
    }
    .project-view .project-section {
        margin-left: 8px;
        margin-right: 8px;
    }

    .results-images-section {
        padding: 0 8px;
    }
    .project-view .results-images-section {
        padding: 0 8px;
    }

    /* Mobile: slightly smaller thumbnails */
    .project-thumbnail {
        width: 150px;
        height: 120px;
    }
    
    .method-label {
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        z-index: 1003;
    }
    
    .project-title-in-gradient {
        font-size: 16px;
        line-height: 1.3;
        padding: 0 1rem;
        width: calc(100% - 2rem);
    }
    
    /* Mobile font size adjustments */
    .project-view-title-banner .project-view-title {
        font-size: 15px;
        font-weight: 600; /* SemiBold */
        white-space: nowrap;
        max-width: calc(100vw - 3rem);
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 1rem;
        box-sizing: border-box;
        width: 100%;
    }
    
    .project-view-title-banner .project-info-line {
        font-size: 12px;
        font-weight: 400; /* Regular */
    }
    
    .project-view-description {
        font-size: 14px;
        font-weight: 400; /* Regular */
        margin-bottom: 20px;
    }
    
    .my-role-content {
        font-size: 14px;
        font-weight: 400; /* Regular */
    }
    
    .project-view-header {
        margin-bottom: 20px;
    }
    
    .project-section-title {
        font-size: 15px;
        font-weight: 600; /* SemiBold */
    }
    
    .project-section-content {
        font-size: 14px;
        font-weight: 400; /* Regular */
    }
    
    .results-images-section {
        padding: 0 1rem;
        margin-top: 20px;
    }
    
    /* Key Findings mobile font sizes */
    .key-findings-title {
        font-size: 12px;
        font-weight: 300; /* Medium */
    }
    
    .key-findings-content {
        font-size: 12px;
        font-weight: 700; /* Bold */
    }
    
    .key-findings-content p {
        font-size: 12px;
        font-weight: 700; /* Bold */
    }
    
    /* Mobile button styles - smaller with 4px padding */
    .expand-btn,
    .cv-btn,
    .cv-download {
        padding: 4px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .projects-section.grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Awards Section */
.awards-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.awards-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.award-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.award-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
    background: white;
    border: 1px solid rgba(10, 106, 71, 0.15);
    padding: 4px;
    box-sizing: border-box;
}

.award-text {
    width: 150px;
    flex-shrink: 0;
}

.award-description {
    font-size: 14px;
    color: rgba(59, 77, 80, 0.8);
    line-height: 1.6;
    margin: 0;
    margin-bottom: 8px;
}

.award-read-more {
    font-size: 16px;
    line-height: 1.6;
    color: #0A6A47;
    text-decoration: none;
    font-weight: 300;
    display: inline-block;
    margin-top: 0;
    transition: text-decoration 0.2s ease;
}

.award-read-more:hover {
    text-decoration: underline;
}

/* Responsive adjustments for awards */
@media (max-width: 768px) {
    .awards-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .award-item {
        gap: 12px;
        justify-content: center;
    }
    
    .award-text {
        width: auto;
        flex: 1;
        max-width: 200px;
    }
}

/* Welcome Toast Dialog */
.welcome-toast {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 90%;
    width: auto;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.welcome-toast.show {
    bottom: 2rem;
    pointer-events: auto;
}

.welcome-toast-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(10, 106, 71, 0.15);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.welcome-toast-text {
    font-size: 14px;
    color: #3B4D50;
    line-height: 1.6;
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
}

.welcome-toast-close {
    background: #0A6A47;
    color: white;
    border: 1px solid rgba(6, 64, 43, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    align-self: flex-start;
    transition: background 0.2s ease, border-color 0.2s, box-shadow 0.2s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.welcome-toast-close:hover {
    background: #06402B;
    border-color: rgba(6, 64, 43, 0.3);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for toast */
@media (max-width: 768px) {
    .welcome-toast {
        max-width: calc(100% - 2rem);
        left: 1rem;
        right: 1rem;
        transform: none;
    }
    
    .welcome-toast.show {
        bottom: 1rem;
    }
}

/* CV Modal */
.cv-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
}

.cv-modal.show {
    display: block;
}

.cv-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.cv-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(1300px, 90vw);
    max-height: 90vh;
    background: #f7f5f2;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(10, 106, 71, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cv-image-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: white;
    overflow: auto;
    padding: 16px;
}

.cv-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: high-quality;
}

.cv-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hide CV preview on mobile, show only download button */
@media (max-width: 768px) {
    .cv-image-wrapper {
        display: none;
    }
    
    .cv-modal-content {
        height: auto;
        min-height: auto;
    }
}

.cv-download {
    background: #0A6A47;
    color: white;
    border: 1px solid rgba(6, 64, 43, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s, box-shadow 0.2s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.cv-download:hover {
    background: #06402B;
    border-color: rgba(6, 64, 43, 0.3);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.cv-modal-close-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cv-modal-close-btn {
    background: white;
    color: #0A6A47;
    border: 2px solid rgba(10, 106, 71, 0.3);
    font-weight: 600;
}

.cv-modal-close-btn:hover {
    background: rgba(10, 106, 71, 0.1);
    border-color: #0A6A47;
}

/* CV actions buttons inline */
.cv-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.cv-btn {
    background: #0A6A47;
    color: white;
    border: 1px solid rgba(6, 64, 43, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s, box-shadow 0.2s;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}

.cv-btn:hover {
    background: #06402B;
    border-color: rgba(6, 64, 43, 0.3);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.cv-link {
    font-size: 16px;
    color: #0A6A47;
    text-decoration: underline;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cv-link:hover {
    text-decoration: underline;
}

.cv-link .external-link-icon {
    width: 14px;
    height: 14px;
    color: #0A6A47;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Contact Section */
.contact-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.contact-section .project-card {
    max-width: 720px;
    margin: 0 auto;
}

.site-footer {
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: #3B4D50;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: none;
}

.contact-label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: #3B4D50;
    font-weight: 300;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(10, 106, 71, 0.25);
    font-size: 0.95rem;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0A6A47;
    box-shadow: 0 0 0 3px rgba(10, 106, 71, 0.15);
}

/* Focus-visible styles for form inputs (keyboard navigation only) */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid #0A6A47;
    outline-offset: 1px;
    border-color: #0A6A47;
    box-shadow: 0 0 0 1px rgba(10, 106, 71, 0.1);
    padding: calc(0.65rem - 1px) calc(0.75rem - 1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    align-self: flex-start;
}

.contact-success {
    margin-top: 1rem;
    padding: 2rem;
    text-align: center;
}

.contact-success-text {
    font-size: 1.1rem;
    color: #3B4D50;
    font-weight: 300;
    margin: 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Remove background colors from project modal sections, keep padding */
.project-section[data-section="discovery"],
.project-section[data-section="ideation"],
.project-section[data-section="validation"],
.project-section[data-section="results"] {
    background: transparent !important;
}

/* Center thumbnail images */
.project-thumbnails {
    justify-content: center !important;
    margin-top: 44px !important;
}

/* Spacing between sections */
.project-section[data-section="discovery"],
.project-section[data-section="ideation"],
.project-section[data-section="validation"],
.project-section[data-section="results"] {
    margin-bottom: 40px !important;
}

/* Divider lines between project sections (not at top or bottom) */
.project-section:not(:first-child) {
    border-top: 1px solid rgba(10, 106, 71, 0.15);
    padding-top: 32px;
    margin-top: 0;
}

/* Remove bottom margin from sections that have a divider after them */
.project-section:not(:last-child) {
    margin-bottom: 0 !important;
}

/* Adjust thumbnail bottom margin when section has divider after it */
.project-section:not(:last-child) .project-thumbnails {
    margin-bottom: 0 !important;
}

/* Section topic font size */
.project-section-title {
    font-size: 18px !important;
}

/* Make top banner extend to modal edges (remove padding) */
.project-view-title-banner {
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    margin-top: -2rem !important;
    width: calc(100% + 4rem) !important;
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/* Introduction section - single white container for key facts, description, my role, and methods */
.introduction-section {
    background: #FAFAFA;
    border-radius: 8px;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin-top: 0;
    margin-bottom: 0;
}

/* Remove individual backgrounds and adjust spacing */
.introduction-section .key-facts-section {
    background: transparent;
    padding-top: 12px;
    padding-bottom: 32px;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

.introduction-section .project-view-header {
    background: transparent;
    padding: 0;
    margin: 0 0 16px 0;
}

.introduction-section .project-view-description {
    margin-bottom: 0;
    line-height: 1.7;
}

.introduction-section .my-role-section {
    background: transparent;
    padding: 0;
    margin: 0 0 24px 0;
}

.introduction-section .methods-section {
    background: transparent;
    padding: 0;
    margin: 0;
}

.introduction-section .methods-icons {
    margin-bottom: 32px;
}

.introduction-section .methods-wrapper-new {
    margin-bottom: 32px;
}

.introduction-section .method-group {
    gap: 12px;
    margin-bottom: 0;
}

.introduction-section .section-navigation {
    margin-top: 32px;
    margin-bottom: 0;
}

.introduction-section .section-nav-divider {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Remove background from key facts content */
.key-facts-content {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Remove divider between description and my role */
.project-description-divider {
    display: none !important;
}

