:root {
    --ink: #17202a;
    --ink-soft: #415062;
    --ink-muted: #6f7a86;
    --surface: #ffffff;
    --surface-soft: #f4f6f8;
    --surface-strong: #e7ebef;
    --navy: #111827;
    --steel: #2f5f73;
    --teal: #1c7c74;
    --accent: #57c7ff;
    --accent-strong: #2aa8e8;
    --border: #d9e0e6;
    --shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
    --shadow-soft: 0 8px 24px rgba(17, 24, 39, 0.08);
    --radius: 8px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(87, 199, 255, 0.78);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 1rem;
    transform: translateY(-160%);
    background: var(--surface);
    color: var(--navy);
    padding: 0.7rem 1rem;
    border-radius: var(--radius);
    z-index: 10;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - 2rem, var(--max-width));
    margin: 0 auto;
}

.container.narrow {
    width: min(100% - 2rem, 880px);
}

.site-header {
    background:
        linear-gradient(135deg, rgba(13, 20, 32, 0.99), rgba(16, 47, 61, 0.96)),
        radial-gradient(circle at 78% 18%, rgba(87, 199, 255, 0.2), transparent 34%);
    color: #fff;
}

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: 5rem 0 4rem;
}

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

.eyebrow {
    margin: 0 0 0.7rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 8vw, 5.8rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.headline {
    max-width: 760px;
    margin-bottom: 1.25rem;
    color: #e9edf1;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.35;
    font-weight: 600;
}

.summary {
    max-width: 760px;
    margin-bottom: 2rem;
    color: #c9d2db;
    font-size: 1.04rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
    background: var(--accent);
    color: var(--navy);
}

.button.primary:hover {
    background: var(--accent-strong);
    color: #fff;
}

.button.secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.button.secondary:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.08);
}

.hero-profile {
    justify-self: end;
    width: min(100%, 330px);
}

.portrait-frame {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: var(--shadow);
    background: #f8fafc;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

.credential-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
}

.credential-stack span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #f7fafc;
    font-weight: 800;
}

.section {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section.muted,
.impact-band {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 2rem;
}

.section-heading.compact {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    color: var(--navy);
}

.impact-band {
    padding: clamp(2rem, 5vw, 3rem) 0;
    border-bottom: 1px solid var(--border);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.impact-item {
    min-height: 170px;
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.impact-item strong {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.25;
}

.impact-item span {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.cert-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.cert-card.featured {
    border-top: 4px solid var(--accent-strong);
}

.cert-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.cert-card h3 {
    margin-bottom: 0.2rem;
    color: var(--navy);
}

.cert-card p {
    margin-bottom: 0.25rem;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.cert-card span {
    color: var(--ink-muted);
    font-size: 0.82rem;
}

.role-list {
    display: grid;
    gap: 1rem;
}

.role-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.role-meta {
    border-right: 1px solid var(--border);
    padding-right: 1.5rem;
}

.role-date {
    margin-bottom: 0.75rem;
    color: var(--teal);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.role-meta h3 {
    color: var(--navy);
    font-size: 1.25rem;
}

.role-meta p:last-child {
    color: var(--ink-soft);
}

.scope {
    margin-bottom: 1rem;
    color: var(--navy);
    font-weight: 700;
}

ul {
    margin: 0;
    padding-left: 1.1rem;
}

li {
    margin-bottom: 0.6rem;
    color: var(--ink-soft);
}

li:last-child {
    margin-bottom: 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.capability-grid article,
.membership-card,
.development-grid article {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.capability-grid h3,
.membership-card h3,
.development-grid h3 {
    color: var(--navy);
}

.membership-card p {
    color: var(--ink-soft);
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.development-grid span {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--teal);
    font-size: 0.82rem;
    font-weight: 800;
}

.development-grid p {
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.footer-content h2 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.6rem;
}

.footer-content p {
    max-width: 560px;
    margin-bottom: 0;
    color: #c9d2db;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.footer-links a {
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: #9ba6b3;
    font-size: 0.9rem;
}

@media (max-width: 1040px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) 260px;
    }

    .impact-grid,
    .capability-grid,
    .development-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 3.5rem 0;
    }

    .hero-profile {
        justify-self: start;
        width: min(100%, 260px);
        order: -1;
    }

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

    .role-card {
        grid-template-columns: 1fr;
    }

    .role-meta {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 1rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .container,
    .container.narrow {
        width: min(100% - 1.25rem, var(--max-width));
    }

    .hero-actions,
    .footer-links {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .footer-links a {
        width: 100%;
    }

    .impact-grid,
    .capability-grid,
    .development-grid {
        grid-template-columns: 1fr;
    }

    .impact-item {
        min-height: 0;
    }

    .cert-card {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .cert-card img {
        width: 56px;
        height: 56px;
    }
}
