/* ================================
   GLOBAL
================================ */

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

html {
    scroll-behavior: smooth;
}

:root {
    --ink: #17162c;
    --navy: #15152d;
    --deep: #111126;

    --purple: #8068f0;
    --violet: #a678ef;
    --pink: #e59adf;
    --blue: #7fb7ee;
    --aqua: #8fd8df;

    --pearl: #f9f8ff;
    --lavender: #f2effd;
    --lavender-2: #ebe7fb;

    --text: #34344d;
    --muted: #68687d;

    --border: rgba(118, 102, 196, 0.16);

    --gradient:
        linear-gradient(
            115deg,
            #7e72e8 0%,
            #a981e8 25%,
            #df9fd8 48%,
            #8db9e9 72%,
            #8fd8df 100%
        );

    --holographic:
        linear-gradient(
            110deg,
            #9c8cf4,
            #e7a3dc,
            #91c5ef,
            #a6e1dd,
            #c1a4f3
        );

    --shadow:
        0 24px 70px rgba(66, 55, 130, 0.13);
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(181, 160, 244, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 30%,
            rgba(126, 201, 229, 0.12),
            transparent 28%
        ),
        var(--pearl);

    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 105px 0;
}


/* ================================
   BACKGROUND GLOWS
================================ */

.page-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.13;
    pointer-events: none;
    z-index: -1;
}

.glow-one {
    background: #9f7aea;
    top: 5%;
    right: -220px;
}

.glow-two {
    background: #73c9e8;
    bottom: 5%;
    left: -250px;
}


/* ================================
   NAVIGATION
================================ */

nav {
    width: calc(100% - 48px);
    max-width: 1180px;

    margin: 20px auto 0;
    padding: 13px 20px;

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

    position: relative;
    z-index: 20;

    background: rgba(255, 255, 255, 0.67);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 18px;

    box-shadow:
        0 12px 40px rgba(70, 60, 120, 0.08);
}
/* ================================
   CORDERIALLY EMMY LOGO
================================ */

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    width: 190px;
    height: 58px;

    flex-shrink: 0;

    text-decoration: none;

    background: transparent;
    border-radius: 0;
    box-shadow: none;

    transition: opacity 0.2s ease;
}

.logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left center;
}

.logo:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.82;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 29px;

    list-style: none;
}

nav ul a {
    color: #4d4c68;
    text-decoration: none;

    font-size: 0.91rem;
    font-weight: 650;

    transition: color 0.2s ease;
}

nav ul a:hover {
    color: var(--purple);
}


/* ================================
   HERO
================================ */

.hero-wrapper {
    padding: 24px 24px 0;
}

.hero {
    max-width: 1180px;
    min-height: 680px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;

    border-radius: 34px;

    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(197, 159, 239, 0.36),
            transparent 30%
        ),
        radial-gradient(
            circle at 68% 78%,
            rgba(111, 197, 225, 0.24),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7f4ff 0%,
            #eeeafa 40%,
            #f7edf8 68%,
            #eaf5fa 100%
        );

    border: 1px solid rgba(151, 128, 217, 0.13);

    box-shadow:
        0 35px 90px rgba(73, 61, 128, 0.12);
}

.hero::before {
    content: "";

    position: absolute;
    width: 380px;
    height: 380px;

    right: -80px;
    top: -120px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(171, 137, 238, 0.26),
            rgba(115, 202, 224, 0.18),
            rgba(233, 159, 215, 0.23)
        );

    filter: blur(20px);
}

.hero::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: 35%;
    bottom: -350px;

    border-radius: 50%;

    border: 1px solid rgba(127, 105, 219, 0.15);
    box-shadow:
        0 0 0 45px rgba(255, 255, 255, 0.09),
        0 0 0 90px rgba(255, 255, 255, 0.05);
}

