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

:root {
    --primary: #6A4CFF;
    --heading-color: #615ea9;
    --plum: #2B1E4A;
    --plum-soft: #5c4d7a;
    --mist-lavender: #F4F1FF;
    --mist-lavender-dark: #e8e4f5;
    --emerald-mint: #3dbeb3;
    --emerald-mint-dark: #2f9d94;
    --white: #ffffff;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--plum);
    background: var(--white);
    overflow-x: clip; /* clip instead of hidden — hidden breaks position:fixed on iOS */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
}

h1 {
    font-size: clamp(2.25rem, 8vw, 80px);
}

/* ----- Nav ----- */
.nav.scrolled {
    box-shadow: 0 4px 24px rgba(106, 76, 255, 0.12);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mist-lavender-dark);
    transition: var(--transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.nav-logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--plum);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

@media (hover: hover) {
    .nav-menu a:hover {
        color: var(--primary);
    }
}

.nav-cta {
    color: var(--white) !important;
    background: var(--emerald-mint);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
}

@media (hover: hover) {
    .nav-cta:hover {
        background: var(--emerald-mint-dark);
        color: var(--white) !important;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--plum);
}

/* ----- Hero ----- */
.hero {
    padding: 10rem 2rem 6rem;
    min-height: 100vh;
    background: var(--mist-lavender);
    position: relative;
    overflow: hidden;
}

.hero-inner--split {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-photo {
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #6A4CFF, #3dbeb3);
    box-shadow: 0 12px 40px rgba(106, 76, 255, 0.25);
    margin-left: auto;
    width: 380px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-photo-img {
    width: 80%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 1rem;
    filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.5));
}

.hero-greeting {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.hero-open {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
}

.hero-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--plum-soft);
}

.hero-open-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-mint);
    box-shadow: 0 0 0 3px rgba(47, 157, 148, 0.25);
    flex-shrink: 0;
}

.hero-open-link {
    display: inline-block;
    margin-top: 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.hero-open-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--plum-soft);
    margin-bottom: 1.75rem;
}

.hero-brand {
    color: var(--primary);
    font-weight: 600;
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.hero-role-pill {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: var(--white);
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-role-pill--purple { background: var(--primary); }
.hero-role-pill--teal   { background: var(--emerald-mint); }
.hero-role-pill--plum   { background: var(--plum); }

.hero-role-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-role-pill--purple:hover { background: #5539e0; }
.hero-role-pill--teal:hover   { background: #2f9d94; }
.hero-role-pill--plum:hover   { background: #3d2a66; }

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--plum-soft);
    max-width: 580px;
    margin-bottom: 1.5rem;
}

.hero-socials {
    display: flex;
    gap: 1rem;
}

.hero-socials a {
    color: var(--plum-soft);
    transition: color 0.25s, transform 0.25s;
}

.hero-socials a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--plum-soft);
    margin-top: 0.2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--emerald-mint);
    background: rgba(61, 190, 179, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.hb-stat:hover {
    transform: translateY(-4px);
}

.hb-stat--purple { background: var(--primary); }
.hb-stat--teal   { background: var(--emerald-mint); }
.hb-stat--light  { background: var(--white); border: 2px solid var(--primary); }
.hb-stat--plum   { background: var(--plum); }

.hb-num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1;
}

.hb-stat--purple .hb-num,
.hb-stat--teal   .hb-num,
.hb-stat--plum   .hb-num { color: #fff; }
.hb-stat--light  .hb-num { color: var(--heading-color); }

.hb-label {
    font-size: 0.78rem;
    line-height: 1.3;
    font-weight: 500;
}

.hb-stat--purple .hb-label,
.hb-stat--teal   .hb-label,
.hb-stat--plum   .hb-label { color: rgba(255,255,255,0.8); }
.hb-stat--light  .hb-label { color: var(--plum-soft); }

/* Bottom row: 4 small stat boxes span full width */
.hb-stat--light,
.hb-stat--plum {
    grid-row: 3;
}

/* Certified badge — spans full width on last row */
.hb-certified {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: #FFF8E1;
    border: 1px solid #F0D060;
    border-radius: 12px;
    color: #B8860B;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ----- Progress bar divider ----- */
.section-progress-divider {
    background: var(--mist-lavender-dark);
    height: 6px;
    width: 100%;
    overflow: hidden;
}

.spd-bar {
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, var(--emerald-mint) 0%, #3dbeb3cc 100%);
    border-radius: 0 999px 999px 0;
    position: relative;
}

.spd-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--emerald-mint);
    border-radius: 50%;
    box-shadow: 0 0 0 3px #F4F1FF, 0 0 0 5px var(--emerald-mint);
}

/* ----- Section divider (hero / about) ----- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 2rem;
}

.section-divider-line {
    width: 80px;
    height: 2px;
    background: var(--mist-lavender-dark);
}

.section-divider-accent {
    width: 10px;
    height: 10px;
    background: var(--emerald-mint);
    transform: rotate(45deg);
}

.placeholder-section {
    padding: 4rem 2rem;
    text-align: center;
}

.placeholder-section.page-section {
    padding: 7rem 2rem 6rem;
}

/* ----- Recent Projects ----- */
.projects-section {
    padding: 5rem 2rem 6rem;
}

.projects-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.projects-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--heading-color);
    margin-bottom: 2rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.project-card {
    background: var(--mist-lavender);
    border: 1px solid var(--mist-lavender-dark);
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    transition: var(--transition);
}

