:root {
    --hero-ink: #132238;
    --hero-muted: #51627a;
    --hero-link: #8f0f2a;
    --hero-border: rgba(19, 34, 56, 0.12);
    --hero-glass: rgba(255, 255, 255, 0.8);
    --hero-shadow: 0 20px 60px rgba(28, 51, 84, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top, rgba(227, 242, 253, 0.9), rgba(255, 255, 255, 0) 36%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 28%);
    color: var(--hero-ink);
}

a {
    color: var(--hero-link);
}

a:hover {
    color: #6c091f;
}

h3[id] {
    scroll-margin-top: 96px;
}

#main-nav-bar {
    box-shadow: 0 12px 24px rgba(28, 51, 84, 0.08);
}

.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 27rem;
    margin-bottom: 2rem;
    padding: 1.75rem;
    border: 1px solid var(--hero-border);
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at right top, rgba(143, 15, 42, 0.08), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 252, 0.98));
    box-shadow: var(--hero-shadow);
    isolation: isolate;
}

.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(191, 219, 254, 0.5), transparent 18%),
        radial-gradient(circle at 84% 82%, rgba(249, 168, 212, 0.18), transparent 20%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.82;
}

.hero-particles canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 21rem;
    margin: 0;
    padding: 1.2rem;
    border: 1px solid rgba(19, 34, 56, 0.12);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    box-shadow: 0 16px 40px rgba(28, 51, 84, 0.06);
}

.hero-photo-col,
.hero-copy-col {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-photo-frame {
    width: min(100%, 11.5rem);
    margin: 0 auto;
    padding: 0;
}

.hero-photo {
    border-radius: 1rem;
    box-shadow: 0 10px 22px rgba(19, 34, 56, 0.14);
}

.hero-copy-card {
    max-width: 48rem;
    padding: 0 0 0 1.1rem;
}

.hero-title {
    margin: 0 0 0.75rem;
    color: #0d1727;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.95;
}

.hero-role,
.hero-contact,
.hero-summary {
    margin: 0 0 0.8rem;
    font-size: 1.04rem;
    line-height: 1.62;
}

.hero-contact {
    font-weight: 600;
}

.hero-summary {
    margin-bottom: 0;
    max-width: 44rem;
}

@media (max-width: 767.98px) {
    .hero-shell {
        min-height: 0;
        padding: 1.25rem;
        border-radius: 1.35rem;
    }

    .hero-grid {
        min-height: 0;
    }

    .hero-photo-col {
        margin-bottom: 1rem;
    }

    .hero-photo-col,
    .hero-copy-col {
        justify-content: flex-start;
    }

    .hero-copy-col.top10 {
        margin-top: 0 !important;
    }

    .hero-copy-card {
        padding: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-role,
    .hero-contact,
    .hero-summary {
        font-size: 0.98rem;
    }
}