.hero-content {
    width: 100%;

    padding: 80px;

    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 70px;

    position: relative;
    z-index: 2;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 8px 13px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(129, 105, 220, 0.14);

    color: #7163bc;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--ink);

    font-size: clamp(3.8rem, 7vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.065em;

    margin-bottom: 25px;
}

.gradient-text,
.soft-gradient-text,
.holographic-text {
    background: var(--holographic);
    background-size: 200% 200%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}

.gradient-text {
    display: inline-block;
}

.hero h2 {
    max-width: 650px;

    color: #282740;

    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.17;
    letter-spacing: -0.035em;

    margin-bottom: 23px;
}

.hero-highlight {
    color: #6858bc;
}

.hero-description {
    max-width: 620px;

    color: #5f5e74;

    font-size: 1.06rem;
    line-height: 1.8;

    margin-bottom: 30px;
}


/* ================================
   BUTTONS
================================ */

.buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 20px;

    border-radius: 12px;

    text-decoration: none;
    font-size: 0.91rem;
    font-weight: 750;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--gradient);
    color: white;

    box-shadow:
        0 12px 30px rgba(125, 100, 222, 0.24);
}

.button.primary:hover {
    box-shadow:
        0 17px 38px rgba(125, 100, 222, 0.31);
}

.button.secondary {
    color: #55526f;

    background: rgba(255, 255, 255, 0.68);

    border: 1px solid rgba(114, 95, 185, 0.16);
}

.button.secondary:hover {
    background: white;
}


/* ================================
   HERO CREDENTIALS
================================ */

.hero-credentials {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 30px;
}

.hero-credentials span {
    padding: 6px 11px;

    border-radius: 8px;

    color: #68637d;

    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.75);

    font-size: 0.76rem;
    font-weight: 700;
}


/* ================================
   HERO PORTRAIT
================================ */

.hero-visual {
    min-height: 500px;

    position: relative;

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

.portrait-glow {
    position: absolute;

    width: 360px;
    height: 440px;

    border-radius: 45%;

    background: var(--holographic);

    filter: blur(45px);
    opacity: 0.36;

    transform: rotate(7deg);
}

.portrait-frame {
    width: 335px;
    height: 445px;

    position: relative;
    z-index: 2;

    padding: 5px;

    border-radius: 35px;

    background: var(--holographic);

    box-shadow:
        0 30px 70px rgba(63, 52, 113, 0.23);
}

.portrait-frame::after {
    content: "";

    position: absolute;
    inset: 5px;

    border-radius: 30px;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);

    pointer-events: none;
}

.portrait-frame {
    overflow: hidden;
}

.portrait-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: 47% 32%;

    transform: scale(1.55);

    border-radius: 30px;
}

.floating-card {
    position: absolute;
    z-index: 4;

    padding: 11px 15px;

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.72);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, 0.9);

    color: #48445e;

    font-size: 0.77rem;
    font-weight: 750;

    box-shadow:
        0 15px 35px rgba(60, 50, 100, 0.14);
}

.floating-card-top {
    top: 75px;
    right: -10px;
}

.floating-card-bottom {
    bottom: 55px;
    left: -10px;
}

.floating-icon {
    color: #a16ae2;
    margin-right: 4px;
}


/* ================================
   SECTION TYPOGRAPHY
================================ */

.section-label {
    color: #7964c5;

    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    margin-bottom: 10px;
}

section h2 {
    max-width: 800px;

    color: var(--ink);

    font-size: clamp(2.15rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.045em;

    margin-bottom: 23px;
}

.section-intro {
    max-width: 720px;

    color: var(--muted);

    font-size: 1.03rem;

    margin-bottom: 42px;
}


/* ================================
   ABOUT
================================ */

#about {
    background:
        linear-gradient(
            180deg,
            rgba(249, 248, 255, 0.8),
            rgba(244, 241, 252, 0.92)
        );
}

.about-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;

    gap: 70px;
    align-items: start;

    margin-top: 40px;
}

.about-text p {
    color: #5f5e72;

    font-size: 1.04rem;

    margin-bottom: 18px;
}

.skills {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 28px;
}

.skill {
    padding: 7px 12px;

    border-radius: 9px;

    color: #625c79;

    background:
        linear-gradient(
            135deg,
            rgba(239, 234, 253, 0.9),
            rgba(239, 247, 252, 0.9)
        );

    border: 1px solid rgba(126, 105, 205, 0.12);

    font-size: 0.8rem;
    font-weight: 700;
}