.project-card-img {
    width: 100%;
    aspect-ratio: 4/3.2;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.project-card-title,
.project-card-desc {
    padding: 0 1.75rem;
}

.project-card-title {
    padding-top: 1.5rem;
}

.project-card-desc {
    padding-bottom: 2rem;
}

@media (hover: hover) {
    .project-card:hover {
        box-shadow: 0 12px 32px rgba(106, 76, 255, 0.12);
    }
}

.project-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}

.project-card-desc {
    font-size: 1.08rem;
    color: var(--plum);
    line-height: 1.6;
    margin: 0;
}

.project-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.75rem 1.75rem;
}

.project-link-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    transition: all 0.25s ease;
}

.project-link-btn:hover {
    background: #5539e0;
    transform: translateY(-2px);
}

.project-link-btn--outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.project-link-btn--outline:hover {
    background: var(--primary);
    color: var(--white);
}

.projects-more {
    display: inline-block;
    margin: 2rem auto 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    text-decoration: none;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .projects-more:hover {
        background: #5539e0;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(106, 76, 255, 0.3);
    }
}

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

.services-section--page,
.contact-section--page {
    padding-top: 6rem;
}

.placeholder-inner {
    max-width: 600px;
    margin: 0 auto;
}

.placeholder-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.placeholder-text {
    color: var(--plum-soft);
    font-size: 1rem;
}

/* ----- About ----- */
.about-section {
    padding: 8rem 2rem 10rem;
    min-height: 50vh;
    background: var(--mist-lavender);
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-inner--summary {
    max-width: 640px;
    text-align: center;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--heading-color);
    margin-bottom: 1.25rem;
}

.about-summary {
    color: var(--plum);
    font-size: 1.4rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.about-read-more {
    display: inline-block;
    font-weight: 500;
    color: var(--emerald-mint);
    text-decoration: none;
    transition: var(--transition);
}

.about-read-more:hover {
    color: var(--emerald-mint-dark);
}

/* About page (full content) */
.about-page {
    padding: 7rem 2rem 6rem;
}

.about-page .about-title {
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.1rem;
    color: var(--plum);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.about-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.about-why {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mist-lavender-dark);
}

.about-cta-line {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--heading-color);
    margin: 1.25rem 0 0.5rem !important;
}

.about-signature {
    font-style: italic;
    color: var(--plum-soft);
}

.about-page .about-read-more {
    display: inline-block;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-cols {
        grid-template-columns: 1fr;
    }
}

.about-col {
    min-width: 0;
}

.about-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.about-section p {
    color: var(--plum);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-note {
    font-style: italic;
    color: var(--plum-soft);
}

.about-highlight {
    color: var(--heading-color);
    font-weight: 500;
}

/* ----- About Page (alternating rows) ----- */
.about-page-hero {
    padding: 10rem 2rem 6rem;
    background: var(--mist-lavender);
    text-align: center;
}

.about-page-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}

.about-page-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-mint);
    margin-bottom: 1.25rem;
}

.about-page-headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.12;
    margin-bottom: 1.5rem;
}

