/**
 * Case Study Styles - Premium Apple/Netflix Aesthetic
 * Rich interactive elements with scroll animations
 */

/* ================================
   Case Study Side Navigation
   ================================ */
.case-side-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.case-side-nav.visible {
    opacity: 1;
    pointer-events: auto;
}
.case-side-nav a {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text-tertiary);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.case-side-nav a:hover {
    color: var(--color-text-primary);
    border-left-color: var(--color-text-tertiary);
}
.case-side-nav a.active {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
    font-weight: 600;
}
@media (max-width: 1400px) {
    .case-side-nav {
        display: none;
    }
}

/* ================================
   Case Hero Section
   ================================ */
.case-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 100px var(--spacing-section) 30px;
    overflow: hidden;
}

.case-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.case-hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    transition: transform 0.1s linear;
}

.case-hero-bg .orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -150px;
}

.case-hero-bg .orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    bottom: 100px;
    left: -100px;
}

.case-hero-bg .orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    top: 40%;
    left: 30%;
    opacity: 0.15;
}

.case-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.back-link:hover {
    color: var(--color-accent);
}

.back-link svg {
    transition: transform var(--transition-fast);
}

.back-link:hover svg {
    transform: translateX(-5px);
}

.case-hero-header {
    margin-bottom: 1.5rem;
}

.case-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
}

.case-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.case-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.case-meta-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

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

.meta-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.meta-value {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.case-hero-image {
    margin-top: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Constrain hero image height so tall/square screenshots
   don't create excessive scrolling before the overview section */
.case-hero-image .image-frame {
    max-height: 650px;
}

.image-frame img,
.case-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Floating Glass Showcase Hero ── */
.hero-showcase {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    /* Gradient glow border */
    border: 1.5px solid rgba(99, 102, 241, 0.3);
    /* Layered shadows: depth + accent glow */
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.12);
    animation: heroFloat 6s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Hover: lift + intensified glow */
.hero-showcase:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.35),
        0 0 80px rgba(99, 102, 241, 0.25),
        0 0 120px rgba(139, 92, 246, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

/* Shine sweep on hover */
.hero-showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.12) 50%,
        rgba(255, 255, 255, 0.08) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    pointer-events: none;
    z-index: 2;
    border-radius: 20px;
}

.hero-showcase:hover::after {
    animation: showcaseShine 1.5s ease-in-out;
}

@keyframes showcaseShine {
    from { transform: translateX(-100%); }
    to   { transform: translateX(100%); }
}

/* Image / video fills the showcase */
.showcase-img,
.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Light mode */
[data-theme="light"] .hero-showcase {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.1),
        0 0 40px rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .hero-showcase:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.12),
        0 0 80px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .hero-showcase::after {
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 60%
    );
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-showcase {
        animation: none;
    }
    .hero-showcase:hover::after {
        animation: none;
    }
}

