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

:root {
    --teal: #0f6f9f;
    --teal-dark: #062c45;
    --teal-light: #e8f4fa;
    --navy: #093c5d;
    --navy-dark: #061f31;
    --blue-mid: #0b4a70;
    --blue-soft: #dceff8;
    --accent-cyan: #5dbce8;
    --accent-blue: #2f9bd3;
    --charcoal: #163149;
    --muted: #61788c;
    --border: #d4e5ef;
    --white: #ffffff;
    --bg: #f1f8fc;
    --cream-bg: #F5E9D8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13%;
    height: 68px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}

nav.scrolled {
    box-shadow: 0 4px 24px rgba(9, 60, 93, .14);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: .5px;
}

.nav-logo span {
    color: var(--navy);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.nav-cta {
    background: var(--teal);
    color: var(--white) !important;
    padding: .45rem 1.1rem;
    border-radius: 6px;
    transition: background .2s !important;
}

.nav-cta:hover {
    background: var(--navy);
    color: var(--white) !important;
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    padding-top: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--cream-bg);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(9, 60, 93, .08);
    top: -100px;
    left: -100px;
}

#hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(9, 60, 93, .08);
    bottom: -80px;
    right: 40%;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hc-1 {
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(9, 60, 93, .12);
    top: 12%;
    right: 6%;
    animation: float-a 9s ease-in-out infinite;
}

.hc-2 {
    width: 180px;
    height: 180px;
    border: 1px solid rgba(9, 60, 93, .12);
    top: 55%;
    left: 38%;
    animation: float-b 7s ease-in-out infinite;
}

.hc-3 {
    width: 480px;
    height: 480px;
    border: 1px dashed rgba(9, 60, 93, .12);
    top: -60px;
    right: 18%;
    animation: float-c 13s ease-in-out infinite;
}

.hc-4 {
    width: 110px;
    height: 110px;
    border: 1px dashed rgba(9, 60, 93, .12);
    bottom: 22%;
    left: 12%;
    animation: float-d 6s ease-in-out infinite;
}

.hc-5 {
    width: 240px;
    height: 240px;
    border: 1px solid rgba(9, 60, 93, .12);
    bottom: 10%;
    right: 12%;
    animation: float-b 11s ease-in-out infinite;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5% 6rem 13%;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(47, 155, 211, .12);
    border: 1px solid rgba(47, 155, 211, .28);
    color: var(--teal);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: .75rem;
}

.hero-name span {
    color: var(--accent-blue);
}

.hero-title {
    font-size: 1.05rem;
    color: rgba(22, 49, 73, .78);
    font-weight: 400;
    margin-bottom: 1.8rem;
}

.hero-quote {
    font-size: 1rem;
    color: rgba(22, 49, 73, .72);
    font-style: italic;
    border-left: 3px solid var(--accent-blue);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1;
}

.stat-label {
    font-size: .75rem;
    color: rgba(22, 49, 73, .62);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .25rem;
}

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

.btn-primary {
    background: var(--teal);
    color: var(--white);
    padding: .75rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s, transform .15s;
}

.btn-primary:hover {
    background: var(--accent-blue);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    padding: .75rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    border: 1.5px solid rgba(9, 60, 93, .35);
    transition: border-color .2s, background .2s;
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(47, 155, 211, .08);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.hero-img-frame {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

.hero-img-frame::before {
    content: '';
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 3px dashed rgba(93, 188, 232, .56);
    animation: spin-cw 22s linear infinite;
    pointer-events: none;
}

.hero-img-frame::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1.5px solid rgba(93, 188, 232, .34);
    pointer-events: none;
}

.hero-img-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    display: block;
    filter: drop-shadow(0 16px 48px rgba(9, 60, 93, .25));
}

.hero-image-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 155, 211, .2) 0%, transparent 70%);
}

/* ── ANIMATIONS ── */
@keyframes spin-cw {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float-a {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(18px, -24px);
    }

    50% {
        transform: translate(-12px, -38px);
    }

    75% {
        transform: translate(-22px, -14px);
    }
}

@keyframes float-b {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-20px, 16px);
    }

    50% {
        transform: translate(14px, 28px);
    }

    75% {
        transform: translate(22px, -10px);
    }
}

@keyframes float-c {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(24px, -18px);
    }

    66% {
        transform: translate(-18px, 22px);
    }
}

@keyframes float-d {

    0%,
    100% {
        transform: translate(0, 0);
    }

    30% {
        transform: translate(-14px, -26px);
    }

    60% {
        transform: translate(20px, -12px);
    }

    80% {
        transform: translate(10px, 20px);
    }
}

/* ── COMMON SECTIONS ── */
section {
    padding: 90px 13%;
}

section:nth-child(even) {
    background: var(--bg);
}

.section-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: .6rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-sub {
    color: var(--muted);
    font-size: .95rem;
    max-width: 520px;
    margin-bottom: 3rem;
}

.section-sub-center {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.divider-center {
    margin: .6rem auto 1rem;
}

/* ── BIO ── */
#bio {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: center;
}

.bio-aside {
    position: relative;
}

.bio-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(9, 60, 93, .2);
    position: relative;
}

.bio-img-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.bio-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--white);
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
    box-shadow: 0 8px 32px rgba(9, 60, 93, .14);
    border-top: 3px solid var(--accent-blue);
}

.bio-card strong {
    display: block;
    font-size: 1.4rem;
    color: var(--accent-blue);
    font-weight: 700;
}

.bio-card span {
    font-size: .78rem;
    color: var(--muted);
}

