﻿/* ---------- Theme base ---------- */
:root {
    --accent: #19c29a;
    --bg: #0a0a0a;
    --surface: #101314;
    --text: #ffffff;
    --text-dim: #94a3b8;
    --text-subtle: #cbd5e1;
    --glass-bg: rgba(255,255,255,.06);
    --glass-border: rgba(255,255,255,.14);
    --dark-glass: rgba(0,0,0,0.9);
}

/* Global reset-ish */
html, body {
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

/* Single place to control page width + side padding (except hero) */
.mud-main-content .mud-container,
.section .mud-container {
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.page-root {
    background: var(--bg);
    color: var(--text);
}

.text-dim {
    display: inline-flex;
    align-items: center; /* vertical align */
    gap: 4px; /* small space between icon & text */
    color: var(--text-dim);
}

.text-subtle {
    color: var(--text-subtle);
}

/* Section rhythm */
.section {
    padding: 5rem 0;
}

.section-title {
    color: var(--accent);
    margin-bottom: .75rem;
}

/* Glass cards */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 40px rgba(0,0,0,.55);
    padding: 15px;
}

/* Chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
}

.mud-chip.chip {
    padding: .4rem .75rem;
    border-radius: 9999px;
    border-color: rgba(25,194,154,.7);
    color: #e6fff7;
    background: rgba(25,194,154,.08);
}

/* Bullets */
.bullets {
    margin: .75rem 0 0;
    padding-left: 1.25rem;
}

    .bullets li {
        margin: .35rem 0;
    }

/* ---------- AppBar / Footer ---------- */
/* --- Sticky AppBar --- */
.appbar {
    position: relative; /* no longer sticky here */
    width: 100%;
    background: rgba(10,10,10,.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    /* AppBar sizing */
    .appbar .mud-container {
        min-height: 64px; /* consistent bar height */
        padding-top: env(safe-area-inset-top, 0);
    }


/* Make room for sticky bar on very small screens (optional) */
@media (max-width: 640px) {
    body {
        scroll-padding-top: 72px;
    }
    /* anchor links won’t hide under bar */
}

/* --- Brand logo scales with viewport --- */
.brand-logo {
    height: clamp(28px, 2.2vw + 18px, 44px); /* scales smoothly with width */
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(25,194,154,.35));
}

/* Slightly smaller on extra‑small screens */
@media (max-width: 420px) {
    .brand-logo {
        height: 32px;
    }
}

/* Ensure desktop nav & burger line up nicely with logo */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
}

/* Z‑index layering so the mobile sheet sits ABOVE the sticky bar */
.mobile-backdrop {
    z-index: 2100;
}

.mobile-sheet {
    z-index: 2000;
}
/* Desktop by default */
.nav-desktop {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-burger {
    display: none;
}

/* Force switch at <= 1024px (a bit wider than Mud's md=960) */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none !important;
    }

    .nav-burger {
        display: inline-flex !important;
    }
}

/* (Optional) even larger safety net: <= 1200px */
@media (max-width: 1200px) and (min-width: 1025px) {
    /* Comment out if you don't want it this wide */
    /* .nav-desktop { display: none !important; }
  .nav-burger  { display: inline-flex !important; } */
}

/* Mobile overlay */
/* Backdrop behind the sheet */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55); /* dark overlay */
    backdrop-filter: blur(2px);
    z-index: 2100;
}

/* Glass panel style — same vibe as .glass sections */
.mobile-sheet {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(86vw, 380px);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    border-radius: 0; /* flush with screen edges */
    box-shadow: -20px 0 60px rgba(0,0,0,.6);
    z-index: 2200;
    padding: max(12px, env(safe-area-inset-top)) 16px 16px;
    display: flex;
    flex-direction: column;
}

/* Header with logo + close button */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dark-glass);
}

.mobile-brand {
    height: 34px;
    width: auto;
    filter: drop-shadow(0 1px 8px rgba(25,194,154,.35));
    margin: auto
}