/* Mobile: simplify effects */
@media (max-width: 768px) {
    .hero-showcase::after {
        display: none;
    }
    .hero-showcase {
        box-shadow:
            0 15px 50px rgba(0, 0, 0, 0.25),
            0 0 20px rgba(99, 102, 241, 0.1);
    }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Scroll Indicator — override absolute positioning from styles.css */
.case-hero .scroll-indicator {
    position: static !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

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

/* ================================
   Case Sections
   ================================ */
.case-section {
    padding: 60px var(--spacing-section);
}

/* Reduce gap between hero and first section */
.case-hero + .case-section,
.case-hero + .case-side-nav + .case-section {
    padding-top: 30px;
}

/* Hero should never force full viewport height */
.case-hero {
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    padding-bottom: 20px !important;
}

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

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    opacity: 0.7;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Reveal Animation Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Impact Section
   ================================ */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.impact-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.impact-card.highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-color: rgba(99, 102, 241, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-icon {
    margin-bottom: 1rem;
    color: var(--color-accent);
    opacity: 0.8;
}

.impact-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.impact-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-left: 0.25rem;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: 0.75rem;
}

/* ================================
   Overview Section
   ================================ */
.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.overview-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.overview-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.goals-list {
    margin-top: 2rem;
}

.goals-list h4 {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.goals-list ul {
    list-style: none;
    padding: 0;
}

.goals-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.goal-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.overview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-card,
.responsibilities-card,
.info-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.team-card h4,
.responsibilities-card h4,
.info-card h4 {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member:last-child {
    border-bottom: none;
}

.member-role {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.member-count {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px;
}

.responsibility-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    border-radius: 6px;
}

/* ================================
   Background & Content Sections
   ================================ */
.background-content,
.challenge-content {
    max-width: 800px;
}

.background-content p,
.challenge-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.lead-text {
    font-size: 1.15rem !important;
    color: var(--color-text-primary) !important;
    line-height: 1.7 !important;
}

.case-image {
    margin: 1.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.case-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-image:hover img {
    transform: scale(1.02);
}

/* Image background utilities — force readable bg regardless of theme */
.case-image.img-bg-light {
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.case-image.img-bg-light:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.case-image.img-bg-dark {
    background: #1a1a2e;
    padding: 1rem;
}
.case-image.img-bg-dark:hover {
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.15), 0 20px 40px rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .case-image.img-bg-light {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .case-image.img-bg-dark {
    background: #1a1a2e;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* White card background — for dark images that need contrast */
.case-image.img-card-grey {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.case-image.img-card-grey img {
    border-radius: 10px;
}
[data-theme="light"] .case-image.img-card-grey {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Black card background — for light images that need contrast */
.case-image.img-card-black {
    background: #0a0a14;
    padding: 1.5rem;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-image.img-card-black:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.case-image.img-card-black img {
    border-radius: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-image.img-card-black:hover img {
    transform: scale(1.015);
}
[data-theme="light"] .case-image.img-card-black {
    background: #0a0a14;
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .case-image.img-card-black:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Challenge Section — horizontal layout */
.challenge-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .challenge-layout {
        grid-template-columns: 1fr;
    }
}

/* Previous Design Image Treatment */
.case-image.previous-design {
    position: relative;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 40%, #818cf8 70%, #a78bfa 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.case-image.previous-design:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.3), 0 0 30px rgba(129, 140, 248, 0.15);
}
.case-image.previous-design img {
    border-radius: 0 0 12px 12px;
}
[data-theme="light"] .case-image.previous-design {
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 40%, #818cf8 70%, #a78bfa 100%);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.15);
}
[data-theme="light"] .case-image.previous-design:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.25), 0 0 30px rgba(129, 140, 248, 0.1);
}

.previous-design-label {
    position: relative;
    display: inline-block;
    top: auto;
    left: auto;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 600;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.25rem;
}
[data-theme="light"] .previous-design-label {
    color: #e0e0e0;
}

/* Challenge text column */
.challenge-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.challenge-text-col .background-content p {
    margin-bottom: 0.75rem;
}
.challenge-need-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.challenge-need-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}
.challenge-need-card h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.challenge-need-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.case-image-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    perspective: 1000px;
}

.case-image-row img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) rotateX(0);
    animation: imageReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.case-image-row img:first-child {
    animation-delay: 0.1s;
}

.case-image-row img:last-child {
    animation-delay: 0.3s;
}

@keyframes imageReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.case-image-row img:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 40px 80px rgba(99, 102, 241, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.case-image-row img:first-child:hover {
    transform: translateY(-12px) scale(1.02) rotateY(2deg);
}

.case-image-row img:last-child:hover {
    transform: translateY(-12px) scale(1.02) rotateY(-2deg);
}

/* ================================
   Integration Cards (Background section)
   ================================ */
.integration-cards {
    display: flex;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.integration-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.35rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    min-width: 130px;
}

.integration-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.integration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.integration-icon svg {
    width: 32px;
    height: 32px;
}

.integration-card:hover .integration-icon {
    transform: scale(1.08);
}

.integration-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

.integration-card:hover .integration-name {
    color: var(--color-text);
}

/* ================================
   HMW Cards
   ================================ */
.hmw-cards,
.hmw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.hmw-card {
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.hmw-card:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}

.hmw-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.hmw-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* ================================
   Discovery Section
   ================================ */
.discovery-intro {
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
    line-height: 1.5;
}

/* ================================
   Insights Grid
   ================================ */
.insights-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.insight-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.insight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.insight-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.insight-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.insight-card.visible .insight-fill {
    width: var(--fill-width);
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insight-percentage {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
}

.insight-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.insight-content p {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    line-height: 1.5;
    margin: 0;
}

/* ================================
   Quote Section
   ================================ */
.quote-section {
    padding: 3rem 0;
}

.reframe-intro {
    max-width: 700px;
    margin-bottom: 2rem;
}

.reframe-intro h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.reframe-intro p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.user-quote {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 16px;
    text-align: center;
}

.quote-mark {
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.user-quote p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text-primary);
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 1rem;
}

.user-quote cite {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
    font-style: normal;
}

.blocker-definition {
    margin-top: 2rem;
}

.blocker-definition h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.blocker-definition p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ================================
   Iterations Section
   ================================ */
.iterations-intro {
    max-width: 700px;
    margin-bottom: 2rem;
}

.iteration-timeline {
    position: relative;
}

.iteration-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.iteration-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.iteration-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iteration-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.iteration-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    margin-top: 1rem;
}

.iteration-item.final .iteration-number {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.iteration-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-base);
}

.iteration-item.final .iteration-content {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    border-color: rgba(99, 102, 241, 0.2);
}

.iteration-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.iteration-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.iteration-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.iteration-status.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.iteration-status.partial {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.iteration-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.iteration-visual {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.iteration-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.iteration-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.detail-block h4 {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.detail-block p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.detail-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-block li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

.design-system-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.design-system-section h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.design-system-section p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

/* ================================
   Solution Section
   ================================ */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.solution-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.solution-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    border-color: rgba(99, 102, 241, 0.2);
}

.solution-icon {
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}

.solution-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 1.5em;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.solution-features li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.solution-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.solution-image,
.solution-video {
    margin-top: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
}

.solution-image img,
.solution-video video {
    width: 100%;
    height: auto;
    display: block;
}

.solution-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
    perspective: 1000px;
}

.solution-image-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-image-grid img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.solution-image-grid img:nth-child(1):hover {
    transform: translateY(-8px) scale(1.03) rotateY(2deg);
}

.solution-image-grid img:nth-child(2):hover {
    transform: translateY(-8px) scale(1.03) rotateY(-2deg);
}

.solution-image-grid img:nth-child(3):hover {
    transform: translateY(-8px) scale(1.03) rotateY(2deg);
}

.solution-image-grid img:nth-child(4):hover {
    transform: translateY(-8px) scale(1.03) rotateY(-2deg);
}

/* ================================
   Learnings Section
   ================================ */
.learnings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.learning-card {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.learning-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.learning-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(8px);
}

.learning-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.learning-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.learning-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ================================
   Results Section
   ================================ */
.results-content {
    max-width: 900px;
    margin: 0 auto;
}

.results-summary {
    margin-bottom: 2rem;
}

.results-summary .lead-text {
    max-width: 700px;
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-visual {
    flex-shrink: 0;
}

.result-icon {
    color: var(--color-accent);
    opacity: 0.8;
}

.result-content {
    flex: 1;
}

.result-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ================================
   Next Project Section
   ================================ */
.next-project-section {
    padding: 120px var(--spacing-section);
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05));
}

.next-project-content {
    text-align: center;
}

.next-label {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.next-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0.75rem 0 0.5rem;
}

.next-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.next-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.next-link:hover {
    gap: 1rem;
}

.next-link svg {
    transition: transform var(--transition-fast);
}

.next-link:hover svg {
    transform: translateX(6px);
}

/* ================================
   Responsive Styles
   ================================ */
@media (max-width: 1024px) {
    .case-section {
        padding: 80px var(--spacing-section);
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hmw-cards,
    .hmw-grid {
        grid-template-columns: 1fr;
    }

    .research-stats {
        grid-template-columns: 1fr;
    }

    .insights-grid {
        grid-template-columns: 1fr;
    }

    .iteration-item {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }

    .iteration-details {
        grid-template-columns: 1fr;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-card.featured {
        grid-column: span 1;
    }

    .learnings-grid {
        grid-template-columns: 1fr;
    }

    .results-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .case-hero {
        padding: 80px var(--spacing-section) 30px;
    }

    .case-title {
        font-size: 2rem;
    }

    .case-subtitle {
        font-size: 1rem;
    }

    .case-meta-grid {
        gap: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .impact-number,
    .result-number {
        font-size: 2.5rem;
    }

    .user-quote p {
        font-size: 1.25rem;
    }

    .iteration-item {
        grid-template-columns: 1fr;
    }

    .iteration-marker {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .iteration-line {
        width: 100%;
        height: 2px;
        margin: 0;
    }

    .next-title {
        font-size: 2rem;
    }

    .solution-image-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   Image Lightbox
   ================================ */
.case-image img,
.case-image-row img,
.solution-image-grid img {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, opacity 0.3s ease;
}

.lightbox-overlay.is-active {
    opacity: 1;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lightbox-img-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-active .lightbox-img-wrapper {
    transform: scale(1) translateY(0);
}

.lightbox-img-wrapper img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    transform: scale(0.8) rotate(-90deg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-active .lightbox-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.15s;
}

.lightbox-close:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

/* Lightbox navigation arrows */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.is-active .lightbox-nav {
    opacity: 0.7;
    transition-delay: 0.2s;
}

.lightbox-nav:hover {
    opacity: 1 !important;
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav--prev {
    left: 24px;
}

.lightbox-nav--next {
    right: 24px;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-counter {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.is-active .lightbox-counter {
    opacity: 1;
    transition-delay: 0.25s;
}

/* ================================
   Light Mode — Case Study Overrides
   ================================ */
[data-theme="light"] .case-hero {
    background: var(--color-bg-primary);
}
[data-theme="light"] .case-hero-bg .gradient-orb {
    opacity: 0.06;
}
[data-theme="light"] .back-link {
    color: var(--color-text-tertiary);
}
[data-theme="light"] .back-link:hover {
    color: var(--color-accent);
}
[data-theme="light"] .case-category {
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.15);
}

/* Cards & surfaces */
[data-theme="light"] .impact-card,
[data-theme="light"] .insight-card,
[data-theme="light"] .learning-card,
[data-theme="light"] .result-item,
[data-theme="light"] .solution-card,
[data-theme="light"] .team-card,
[data-theme="light"] .responsibilities-card,
[data-theme="light"] .info-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .iteration-content {
    background: var(--color-bg-elevated);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .impact-card:hover,
[data-theme="light"] .solution-card:hover {
    background: var(--color-bg-elevated);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}
[data-theme="light"] .impact-card.highlight {
    background: rgba(79, 70, 229, 0.04);
    border-color: rgba(79, 70, 229, 0.12);
}
[data-theme="light"] .solution-card.featured {
    background: rgba(79, 70, 229, 0.03);
    border-color: rgba(79, 70, 229, 0.12);
}
[data-theme="light"] .iteration-item.final .iteration-content {
    background: rgba(79, 70, 229, 0.04);
    border-color: rgba(79, 70, 229, 0.12);
}

/* Tags */
[data-theme="light"] .tag {
    background: rgba(79, 70, 229, 0.06);
    color: var(--color-accent);
}
[data-theme="light"] .member-count {
    background: rgba(79, 70, 229, 0.08);
}
[data-theme="light"] .team-member {
    border-color: rgba(0, 0, 0, 0.04);
}

/* Bars */
[data-theme="light"] .insight-bar {
    background: rgba(0, 0, 0, 0.06);
}

/* User quote */
[data-theme="light"] .user-quote {
    background: rgba(79, 70, 229, 0.04);
    border-color: rgba(79, 70, 229, 0.12);
}

/* HMW callout */
[data-theme="light"] .hmw-card {
    background: rgba(79, 70, 229, 0.03);
    border-color: rgba(79, 70, 229, 0.08);
}
[data-theme="light"] .hmw-card:hover {
    background: rgba(79, 70, 229, 0.06);
}

/* Images */
[data-theme="light"] .image-frame {
    box-shadow: none;
    border-radius: 0;
}
[data-theme="light"] .case-image {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 16px;
}
[data-theme="light"] .case-image:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .case-image-row img {
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .case-image-row img:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Next project */
[data-theme="light"] .next-project-section {
    background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.03));
}

/* Iteration timeline */
[data-theme="light"] .iteration-number {
    background: rgba(79, 70, 229, 0.06);
}
[data-theme="light"] .learning-number {
    background: rgba(79, 70, 229, 0.06);
}
[data-theme="light"] .learning-card:hover {
    background: rgba(79, 70, 229, 0.03);
}