.glass-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.76),
            rgba(245, 240, 255, 0.58)
        );

    border: 1px solid rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow: var(--shadow);
}

.quick-info {
    padding: 30px;

    border-radius: 24px;
}

.mini-label {
    color: #8871ca;

    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.14em;

    margin-bottom: 17px;
}

.quick-item {
    padding: 16px 0;

    border-bottom:
        1px solid rgba(112, 96, 169, 0.1);
}

.quick-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quick-item span {
    display: block;

    color: #8b899a;

    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    margin-bottom: 3px;
}

.quick-item strong {
    color: #45435a;

    font-size: 0.91rem;
}


/* ================================
   IMPACT
================================ */

.impact {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(168, 129, 232, 0.34),
            transparent 32%
        ),
        radial-gradient(
            circle at 88% 70%,
            rgba(108, 196, 221, 0.23),
            transparent 33%
        ),
        radial-gradient(
            circle at 58% 15%,
            rgba(228, 150, 208, 0.16),
            transparent 27%
        ),
        var(--deep);

    color: white;
}

.impact::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.025) 50%,
            transparent 80%
        );

    pointer-events: none;
}

.impact .container {
    position: relative;
    z-index: 2;
}

.impact h2 {
    color: white;
}

.impact .section-intro {
    color: #c4c1d6;
}

.light-label {
    color: #c8b7ff;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 42px;
}

.stat {
    min-height: 205px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.045)
        );

    border:
        1px solid rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.stat:hover {
    transform: translateY(-5px);

    border-color:
        rgba(205, 179, 255, 0.32);
}

.stat strong {
    width: fit-content;

    margin-bottom: 8px;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: -0.06em;
}

.stat span {
    color: #d7d4e2;

    font-size: 0.88rem;
}


/* ================================
   WORK
================================ */

#experience {
    background:
        linear-gradient(
            180deg,
            #f8f7fd 0%,
            #f2effb 100%
        );
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

    margin-top: 42px;
}

.work-card {
    min-height: 360px;

    padding: 35px;

    position: relative;
    overflow: hidden;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.91),
            rgba(247, 242, 255, 0.76)
        );

    border: 1px solid rgba(121, 99, 194, 0.11);

    box-shadow:
        0 18px 50px rgba(65, 53, 113, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.work-card::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    background: var(--holographic);

    opacity: 0.14;
    filter: blur(15px);
}

.work-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 26px 65px rgba(65, 53, 113, 0.13);
}

.card-number {
    position: absolute;

    right: 28px;
    bottom: 10px;

    color: rgba(113, 92, 187, 0.055);

    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
}

.tag {
    display: inline-block;

    padding: 6px 10px;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            rgba(152, 122, 228, 0.12),
            rgba(110, 192, 224, 0.12)
        );

    color: #7562b9;

    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 22px;
}

.work-card h3 {
    max-width: 430px;

    color: #2d2c43;

    font-size: 1.55rem;
    line-height: 1.22;
    letter-spacing: -0.025em;

    margin-bottom: 15px;
}

.work-card > p {
    max-width: 470px;

    color: #686679;

    font-size: 0.94rem;
}

.card-results {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 26px;

    position: relative;
    z-index: 2;
}

.card-results span {
    padding: 6px 9px;

    border-radius: 7px;

    background: rgba(124, 103, 202, 0.07);

    color: #6d6682;

    font-size: 0.69rem;
    font-weight: 700;
}


/* ================================
   CONTACT
================================ */

.contact {
    padding: 90px 24px;

    background:
        linear-gradient(
            180deg,
            #f2effb,
            #f9f8ff
        );
}

.contact-card {
    max-width: 1050px;

    margin: 0 auto;
    padding: 65px;

    position: relative;
    overflow: hidden;

    border-radius: 30px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(174, 131, 232, 0.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(109, 193, 220, 0.22),
            transparent 30%
        ),
        #18172e;

    color: white;

    box-shadow:
        0 30px 75px rgba(46, 39, 91, 0.2);
}

.contact-card h2 {
    color: white;
}