.mobile-close-btn {
    background: transparent;
    border: 0;
    color: #fff;
    padding: 8px;
    border-radius: 10px;
}

    .mobile-close-btn:hover {
        background: rgba(255,255,255,.06);
    }

/* Navigation links */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: var(--dark-glass);
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.mobile-link {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,.04); /* subtle glass fill */
    border: 1px solid transparent;
    transition: background .2s, border-color .2s, color .2s;
}

    .mobile-link:hover {
        background: rgba(25,194,154,.10);
        border-color: rgba(25,194,154,.28);
        color: #fff;
    }

/* Primary CTA button */
.mobile-primary {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 12px 14px;
    border-radius: 14px;
    color: #0b0f0f;
    font-weight: 700;
    background: var(--accent);
    text-decoration: none;
    border: 1px solid rgba(25,194,154,.7);
    box-shadow: 0 10px 30px rgba(25,194,154,.25);
    transition: filter .2s;
}

    .mobile-primary:hover {
        filter: brightness(1.08);
    }

/* Ensure sheet sits above sticky header */
.appbar {
    z-index: 2000;
}

.mobile-cta {
    border: 1px solid rgba(25,194,154,.5);
    border-radius: 9999px;
    text-align: center;
    padding: .6rem .9rem;
    color: #e6fff7;
}


.brand .sub {
    color: var(--text-dim);
    font-weight: 400;
    margin-left: .25rem;
}

.nav-links a {
    margin-left: 1rem;
    color: var(--text-subtle);
    font-weight: 800;
}

.footer {
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--text-dim);
}

/* ---------- HERO (full-bleed) ---------- */
/* Make the hero break out to full viewport width even inside a centered layout */
.hero {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    width: 100vw; /* full viewport width */
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* classic full-bleed trick */
    margin-right: -50vw;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .22;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 700px at 10% 10%, rgba(25,194,154,.12), transparent 60%), radial-gradient(900px 600px at 90% 20%, rgba(168,85,247,.10), transparent 55%), linear-gradient(to top right, rgba(0,0,0,.85), rgba(0,0,0,.35));
}

/* Keep hero content aligned with site max-width */
.hero .mud-container,
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.02em;
}

.hero-cta {
    display: flex;
    gap: .75rem;
    margin-top: 1.1rem;
}

.hero-logo {
    object-fit: contain;
    border-radius: 12px;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(25,194,154,.35));
    width: 200px;
    padding: 10px;
    margin-left: -10px;
}

.cta {
    color: #0b0f0f;
    font-weight: 600;
}

.cta-outline {
    border-color: var(--accent);
}

/* ---- ABOUT (match hero vibe) ---- */
.about-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.16);
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 600px at 8% 15%, rgba(25,194,154,.12), transparent 60%), radial-gradient(700px 500px at 95% 10%, rgba(168,85,247,.10), transparent 55%);
    pointer-events: none;
}

.about-grid {
    padding: clamp(1.25rem, 2.5vw, 2rem);
}

/* Left column */
.about-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-align: center;
}

.avatar-ring {
    width: clamp(96px, 18vw, 140px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(25,194,154,.55);
    box-shadow: 0 8px 40px rgba(25,194,154,.25), inset 0 0 0 1px rgba(255,255,255,.06);
}

    .avatar-ring img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Right column */
.about-right {
    padding: clamp(.25rem, 1vw, .5rem) 0;
}

.about-title {
    color: var(--accent);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .5rem;
}

.about-text {
    line-height: 1.7;
}

/* Chips to match accent/glass */
.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .25rem;
}

.about-chip.mud-chip {
    border-color: rgba(25,194,154,.65);
    background: rgba(25,194,154,.10);
    color: #e6fff7;
    border-radius: 9999px;
    padding: .35rem .75rem;
}