.about-page-lead {
    font-size: 1.2rem;
    color: var(--plum);
    line-height: 1.75;
    max-width: 660px;
    margin: 0 auto;
}

.about-page-bio {
    margin: 1.25rem auto 0;
    max-width: 560px;
    font-size: 1rem;
    color: var(--plum-soft);
    line-height: 1.7;
}

.about-page-name-note {
    margin: 1.25rem auto 0;
    max-width: 560px;
    font-size: 0.95rem;
    color: var(--plum-soft);
    line-height: 1.7;
    padding-top: 1rem;
    border-top: 1px solid var(--mist-lavender-dark);
    font-style: italic;
}

/* Alternating rows */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.about-row--accent {
    background: var(--mist-lavender);
}

.about-row-label {
    padding: 5rem 4rem;
    background: var(--plum);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-row--reverse .about-row-label {
    background: var(--primary);
}

.about-row--accent .about-row-label {
    background: var(--emerald-mint);
}

.about-row-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.about-row-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
}

.about-row-body {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.about-row-body p {
    color: var(--plum);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-row-body p:last-child {
    margin-bottom: 0;
}

.about-row-callout {
    font-style: italic;
    color: var(--plum-soft) !important;
    font-size: 1rem !important;
}

.about-row-highlight {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--heading-color) !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    border-left: 4px solid var(--emerald-mint);
    padding-left: 1.25rem;
}

.about-row-cta-line {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem !important;
    color: var(--heading-color) !important;
    font-weight: 500;
}

.about-row-signature {
    font-style: italic;
    color: var(--plum-soft) !important;
    font-size: 1rem !important;
    margin-top: 0.25rem;
}

.about-back-wrap {
    padding: 3rem 4rem;
    background: var(--white);
}

@media (max-width: 768px) {
    .about-row {
        grid-template-columns: 1fr;
    }

    .about-row--reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-row-label,
    .about-row-body {
        padding: 3rem 2rem;
    }
}

/* ----- Services (bento, plum bg, tall section) ----- */
.services-section--plum {
    background: #2B1E4A;
    padding: 6rem 2rem 8rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.services-plum-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.services-plum-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--white);
    margin-bottom: 2.5rem;
    text-align: center;
}

.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px 280px 280px 280px;
    gap: 1.5rem;
}

/* Bento placement: mixed sizes, eCommerce full width at bottom */
.svc-box--plum1 {
    grid-column: 1 / span 2;
    grid-row: 1;
}
.svc-box--plum2 {
    grid-column: 3 / span 2;
    grid-row: 1;
}
.svc-box--emerald {
    grid-column: 1 / span 2;
    grid-row: 2;
}
.svc-box--violet1 {
    grid-column: 3;
    grid-row: 2 / span 2;
}
.svc-box--violet2 {
    grid-column: 4;
    grid-row: 2 / span 2;
}
.svc-box--lavender {
    grid-column: 1 / span 2;
    grid-row: 3;
}
.svc-box--teal {
    grid-column: 1 / span 2;
    grid-row: 4;
}
.svc-box--slate {
    grid-column: 3 / span 2;
    grid-row: 4;
}
.svc-box--indigo {
    grid-column: 1 / -1;
    grid-row: 5;
}

.svc-box {
    border-radius: 24px;
    padding: 2.5rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.svc-box {
    cursor: default;
}

.svc-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.25);
}