.contact-card > p:not(.section-label) {
    max-width: 620px;

    color: #cbc8d8;

    margin-bottom: 28px;
}

.glass-button {
    color: white;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.17);
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.13);
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 28px 20px;

    text-align: center;

    background: #f9f8ff;

    color: #858296;

    font-size: 0.75rem;
}


/* ============================================================
   RÉSUMÉ PAGE
   ============================================================ */

.resume-hero {
    padding: 95px 0 75px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(176, 137, 231, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(116, 198, 224, 0.17),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7f4ff,
            #f0edf9
        );

    border-bottom:
        1px solid rgba(124, 102, 199, 0.1);
}

.resume-hero h1 {
    color: var(--ink);

    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.055em;

    margin-bottom: 14px;
}

.resume-hero h2 {
    max-width: 760px;

    color: #56536c;

    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;

    margin-bottom: 12px;
}

.resume-location {
    color: #858194;

    margin-bottom: 25px;
}

.resume-section {
    padding: 80px 0;

    background: #faf9ff;
}

.resume-alt {
    background:
        linear-gradient(
            180deg,
            #f2effa,
            #f6f4fc
        );
}

.resume-container {
    display: grid;
    grid-template-columns: 0.38fr 1fr;

    gap: 70px;
}

.resume-section-title h2 {
    font-size: 1.8rem;
}

.resume-content {
    max-width: 760px;
}

.resume-content p {
    color: #646277;

    margin-bottom: 16px;
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 35px;
}

.competency-card,
.credential-card {
    padding: 26px;

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.9),
            rgba(246, 242, 255, 0.75)
        );

    border: 1px solid rgba(120, 98, 193, 0.1);

    box-shadow:
        0 12px 35px rgba(70, 57, 118, 0.06);
}

.competency-card h3 {
    color: #38364e;

    font-size: 1rem;

    margin-bottom: 9px;
}

.competency-card p {
    color: #6f6c7d;

    font-size: 0.85rem;
}

.resume-job {
    margin-top: 42px;
    padding: 35px;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.93),
            rgba(248, 245, 255, 0.8)
        );

    border: 1px solid rgba(122, 100, 194, 0.11);

    box-shadow:
        0 15px 45px rgba(68, 55, 114, 0.07);
}

.job-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding-bottom: 20px;

    border-bottom:
        1px solid rgba(119, 101, 174, 0.11);
}

.job-header h3 {
    color: #302e46;

    font-size: 1.35rem;
}

.company-detail,
.job-period {
    color: #858294;

    font-size: 0.82rem;
}

.job-period {
    white-space: nowrap;
}

.role {
    padding-top: 28px;
}

.role + .role {
    margin-top: 25px;

    border-top:
        1px solid rgba(118, 99, 174, 0.1);
}

.role-heading {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;
}

.role-heading h4 {
    color: #414057;

    font-size: 1rem;
}

.role-heading h4 span {
    display: block;

    color: #8272bc;

    font-size: 0.78rem;
    font-weight: 700;

    margin-top: 2px;
}

.role-heading p {
    color: #8d899a;

    font-size: 0.78rem;
    white-space: nowrap;
}

.role ul {
    padding-left: 20px;
}

.role li {
    color: #676577;

    font-size: 0.88rem;

    margin-bottom: 10px;
}

.role li::marker {
    color: #9a7cda;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    margin-top: 25px;
}

.achievement {
    padding: 17px;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(152, 122, 225, 0.1),
            rgba(112, 193, 222, 0.08)
        );

    border: 1px solid rgba(128, 105, 199, 0.09);
}

.achievement strong {
    display: block;

    width: fit-content;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: 1.7rem;
    line-height: 1;

    margin-bottom: 7px;
}

.achievement span {
    color: #706c7f;

    font-size: 0.72rem;
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 35px;
}

.credential-type {
    display: inline-block;

    color: #816bc2;

    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    margin-bottom: 12px;
}

.credential-card h3 {
    color: #3b394e;

    font-size: 1rem;

    margin-bottom: 6px;
}

.credential-card p {
    color: #6f6c7d;

    font-size: 0.82rem;
}

.credential-detail {
    margin-top: 3px;
}