/* Responsive polish */
@media (max-width: 640px) {
    .about-grid {
        padding: 1rem;
    }

    .about-right {
        text-align: left;
    }
}


/* Glass image panel in hero */
.glass-panel {
    position: relative;
    aspect-ratio: 5 / 3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 0 1px rgba(255,255,255,.5), 0 20px 80px rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
}

    .glass-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .85;
    }

/* ---------- Experience logos ---------- */
.exp-header {
    padding-bottom: .25rem;
}

.exp-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
}

.exp-title {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
}

.company-name {
    margin: 0;
    line-height: 1.2;
}

.role-period {
    margin: 0;
    line-height: 1.2;
}

/* Make sure the logo is a neat square and aligns nicely */
.logo-box {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
}

    .logo-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ---------- Tech marquee ---------- */
.marquee {
    position: relative;
    display: flex;
    gap: 4rem; /* spread more */
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    animation: marquee 28s linear infinite;
    opacity: .95;
}

    .marquee img {
        height: 40px;
        opacity: .95;
        filter: grayscale(5%);
    }

    /* soft edge fades */
    .marquee::before, .marquee::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 48px;
        pointer-events: none;
    }

    .marquee::before {
        left: 0;
        background: linear-gradient(to right, var(--bg), transparent);
    }

    .marquee::after {
        right: 0;
        background: linear-gradient(to left, var(--bg), transparent);
    }

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 1024px) {
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 72vh;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .marquee {
        gap: 2.5rem;
        animation-duration: 24s;
    }

        .marquee img {
            height: 34px;
        }

    .logo-box {
        width: 64px;
        height: 64px;
    }
}

/* Section header styling */
.section-header {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.02em;
    margin: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-subtle);
    margin: 0;
}

/* Experience cards */
.exp-item {
    display: flex;
}

.exp-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 40px rgba(0,0,0,.55);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .exp-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 60px rgba(0,0,0,.6);
        border-color: rgba(25,194,154,.35);
    }

/* Accent glow overlay */
.exp-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 340px at 10% 0%, rgba(25,194,154,.10), transparent 60%), radial-gradient(420px 300px at 100% 0%, rgba(168,85,247,.08), transparent 55%);
}
/* ---- TECH (match Experience vibe) ---- */
.tech-item {
    display: flex;
}

.tech-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 40px rgba(0,0,0,.55);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 1.25rem 1.25rem;
    height: 100%;
}

    .tech-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 60px rgba(0,0,0,.6);
        border-color: rgba(25,194,154,.35);
    }

/* soft accent glow like Experience */
.tech-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 340px at 0% 0%, rgba(25,194,154,.10), transparent 60%), radial-gradient(420px 300px at 100% 0%, rgba(168,85,247,.08), transparent 55%);
}

.tech-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    position: relative;
    z-index: 1;
}

.tech-title {
    margin: 0;
    color: #fff;
}

.tech-count {
    font-size: .8rem;
    padding: .2rem .6rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,.14);
    color: var(--text-subtle);
    background: rgba(255,255,255,.05);
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
    z-index: 1;
}

.mud-chip.tech-chip {
    padding: .35rem .7rem;
    border-radius: 9999px;
    border-color: rgba(25,194,154,.65);
    background: rgba(25,194,154,.10);
    color: #e6fff7;
}

/* glassy strip wrapper for marquee */
.tech-strip {
    overflow: hidden !important;
}


.tech-strip-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(600px 360px at 10% 50%, rgba(25,194,154,.10), transparent 60%), radial-gradient(500px 320px at 90% 50%, rgba(168,85,247,.08), transparent 55%);
}

