/* _content/PersonalWebPage/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-kwok3tk7v5] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-kwok3tk7v5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/PersonalWebPage/Components/Pages/FeaturedPortfolioDetails.razor.rz.scp.css */
/* =========================================================
   FEATURED PORTFOLIO DETAILS
   Site-aligned light / dark design system
========================================================= */

:host[b-epkrs4snd6] {
    display: block;
    min-width: 0;
}

.featured-case-study[b-epkrs4snd6],
.featured-case-study-loading[b-epkrs4snd6],
.featured-case-study-not-found[b-epkrs4snd6],
.featured-case-study-viewer[b-epkrs4snd6] {
    --cs-text: var(--text, #0a1a2f);
    --cs-text-soft: #30445f;
    --cs-muted: var(--muted, #5d6f86);
    --cs-line: var(--line, rgba(9, 30, 56, 0.12));
    --cs-line-strong: rgba(200, 154, 66, 0.34);
    --cs-gold: var(--gold, #d9aa47);
    --cs-gold-light: #f5d88b;
    --cs-gold-dark: #9f742b;
    --cs-navy: var(--navy, #071b33);
    --cs-panel: radial-gradient(circle at 90% 8%, rgba(241, 215, 149, 0.34), transparent 30%), radial-gradient(circle at 8% 88%, rgba(184, 115, 82, 0.11), transparent 31%), radial-gradient(circle at 55% 100%, rgba(140, 137, 96, 0.10), transparent 30%), linear-gradient(135deg, #fdfbf7 0%, #f8f2e7 45%, #f5ecdc 100%);
    --cs-card: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(247, 242, 234, 0.96));
    --cs-card-soft: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(247, 234, 207, 0.72));
    --cs-filter-surface: rgba(210, 190, 151, 0.76);
    --cs-shadow: 0 18px 42px rgba(86, 63, 35, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    --cs-shadow-hover: 0 24px 42px rgba(94, 68, 37, 0.14), 0 0 0 1px rgba(211, 171, 96, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    --cs-radius-shell: 34px;
    --cs-radius-card: 26px;
    --cs-radius-small: 18px;
    --dark-inset: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    --dark-shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.24);
    --dark-gold-light: #c7bea5;
    color: var(--cs-text);
}

html[data-theme="dark"] .featured-case-study[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-loading[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-not-found[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-viewer[b-epkrs4snd6] {
    --cs-text: var(--dark-text, #f7efe2);
    --cs-text-soft: var(--dark-text-soft, #d9ccba);
    --cs-muted: var(--dark-muted-cool, #aab5c6);
    --cs-line: var(--dark-line, rgba(222, 181, 104, 0.16));
    --cs-line-strong: var(--dark-line-strong, rgba(232, 194, 119, 0.30));
    --cs-gold: var(--dark-gold, #d8aa4f);
    --cs-gold-light: var(--dark-gold-light, #c7bea5);
    --cs-gold-dark: var(--dark-gold-deep, #9f742b);
    --cs-navy: var(--dark-text, #f7efe2);
    --cs-panel: radial-gradient(circle at 90% 7%, rgba(216, 170, 79, 0.09), transparent 30%), radial-gradient(circle at 8% 90%, rgba(191, 121, 87, 0.055), transparent 30%), linear-gradient(145deg, rgba(20, 22, 27, 0.98), rgba(29, 25, 21, 0.97));
    --cs-card: linear-gradient(145deg, rgba(255, 244, 219, 0.26), rgba(167, 147, 107, 0.33));
    --cs-card-soft: linear-gradient(145deg, rgba(255, 245, 218, 0.17), rgba(145, 119, 78, 0.24));
    --cs-filter-surface: rgba(173, 158, 125, 0.42);
    --cs-shadow: var(--dark-shadow, 0 24px 56px rgba(0, 0, 0, 0.34)), var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
    --cs-shadow-hover: 0 13px 25px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(233, 186, 91, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color-scheme: dark;
}

/* =========================================================
   PAGE FOUNDATION
========================================================= */

.featured-case-study[b-epkrs4snd6] {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 6px 0 34px;
    display: grid;
    gap: 26px;
    background: transparent;
}

    .featured-case-study > *[b-epkrs4snd6] {
        min-width: 0;
    }

.featured-case-study-section[b-epkrs4snd6],
.featured-case-study-result[b-epkrs4snd6],
.featured-case-study-project-link[b-epkrs4snd6],
.featured-case-study-closing[b-epkrs4snd6] {
    scroll-margin-top: 118px;
}

/* =========================================================
   SHARED LARGE SHELLS
========================================================= */

.featured-case-study-hero[b-epkrs4snd6],
.featured-case-study-section[b-epkrs4snd6],
.featured-case-study-result[b-epkrs4snd6],
.featured-case-study-project-link[b-epkrs4snd6],
.featured-case-study-closing[b-epkrs4snd6],
.featured-case-study-loading[b-epkrs4snd6],
.featured-case-study-not-found[b-epkrs4snd6] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(210, 178, 112, 0.32);
    border-radius: var(--cs-radius-shell);
    background: var(--cs-panel);

}

    .featured-case-study-hero[b-epkrs4snd6]::before,
    .featured-case-study-section[b-epkrs4snd6]::before,
    .featured-case-study-result[b-epkrs4snd6]::before,
    .featured-case-study-project-link[b-epkrs4snd6]::before,
    .featured-case-study-closing[b-epkrs4snd6]::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: radial-gradient(circle at 10% 6%, rgba(231, 202, 130, 0.15), transparent 26%), radial-gradient(circle at 92% 24%, rgba(184, 115, 82, 0.06), transparent 30%), radial-gradient(circle at 50% 100%, rgba(140, 137, 96, 0.07), transparent 38%);
    }

html[data-theme="dark"] .featured-case-study-hero[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-section[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-result[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-project-link[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-closing[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-loading[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-not-found[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.19);
    box-shadow: var(--cs-shadow);
}

    html[data-theme="dark"] .featured-case-study-hero[b-epkrs4snd6]::before,
    html[data-theme="dark"] .featured-case-study-section[b-epkrs4snd6]::before,
    html[data-theme="dark"] .featured-case-study-result[b-epkrs4snd6]::before,
    html[data-theme="dark"] .featured-case-study-project-link[b-epkrs4snd6]::before,
    html[data-theme="dark"] .featured-case-study-closing[b-epkrs4snd6]::before {
        opacity: 0.42;
        filter: saturate(0.78) brightness(0.56);
    }

.featured-case-study-section[b-epkrs4snd6] {
    padding: clamp(28px, 3.5vw, 42px) clamp(22px, 3.4vw, 36px) clamp(24px, 3.2vw, 34px);
    margin-top: -10px;
}

/* =========================================================
   BUTTONS
========================================================= */

.featured-case-study-button[b-epkrs4snd6] {
    position: relative;
    min-height: 48px;
    padding: 0 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 17px;
    color: var(--cs-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.36s cubic-bezier(.16, 1, .3, 1), box-shadow 0.36s ease, border-color 0.32s ease, background 0.32s ease, color 0.32s ease;
}

    .featured-case-study-button svg[b-epkrs4snd6] {
        position: relative;
        z-index: 2;
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.34s cubic-bezier(.16, 1, .3, 1);
    }

    .featured-case-study-button > span[b-epkrs4snd6] {
        position: relative;
        z-index: 2;
    }

    .featured-case-study-button:hover[b-epkrs4snd6] {
        transform: translateY(-4px);
    }

        .featured-case-study-button:hover svg[b-epkrs4snd6] {
            transform: translateX(3px);
        }

.featured-case-study-button--primary[b-epkrs4snd6] {
    color: #071b33;
    border-color: rgba(157, 105, 39, 0.38);
    background: linear-gradient(135deg, #fff1b8 0%, #f5d88b 22%, #d8aa4f 48%, #c58932 72%, #f5d88b 100%);
    box-shadow: 0 16px 30px rgba(151, 99, 31, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

    .featured-case-study-button--primary[b-epkrs4snd6]::before {
        content: "";
        position: absolute;
        top: -90%;
        left: -42%;
        width: 42%;
        height: 280%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.43), transparent);
        transform: rotate(25deg) translateX(-160%);
        transition: transform 0.82s cubic-bezier(.2, .8, .2, 1);
        pointer-events: none;
    }

    .featured-case-study-button--primary:hover[b-epkrs4snd6] {
        color: #071b33;
        box-shadow: 0 22px 40px rgba(151, 99, 31, 0.30), 0 0 0 5px rgba(200, 154, 66, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    }

        .featured-case-study-button--primary:hover[b-epkrs4snd6]::before {
            transform: rotate(25deg) translateX(430%);
        }

.featured-case-study-button--secondary[b-epkrs4snd6] {
    color: #382b20;
    border-color: rgba(149, 103, 44, 0.20);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(243, 231, 208, 0.68));
    box-shadow: 0 12px 26px rgba(74, 52, 31, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

    .featured-case-study-button--secondary:hover[b-epkrs4snd6] {
        color: #382b20;
        border-color: rgba(200, 154, 66, 0.42);
        background: linear-gradient(145deg, rgba(255, 250, 239, 0.96), rgba(241, 215, 149, 0.36));
        box-shadow: 0 18px 34px rgba(74, 52, 31, 0.11), 0 0 0 5px rgba(200, 154, 66, 0.08);
    }

html[data-theme="dark"] .featured-case-study-button--secondary[b-epkrs4snd6] {
    color: var(--dark-text, #f7efe2);
    border-color: rgba(216, 170, 79, 0.18);
    background: linear-gradient(145deg, rgba(255, 244, 219, 0.10), rgba(216, 170, 79, 0.065));
    box-shadow: var(--dark-shadow-soft, 0 16px 34px rgba(0, 0, 0, 0.24)), var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

    html[data-theme="dark"] .featured-case-study-button--secondary:hover[b-epkrs4snd6] {
        color: var(--dark-gold-pale, #fff0c2);
        border-color: rgba(239, 196, 105, 0.46);
        background: linear-gradient(145deg, rgba(255, 245, 218, 0.17), rgba(212, 170, 88, 0.14));
    }

/* =========================================================
   HERO
========================================================= */

.featured-case-study-hero[b-epkrs4snd6] {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(330px, 0.94fr);
    grid-template-rows: auto minmax(440px, auto);
    gap: 0 24px;
    padding: 26px;
}

.featured-case-study-topline[b-epkrs4snd6] {
    grid-column: 1 / -1;
    min-width: 0;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.featured-case-study-topline__type[b-epkrs4snd6],
.featured-case-study-topline__breadcrumb[b-epkrs4snd6] {
    min-height: 42px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(200, 154, 66, 0.25);
    border-radius: 999px;
    color: #895f23;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(247, 235, 210, 0.72));
    box-shadow: 0 9px 22px rgba(84, 58, 28, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
}

.featured-case-study-topline__type[b-epkrs4snd6] {
    gap: 10px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

    .featured-case-study-topline__type > span[b-epkrs4snd6] {
        width: 9px;
        height: 9px;
        flex: 0 0 9px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f2d586, #b9822d);
        box-shadow: 0 0 0 5px rgba(202, 157, 75, 0.10);
    }

.featured-case-study-topline__breadcrumb[b-epkrs4snd6] {
    gap: 10px;
    color: #5d4b31;
    font-size: 12px;
    font-weight: 850;
}

    .featured-case-study-topline__breadcrumb a[b-epkrs4snd6] {
        color: #8a621f;
        transition: color 0.25s ease;
    }

        .featured-case-study-topline__breadcrumb a:hover[b-epkrs4snd6] {
            color: #071b33;
        }

    .featured-case-study-topline__breadcrumb > span:last-child[b-epkrs4snd6] {
        max-width: min(430px, 55vw);
        overflow: hidden;
        color: #0c2242;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

html[data-theme="dark"] .featured-case-study-topline__type[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-topline__breadcrumb[b-epkrs4snd6] {
    color: var(--dark-gold-light, #c7bea5);
    border-color: rgba(216, 170, 79, 0.42);
    background: linear-gradient(145deg, rgba(203, 171, 81, 0.45), rgba(216, 170, 79, 0.31));
    box-shadow: var(--dark-shadow-soft, 0 16px 34px rgba(0, 0, 0, 0.24)), var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

    html[data-theme="dark"] .featured-case-study-topline__breadcrumb a[b-epkrs4snd6],
    html[data-theme="dark"] .featured-case-study-topline__breadcrumb > span:last-child[b-epkrs4snd6] {
        color: var(--dark-text, #f7efe2);
    }

.featured-case-study-hero__content[b-epkrs4snd6] {
    min-width: 0;
    padding: clamp(28px, 4vw, 50px) clamp(8px, 2vw, 20px) clamp(24px, 3vw, 38px) clamp(12px, 2vw, 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.featured-case-study-hero__eyebrow[b-epkrs4snd6] {
    width: fit-content;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8a621f;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

    .featured-case-study-hero__eyebrow i[b-epkrs4snd6] {
        width: 24px;
        height: 1px;
        background: linear-gradient(90deg, var(--cs-gold), transparent);
    }

.featured-case-study-hero h1[b-epkrs4snd6] {
    max-width: 900px;
    margin: 0;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(44deg, #cda86a 0%, #f5d88b 22%, #d8aa4f 48%, #c58932 72%, #f5d88b 100%);
    background-size: 240% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    animation: featuredCaseStudyGoldFlow-b-epkrs4snd6 4s ease-in-out infinite alternate;
    text-shadow: 0 1px 1px rgba(98, 57, 22, 0.08), 0 8px 20px rgba(171, 108, 48, 0.10);
    font-size: clamp(42px, 5.2vw, 72px);
    font-weight: 950;
    line-height: 1.01;
    letter-spacing: -2.6px;
    text-wrap: balance;
    top:-10px;
}

.featured-case-study-hero__lead[b-epkrs4snd6] {
    max-width: 780px;
    margin: 22px 0 0;
    color: var(--cs-muted);
    font-size: clamp(14px, 1.45vw, 17px);
    font-weight: 560;
    line-height: 1.84;
    white-space: pre-line;
}

.featured-case-study-hero__tags[b-epkrs4snd6] {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .featured-case-study-hero__tags span[b-epkrs4snd6] {
        display: inline-flex !important;
        align-items: center !important;
        padding: 10px 14px !important;
        border: 1px solid rgba(205, 168, 99, .25) !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, rgba(255, 250, 238, .95), rgba(246, 233, 202, .88)) !important;
        color: #876020 !important;
        font-size: 11px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .70) !important;
    }

html[data-theme="dark"] .featured-case-study-hero__eyebrow[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-hero__tags span[b-epkrs4snd6] {
    color: var(--dark-gold-light) !important;
    border-color: rgb(216 170 79 / 42%) !important;
    background: linear-gradient(145deg, rgb(203 171 81 / 45%), rgb(216 170 79 / 31%)) !important;
    box-shadow: var(--dark-shadow-soft), var(--dark-inset) !important;
}

html[data-theme="dark"] .featured-case-study-hero__tags span[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.28);
    background: linear-gradient(145deg, rgba(255, 244, 219, 0.10), rgba(216, 170, 79, 0.065));
}

.featured-case-study-hero__actions[b-epkrs4snd6] {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.featured-case-study-hero__metadata[b-epkrs4snd6] {
    width: 100%;
    margin: 30px 0 0;
    padding-top: 19px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgb(56 42 9/0.4);
}

    .featured-case-study-hero__metadata div[b-epkrs4snd6] {
        min-width: 0;
        padding-inline: 16px;
        border-inline-start: 1px solid rgb(56 42 9/0.4);
    }

        .featured-case-study-hero__metadata div:first-child[b-epkrs4snd6] {
            padding-inline-start: 0;
            border-inline-start: 0;
        }

    .featured-case-study-hero__metadata dt[b-epkrs4snd6] {
        margin-bottom: 5px;
        color: var(--cs-muted);
        font-size: 12px;
        font-weight: 850;
        letter-spacing: 0.7px;
        text-transform: uppercase;
    }

    .featured-case-study-hero__metadata dd[b-epkrs4snd6] {
        margin: 0;
        overflow: hidden;
        color: var(--cs-text);
        font-size: 11px;
        font-weight: 900;
        line-height: 1.45;
        text-overflow: ellipsis;
    }

.featured-case-study-hero__visual[b-epkrs4snd6] {
    position: relative;
    min-width: 0;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid rgba(210, 178, 112, 0.28);
    border-radius: 28px;
    background: linear-gradient(145deg, #806d50, #3f3427);
    box-shadow: 0 18px 36px rgba(70, 48, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    
}

    .featured-case-study-hero__visual img[b-epkrs4snd6],
    .featured-case-study-hero__placeholder[b-epkrs4snd6] {
        width: 100%;
        height: 100%;
        min-height: 440px;
        display: block;
        
    }

    .featured-case-study-hero__visual img[b-epkrs4snd6] {
        object-fit: cover;
        transition: transform 0.78s cubic-bezier(.16, 1, .3, 1);
    }

.featured-case-study-hero:hover .featured-case-study-hero__visual img[b-epkrs4snd6] {
    transform: scale(1.028);
}

.featured-case-study-hero__placeholder[b-epkrs4snd6] {
    display: grid;
    place-items: center;
    color: #fff7e6;
    background: radial-gradient(circle at 70% 20%, rgba(245, 216, 139, 0.20), transparent 34%), linear-gradient(145deg, #4b4033, #201b17);
}

    .featured-case-study-hero__placeholder span[b-epkrs4snd6] {
        font-size: clamp(38px, 6vw, 74px);
        font-weight: 950;
    }

.featured-case-study-hero__visual-overlay[b-epkrs4snd6] {
    position: absolute;

    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(10, 12, 15, 0.55), transparent 48%);
}

.featured-case-study-hero__visual-label[b-epkrs4snd6] {
    position: absolute;
    inset-inline: 18px;
    bottom: 18px;
    min-height: 48px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 15px;
    color: #fff;
    background: rgba(16, 20, 25, 0.47);
    backdrop-filter: blur(15px);
}

    .featured-case-study-hero__visual-label span[b-epkrs4snd6] {
        font-size: 9px;
        font-weight: 800;
    }

    .featured-case-study-hero__visual-label strong[b-epkrs4snd6] {
        font-size: 11px;
        font-weight: 950;
    }

/* =========================================================
   TECHNOLOGY CARDS — DIRECTLY UNDER HERO
========================================================= */

.featured-case-study-technologies[b-epkrs4snd6] {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

    .featured-case-study-technologies[b-epkrs4snd6]::before {
        display: none;
    }

.featured-case-study-technologies__grid[b-epkrs4snd6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
    gap: 14px;
}

.featured-case-study-technology-card[b-epkrs4snd6] {
    min-width: 0;

    min-height: 112px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(215, 191, 149, 0.50);
    border-radius: 24px;
    background: radial-gradient(circle at 92% 5%, rgba(232, 199, 132, 0.13), transparent 31%), linear-gradient(145deg, rgba(255, 252, 245, 0.98) 0%, rgba(247, 241, 230, 0.96) 100%) !important;
    box-shadow: 0 12px 25px rgba(79, 56, 30, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.90);
    transition: transform 0.48s cubic-bezier(.22, 1, .36, 1), box-shadow 0.42s ease, border-color 0.42s ease, background 0.42s ease;
}

    .featured-case-study-technology-card:hover[b-epkrs4snd6] {
        transform: translateY(-5px) scale(1.01);
        border-color: rgba(205, 164, 88, 0.50);
        box-shadow: 0 19px 34px rgba(82, 57, 30, 0.12);
    }

    .featured-case-study-technology-card > strong[b-epkrs4snd6] {
        flex: 0 0 auto;
        color: #c18c34;
        font-size: 27px;
        font-weight: 950;
        line-height: 1;
        letter-spacing: -0.8px;
    }

    .featured-case-study-technology-card > div[b-epkrs4snd6] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .featured-case-study-technology-card h3[b-epkrs4snd6] {
        margin: 0;
        overflow: hidden;
        color: var(--cs-navy);
        font-size: 15px;
        font-weight: 900;
        line-height: 1.35;
        text-overflow: ellipsis;
    }

    .featured-case-study-technology-card p[b-epkrs4snd6] {
        margin: 0;
        color: var(--cs-muted);
        font-size: 10px;
        font-weight: 650;
        line-height: 1.4;
    }

html[data-theme="dark"] .featured-case-study-technology-card[b-epkrs4snd6] {
    border-color: rgb(141 129 105) !important;
    background: linear-gradient(145deg, rgb(155 142 114 / 22%), rgb(137 127 107 / 68%)) !important;
    box-shadow: var(--dark-shadow-soft), var(--dark-inset) !important;
}

    html[data-theme="dark"] .featured-case-study-technology-card:hover[b-epkrs4snd6] {
        border-color: rgba(239, 196, 105, 0.58);
        background: linear-gradient(145deg, rgba(255, 245, 218, 0.34), rgba(212, 170, 88, 0.29) 52%, rgba(145, 119, 78, 0.38));
        box-shadow: var(--cs-shadow-hover);
    }

    html[data-theme="dark"] .featured-case-study-technology-card h3[b-epkrs4snd6] {
        color: var(--dark-text, #f7efe2);
    }

    html[data-theme="dark"] .featured-case-study-technology-card p[b-epkrs4snd6] {
        color: var(--dark-muted-cool, #aab5c6);
    }

/* =========================================================
   SECTION NAVIGATION — PORTFOLIO FILTER STYLE
========================================================= */

.featured-case-study-section-nav[b-epkrs4snd6] {
    min-width: 0;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 7px;
    border: 1px solid rgb(109 79 44 / 01%) !important;
    border-radius: 17px !important;
    background: radial-gradient(circle at 50% 5%, rgba(249, 222, 157, 0.24), transparent 30%), linear-gradient(344deg, #c2aa76, #ccb27c);
    box-shadow: 0 4px 4px rgba(72, 48, 25, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
}

.featured-case-study-section-nav__item[b-epkrs4snd6] {
    min-width: 0;
    min-height: 47px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 15px;
    color: #5c4b38;
    background: transparent;
    font-size: 11px;
    font-weight: 900;
    transition: transform 0.3s cubic-bezier(.16, 1, .3, 1), color 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.3s ease;
}

    .featured-case-study-section-nav__item > span[b-epkrs4snd6] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        align-items:center;
        text-align:center;
    }

    .featured-case-study-section-nav__item small[b-epkrs4snd6] {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        color: #65523c;
        background: rgba(111, 92, 53, 0.18);
        font-size: 10px;
        font-weight: 950;
    }

    .featured-case-study-section-nav__item:hover[b-epkrs4snd6] {
        transform: translateY(-2px);
        color: #071b33;
        border-color: rgba(216, 170, 79, 0.28);
        background: rgba(255, 250, 238, 0.68);
    }

    .featured-case-study-section-nav__item.is-active[b-epkrs4snd6] {
        color: #071b33;
        border-color: rgba(216, 170, 79, 0.38);
        background: linear-gradient(145deg, #fff0c7, #f3d58d 50%, #d8aa4f);
        box-shadow: 0 10px 22px rgba(216, 170, 79, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    }

        .featured-case-study-section-nav__item.is-active small[b-epkrs4snd6] {
            color: #071b33;
            background: rgba(11, 12, 15, 0.10);
        }

html[data-theme="dark"] .featured-case-study-section-nav[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.14);
    background: rgba(173, 158, 125, 0.42);
    box-shadow: var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

html[data-theme="dark"] .featured-case-study-section-nav__item[b-epkrs4snd6] {
    color: var(--dark-muted, #aa9e8e);
}

    html[data-theme="dark"] .featured-case-study-section-nav__item small[b-epkrs4snd6] {
        color: var(--dark-muted, #aa9e8e);
        background: rgba(59, 52, 39, 0.99);
    }

    html[data-theme="dark"] .featured-case-study-section-nav__item:hover[b-epkrs4snd6] {
        color: var(--dark-text, #f7efe2);
        background: #93816a;
    }

    html[data-theme="dark"] .featured-case-study-section-nav__item.is-active[b-epkrs4snd6] {
        color: #0b0c0f;
        background: linear-gradient(145deg, var(--dark-gold-pale, #fff0c2), var(--dark-gold-light, #c7bea5) 45%, var(--dark-gold, #d8aa4f));
    }

        html[data-theme="dark"] .featured-case-study-section-nav__item.is-active small[b-epkrs4snd6] {
            color: #0b0c0f;
            background: rgba(11, 12, 15, 0.10);
        }

/* =========================================================
   SHARED SECTION HEADINGS
========================================================= */

.featured-case-study-section-heading[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
    padding-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    border-bottom: 1px solid rgb(56 42 9/0.4);
}

    .featured-case-study-section-heading > div[b-epkrs4snd6] {
        min-width: 0;
    }

.featured-case-study-section-heading__label[b-epkrs4snd6],
.featured-case-study-card-kicker[b-epkrs4snd6],
.featured-case-study-story-card__eyebrow[b-epkrs4snd6],
.featured-case-study-process-step__eyebrow[b-epkrs4snd6],
.featured-case-study-related-card__eyebrow[b-epkrs4snd6],
.featured-case-study-result__content > span[b-epkrs4snd6],
.featured-case-study-project-link > div > span[b-epkrs4snd6],
.featured-case-study-closing__content > span[b-epkrs4snd6] {
    width: fit-content;
    min-height: 32px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(206, 167, 92, 0.4);
    border-radius: 999px;
    color: #9c6b1f;
    background: linear-gradient(135deg, rgba(255, 247, 225, 0.96), rgba(243, 229, 191, 0.92));
    box-shadow: 0 6px 18px rgba(194, 151, 68, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.70);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: 1.8px;
    text-transform: uppercase;

}

    .featured-case-study-section-heading__label[b-epkrs4snd6]::before,
    .featured-case-study-card-kicker[b-epkrs4snd6]::before,
    .featured-case-study-result__content > span[b-epkrs4snd6]::before,
    .featured-case-study-project-link > div > span[b-epkrs4snd6]::before,
    .featured-case-study-closing__content > span[b-epkrs4snd6]::before {
        content: "";
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f2d586, #b9822d);
        box-shadow: 0 0 0 4px rgba(202, 157, 75, 0.10);
    }

.featured-case-study-section-heading h2[b-epkrs4snd6] {
    max-width: 900px;
    margin: 0;
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(44deg, #cda86a 0%, #f5d88b 22%, #d8aa4f 48%, #c58932 72%, #f5d88b 100%);
    background-size: 240% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    animation: featuredCaseStudyGoldFlow-b-epkrs4snd6 4s ease-in-out infinite alternate;
    text-shadow: 0 1px 1px rgba(98, 57, 22, 0.08), 0 8px 20px rgba(171, 108, 48, 0.10);
    font-size: clamp(32px, 4.2vw, 40px);
    font-weight: 900;

    letter-spacing: -1.6px;

}

.featured-case-study-section-heading__number[b-epkrs4snd6] {
    flex: 0 0 auto;
    color: rgba(181, 139, 68, 0.25);
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 950;
    line-height: 0.85;
    letter-spacing: -3px;
}

html[data-theme="dark"] .featured-case-study-section-heading[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.13);
}

html[data-theme="dark"] .featured-case-study-section-heading__label[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-card-kicker[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-story-card__eyebrow[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-process-step__eyebrow[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-related-card__eyebrow[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-result__content > span[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-project-link > div > span[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-closing__content > span[b-epkrs4snd6] {
    color: var(--dark-gold-light, #c7bea5);
    border-color: rgba(216, 170, 79, 0.42);
    background: linear-gradient(145deg, rgba(203, 171, 81, 0.45), rgba(216, 170, 79, 0.31));
    box-shadow: var(--dark-shadow-soft, 0 16px 34px rgba(0, 0, 0, 0.24)), var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

html[data-theme="dark"] .featured-case-study-section-heading h2[b-epkrs4snd6] {
    color: var(--dark-text, #f7efe2);
}

html[data-theme="dark"] .featured-case-study-section-heading__number[b-epkrs4snd6] {
    color: rgba(216, 170, 79, 0.22);
}

html[data-theme="dark"] .featured-case-study-result h2[b-epkrs4snd6] {
    color: #f7efe2;
}
/* =========================================================
   OVERVIEW
========================================================= */
.featured-case-study-introduction__grid[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 18px;
    align-items: stretch;
}

.featured-case-study-introduction__main[b-epkrs4snd6],
.featured-case-study-introduction__summary[b-epkrs4snd6] {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(125, 108, 79, 0.42);
    border-radius: var(--cs-radius-card);
    background: var(--cs-card);
    box-shadow: 0 12px 24px rgba(89, 65, 37, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.featured-case-study-introduction__main[b-epkrs4snd6] {
    position: relative;
    overflow: hidden;
}

    .featured-case-study-introduction__main[b-epkrs4snd6]::after {
        content: "";
        position: absolute;
        inset-block: 22px;
        inset-inline-start: 0;
        width: 4px;
        border-radius: 999px;
        background: linear-gradient(to bottom, #f5d88b, #d8aa4f, #9f742b);
    }

    .featured-case-study-introduction__main p[b-epkrs4snd6] {
        margin: 18px 0 0;
        color: var(--cs-muted);
        font-size: clamp(14px, 1.4vw, 16px);
        font-weight: 520;
        line-height: 1.92;
        white-space: pre-line;
    }

.featured-case-study-introduction__summary > span[b-epkrs4snd6] {
    margin-bottom: 18px;
}

.featured-case-study-introduction__summary dl[b-epkrs4snd6] {
    margin: 0;
    display: grid;
}

    .featured-case-study-introduction__summary dl div[b-epkrs4snd6] {
        padding: 13px 0;
        display: grid;
        grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
        gap: 14px;
        border-bottom: 1px solid rgba(125, 108, 79, 0.18);
    }

        .featured-case-study-introduction__summary dl div:first-child[b-epkrs4snd6] {
            padding-top: 0;
        }

        .featured-case-study-introduction__summary dl div:last-child[b-epkrs4snd6] {
            padding-bottom: 0;
            border-bottom: 0;
        }

.featured-case-study-introduction__summary dt[b-epkrs4snd6] {
    color: var(--cs-muted);
    font-size: 9px;
    font-weight: 750;
}

.featured-case-study-introduction__summary dd[b-epkrs4snd6] {
    margin: 0;
    color: var(--cs-text);
    font-size: 10px;
    font-weight: 900;
    text-align: end;
}

html[data-theme="dark"] .featured-case-study-introduction__main[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-introduction__summary[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.30);
    background: var(--cs-card);
    box-shadow: var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

    html[data-theme="dark"] .featured-case-study-introduction__summary dl div[b-epkrs4snd6] {
        border-color: rgba(216, 170, 79, 0.13);
    }

    html[data-theme="dark"] .featured-case-study-introduction__summary dd[b-epkrs4snd6] {
        color: var(--dark-text, #f7efe2);
    }

/* =========================================================
   STORY CARDS
========================================================= */

.featured-case-study-story__grid[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 16px;
}

.featured-case-study-story-card[b-epkrs4snd6] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 210px;
    padding: 22px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 16px;
    border: 1px solid rgba(125, 108, 79, 0.42);
    border-radius: var(--cs-radius-card);
    background: linear-gradient(145deg, rgba(255, 251, 242, 0.98), rgba(243, 225, 188, 0.70));
    box-shadow: 0 12px 24px rgba(89, 65, 37, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.46s cubic-bezier(.22, 1, .36, 1), box-shadow 0.42s ease, border-color 0.42s ease, background 0.42s ease;
}

.featured-case-study-story-card__accent[b-epkrs4snd6] {
    position: absolute;
    inset-inline: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #d8aa4f, #f5d88b, #d8aa4f, transparent);
    opacity: 0.84;
}

    .featured-case-study-story-card[b-epkrs4snd6]::after {
    content: "";
    position: absolute;
    top: -26px;
    inset-inline-end: -24px;
    z-index: -1;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 191, 111, 0.18), transparent 68%);
}

    .featured-case-study-story-card:hover[b-epkrs4snd6] {
        transform: translateY(-6px) scale(1.01);
        border-color: rgba(209, 170, 96, 0.52);
        box-shadow: var(--cs-shadow-hover);
    }

.featured-case-study-story-card__number[b-epkrs4snd6],
.featured-case-study-process-step__number[b-epkrs4snd6],
.featured-case-study-related-card__number[b-epkrs4snd6] {
    min-width: 50px;
    height: 50px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #0b2344;
    background: linear-gradient(135deg, #f8dd97 0%, #d7ab4e 52%, #b9802e 100%);
    box-shadow: 0 12px 22px rgba(184, 134, 45, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    font-size: 13px;
    font-weight: 950;
    line-height: 1;
}

.featured-case-study-story-card__eyebrow[b-epkrs4snd6],
.featured-case-study-process-step__eyebrow[b-epkrs4snd6],
.featured-case-study-related-card__eyebrow[b-epkrs4snd6] {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    font-size: 8px;
    letter-spacing: 1px;
}

.featured-case-study-story-card h3[b-epkrs4snd6],
.featured-case-study-process-step h3[b-epkrs4snd6],
.featured-case-study-related-card h3[b-epkrs4snd6] {
    margin: 10px 0 0;
    color: var(--cs-navy);
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 950;
    line-height: 1.24;
    letter-spacing: -0.35px;
}

.featured-case-study-story-card p[b-epkrs4snd6],
.featured-case-study-process-step p[b-epkrs4snd6],
.featured-case-study-related-card p[b-epkrs4snd6] {
    margin: 13px 0 0;
    color: var(--cs-muted);
    font-size: 11px;
    font-weight: 520;
    line-height: 1.82;
    white-space: pre-line;
}

html[data-theme="dark"] .featured-case-study-story-card[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-process-step[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-related-card[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.30);
    background: var(--cs-card);
    box-shadow: var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

    html[data-theme="dark"] .featured-case-study-story-card:hover[b-epkrs4snd6],
    html[data-theme="dark"] .featured-case-study-process-step:hover[b-epkrs4snd6],
    html[data-theme="dark"] .featured-case-study-related-card:hover[b-epkrs4snd6] {
        border-color: rgba(239, 196, 105, 0.58);
        background: linear-gradient(145deg, rgba(255, 245, 218, 0.34), rgba(212, 170, 88, 0.29) 52%, rgba(145, 119, 78, 0.38));
        box-shadow: var(--cs-shadow-hover);
    }

html[data-theme="dark"] .featured-case-study-story-card__eyebrow[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-process-step__eyebrow[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-related-card__eyebrow[b-epkrs4snd6] {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--dark-gold-light, #c7bea5);
}

html[data-theme="dark"] .featured-case-study-story-card h3[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-process-step h3[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-related-card h3[b-epkrs4snd6] {
    color: var(--dark-text, #f7efe2);
}

html[data-theme="dark"] .featured-case-study-story-card p[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-process-step p[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-related-card p[b-epkrs4snd6] {
    color: var(--dark-muted-cool, #aab5c6);
}

/* =========================================================
   PROCESS
========================================================= */

.featured-case-study-process__grid[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
    gap: 16px;
}

.featured-case-study-process-step[b-epkrs4snd6] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 210px;
    padding: 22px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 16px;
    border: 1px solid rgba(125, 108, 79, 0.42);
    border-radius: var(--cs-radius-card);
    background: linear-gradient(145deg, rgba(255, 251, 242, 0.98), rgba(243, 225, 188, 0.70));
    box-shadow: 0 12px 24px rgba(89, 65, 37, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.46s cubic-bezier(.22, 1, .36, 1), box-shadow 0.42s ease, border-color 0.42s ease, background 0.42s ease;
}

    .featured-case-study-process-step:hover[b-epkrs4snd6] {
        transform: translateY(-6px) scale(1.01);
        border-color: rgba(209, 170, 96, 0.52);
        box-shadow: var(--cs-shadow-hover);
    }

/* =========================================================
   GALLERY
========================================================= */

.featured-case-study-gallery__grid[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: 15px;
}

.featured-case-study-media-card[b-epkrs4snd6] {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(125, 108, 79, 0.42);
    border-radius: 22px;
    background: var(--cs-card);
    box-shadow: 0 12px 24px rgba(89, 65, 37, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.44s cubic-bezier(.22, 1, .36, 1), box-shadow 0.40s ease, border-color 0.40s ease;
}

    .featured-case-study-media-card:hover[b-epkrs4snd6] {
        transform: translateY(-5px) scale(1.008);
        border-color: rgba(209, 170, 96, 0.52);
        box-shadow: var(--cs-shadow-hover);
    }

.featured-case-study-media-card__visual[b-epkrs4snd6] {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 0;
    display: block;
    border: 0;
    color: inherit;
    background: #17130f;
    cursor: pointer;
}

    .featured-case-study-media-card__visual img[b-epkrs4snd6] {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.68s cubic-bezier(.16, 1, .3, 1), filter 0.36s ease;
    }

.featured-case-study-media-card:hover .featured-case-study-media-card__visual img[b-epkrs4snd6] {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.02);
}

.featured-case-study-media-card__visual[b-epkrs4snd6]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(8, 10, 13, 0.44), transparent 48%);
}

.featured-case-study-media-card__placeholder[b-epkrs4snd6] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #f5d88b;
    background: radial-gradient(circle at 50% 40%, rgba(216, 170, 79, 0.18), transparent 35%), linear-gradient(145deg, #30261e, #171410);
}

    .featured-case-study-media-card__placeholder svg[b-epkrs4snd6] {
        width: 46px;
        height: 46px;
        fill: currentColor;
    }

.featured-case-study-media-card__type[b-epkrs4snd6] {
    position: absolute;
    z-index: 3;
    top: 13px;
    inset-inline-start: 13px;
    min-height: 29px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    color: #fff;
    background: rgba(16, 20, 25, 0.53);
    backdrop-filter: blur(10px);
    font-size: 8px;
    font-weight: 950;
    letter-spacing: 0.8px;
}

.featured-case-study-media-card__action[b-epkrs4snd6] {
    position: absolute;
    z-index: 3;
    inset-inline-end: 13px;
    bottom: 13px;
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: #fff;
    background: rgba(16, 20, 25, 0.53);
    backdrop-filter: blur(10px);
    transition: transform 0.32s cubic-bezier(.16, 1, .3, 1), background 0.32s ease;
}

.featured-case-study-media-card:hover .featured-case-study-media-card__action[b-epkrs4snd6] {
    transform: scale(1.08);
    background: rgba(159, 116, 43, 0.78);
}

.featured-case-study-media-card__action svg[b-epkrs4snd6] {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

    .featured-case-study-media-card__action svg path[d="M8 5v14l11-7z"][b-epkrs4snd6] {
        fill: currentColor;
        stroke: none;
    }

.featured-case-study-media-card figcaption[b-epkrs4snd6] {
    min-height: 84px;
    padding: 15px 17px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
}

    .featured-case-study-media-card figcaption > span[b-epkrs4snd6] {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #0b2344;
        background: linear-gradient(135deg, #f8dd97, #d7ab4e 52%, #b9802e);
        font-size: 9px;
        font-weight: 950;
    }

    .featured-case-study-media-card figcaption h3[b-epkrs4snd6] {
        margin: 1px 0 0;
        color: var(--cs-navy);
        font-size: 13px;
        font-weight: 900;
        line-height: 1.35;
    }

    .featured-case-study-media-card figcaption p[b-epkrs4snd6] {
        display: -webkit-box;
        overflow: hidden;
        margin: 7px 0 0;
        color: var(--cs-muted);
        font-size: 10px;
        line-height: 1.62;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

html[data-theme="dark"] .featured-case-study-media-card[b-epkrs4snd6] {
    border-color: rgba(216, 170, 79, 0.30);
    background: var(--cs-card);
    box-shadow: var(--dark-inset, inset 0 1px 0 rgba(255, 255, 255, 0.045));
}

    html[data-theme="dark"] .featured-case-study-media-card:hover[b-epkrs4snd6] {
        border-color: rgba(239, 196, 105, 0.58);
        box-shadow: var(--cs-shadow-hover);
    }

    html[data-theme="dark"] .featured-case-study-media-card figcaption h3[b-epkrs4snd6] {
        color: var(--dark-text, #f7efe2);
    }

    html[data-theme="dark"] .featured-case-study-media-card figcaption p[b-epkrs4snd6] {
        color: var(--dark-muted-cool, #aab5c6);
    }

/* =========================================================
   FINAL RESULT
========================================================= */

.featured-case-study-result[b-epkrs4snd6] {
    padding: clamp(30px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    margin-top: -10px;
    align-items: center;
    color: #fff;
    border-color: rgba(216, 170, 79, 0.32);
    background: radial-gradient(circle at 90% 10%, rgba(245, 217, 143, 0.22), transparent 31%), linear-gradient(145deg, #c3ad7d, #a78f69);
}

    .featured-case-study-result[b-epkrs4snd6]::before {
        opacity: 0.36;
    }

.featured-case-study-result__content[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.featured-case-study-result h2[b-epkrs4snd6] {
    max-width: 780px;
    margin: 15px 0 0;
    color: #2f220c;
    font-size: clamp(28px, 3.6vw, 48px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -1.45px;
}

.featured-case-study-result p[b-epkrs4snd6] {
    max-width: 880px;
    margin: 17px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 520;
    line-height: 1.88;
    white-space: pre-line;
}

.featured-case-study-result__mark[b-epkrs4snd6] {
    width: 150px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-content: center;
    border: 1px solid rgba(245, 216, 139, 0.25);
    border-radius: 50%;
    color: #634726;
    background: linear-gradient(145deg, rgba(251, 239, 211, 0.91), rgba(225, 203, 157, 0.86));
    box-shadow: 0 16px 28px rgba(72, 47, 22, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    text-align: center;
}

    .featured-case-study-result__mark span[b-epkrs4snd6] {
        margin-bottom: 5px;
        color: #634726;
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .featured-case-study-result__mark strong[b-epkrs4snd6] {
        font-size: 45px;
        font-weight: 950;
        line-height: 1;
        letter-spacing: -2px;
    }

html[data-theme="dark"] .featured-case-study-result[b-epkrs4snd6] {
    background: radial-gradient(circle at 88% 12%, rgba(216, 170, 79, 0.16), transparent 28%), linear-gradient(145deg, #241d18, #35291f 60%, #5d4325 145%);
}

/* =========================================================
   RELATED PROJECTS — WHAT I DO SERVICE CARD STYLE
========================================================= */

.featured-case-study-related__grid[b-epkrs4snd6] {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(315px, 100%), 1fr));
    gap: 16px;
}

.featured-case-study-related-card[b-epkrs4snd6] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 210px;
    padding: 22px;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 16px;
    border: 1px solid rgba(125, 108, 79, 0.42);
    border-radius: var(--cs-radius-card);
    background: linear-gradient(145deg, rgba(255, 251, 242, 0.98), rgba(243, 225, 188, 0.70));
    box-shadow: 0 12px 24px rgba(89, 65, 37, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.46s cubic-bezier(.22, 1, .36, 1), box-shadow 0.42s ease, border-color 0.42s ease, background 0.42s ease;
}

.featured-case-study-related-card__accent[b-epkrs4snd6] {
    position: absolute;
    inset-inline: 22px;
    top: 0;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, #d8aa4f, #f5d88b, #d8aa4f, transparent);
    opacity: 0.84;
}

.featured-case-study-related-card:hover[b-epkrs4snd6] {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(209, 170, 96, 0.52);
    box-shadow: var(--cs-shadow-hover);
}

.featured-case-study-related-card__content[b-epkrs4snd6] {
    min-width: 0;
}

.featured-case-study-related-card p[b-epkrs4snd6] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.featured-case-study-related-card__arrow[b-epkrs4snd6] {
    grid-column: 2;
    justify-self: end;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(210, 178, 111, 0.28);
    border-radius: 50%;
    color: #9a6b1f;
    background: linear-gradient(135deg, rgba(255, 249, 236, 0.92), rgba(246, 233, 200, 0.88));
    transition: transform 0.42s cubic-bezier(.22, 1, .36, 1), background 0.35s ease, border-color 0.35s ease;
}

    .featured-case-study-related-card__arrow svg[b-epkrs4snd6] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.featured-case-study-related-card:hover .featured-case-study-related-card__arrow[b-epkrs4snd6] {
    transform: translateX(4px) scale(1.04);
    border-color: rgba(210, 178, 111, 0.46);
    background: linear-gradient(135deg, rgba(255, 250, 238, 0.98), rgba(245, 230, 193, 0.92));
}

html[data-theme="dark"] .featured-case-study-related-card__arrow[b-epkrs4snd6] {
    color: var(--dark-gold-light, #c7bea5);
    border-color: rgba(216, 170, 79, 0.18);
    background: rgba(167, 151, 120, 0.53);
}

/* =========================================================
   LIVE PROJECT + CLOSING CTA
========================================================= */

.featured-case-study-project-link[b-epkrs4snd6],
.featured-case-study-closing[b-epkrs4snd6] {
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    margin-top: -10px;
}

    .featured-case-study-project-link > div[b-epkrs4snd6],
    .featured-case-study-closing__content[b-epkrs4snd6] {
        position: relative;
        z-index: 2;
        min-width: 0;
    }

    .featured-case-study-project-link h2[b-epkrs4snd6],
    .featured-case-study-closing h2[b-epkrs4snd6] {
        max-width: 850px;
        margin: 15px 0 0;
        color: var(--cs-navy);
        font-size: clamp(27px, 3.3vw, 44px);
        font-weight: 950;
        line-height: 1.1;
        letter-spacing: -1.25px;
        text-wrap: balance;
    }

    .featured-case-study-project-link p[b-epkrs4snd6],
    .featured-case-study-closing p[b-epkrs4snd6] {
        max-width: 820px;
        margin: 15px 0 0;
        color: var(--cs-muted);
        font-size: 12px;
        font-weight: 540;
        line-height: 1.8;
    }

    .featured-case-study-project-link > .featured-case-study-button[b-epkrs4snd6],
    .featured-case-study-closing__actions[b-epkrs4snd6] {
        position: relative;
        z-index: 2;
    }

.featured-case-study-closing__actions[b-epkrs4snd6] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

html[data-theme="dark"] .featured-case-study-project-link h2[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-closing h2[b-epkrs4snd6] {
    color: var(--dark-text, #f7efe2);
}

html[data-theme="dark"] .featured-case-study-project-link p[b-epkrs4snd6],
html[data-theme="dark"] .featured-case-study-closing p[b-epkrs4snd6] {
    color: var(--dark-muted-cool, #aab5c6);
}

/* =========================================================
   MEDIA VIEWER
========================================================= */

.featured-case-study-viewer[b-epkrs4snd6] {
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: clamp(10px, 3vw, 32px);
    display: grid;
    place-items: center;
    background: rgba(8, 10, 13, 0.84);
    backdrop-filter: blur(15px);
    animation: featuredCaseStudyViewerFade-b-epkrs4snd6 0.22s ease both;
}

.featured-case-study-viewer__dialog[b-epkrs4snd6] {
    width: min(1280px, 100%);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    border: 1px solid rgba(216, 170, 79, 0.24);
    border-radius: 26px;
    color: #f7efe2;
    background: radial-gradient(circle at 92% 6%, rgba(216, 170, 79, 0.10), transparent 28%), linear-gradient(145deg, rgba(20, 22, 27, 0.99), rgba(29, 25, 21, 0.99));
    box-shadow: 0 40px 130px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    animation: featuredCaseStudyViewerEnter-b-epkrs4snd6 0.28s ease both;
}

.featured-case-study-viewer__header[b-epkrs4snd6] {
    min-height: 72px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(216, 170, 79, 0.14);
}

    .featured-case-study-viewer__header > div[b-epkrs4snd6] {
        min-width: 0;
    }

    .featured-case-study-viewer__header span[b-epkrs4snd6] {
        display: block;
        margin-bottom: 4px;
        color: #f5d88b;
        font-size: 8px;
        font-weight: 950;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .featured-case-study-viewer__header strong[b-epkrs4snd6] {
        display: block;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.86);
        font-size: 11px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.featured-case-study-viewer__close[b-epkrs4snd6] {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 170, 79, 0.22);
    border-radius: 50%;
    color: #f7efe2;
    background: rgba(255, 244, 219, 0.06);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .featured-case-study-viewer__close:hover[b-epkrs4snd6] {
        transform: rotate(4deg) scale(1.06);
        background: rgba(216, 170, 79, 0.14);
    }

    .featured-case-study-viewer__close svg[b-epkrs4snd6] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

.featured-case-study-viewer__media[b-epkrs4snd6] {
    min-height: 250px;
    display: grid;
    place-items: center;
    background: #0b0c0f;
}

    .featured-case-study-viewer__media img[b-epkrs4snd6],
    .featured-case-study-viewer__media video[b-epkrs4snd6] {
        max-width: 100%;
        max-height: calc(100dvh - 180px);
        display: block;
        object-fit: contain;
    }

    .featured-case-study-viewer__media video[b-epkrs4snd6] {
        width: 100%;
    }

.featured-case-study-viewer__caption[b-epkrs4snd6] {
    margin: 0;
    padding: 16px 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    line-height: 1.75;
    white-space: pre-line;
}

/* =========================================================
   LOADING + NOT FOUND
========================================================= */

.featured-case-study-loading[b-epkrs4snd6] {
    min-height: 560px;
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 24px;
}

.featured-case-study-loading__hero[b-epkrs4snd6] {
    padding: clamp(35px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.featured-case-study-loading__line[b-epkrs4snd6],
.featured-case-study-loading__visual[b-epkrs4snd6] {
    position: relative;
    overflow: hidden;
    background: rgba(125, 108, 79, 0.14);
}

    .featured-case-study-loading__line[b-epkrs4snd6]::after,
    .featured-case-study-loading__visual[b-epkrs4snd6]::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
        animation: featuredCaseStudyShimmer-b-epkrs4snd6 1.45s infinite;
    }

.featured-case-study-loading__line[b-epkrs4snd6] {
    width: 100%;
    height: 16px;
    border-radius: 999px;
}

.featured-case-study-loading__line--small[b-epkrs4snd6] {
    width: 28%;
    height: 10px;
}

.featured-case-study-loading__line--title[b-epkrs4snd6] {
    width: 92%;
    height: 54px;
    border-radius: 16px;
}

.featured-case-study-loading__line--short[b-epkrs4snd6] {
    width: 64%;
}

.featured-case-study-loading__visual[b-epkrs4snd6] {
    min-height: 500px;
    border-radius: 26px;
}

.featured-case-study-not-found[b-epkrs4snd6] {
    min-height: 62vh;
    padding: clamp(45px, 8vw, 92px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.featured-case-study-not-found__code[b-epkrs4snd6] {
    margin-bottom: 18px;
    color: #c18c34;
    font-size: clamp(54px, 9vw, 100px);
    font-weight: 950;
    line-height: 0.86;
    letter-spacing: -4px;
}

.featured-case-study-not-found h1[b-epkrs4snd6] {
    margin: 0;
    color: var(--cs-navy);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.featured-case-study-not-found p[b-epkrs4snd6] {
    max-width: 680px;
    margin: 19px 0 0;
    color: var(--cs-muted);
    font-size: 14px;
    line-height: 1.82;
}

.featured-case-study-not-found__actions[b-epkrs4snd6] {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

html[data-theme="dark"] .featured-case-study-not-found h1[b-epkrs4snd6] {
    color: var(--dark-text, #f7efe2);
}

/* =========================================================
   RTL
========================================================= */

.featured-case-study[dir="rtl"] .featured-case-study-hero h1[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-section-heading h2[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-result h2[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-project-link h2[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-closing h2[b-epkrs4snd6] {
    letter-spacing: 0;
}

.featured-case-study[dir="rtl"] .featured-case-study-section-heading__label[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-card-kicker[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-hero__eyebrow[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-story-card__eyebrow[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-process-step__eyebrow[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-related-card__eyebrow[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-result__content > span[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-project-link > div > span[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-closing__content > span[b-epkrs4snd6],
.featured-case-study[dir="rtl"] .featured-case-study-topline__type[b-epkrs4snd6] {
    letter-spacing: 0;
}

.featured-case-study[dir="rtl"] .featured-case-study-related-card__arrow svg[b-epkrs4snd6] {
    transform: scaleX(-1);
}

.featured-case-study[dir="rtl"] .featured-case-study-related-card:hover .featured-case-study-related-card__arrow[b-epkrs4snd6] {
    transform: translateX(-4px) scale(1.04);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .featured-case-study-hero[b-epkrs4snd6] {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .featured-case-study-hero__content[b-epkrs4snd6] {
        padding: 30px 8px 26px;
    }

    .featured-case-study-hero__visual[b-epkrs4snd6],
    .featured-case-study-hero__visual img[b-epkrs4snd6],
    .featured-case-study-hero__placeholder[b-epkrs4snd6] {
        min-height: 390px;
    }

    .featured-case-study-introduction__grid[b-epkrs4snd6] {
        grid-template-columns: 1fr;
    }

    .featured-case-study-project-link[b-epkrs4snd6],
    .featured-case-study-closing[b-epkrs4snd6] {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .featured-case-study-closing__actions[b-epkrs4snd6] {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 760px) {
    .featured-case-study[b-epkrs4snd6] {
        gap: 18px;
        padding-top: 0;
    }

    .featured-case-study-hero[b-epkrs4snd6],
    .featured-case-study-section[b-epkrs4snd6],
    .featured-case-study-result[b-epkrs4snd6],
    .featured-case-study-project-link[b-epkrs4snd6],
    .featured-case-study-closing[b-epkrs4snd6],
    .featured-case-study-loading[b-epkrs4snd6],
    .featured-case-study-not-found[b-epkrs4snd6] {
        border-radius: 27px;

    }

    .featured-case-study-hero[b-epkrs4snd6] {
        padding: 18px;
    }

    .featured-case-study-topline[b-epkrs4snd6] {
        margin-bottom: 8px;
        flex-direction: column;
        align-items: stretch;
    }

    .featured-case-study-topline__type[b-epkrs4snd6],
    .featured-case-study-topline__breadcrumb[b-epkrs4snd6] {
        width: 100%;
        justify-content: flex-start;
    }

        .featured-case-study-topline__breadcrumb > span:last-child[b-epkrs4snd6] {
            max-width: 46vw;
        }

    .featured-case-study-hero__content[b-epkrs4snd6] {
        padding: 28px 4px 24px;
    }

    .featured-case-study-hero h1[b-epkrs4snd6] {
        font-size: clamp(36px, 10.8vw, 52px);
        letter-spacing: -1.6px;
    }

    .featured-case-study-hero__actions[b-epkrs4snd6] {
        width: 100%;
        flex-direction: column;
    }

        .featured-case-study-hero__actions .featured-case-study-button[b-epkrs4snd6] {
            width: 100%;
        }

    .featured-case-study-hero__metadata[b-epkrs4snd6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 16px;
    }

        .featured-case-study-hero__metadata div:nth-child(3)[b-epkrs4snd6] {
            grid-column: 1 / -1;
            padding-inline-start: 0;
            border-inline-start: 0;
        }

    .featured-case-study-hero__visual[b-epkrs4snd6],
    .featured-case-study-hero__visual img[b-epkrs4snd6],
    .featured-case-study-hero__placeholder[b-epkrs4snd6] {
        min-height: 320px;
        border-radius: 22px;
    }

    .featured-case-study-section[b-epkrs4snd6] {
        padding: 24px 18px 1px;

    }

    .featured-case-study-section-heading[b-epkrs4snd6] {
        align-items: flex-start;
        gap: 16px;
    }

        .featured-case-study-section-heading h2[b-epkrs4snd6] {
            font-size: clamp(28px, 8vw, 38px);
            letter-spacing: -0.8px;
        }

    .featured-case-study-section-heading__number[b-epkrs4snd6] {
        font-size: 42px;
    }

    .featured-case-study-story-card[b-epkrs4snd6],
    .featured-case-study-process-step[b-epkrs4snd6],
    .featured-case-study-related-card[b-epkrs4snd6] {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 18px;
        gap: 13px;
        border-radius: 22px;
    }

    .featured-case-study-story-card__number[b-epkrs4snd6],
    .featured-case-study-process-step__number[b-epkrs4snd6],
    .featured-case-study-related-card__number[b-epkrs4snd6] {
        min-width: 44px;
        height: 44px;
        padding: 0 10px;
        border-radius: 15px;
    }

    .featured-case-study-related-card__arrow[b-epkrs4snd6] {
        grid-column: 2;
    }

    .featured-case-study-result[b-epkrs4snd6] {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }

    .featured-case-study-result__mark[b-epkrs4snd6] {
        width: 125px;
    }

    .featured-case-study-project-link[b-epkrs4snd6],
    .featured-case-study-closing[b-epkrs4snd6] {
        padding: 26px 20px;
    }

        .featured-case-study-project-link > .featured-case-study-button[b-epkrs4snd6],
        .featured-case-study-closing__actions[b-epkrs4snd6],
        .featured-case-study-closing__actions .featured-case-study-button[b-epkrs4snd6] {
            width: 100%;
        }

    .featured-case-study-closing__actions[b-epkrs4snd6] {
        flex-direction: column;
    }

    .featured-case-study-loading[b-epkrs4snd6] {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .featured-case-study-loading__visual[b-epkrs4snd6] {
        min-height: 320px;
    }

    .featured-case-study-viewer[b-epkrs4snd6] {
        padding: 6px;
    }

    .featured-case-study-viewer__dialog[b-epkrs4snd6] {
        max-height: calc(100dvh - 12px);
        border-radius: 20px;
    }

    .featured-case-study-viewer__media img[b-epkrs4snd6],
    .featured-case-study-viewer__media video[b-epkrs4snd6] {
        max-height: calc(100dvh - 155px);
    }
}

@media (max-width: 460px) {
    .featured-case-study-hero__metadata[b-epkrs4snd6] {
        grid-template-columns: 1fr;
    }

        .featured-case-study-hero__metadata div[b-epkrs4snd6],
        .featured-case-study-hero__metadata div:nth-child(3)[b-epkrs4snd6] {
            grid-column: auto;
            padding: 10px 0;
            border-inline-start: 0;
            border-bottom: 1px solid var(--cs-line);
        }

            .featured-case-study-hero__metadata div:last-child[b-epkrs4snd6] {
                border-bottom: 0;
            }

    .featured-case-study-section-heading[b-epkrs4snd6] {
        display: block;
    }

    .featured-case-study-section-heading__number[b-epkrs4snd6] {
        display: block;
        margin-top: 18px;
    }

    .featured-case-study-introduction__summary dl div[b-epkrs4snd6] {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .featured-case-study-introduction__summary dd[b-epkrs4snd6] {
        text-align: start;
    }

    .featured-case-study-media-card figcaption[b-epkrs4snd6] {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 14px;
    }
}

/* =========================================================
   MOTION + ACCESSIBILITY
========================================================= */

@keyframes featuredCaseStudyGoldFlow-b-epkrs4snd6 {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

@keyframes featuredCaseStudyViewerFade-b-epkrs4snd6 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes featuredCaseStudyViewerEnter-b-epkrs4snd6 {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes featuredCaseStudyShimmer-b-epkrs4snd6 {
    to {
        transform: translateX(100%);
    }
}

.featured-case-study a:focus-visible[b-epkrs4snd6],
.featured-case-study button:focus-visible[b-epkrs4snd6],
.featured-case-study-viewer button:focus-visible[b-epkrs4snd6],
.featured-case-study-not-found a:focus-visible[b-epkrs4snd6] {
    outline: 2px solid rgba(245, 216, 139, 0.82);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .featured-case-study *[b-epkrs4snd6],
    .featured-case-study *[b-epkrs4snd6]::before,
    .featured-case-study *[b-epkrs4snd6]::after,
    .featured-case-study-viewer *[b-epkrs4snd6],
    .featured-case-study-loading *[b-epkrs4snd6] {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   FEATURED CASE STUDY HERO — COMPACT LAYOUT FIX
========================================================= */

@media (min-width: 1101px) {

    .featured-case-study-hero[b-epkrs4snd6] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
        column-gap: 24px;
        row-gap: 0;
        padding: 26px;
    }

    /*
       Pillها فقط در ستون محتوای سمت چپ قرار می‌گیرند.
    */
    .featured-case-study-topline[b-epkrs4snd6] {
        grid-column: 1;
        grid-row: 1;
        width: fit-content;
        max-width: 100%;
        margin: 0 0 8px;
    }

    /*
       محتوای اصلی Hero زیر Pillها قرار می‌گیرد.
    */
    .featured-case-study-hero__content[b-epkrs4snd6] {
        grid-column: 1;
        grid-row: 2;
        padding: 18px 20px 26px;
        justify-content: center;
    }

    /*
       تصویر از ابتدای کارت تا انتهای کارت امتداد دارد
       و دیگر زیر Breadcrumb شروع نمی‌شود.
    */
    .featured-case-study-hero__visual[b-epkrs4snd6] {
        grid-column: 2;
        grid-row: 1 / 3;
        min-height: 448px;
    }

        .featured-case-study-hero__visual img[b-epkrs4snd6],
        .featured-case-study-hero__placeholder[b-epkrs4snd6] {
            min-height: 448px;
        }

    .featured-case-study-hero h1[b-epkrs4snd6] {
        font-size: clamp(42px, 4.8vw, 68px);
    }

    .featured-case-study-hero__tags[b-epkrs4snd6] {
        margin-top: 20px;
    }

    .featured-case-study-hero__actions[b-epkrs4snd6] {
        margin-top: 26px;
    }

    .featured-case-study-hero__metadata[b-epkrs4snd6] {
        margin-top: 26px;
        padding-top: 18px;
    }
}


/* =========================================================
   TABLET RESET
========================================================= */

@media (max-width: 1100px) {

    .featured-case-study-hero[b-epkrs4snd6] {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        margin-top:-25px;
    }

    .featured-case-study-topline[b-epkrs4snd6] {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        margin-bottom: 8px;
    }

    .featured-case-study-hero__content[b-epkrs4snd6] {
        grid-column: 1;
        grid-row: 2;
        padding: 28px 8px 26px;
    }

    .featured-case-study-hero__visual[b-epkrs4snd6] {
        grid-column: 1;
        grid-row: 3;
        min-height: 390px;
    }

        .featured-case-study-hero__visual img[b-epkrs4snd6],
        .featured-case-study-hero__placeholder[b-epkrs4snd6] {
            min-height: 390px;
        }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .featured-case-study-hero[b-epkrs4snd6] {
        padding: 18px;
        margin-top:-20px;
    }

    .featured-case-study-technologies__grid[b-epkrs4snd6] {
        margin-top: -20px;
    }

    .featured-case-study-section[b-epkrs4snd6] {

    }

    .featured-case-study-hero__content[b-epkrs4snd6] {
        padding: 24px 4px 22px;
    }

    .featured-case-study-hero__visual[b-epkrs4snd6],
    .featured-case-study-hero__visual img[b-epkrs4snd6],
    .featured-case-study-hero__placeholder[b-epkrs4snd6] {
        min-height: 330px;
    }
}
/* _content/PersonalWebPage/Components/Pages/NotFoundPage.razor.rz.scp.css */
/* =========================================================
   NOT FOUND PAGE
   Uses the global variables from app.css
========================================================= */
:root[b-ya3dsf2yvi] {
    --bg: #f4f7fb;
    --surface: rgba(255, 255, 255, 0.82);
    --text: #0c1726;
    --muted: #607086;
    --line: rgba(16, 34, 54, 0.12);
    --brand: #14b8a6;
    --brand-dark: #0f766e;
    --gold: #d6a84f;
    --navy: #0b1f35;
    --shadow: 0 24px 80px rgba(17, 39, 68, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}



.not-found-page[b-ya3dsf2yvi] {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: clamp( 620px, calc(100svh - 120px), 820px );
    display: grid;
    place-items: center;
    /*
     * در app.css برای page-content مقدار margin-top منفی
     * وجود دارد. این مقدار آن را برای صفحه 404 خنثی می‌کند.
     */

    margin-top: 44px;
    padding: clamp(72px, 8vw, 120px) clamp(22px, 5vw, 72px) clamp(54px, 7vw, 92px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    color: var(--text);
    background: radial-gradient(circle at 90% 8%, rgba(241, 215, 149, 0.34), transparent 30%), radial-gradient(circle at 8% 88%, rgba(184, 115, 82, 0.13), transparent 31%), radial-gradient(circle at 55% 100%, rgba(140, 137, 96, 0.12), transparent 30%), linear-gradient(135deg, #fdfbf7 0%, #f8f2e7 45%, #f5ecdc 100%) !important;
    box-shadow: var(--shadow);
    top:-40px;
}


    /* =========================================================
   DECORATIVE BACKGROUND
========================================================= */

    .not-found-page[b-ya3dsf2yvi]::before,
    .not-found-page[b-ya3dsf2yvi]::after {
        content: "";
        position: absolute;
        z-index: -1;
        width: clamp(250px, 32vw, 520px);
        height: clamp(250px, 32vw, 520px);
        border-radius: 50%;
        pointer-events: none;
    }

    .not-found-page[b-ya3dsf2yvi]::before {
        top: -24%;
        left: -14%;
        background: radial-gradient(circle at 90% 8%, rgba(241, 215, 149, 0.34), transparent 30%), radial-gradient(circle at 8% 88%, rgba(184, 115, 82, 0.13), transparent 31%), radial-gradient(circle at 55% 100%, rgba(140, 137, 96, 0.12), transparent 30%), linear-gradient(135deg, #fdfbf7 0%, #f8f2e7 45%, #f5ecdc 100%) !important;
    }

    .not-found-page[b-ya3dsf2yvi]::after {
        right: -16%;
        bottom: -28%;
        background: radial-gradient( circle, color-mix( in srgb, var(--brand) 16%, transparent ), transparent 70% );
    }


/* =========================================================
   INNER PANEL
========================================================= */

.not-found-page__panel[b-ya3dsf2yvi] {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
}


/* =========================================================
   LARGE 404 NUMBER
========================================================= */

.not-found-page__code[b-ya3dsf2yvi] {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.12em 0 0.08em;
    color: transparent;
    font-size: clamp( 116px, 17vw, 238px );
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.095em;
    background: linear-gradient( 110deg, color-mix( in srgb, var(--gold) 72%, var(--surface-solid) ) 0%, var(--gold) 32%, color-mix( in srgb, var(--gold) 82%, var(--text) ) 68%, var(--gold) 100% );
    background-size: 220% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow( 0 18px 30px color-mix( in srgb, var(--gold) 22%, transparent ) );
    animation: not-found-gold-motion-b-ya3dsf2yvi 9s ease-in-out infinite alternate;
}

    .not-found-page__code span[b-ya3dsf2yvi] {
        display: block;
        padding:10px;
    }


/* =========================================================
   EYEBROW
========================================================= */

.not-found-page__eyebrow[b-ya3dsf2yvi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: clamp(12px, 2vw, 24px);
    padding: 10px 16px;
    border: 1px solid color-mix( in srgb, var(--gold) 36%, var(--line) );
    border-radius: 999px;
    color: color-mix( in srgb, var(--gold) 72%, var(--text) );
    background: color-mix( in srgb, var(--gold) 9%, var(--surface-solid) );
    box-shadow: inset 0 1px 0 color-mix( in srgb, var(--surface-solid) 80%, transparent );
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.not-found-page__eyebrow-dot[b-ya3dsf2yvi] {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px color-mix( in srgb, var(--gold) 16%, transparent );
}


/* =========================================================
   TITLE AND DESCRIPTION
========================================================= */

.not-found-page__title[b-ya3dsf2yvi] {
    max-width: 820px;
    margin: clamp(28px, 4vw, 44px) auto 0;
    color: var(--text);
    font-size: clamp( 36px, 5.2vw, 68px );
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.045em;
    text-align: center;
    text-wrap: balance;
}

.not-found-page__description[b-ya3dsf2yvi] {
    max-width: 700px;
    margin: clamp(18px, 2.5vw, 26px) auto 0;
    color: var(--muted);
    font-size: clamp( 15px, 1.45vw, 19px );
    font-weight: 600;
    line-height: 1.85;
    text-align: center;
    text-wrap: pretty;
}


/* =========================================================
   BUTTONS
========================================================= */

.not-found-page__actions[b-ya3dsf2yvi] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(30px, 4vw, 42px);
}

.not-found-page__button[b-ya3dsf2yvi] {
    min-width: 188px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

    .not-found-page__button:hover[b-ya3dsf2yvi] {
        transform: scale(1.025);
    }

    .not-found-page__button:focus-visible[b-ya3dsf2yvi] {
        outline: 3px solid color-mix( in srgb, var(--gold) 30%, transparent );
        outline-offset: 4px;
    }


/* Primary button automatically follows the global theme */

.not-found-page__button--primary[b-ya3dsf2yvi] {
    color: #382b20;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(243, 231, 208, 0.68)) !important;
    box-shadow: 0 12px 26px rgba(74, 52, 31, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

    .not-found-page__button--primary:hover[b-ya3dsf2yvi] {
        background: linear-gradient( 145deg, rgba(255, 250, 239, 0.96), rgba(241, 215, 149, 0.36) ) !important;
        box-shadow: 0 18px 34px rgba(74, 52, 31, 0.11), 0 0 0 5px rgba(200, 154, 66, 0.08) !important;
    }


/* Secondary button automatically follows the global theme */

.not-found-page__button--secondary[b-ya3dsf2yvi] {
    color: var(--text);
    border-color: rgba(149, 103, 44, 0.20) !important;
    color: #382b20 !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(243, 231, 208, 0.68)) !important;
    box-shadow: 0 12px 26px rgba(74, 52, 31, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

    .not-found-page__button--secondary:hover[b-ya3dsf2yvi] {
        background: linear-gradient( 145deg, rgba(255, 250, 239, 0.96), rgba(241, 215, 149, 0.36) ) !important;
        box-shadow: 0 18px 34px rgba(74, 52, 31, 0.11), 0 0 0 5px rgba(200, 154, 66, 0.08) !important;
    }


/* =========================================================
   PERSIAN VERSION
========================================================= */

.not-found-page[dir="rtl"][b-ya3dsf2yvi] {
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}

    .not-found-page[dir="rtl"]
    .not-found-page__eyebrow[b-ya3dsf2yvi] {
        letter-spacing: 0;
        text-transform: none;
    }

    .not-found-page[dir="rtl"]
    .not-found-page__title[b-ya3dsf2yvi] {
        letter-spacing: -0.03em;
        line-height: 1.35;
        text-align: center !important;
    }

    .not-found-page[dir="rtl"]
    .not-found-page__description[b-ya3dsf2yvi] {
        line-height: 2;
    }


/* =========================================================
   GOLD ANIMATION
========================================================= */

@keyframes not-found-gold-motion-b-ya3dsf2yvi {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (min-width: 721px) and (max-width: 1499px) {


    .not-found-page[b-ya3dsf2yvi] {
        top:-40px;
    }










@media (max-width: 720px) {
    .not-found-page[b-ya3dsf2yvi] {
        min-height: 600px;
        margin-top: 28px;
        padding: 66px 20px 52px;
        border-radius: 26px;
        top: -64px;
    }

    .not-found-page__code[b-ya3dsf2yvi] {
        font-size: clamp( 108px, 35vw, 170px );
        letter-spacing: -0.08em;
    }

    .not-found-page__title[b-ya3dsf2yvi] {
        font-size: clamp( 31px, 9vw, 46px );
    }

    .not-found-page__actions[b-ya3dsf2yvi] {
        flex-direction: column;
    }

    .not-found-page__button[b-ya3dsf2yvi] {
        width: min(100%, 330px);
    }
}


@media (max-width: 420px) {
    .not-found-page[b-ya3dsf2yvi] {
        min-height: 560px;
        padding-inline: 16px;
    }

    .not-found-page__eyebrow[b-ya3dsf2yvi] {
        font-size: 11px;
    }

    .not-found-page__description[b-ya3dsf2yvi] {
        font-size: 14px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .not-found-page__code[b-ya3dsf2yvi] {
        animation: none;
    }

    .not-found-page__button[b-ya3dsf2yvi] {
        transition: none;
    }
}