.svc-box--plum1:hover  { background: #ebe6ff; }
.svc-box--plum2:hover  { background: #524fa0; }
.svc-box--violet1:hover { background: #5539e0; }
.svc-box--violet2:hover { background: #7a68f0; }
.svc-box--emerald:hover { background: #2f9d94; }
.svc-box--lavender:hover { background: #ebe6ff; }
.svc-box--teal:hover     { background: #1a8a7d; }
.svc-box--slate:hover    { background: #3d4f5f; }
.svc-box--indigo:hover   { background: #3730a3; }

.svc-box-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.svc-box-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.svc-box-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--emerald-mint);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.svc-box-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.svc-box--plum1 .svc-box-title { font-size: 1.5rem; }
.svc-box--plum1 .svc-box-desc { font-size: 1.05rem; }

/* Colors: 2 plum, 2 violet, 1 emerald, 1 lavender */
.svc-box--plum1 {
    background: #F4F1FF;
    border: 2px solid var(--mist-lavender-dark);
    color: var(--plum);
}
.svc-box--plum1 .svc-box-title,
.svc-box--plum1 .svc-box-desc { color: var(--heading-color); }

.svc-box--plum2 {
    background: #615ea9;
    border: none;
    color: var(--white);
}
.svc-box--plum2 .svc-box-title,
.svc-box--plum2 .svc-box-desc { color: rgba(255, 255, 255, 0.92); }

.svc-box--violet1 {
    background: #6A4CFF;
    border: none;
    color: var(--white);
}
.svc-box--violet1 .svc-box-title,
.svc-box--violet1 .svc-box-desc { color: rgba(255, 255, 255, 0.95); }

.svc-box--violet2 {
    background: #8B7BFF;
    border: none;
    color: var(--white);
}
.svc-box--violet2 .svc-box-title,
.svc-box--violet2 .svc-box-desc { color: rgba(255, 255, 255, 0.95); }

.svc-box--emerald {
    background: #3dbeb3;
    border: none;
    color: var(--white);
}
.svc-box--emerald .svc-box-title,
.svc-box--emerald .svc-box-desc { color: rgba(255, 255, 255, 0.95); }

.svc-box--lavender {
    background: #F4F1FF;
    border: 2px solid var(--mist-lavender-dark);
    color: var(--plum);
}
.svc-box--lavender .svc-box-title { color: var(--heading-color); }

.svc-box--teal {
    background: #22a99a;
}
.svc-box--teal .svc-box-title,
.svc-box--teal .svc-box-desc { color: rgba(255, 255, 255, 0.95); }

.svc-box--slate {
    background: #4a5d6e;
}
.svc-box--slate .svc-box-title,
.svc-box--slate .svc-box-desc { color: rgba(255, 255, 255, 0.95); }

.svc-box--indigo {
    background: #4338ca;
}
.svc-box--indigo .svc-box-title,
.svc-box--indigo .svc-box-desc { color: rgba(255, 255, 255, 0.95); }

@media (max-width: 900px) {
    .services-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
    }

    .svc-box--plum1,
    .svc-box--plum2,
    .svc-box--violet1,
    .svc-box--violet2,
    .svc-box--emerald,
    .svc-box--lavender,
    .svc-box--teal,
    .svc-box--slate,
    .svc-box--indigo {
        grid-column: auto;
        grid-row: auto;
    }

    .svc-box {
        min-height: 200px;
    }

    .svc-box--plum1 .svc-box-title { font-size: 1.5rem; }
    .svc-box--plum1 .svc-box-desc { font-size: 1.05rem; }
}

/* ----- Bento ----- */
.bento-section {
    padding: 4rem 2rem 6rem;
}

.bento-section .bento {
    grid-template-columns: 1fr;
}

.bento-section .bento-card {
    grid-column: 1 / -1;
}

.bento {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--mist-lavender);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    border: 1px solid var(--mist-lavender-dark);
    transition: var(--transition);
}

.bento-card:hover {
    box-shadow: 0 12px 40px rgba(106, 76, 255, 0.12);
}

/* ── Scroll reveal ──────────────────────────────────────────── */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ── Nav link sliding underline ─────────────────────────────── */
.nav-link-anim {
    position: relative;
}

.nav-link-anim::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .nav-link-anim:hover::after {
        width: 100%;
    }
}

/* ── Hero text entrance ─────────────────────────────────────── */
.hero-greeting,
.hero-headline,
.hero-roles,
.hero-intro,
.hero-stats,
.hero-badge,
.hero-photo {
    animation: slideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-greeting  { animation-delay: 0.1s; }
.hero-headline  { animation-delay: 0.2s; }
.hero-roles     { animation-delay: 0.3s; }
.hero-intro     { animation-delay: 0.4s; }
.hero-stats     { animation-delay: 0.5s; }
.hero-badge     { animation-delay: 0.6s; }
.hero-photo     { animation-delay: 0.2s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Project card hover ─────────────────────────────────────── */
.project-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 48px rgba(106, 76, 255, 0.14);
}

.project-card-img {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-img {
    transform: scale(1.05);
}

/* ── Service box hover ──────────────────────────────────────── */
.svc-box {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

/* ── About row hover accent ─────────────────────────────────── */
.about-row-label {
    transition: filter 0.35s ease;
}

.about-row:hover .about-row-label {
    filter: brightness(1.08);
}

/* ── Contact section CTA pulse ──────────────────────────────── */
.nav-cta {
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
    .nav-cta:hover::before {
        transform: translateX(0);
    }
}

/* ── Social icon lift ───────────────────────────────────────── */
.social-link {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

@media (hover: hover) {
    .social-link:hover {
        transform: translateY(-5px) scale(1.15);
    }
}

[data-span="full"] {
    grid-column: 1 / -1;
}

[data-span="large"] {
    grid-column: span 8;
}

[data-span="small"] {
    grid-column: span 4;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.card-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.bento-card p {
    color: var(--plum);
    font-size: 1.02rem;
    margin-bottom: 1rem;
}

.bento-card p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.15rem;
    color: var(--plum-soft);
}

.card-note {
    font-style: italic;
    color: var(--plum-soft);
}

.card-highlight {
    color: var(--primary);
    font-weight: 500;
}

.card-list {
    list-style: none;
    margin: 1rem 0;
}

.card-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--plum);
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--emerald-mint);
    border-radius: 50%;
}

/* Accent card */
.bento-accent {
    background: linear-gradient(145deg, var(--primary) 0%, var(--plum) 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.accent-quote {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--white) !important;
    text-align: center;
    line-height: 1.4;
    margin: 0 !important;
}

/* CTA card */
.bento-cta {
    background: linear-gradient(135deg, var(--mist-lavender) 0%, var(--mist-lavender-dark) 100%);
    text-align: center;
    padding: 3rem 2.5rem;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 0.75rem !important;
}

.signature {
    font-style: italic;
    color: var(--plum-soft);
    margin-bottom: 2rem !important;
}

.btn {
    display: inline-block;
    background: var(--emerald-mint);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.btn:hover {
    background: var(--emerald-mint-dark);
    transform: translateY(-2px);
}

/* ----- Education ----- */
.education-section {
    padding: 6rem 2rem 8rem;
    background: var(--white);
}

.education-inner {
    max-width: 860px;
    margin: 0 auto;
}

.education-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 3rem;
}

.education-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.edu-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #F4F1FF;
    border-radius: 1rem;
    padding: 2rem;
}

.edu-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.edu-degree {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--plum);
    margin-bottom: 0.25rem;
}

.edu-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #666;
}

/* ----- Certifications ----- */
.certifications-section {
    padding: 6rem 2rem 8rem;
    background: var(--mist-lavender);
}

.certifications-inner {
    max-width: 960px;
    margin: 0 auto;
}

.certifications-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 3rem;
}

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

.cert-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(43, 30, 74, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(43, 30, 74, 0.12);
}

.cert-img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid rgba(43, 30, 74, 0.08);
    display: block;
}

.cert-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--plum);
    margin: 1.25rem 0 0.25rem;
    text-align: center;
}