/* --- Tech strip: plain (no glass), no cropping --- */
.tech-strip,
.tech-strip.glass {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

    /* kill the decorative overlay block */
    .tech-strip .tech-strip-overlay {
        display: none !important;
    }

    .tech-strip .marquee {
        display: flex;
        gap: 3rem;
        align-items: center;
        animation: marquee-loop 40s linear infinite;
        will-change: transform;
        overflow: hidden !important;
    }

        /* We can still remove the fade edges; just don't unclip the strip */
        .tech-strip .marquee::before,
        .tech-strip .marquee::after {
            display: none !important;
            width: 0 !important;
        }

        /* Don't let images shrink / collapse */
        .tech-strip .marquee img {
            flex: 0 0 auto; /* keep intrinsic width */
            display: block;
            height: 44px; /* your preferred size */
            width: auto;
            object-fit: contain;
        }
        .tech-strip .marquee img {
            flex: 0 0 auto;
            display: block;
            height: 44px;
            width: auto;
            max-width: 120px; /* guards against extra-wide SVGs */
            object-fit: contain;
        }


/* Optional smaller size on mobile */
@media (max-width: 640px) {
    .tech-strip .marquee {
        gap: 2rem;
        animation-duration: 30s;
    }

        .tech-strip .marquee img {
            height: 36px;
        }
}


/* marquee already defined; slightly bigger logos here */
/* Split layout spacing */
.tech-split .tech-item {
    display: flex;
}

/* Make the left cards a bit tighter for a 2-col grid */
.tech-card.compact {
    padding: .9rem 1rem 1.05rem;
    gap: .6rem;
}

/* -------- Right-side photo panel -------- */
.tech-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-photo {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0; /* image fills, meta sits on top */
    min-height: 360px;
}

.tech-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .9;
    transform: scale(1.02);
}

.tech-photo-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 600px at 100% 0%, rgba(168,85,247,.12), transparent 55%), linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.25));
    pointer-events: none;
}

.tech-photo-meta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .9rem;
    border-radius: 18px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.tech-photo-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.01em;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

    .tech-badges .kpi {
        font-size: .8rem;
        padding: .35rem .6rem;
        border-radius: 9999px;
        color: #e6fff7;
        background: rgba(25,194,154,.12);
        border: 1px solid rgba(25,194,154,.45);
    }

/* small supporting card */
.tech-note {
    padding: .9rem 1rem;
    border-radius: 20px;
}

.mini-chips {
    margin-top: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

    .mini-chips span {
        font-size: .8rem;
        padding: .3rem .55rem;
        border-radius: 9999px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.06);
        color: #e7f7f2;
    }

/* Responsive polish */
@media (max-width: 960px) {
    .tech-photo {
        min-height: 300px;
    }

    .tech-photo-meta {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 640px) {
    .tech-photo {
        min-height: 240px;
    }
}
/* ---- HIGHLIGHTS (match Experience/Tech) ---- */
.hl-item {
    display: flex;
}

.hl-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 40px rgba(0,0,0,.55);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem 1.25rem 1.25rem;
    height: 100%;
}

    .hl-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 60px rgba(0,0,0,.6);
        border-color: rgba(25,194,154,.35);
    }

/* soft accent glow */
.hl-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 340px at 0% 0%, rgba(25,194,154,.10), transparent 60%), radial-gradient(420px 300px at 100% 0%, rgba(168,85,247,.08), transparent 55%);
}

/* header */
.hl-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    position: relative;
    z-index: 1;
}

.hl-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25,194,154,.12);
    border: 1px solid rgba(25,194,154,.45);
    color: #e6fff7;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(25,194,154,.25) inset;
}

.hl-title {
    margin: 0;
    color: #fff;
}

/* body */
.hl-text {
    position: relative;
    z-index: 1;
    line-height: 1.65;
}

/* responsive */
@media (max-width:640px) {
    .hl-card {
        padding: .9rem 1rem 1rem;
    }

    .hl-badge {
        width: 30px;
        height: 30px;
    }
}

/* Header */
.exp-header {
    padding: .85rem 1.25rem .25rem;
}

.exp-left {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 72px;
}

.exp-title {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
}