.credential-year {
    margin-top: 13px;

    color: #928ba2 !important;

    font-size: 0.72rem !important;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 900px) {

    nav {
        width: calc(100% - 28px);
    }

    nav ul {
        gap: 16px;
    }

    nav ul a {
        font-size: 0.8rem;
    }

    .hero-wrapper {
        padding: 15px 14px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;

        padding: 65px 40px;

        gap: 30px;
    }

    .hero-copy {
        text-align: center;
        margin: 0 auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-copy .buttons,
    .hero-credentials {
        justify-content: center;
    }

    .hero-visual {
        min-height: 460px;
    }

    .about-grid,
    .resume-container {
        grid-template-columns: 1fr;

        gap: 35px;
    }

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

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

    .credential-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    section {
        padding: 75px 0;
    }

    .container {
        padding: 0 21px;
    }

    nav {
        padding: 10px 12px;
    }

    nav ul {
        gap: 11px;
    }

    nav ul li:nth-child(2) {
        display: none;
    }

    nav ul a {
        font-size: 0.72rem;
    }

    .logo {
    width: 135px;
    height: 46px;
}

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 55px 23px 45px;
    }

    .hero h1 {
        font-size: 3.65rem;
    }

    .hero h2 {
        font-size: 1.55rem;
    }

    .hero-visual {
        min-height: 390px;
    }

    .portrait-frame {
        width: 260px;
        height: 350px;

        border-radius: 29px;
    }

    .portrait-frame img {
        border-radius: 24px;
    }

    .portrait-glow {
        width: 270px;
        height: 340px;
    }

    .floating-card-top {
        right: -3px;
        top: 50px;
    }

    .floating-card-bottom {
        left: -3px;
        bottom: 35px;
    }

    .competency-grid,
    .credential-grid {
        grid-template-columns: 1fr;
    }

    .job-header,
    .role-heading {
        flex-direction: column;
        gap: 5px;
    }

    .job-period,
    .role-heading p {
        white-space: normal;
    }

    .resume-job {
        padding: 25px 21px;
    }

    .contact {
        padding: 65px 15px;
    }

    .contact-card {
        padding: 45px 25px;
    }
}
/* ============================================================
   CASE STUDY PAGES
   ============================================================ */

.case-study-page {
    overflow: hidden;
}

.case-study-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 30px;
}

.case-study-container.narrow {
    max-width: 860px;
}


/* ================================
   CASE STUDY HERO
================================ */

.case-study-hero {
    margin: 24px;
    padding: 110px 0 100px;

    position: relative;
    overflow: hidden;

    border-radius: 34px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(197, 159, 239, 0.36),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(111, 197, 225, 0.23),
            transparent 32%
        ),
        radial-gradient(
            circle at 65% 80%,
            rgba(231, 163, 220, 0.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f7f4ff 0%,
            #eeeafa 42%,
            #f7edf8 68%,
            #eaf5fa 100%
        );

    border: 1px solid rgba(151, 128, 217, 0.13);

    box-shadow:
        0 35px 90px rgba(73, 61, 128, 0.12);
}

.case-study-hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    top: -230px;
    right: -100px;

    border-radius: 50%;

    background: var(--holographic);

    opacity: 0.16;
    filter: blur(25px);

    pointer-events: none;
}

.case-study-hero::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    left: 42%;
    bottom: -450px;

    border-radius: 50%;

    border: 1px solid rgba(127, 105, 219, 0.14);

    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.08),
        0 0 0 110px rgba(255, 255, 255, 0.04);

    pointer-events: none;
}

.case-study-hero .case-study-container {
    position: relative;
    z-index: 2;
}