.cert-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

@media (max-width: 640px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- Technical Skills ----- */
.skills-section {
    padding: 6rem 2rem;
    background: var(--mist-lavender);
}

.skills-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.skills-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    color: var(--heading-color);
    margin-bottom: 2.5rem;
}

.skills-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.skill-tab {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: var(--plum);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(43, 30, 74, 0.2);
    transition: all 0.25s ease;
}

.skill-tab:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106, 76, 255, 0.3);
}

.skill-tab--active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(106, 76, 255, 0.4);
}

.skills-panel {
    min-height: 80px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.skill-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    background: var(--white);
    color: var(--plum);
    border: 1px solid var(--mist-lavender-dark);
    transition: all 0.25s ease;
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ----- Lightbox ----- */
.cert-img--clickable {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cert-img--clickable:hover {
    transform: scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

/* ----- Stats ----- */
.stats-section {
    padding: 5rem 2rem;
    background: var(--plum);
}

.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-num {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: var(--emerald-mint);
    line-height: 1.2;
}

.stats-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

/* ----- Contact ----- */
.contact-section {
    padding: 6rem 2rem;
    background: #3dbeb3;
    color: var(--white);
    text-align: center;
}

.contact-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 8vw, 80px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 3vw, 20px);
    margin-bottom: 2rem;
}

.contact-email-line {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.contact-reply-time {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: #FFD700;
    text-decoration: none;
    font-size: inherit;
    font-weight: 400;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--white);
}

.contact-cta-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 2.25rem;
    background: var(--white);
    color: var(--emerald-mint);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-cta-btn:hover {
    background: var(--plum);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.social-link svg {
    display: block;
}

.social-link:hover {
    color: var(--white);
    transform: translateY(-3px);
}

/* ----- Case Study ----- */
.case-study-hero {
    padding: 10rem 2rem 4rem;
    background: var(--plum);
    text-align: center;
}

.case-study-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.case-study-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-mint);
    margin-bottom: 0.75rem;
}