.company-name {
    margin: 0;
    line-height: 1.2;
}

/* Content */
.exp-content {
    padding: .5rem 1.25rem 1.25rem;
}

.bullets {
    margin-top: .5rem;
}

    .bullets li {
        margin: .35rem 0;
    }

/* Logo boxes */
.logo-box {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Responsive */
@media (max-width: 640px) {
    .logo-box {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
}

/* Header alignment */
.exp-header {
    padding-bottom: .25rem;
}

.exp-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 72px;
}

.exp-title {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
}

.company-name, .role-period {
    margin: 0;
    line-height: 1.2;
}

/* ---- CONTACT (hero-style) ---- */
.contact {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw; /* full-bleed */
    margin-top: 3rem;
}

.contact-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .28;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 700px at 10% 15%, rgba(25,194,154,.12), transparent 60%), radial-gradient(900px 600px at 90% 20%, rgba(168,85,247,.10), transparent 55%), linear-gradient(to top right, rgba(0,0,0,.85), rgba(0,0,0,.40));
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.01em;
    margin: .25rem 0 .75rem;
}

.contact-cta {
    display: flex;
    gap: .75rem;
    margin-top: 1.1rem;
}

.contact-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    color: var(--text-dim);
}

    .contact-meta a {
        color: var(--text-subtle);
        text-decoration: none;
    }

        .contact-meta a:hover {
            text-decoration: underline;
        }

/* Glass availability card (right) */
.avail-card {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 1.25rem 1.25rem;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 40px rgba(0,0,0,.55);
}

.avail-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 340px at 0% 0%, rgba(25,194,154,.10), transparent 60%), radial-gradient(420px 300px at 100% 0%, rgba(168,85,247,.08), transparent 55%);
}

.avail-title {
    margin-bottom: .5rem;
    color: #fff;
}

.avail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

/* Reuse your hero button styles */
.cta {
    color: #0b0f0f;
    font-weight: 600;
}

.cta-outline {
    border-color: var(--accent);
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .contact {
        min-height: 64vh;
    }

    .contact-title {
        font-size: 1.6rem;
    }
}

/* Card container: equal height in grid */
.exp-item {
    display: flex;
}

.exp-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 12px 40px rgba(0,0,0,.55);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .exp-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 60px rgba(0,0,0,.6);
        border-color: rgba(25,194,154,.35);
    }

/* Soft accent glow (like hero/about) */
.exp-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 340px at 10% 0%, rgba(25,194,154,.10), transparent 60%), radial-gradient(420px 300px at 100% 0%, rgba(168,85,247,.08), transparent 55%);
}

/* Header already aligns; tighten + badge vibe for role/period */
.exp-header {
    padding: .85rem 1.25rem .25rem;
}

.exp-left {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-height: 72px;
}

.exp-title {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
}

.company-name {
    margin: 0;
    line-height: 1.2;
}

/* Content spacing */
.exp-content {
    padding: .5rem 1.25rem 1.25rem;
}

.bullets {
    margin-top: .5rem;
}

    .bullets li {
        margin: .35rem 0;
    }