.case-study-eyebrow {
    display: inline-flex;

    margin-bottom: 24px;
    padding: 8px 13px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.58);

    border:
        1px solid rgba(129, 105, 220, 0.14);

    color: #7163bc;

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.case-study-hero h1 {
    max-width: 900px;

    margin-bottom: 22px;

    color: var(--ink);

    font-size: clamp(3.2rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.case-study-context {
    width: fit-content;

    margin-bottom: 28px;
    padding: 7px 12px;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            rgba(152, 122, 228, 0.12),
            rgba(110, 192, 224, 0.12)
        );

    color: #7562b9;

    font-size: 0.78rem;
    font-weight: 800;
}

.case-study-intro {
    max-width: 760px;

    color: #5f5e74;

    font-size: 1.12rem;
    line-height: 1.85;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 32px;
}

.case-study-tags span {
    padding: 7px 11px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.53);

    border:
        1px solid rgba(255, 255, 255, 0.78);

    color: #67617c;

    font-size: 0.75rem;
    font-weight: 700;
}


/* ================================
   CASE STUDY IMPACT
================================ */

.case-study-impact {
    padding: 80px 0;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(168, 129, 232, 0.32),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(108, 196, 221, 0.22),
            transparent 33%
        ),
        var(--deep);

    color: white;
}

.case-study-impact .section-label {
    color: #c8b7ff;
}

.case-study-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    margin-top: 28px;
}

.case-study-metric {
    min-height: 175px;

    padding: 26px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.045)
        );

    border:
        1px solid rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.case-study-metric strong {
    display: block;

    width: fit-content;

    margin-bottom: 10px;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.case-study-metric span {
    color: #d7d4e2;

    font-size: 0.82rem;
    line-height: 1.5;
}


/* ================================
   CASE STUDY CONTENT
================================ */

.case-study-section {
    padding: 95px 0;

    background: #faf9ff;
}

.case-study-section.alt {
    background:
        linear-gradient(
            180deg,
            #f1eefb,
            #f7f5fc
        );
}

.case-study-section h2,
.case-study-takeaway h2,
.related-case-studies h2 {
    max-width: 850px;

    color: var(--ink);

    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.045em;

    margin-bottom: 26px;
}

.case-study-section h3 {
    color: #3d3a52;

    font-size: 1.08rem;

    margin-bottom: 10px;
}

.case-study-section p,
.case-study-takeaway p {
    max-width: 800px;

    color: #646277;

    margin-bottom: 18px;

    font-size: 1rem;
    line-height: 1.85;
}

.case-study-number {
    width: fit-content;

    margin-bottom: 8px;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.07em;

    opacity: 0.72;
}

.case-study-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 45px;

    margin-top: 38px;
}


/* ================================
   PROCESS FLOWS
================================ */

.process-flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 38px;
    padding: 22px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.83),
            rgba(245, 240, 255, 0.68)
        );

    border:
        1px solid rgba(122, 100, 194, 0.11);

    box-shadow:
        0 12px 35px rgba(70, 57, 118, 0.06);
}

.process-flow span {
    color: #665e7e;

    font-size: 0.78rem;
    font-weight: 750;
}

.process-flow span:nth-child(even) {
    color: #9b7cda;

    font-size: 1rem;
}


/* ================================
   BEFORE / AFTER
================================ */

.before-after {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 40px;
}

.before-after-card {
    padding: 30px;

    border-radius: 21px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.9),
            rgba(246, 242, 255, 0.74)
        );

    border:
        1px solid rgba(121, 99, 194, 0.11);

    box-shadow:
        0 14px 40px rgba(65, 53, 113, 0.07);
}

.before-after-card > span {
    display: inline-block;

    margin-bottom: 13px;

    color: #816bc2;

    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.before-after-card h3 {
    font-size: 1.18rem;
}


/* ================================
   HIGHLIGHTS & CALLOUTS
================================ */

.case-study-highlight {
    margin-top: 40px;
    padding: 35px;

    display: flex;
    align-items: center;

    gap: 28px;

    border-radius: 23px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(178, 133, 232, 0.24),
            transparent 35%
        ),
        #19182f;

    box-shadow:
        0 20px 50px rgba(49, 41, 91, 0.15);
}

.case-study-highlight strong {
    flex-shrink: 0;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.case-study-highlight p {
    margin: 0;

    color: #d5d1df;

    font-size: 0.96rem;
}

.case-study-callout {
    margin: 40px 0;
    padding: 35px;

    position: relative;
    overflow: hidden;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.89),
            rgba(240, 235, 252, 0.77)
        );

    border:
        1px solid rgba(122, 100, 194, 0.12);

    box-shadow:
        0 15px 45px rgba(68, 55, 114, 0.07);
}