.case-study-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.case-study-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.case-study-body {
    padding: 5rem 2rem;
}

.case-study-content {
    max-width: 760px;
    margin: 0 auto;
}

.case-study-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--heading-color);
    margin: 2.5rem 0 1rem;
}

.case-study-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--plum-soft);
    margin-bottom: 1rem;
}

.case-study-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.case-study-content li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--plum-soft);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.case-study-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.case-study-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.cs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mist-lavender);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    flex: 1;
    min-width: 160px;
}

.cs-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.cs-stat-label {
    font-size: 0.85rem;
    color: var(--plum-soft);
    margin-top: 0.25rem;
}

.case-study-btn {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: var(--emerald-mint);
    color: var(--white);
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 0.5rem;
}

.case-study-btn:hover {
    background: var(--emerald-mint-dark);
    transform: translateY(-2px);
}

.case-study-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mist-lavender-dark);
}

.blog-featured-img {
    margin: 2rem 0 2.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(45, 27, 61, 0.12);
}

.blog-featured-img img {
    display: block;
    width: 100%;
    height: auto;
}

.case-study-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--heading-color);
    margin: 2rem 0 0.75rem;
}

.case-study-content a:not(.project-link-btn):not(.case-study-btn) {
    color: var(--primary);
    font-weight: 600;
}

.case-study-back .project-link-btn {
    display: inline-block;
    color: var(--white);
    background: var(--primary);
}

.blog-credit {
    font-style: italic;
    color: var(--plum-soft);
    border-left: 3px solid var(--mist-lavender-dark);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.blog-credit--footer {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.blog-eyebrow-link {
    color: var(--emerald-mint);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.blog-eyebrow-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.blog-index {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-index-card {
    background: var(--mist-lavender);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(45, 27, 61, 0.1);
}

.blog-post-category {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.blog-index-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-index-title a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-index-title a:hover {
    color: var(--primary);
}

.blog-index-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--plum-soft);
    margin-bottom: 1.25rem;
}

.blog-index-read {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.blog-index-read:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.case-study-body > .case-study-back {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.case-study-back--split {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ----- Contact Page ----- */
.contact-page-hero {
    padding: 10rem 2rem 5rem;
    background: var(--mist-lavender);
    text-align: center;
}

.contact-page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.contact-page-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-mint);
    margin-bottom: 1rem;
}

.contact-page-headline {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.contact-page-lead {
    font-size: 1.1rem;
    color: var(--plum-soft);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

.contact-form-section {
    padding: 5rem 2rem 7rem;
    background: var(--white);
}

.contact-form-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Contact Info panel */
.contact-info {
    background: var(--mist-lavender);
    border-radius: 20px;
    padding: 2.5rem 2rem;
}

.contact-info-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cinfo-icon {
    color: var(--emerald-mint);
    flex-shrink: 0;
    margin-top: 2px;
}

.cinfo-link {
    color: var(--plum);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    word-break: break-all;
}

.cinfo-link:hover { color: var(--primary); }

.cinfo-text {
    font-size: 0.9rem;
    color: var(--plum-soft);
    line-height: 1.5;
}

.contact-info-social {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mist-lavender-dark);
}

.contact-info-social .social-link {
    color: var(--plum-soft);
}

.contact-info-social .social-link:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cf-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cf-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cf-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--plum);
}

.cf-label span {
    color: var(--primary);
}

.cf-input {
    padding: 0.85rem 1.1rem;
    border: 1.5px solid var(--mist-lavender-dark);
    border-radius: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--plum);
    background: var(--white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    width: 100%;
}

.cf-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(106, 76, 255, 0.12);
}

.cf-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23615ea9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.cf-textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}

.cf-submit {
    align-self: flex-start;
    padding: 0.9rem 2.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cf-submit:hover {
    background: var(--plum);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(106, 76, 255, 0.25);
}

@media (max-width: 768px) {
    .contact-form-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        position: static;
    }

    .cf-row--2 {
        grid-template-columns: 1fr;
    }

    .cf-submit {
        width: 100%;
        text-align: center;
    }
}

/* ----- Portfolio Page ----- */
.portfolio-hero {
    padding: 10rem 2rem 7rem;
    background: var(--mist-lavender);
    text-align: center;
}

.portfolio-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-eyebrow {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-mint);
    margin-bottom: 1.5rem;
}