/* Logo squares (keep square + no stretch) */
.logo-square, .logo-box {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-square img, .logo-box img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Responsive polish */
@media (max-width: 640px) {
    .exp-header {
        padding: .75rem 1rem .25rem;
    }

    .exp-content {
        padding: .5rem 1rem 1rem;
    }

    .logo-square, .logo-box {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
}

/* Perfect square logos (SVG/PNG/JPG) */
.logo-square {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff; /* neutral bg for transparent logos */
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-square img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* keep aspect ratio, no stretch */
        object-position: center;
        display: block;
    }

.logo-fallback {
    font-weight: 700;
    color: #111;
}

@media (max-width:640px) {
    .logo-square {
        width: 60px;
        height: 60px;
        border-radius: 10px;
    }
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
}
/* === Tech Stack: aligned 70/30 grid (final overrides) === */

/* Make the outer MudGrid a clean 70/30 CSS Grid */
.tech-split.mud-grid-root { /* remove MudGrid negative margins */
    margin: 0 !important;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); /* 70 / 30 */
    gap: 24px;
    align-items: stretch;
}

    .tech-split.mud-grid-root > .mud-item { /* kill MudGrid item padding */
        padding: 0 !important;
    }

/* Left column: two equal columns of cards */
.tech-cards.mud-grid-root {
    margin: 0 !important; /* remove inner grid margin */
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

    .tech-cards.mud-grid-root > .mud-item {
        padding: 0 !important; /* ensure cards butt to the gap */
    }

/* Each card should fill its grid cell */
.tech-item {
    display: block; /* no display: contents (breaks height) */
}

    .tech-item .tech-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

/* Right column: photo panel fills the full column height */
.tech-side {
    display: flex;
}

    .tech-side .tech-photo {
        display: flex;
        flex: 1 1 auto;
        min-height: 0; /* prevents overflow in tall layouts */
    }

.tech-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive: stack on tablet/phone */
@media (max-width: 960px) {
    .tech-split.mud-grid-root {
        grid-template-columns: 1fr;
    }

    .tech-cards.mud-grid-root {
        grid-template-columns: 1fr;
    }
}
/* --- Richer tech cards --- */
.tech-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto; /* header / chips / footer */
    gap: .75rem;
    padding: 1rem 1.1rem 1rem;
}

    /* subtle inner gradient & edge highlight */
    .tech-card::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(600px 380px at 0% -10%, rgba(25,194,154,.10), transparent 60%), radial-gradient(420px 260px at 100% 0%, rgba(168,85,247,.08), transparent 55%);
    }

.tech-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.tech-head-left {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.tech-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(25,194,154,.35);
    background: rgba(25,194,154,.08);
    box-shadow: inset 0 0 14px rgba(25,194,154,.18);
}

.tech-title {
    margin: 0;
    color: #fff;
}

.tech-count {
    font-size: .8rem;
    padding: .2rem .6rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,.14);
    color: var(--text-subtle);
    background: rgba(255,255,255,.05);
}

/* denser chips */
.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.mud-chip.tech-chip {
    padding: .33rem .65rem;
    border-radius: 9999px;
    border-color: rgba(25,194,154,.55);
    background: rgba(25,194,154,.09);
    color: #e6fff7;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

    .mud-chip.tech-chip:hover {
        transform: translateY(-1px);
        background: rgba(25,194,154,.14);
        border-color: rgba(25,194,154,.75);
    }

/* tiny footer tag */
.tech-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
}

.tech-tag {
    font-size: .75rem;
    padding: .28rem .55rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: var(--text-subtle);
}


/* ---- HIGHLIGHTS split (70/30 like Tech) ---- */
.hl-split{
  display:grid;
  grid-template-columns:minmax(0,7fr) minmax(0,3fr);
  gap:24px;
  align-items:stretch;
}
.hl-split > .mud-item{ padding:0 !important; }