.bio-text p {
    margin-bottom: 1.2rem;
    font-size: .97rem;
    color: var(--charcoal);
}

.bio-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.pillar {
    background: var(--blue-soft);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--accent-blue);
}

.pillar-title {
    font-weight: 600;
    font-size: .85rem;
    color: var(--navy);
    margin-bottom: .3rem;
}

.pillar-desc {
    font-size: .8rem;
    color: var(--muted);
}

/* ── EXPERTISE ── */
#expertise {
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.expertise-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2rem 1.4rem;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    cursor: default;
}

.expertise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(9, 60, 93, .16);
    border-color: var(--accent-blue);
}

.exp-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.exp-title {
    font-weight: 600;
    color: var(--navy);
    font-size: .9rem;
    margin-bottom: .4rem;
}

.exp-desc {
    font-size: .8rem;
    color: var(--muted);
}

/* ── COMPANIES  ── */
.company-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.company-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s;
}

.company-card:hover {
    box-shadow: 0 16px 48px rgba(9, 60, 93, .16);
    border-color: var(--accent-blue);
}

.company-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.8rem 2.2rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    flex-wrap: wrap;
    gap: 1rem;
}

.company-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.company-logo-wrap img {
    height: 44px;
    max-width: 180px;
    object-fit: contain;
}

.company-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.company-logo-text span {
    color: var(--accent-blue);
}

.company-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.tl-role {
    font-size: .82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.tl-period {
    font-size: .78rem;
    background: var(--blue-soft);
    color: var(--navy);
    padding: .25rem .9rem;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.company-card-body {
    padding: 1.8rem 2.2rem;
}

.tl-desc {
    font-size: .92rem;
    color: var(--charcoal);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.tl-desc a {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
}

.tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tag {
    font-size: .72rem;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--charcoal);
    padding: .25rem .8rem;
    border-radius: 20px;
    font-weight: 500;
}

/* ── CONTACT ── */
#contact {
    text-align: center;
    background: var(--cream-bg);
    position: relative;
    overflow: hidden;
}

#contact .section-title {
    color: var(--navy-dark);
}

#contact .section-tag {
    color: var(--accent-blue);
}

#contact .section-sub {
    color: var(--muted);
}

#contact>*:not(.contact-circle) {
    position: relative;
    z-index: 2;
}

.contact-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cc-1 {
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(9, 60, 93, .12);
    top: -120px;
    left: -80px;
    animation: float-c 14s ease-in-out infinite;
}

.cc-2 {
    width: 280px;
    height: 280px;
    border: 1px dashed rgba(9, 60, 93, .12);
    top: 10%;
    right: 5%;
    animation: float-a 8s ease-in-out infinite;
}

.cc-3 {
    width: 160px;
    height: 160px;
    border: 1px solid rgba(9, 60, 93, .12);
    top: 50%;
    left: 20%;
    animation: float-d 7s ease-in-out infinite;
}

.cc-4 {
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(9, 60, 93, .12);
    bottom: -80px;
    right: 10%;
    animation: float-b 12s ease-in-out infinite;
}

.cc-5 {
    width: 120px;
    height: 120px;
    border: 1px dashed rgba(9, 60, 93, .12);
    bottom: 15%;
    left: 8%;
    animation: float-a 9s ease-in-out infinite 1.5s;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.contact-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: transparent;
    border-radius: 12px;
}

.contact-card-inner {
    position: relative;
    width: 100%;
    min-height: auto;
}

.contact-front {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    background: var(--white);
    border: 1px solid rgba(9, 60, 93, .10);
    border-left: 3px solid var(--accent-blue);
    border-radius: 10px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 8px 24px rgba(9, 60, 93, .06);
    transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-card:hover .contact-front {
    background: var(--blue-soft);
    box-shadow: 0 14px 32px rgba(9, 60, 93, .12);
    transform: translateY(-3px);
}

.contact-back {
    display: none;
}

.contact-icon {
    font-size: 1.2rem;
    margin-bottom: .7rem;
    display: block;
}

.contact-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .35rem;
    text-transform: none;
    letter-spacing: 0;
}

.contact-value {
    font-size: .92rem;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.6;
}



.contact-card {
    cursor: pointer;
}

.contact-card .contact-value {
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color .25s ease, text-decoration-color .25s ease;
}

.contact-card:hover .contact-value {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--accent-blue);
}

/* ── FOOTER ── */
footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .45);
    text-align: center;
    padding: 1.8rem;
    font-size: .8rem;
}

footer span {
    color: var(--accent-cyan);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    #hero {
        grid-template-columns: 1fr;
    }

    .hero-text {
        padding: 5rem 6% 4rem;
    }

    .hero-name {
        padding-right: 90px;
    }

    .hero-image {
        display: block;
        position: absolute;
        top: calc(68px + 6rem);
        right: 6%;
        width: 76px;
        height: 76px;
        border-radius: 50%;
        overflow: hidden;
        border: 2.5px solid rgba(93, 188, 232, .7);
        box-shadow: 0 4px 20px rgba(9, 60, 93, .25);
        padding: 0;
        align-items: unset;
        justify-content: unset;
    }

    .hero-img-frame {
        width: 100%;
        height: 100%;
    }

    .hero-img-frame::before,
    .hero-img-frame::after {
        display: none;
    }

    .hero-img-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        filter: none;
    }

    .hero-image-bg {
        display: none;
    }

    #bio {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-card {
        right: 0;
    }

    .nav-links {
        display: none;
    }

    .bio-pillars {
        grid-template-columns: 1fr;
    }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}