.callout-label {
    margin-bottom: 10px !important;

    color: #816bc2 !important;

    font-size: 0.68rem !important;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.case-study-callout blockquote {
    max-width: 780px;

    color: #39364e;

    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.025em;
}


/* ================================
   VERTICAL PROCESS
================================ */

.vertical-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-top: 40px;
}

.vertical-process > div {
    padding: 27px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.91),
            rgba(247, 242, 255, 0.74)
        );

    border:
        1px solid rgba(121, 99, 194, 0.11);

    box-shadow:
        0 12px 35px rgba(70, 57, 118, 0.055);
}

.vertical-process strong {
    display: block;

    width: fit-content;

    margin-bottom: 15px;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: 1.6rem;
}

.vertical-process h3 {
    margin-bottom: 7px;
}

.vertical-process p {
    margin: 0;

    font-size: 0.84rem;
}


/* ================================
   DATA PIPELINE
================================ */

.data-pipeline {
    display: flex;
    align-items: stretch;

    gap: 8px;

    margin: 42px 0;

    overflow-x: auto;
    padding-bottom: 8px;
}

.data-pipeline > div:not(.pipeline-arrow) {
    min-width: 145px;
    flex: 1;

    padding: 22px 17px;

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.9),
            rgba(246, 242, 255, 0.76)
        );

    border:
        1px solid rgba(121, 99, 194, 0.11);
}

.data-pipeline span {
    display: block;

    margin-bottom: 8px;

    color: #9a7cda;

    font-size: 0.69rem;
    font-weight: 850;
}

.data-pipeline strong {
    color: #454158;

    font-size: 0.84rem;
}

.pipeline-arrow {
    display: flex;
    align-items: center;

    color: #9a7cda;

    font-weight: 800;
}


/* ================================
   QUESTIONS & TOOLS
================================ */

.question-grid,
.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    margin-top: 38px;
}

.question-grid > div,
.tool-card {
    padding: 25px;

    border-radius: 19px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.91),
            rgba(247, 242, 255, 0.74)
        );

    border:
        1px solid rgba(121, 99, 194, 0.11);

    box-shadow:
        0 12px 35px rgba(70, 57, 118, 0.05);
}

.question-grid span {
    display: block;

    width: fit-content;

    margin-bottom: 10px;

    background: var(--holographic);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    font-size: 1.3rem;
    font-weight: 850;
}

.question-grid p,
.tool-card p {
    margin: 0;

    font-size: 0.87rem;
}

.tool-card h3 {
    margin-bottom: 8px;

    color: #3e3a52;
}


/* ================================
   TAKEAWAY
================================ */

.case-study-takeaway {
    padding: 105px 0;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(174, 131, 232, 0.33),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(109, 193, 220, 0.22),
            transparent 30%
        ),
        #18172e;
}

.case-study-takeaway .section-label {
    color: #c8b7ff;
}

.case-study-takeaway h2 {
    color: white;
}

.case-study-takeaway p {
    color: #cbc8d8;
}


/* ================================
   RELATED CASE STUDIES
================================ */

.related-case-studies {
    padding: 90px 0;

    background:
        linear-gradient(
            180deg,
            #f4f1fb,
            #faf9ff
        );
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;

    margin-top: 35px;
}

.related-card {
    min-height: 180px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    position: relative;
    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(245, 240, 255, 0.76)
        );

    border:
        1px solid rgba(121, 99, 194, 0.11);

    box-shadow:
        0 15px 45px rgba(68, 55, 114, 0.07);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.related-card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -65px;
    top: -70px;

    border-radius: 50%;

    background: var(--holographic);

    opacity: 0.15;
    filter: blur(12px);
}

.related-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 22px 55px rgba(68, 55, 114, 0.11);
}