/* left cards grid */
.hl-cards{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.hl-item{ display:contents; }        /* let Paper fill cell */
.hl-card{ height:100%; display:flex; flex-direction:column; gap:.5rem; }

/* right image panel */
.hl-side{ display:flex; }
.hl-photo{
  position:relative; overflow:hidden; border-radius:28px; padding:0; flex:1; height:100%;
}
.hl-photo-img{
  width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.02);
  opacity:.95;
}
.hl-photo-grad{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 600px at 90% 0%, rgba(168,85,247,.12), transparent 55%),
    linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.25));
  pointer-events:none;
}
.hl-meta{
  position:absolute; left:16px; right:16px; bottom:16px;
  display:flex; flex-direction:column; gap:.5rem;
  padding:.9rem; border-radius:18px; background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12); backdrop-filter:blur(10px);
}
.hl-meta-title{ color:#fff; font-weight:800; letter-spacing:-.01em; }
.hl-badges{ display:flex; flex-wrap:wrap; gap:.5rem; }
.hl-badges .kpi{
  font-size:.8rem; padding:.35rem .6rem; border-radius:9999px;
  color:#e6fff7; background:rgba(25,194,154,.12); border:1px solid rgba(25,194,154,.45);
}

/* responsive */
@media (max-width:960px){
  .hl-split{ grid-template-columns:1fr; }
  .hl-cards{ grid-template-columns:1fr; }
}
.mud-main-content {
    padding-top:0;
}

/* Highlights: make MudItems behave like plain grid children */
.hl-split.mud-grid {
    margin: 0 !important;
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(0,3fr);
    gap: 24px;
    align-items: start;
}

    /* kill MudItem padding + width constraints */
    .hl-split.mud-grid > .mud-grid-item {
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
        flex: initial !important;
    }

/* Left: 2-column card grid */
.hl-cards.mud-grid {
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

    .hl-cards.mud-grid > .mud-grid-item {
        padding: 0 !important;
    }

@media (max-width:960px) {
    .hl-split.mud-grid {
        grid-template-columns: 1fr;
    }

    .hl-cards.mud-grid {
        grid-template-columns: 1fr;
    }
}
/* === Highlights photo: brand tint + fit === */
.hl-photo {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    min-height: 420px; /* a bit taller = better balance with cards */
    max-height: 640px;
}

/* Re‑tint the blue base image to brand teal and deepen it a touch */
.hl-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    filter: hue-rotate(20deg) /* push blues toward teal */
    saturate(10%) brightness(0.88) /* darken slightly */
    contrast(1.06);
    transform: scale(1.015);
    opacity: .95;
    display: block;
}

/* Brand overlays (teal + subtle purple) and dark vignette for copy legibility */
.hl-photo-grad {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1100px 700px at 85% 10%, rgba(168,85,247,.12), transparent 60%), /* your purple glow */
    linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.22)), /* vignette for contrast */
    radial-gradient(900px 600px at 10% 90%, rgba(25,194,154,.18), transparent 55%); /* brand teal wash */
    mix-blend-mode: screen; /* softly merges with the image colors */
}

/* Metadata pill stays readable */
.hl-meta {
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: rgba(0,0,0,.38);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.hl-meta-title {
    color: #fff;
}

/* Responsive */
@media (max-width: 960px) {
    .hl-photo {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .hl-photo {
        min-height: 300px;
    }
}
/* --- Highlights layout (no Mud gutters, solid alignment) --- */
.hl-top {
    display: grid;
    grid-template-columns: minmax(0,7fr) minmax(0,3fr); /* 70/30 like Tech */
    gap: 24px;
    align-items: stretch;
}

.hl-grid-2 {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
}

.hl-rest {
    margin-top: 16px;
}

/* Card header like Tech */
.hl-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    position: relative;
    z-index: 1;
}

.hl-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid rgba(25,194,154,.35);
    background: rgba(25,194,154,.08);
    box-shadow: inset 0 0 14px rgba(25,194,154,.18);
}

.hl-title {
    color: #fff;
    margin: 0;
}

/* Image panel sizing + brand tint (from previous step) */
.hl-photo {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    min-height: 420px;
}

.hl-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    transform: scale(1.015);
    opacity: .95;
    display: block;
}

.hl-photo-grad {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(1100px 700px at 85% 10%, rgba(168,85,247,.12), transparent 60%), linear-gradient(to top, rgba(0,0,0,.60), rgba(0,0,0,.22)), radial-gradient(900px 600px at 10% 90%, rgba(25,194,154,.18), transparent 55%);
}

/* Responsive: stack neatly */
@media (max-width:960px) {
    .hl-top {
        grid-template-columns: 1fr;
    }
}