.portfolio-headline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    color: var(--heading-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.portfolio-sub {
    font-size: 1.3rem;
    color: var(--plum-soft);
    max-width: 620px;
    margin: 0 auto;
}

.portfolio-body {
    padding: 5rem 3rem 8rem;
    background: var(--white);
}

.portfolio-body-inner {
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar layout */
.portfolio-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Vertical tabs */
.portfolio-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: sticky;
    top: 100px;
}

.ptab {
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--plum-soft);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid transparent;
}

@media (hover: hover) {
    .ptab:hover {
        background: var(--mist-lavender);
        color: var(--primary);
        border-left-color: var(--primary);
    }
}

.ptab--active {
    background: var(--mist-lavender);
    color: var(--primary);
    font-weight: 600;
    border-left-color: var(--primary);
}

.ptab-soon {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--emerald-mint);
    color: var(--white);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.ptab--soon {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Grid — 2 big columns */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.pgrid-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.pgrid-card {
    background: var(--mist-lavender);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--mist-lavender-dark);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.35s cubic-bezier(0.22,1,0.36,1);
}

@media (hover: hover) {
    .pgrid-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 28px 64px rgba(106, 76, 255, 0.15);
    }
}

.pgrid-img {
    width: 100%;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

@media (hover: hover) {
    .pgrid-card:hover .pgrid-img {
        transform: scale(1.04);
    }
}

.pgrid-img--placeholder {
    background: var(--mist-lavender-dark);
    min-height: 280px;
}

.pgrid-info {
    padding: 2rem 2.25rem 2.25rem;
}

.pgrid-tag {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-mint);
    display: block;
    margin-bottom: 0.5rem;
}

.pgrid-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.6rem;
}

.pgrid-desc {
    font-size: 1.05rem;
    color: var(--plum-soft);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .portfolio-layout {
        grid-template-columns: 1fr;
    }
    .portfolio-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
    }
    .ptab {
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
    }
    .ptab:hover,
    .ptab--active {
        border-left-color: transparent;
        border-bottom-color: var(--primary);
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- Footer ----- */
.footer {
    padding: 2.5rem 2rem;
    background: var(--plum);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ----- Responsive: Bento stacks ----- */
@media (max-width: 900px) {
    [data-span="large"],
    [data-span="small"] {
        grid-column: 1 / -1;
    }

    .bento-accent {
        min-height: 160px;
    }

    .accent-quote {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Backdrop — blocks form/page clicks when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        inset: 0;
        right: 260px;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        border-radius: 10px;
        touch-action: manipulation;
    }

    .nav-menu .nav-cta {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-toggle span {
        transition: var(--transition);
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-inner--split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero {
        min-height: unset;
    }

    .hero-photo {
        min-height: 350px;
        max-width: 300px;
        margin: 0 auto;
        order: -1;
    }

    .hero-roles,
    .hero-stats {
        justify-content: center;
    }

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

    .hero-stats {
        gap: 1.25rem;
    }

    .hero-stat-num {
        font-size: 1.4rem;
    }

    .hero-intro {
        max-width: none;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bento-section {
        padding: 3rem 1.25rem 4rem;
    }

    .bento {
        gap: 1.25rem;
    }

    .bento-card {
        padding: 2rem 1.5rem;
    }

    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-details {
        flex-direction: column;
    }

    .hba-circle--tl,
    .hba--pie {
        display: none;
    }

    .about-section {
        padding: 5rem 1.5rem 6rem;
    }

    .about-summary {
        font-size: 1.1rem;
    }

    .services-section--plum {
        padding: 4rem 1.25rem 5rem;
        min-height: unset;
    }

    .projects-section {
        padding: 3rem 1.25rem 4rem;
    }

    .contact-section {
        padding: 4rem 1.25rem;
    }
}