.related-card span {
    position: relative;
    z-index: 2;

    margin-bottom: 8px;

    color: #816bc2;

    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.related-card h3 {
    position: relative;
    z-index: 2;

    color: #353249;

    font-size: 1.15rem;
}


/* ================================
   HOMEPAGE CASE STUDY LINKS
================================ */

.stat-link {
    color: inherit;
    text-decoration: none;
}

.stat-link .stat {
    height: 100%;
}

.stat-link .stat::after {
    content: "Explore the work →";

    margin-top: 17px;

    color: #bdb0ee;

    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.03em;
}

.case-study-link {
    display: inline-flex;

    margin-top: 26px;

    position: relative;
    z-index: 3;

    color: #7562b9;

    text-decoration: none;

    font-size: 0.82rem;
    font-weight: 800;

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

.case-study-link:hover {
    color: #5f4cb4;
    transform: translateX(4px);
}


/* ================================
   CASE STUDY RESPONSIVE
================================ */

@media (max-width: 900px) {

    .case-study-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vertical-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-pipeline {
        align-items: center;
    }
}


@media (max-width: 650px) {

    .case-study-container {
        padding: 0 21px;
    }

    .case-study-hero {
        margin: 15px 14px;
        padding: 75px 0 70px;

        border-radius: 27px;
    }

    .case-study-hero h1 {
        font-size: 3.25rem;
    }

    .case-study-intro {
        font-size: 1rem;
    }

    .case-study-impact,
    .case-study-section,
    .case-study-takeaway,
    .related-case-studies {
        padding: 70px 0;
    }

    .case-study-metrics,
    .before-after,
    .vertical-process,
    .question-grid,
    .tool-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .case-study-metric {
        min-height: 145px;
    }

    .case-study-highlight {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;

        padding: 27px;
    }

    .process-flow {
        align-items: flex-start;
    }

    .data-pipeline {
        flex-direction: column;
        align-items: stretch;

        overflow: visible;
    }

    .pipeline-arrow {
        justify-content: center;
        transform: rotate(90deg);
    }

    .data-pipeline > div:not(.pipeline-arrow) {
        min-width: 0;
    }
}
/* =========================================
   CASE STUDIES NAV DROPDOWN
   ========================================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-button {
    display: flex;
    align-items: center;
    gap: 5px;

    border: 0;
    padding: 0;
    margin: 0;

    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 0.85em;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;

    width: 285px;
    padding: 10px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, -8px);

    background: rgba(247, 245, 255, 0.96);
    border: 1px solid rgba(156, 140, 244, 0.22);
    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(23, 22, 44, 0.14),
        0 2px 10px rgba(156, 140, 244, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

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

    z-index: 1000;
}

/* ================================
   CASE STUDIES DROPDOWN
================================ */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-button {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 0;
    border: 0;
    background: none;

    color: #4d4c68;
    font: inherit;
    font-size: 0.91rem;
    font-weight: 650;

    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-dropdown-button:hover {
    color: var(--purple);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    right: 0;

    width: 260px;
    padding: 8px;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;

    box-shadow: 0 18px 45px rgba(70, 60, 120, 0.14);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);

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

    z-index: 100;
}

/* ================================
   CASE STUDIES DROPDOWN
================================ */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* Creates an invisible hover bridge below Case Studies */
.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 18px;
}

.nav-dropdown-button {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 0;
    border: 0;
    background: transparent;

    color: #4d4c68;
    font-family: inherit;
    font-size: 0.91rem;
    font-weight: 650;

    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-dropdown-button:hover {
    color: var(--purple);
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}


/* Dropdown box */

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    width: max-content;
    min-width: 340px;

    padding: 8px;
    margin: 0;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border: 1px solid rgba(128, 104, 240, 0.12);
    border-radius: 14px;

    box-shadow: 0 16px 40px rgba(70, 60, 120, 0.14);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    /* No movement when opening */
    transform: none;

    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;

    z-index: 1000;
}


/* Keep menu open */

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}


/* Individual case-study links */

.nav-dropdown-menu a {
    display: block;

    padding: 11px 14px;

    color: #34324e !important;

    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.3;

    text-decoration: none !important;
    white-space: nowrap;

    border-radius: 9px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-dropdown-menu a:hover {
    color: var(--purple) !important;
    background: rgba(128, 104, 240, 0.08);
    text-decoration: none !important;
}


