:root {
    color-scheme: light;
    --blue: #0092ca;
    --pink: #f21368;
    --ink: #1b1f23;
    --muted: #5b6570;
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --border: #e3e6ea;
    --shell: 64rem;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

a {
    color: var(--blue);
}

a:focus-visible {
    border-radius: 0.1875rem;
    outline: 0.1875rem solid var(--pink);
    outline-offset: 0.2rem;
}

.skip-link {
    position: absolute;
    top: -5rem;
    left: 1rem;
    z-index: 10;
    padding: 0.65rem 0.9rem;
    border-radius: 0.375rem;
    color: var(--bg);
    background: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.shell {
    width: min(calc(100% - 3rem), var(--shell));
    margin-inline: auto;
}

.site-header {
    border-bottom: 0.0625rem solid var(--border);
}

.header-inner {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.wordmark::before {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--pink);
    content: "";
    transform: rotate(45deg);
}

.header-link {
    color: var(--blue);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: underline;
}

.hero {
    padding-block: clamp(4rem, 8vw, 6.5rem);
    color: #fff;
    background: linear-gradient(rgba(8, 10, 14, 0.85), rgba(8, 10, 14, 0.85)), url("images/hero.jpg") center 25% / cover no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr);
    gap: clamp(2rem, 6vw, 4rem);
    align-items: start;
}

.kicker {
    margin: 0 0 0.75rem;
    color: var(--blue);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero .kicker {
    color: #bfe3f5;
}

h1,
h2,
h3,
p {
    text-wrap: pretty;
}

h1 {
    margin: 0;
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.lede {
    max-width: 34rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.0625rem, 2vw, 1.1875rem);
    line-height: 1.6;
}

.text-link {
    display: inline-flex;
    margin-top: 1.5rem;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.hero-facts {
    margin: 0;
    padding: 1.5rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: #fff;
    background: rgba(8, 10, 14, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hero-facts div + div {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.25);
}

.hero-facts dt,
.detail-label {
    margin: 0 0 0.3rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.detail-label {
    color: var(--muted);
}

.hero-facts dt {
    color: rgba(255, 255, 255, 0.72);
}

.hero-facts dd {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
}

.section {
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

#about {
    background: var(--bg-alt);
}

.split {
    display: grid;
    grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 6vw, 3.5rem);
}

.section-heading {
    align-self: start;
}

h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1.25;
}

.prose {
    max-width: 38rem;
}

.prose p,
.section-intro > p:last-child,
.contact-grid > div:last-child > p {
    margin: 0;
    color: var(--muted);
}

.prose p + p {
    margin-top: 1rem;
}

.standfirst {
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.55;
}

.section-intro {
    max-width: 40rem;
}

.section-intro > p:last-child {
    margin-top: 0.75rem;
}

.experience-grid {
    display: grid;
    margin: 2.5rem 0 0;
    padding: 2rem 0 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 3rem;
    border-top: 0.0625rem solid var(--border);
    list-style: none;
}

h3 {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.experience-grid p {
    margin: 0.4rem 0 0;
    color: var(--muted);
}

.program-details {
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--bg-alt);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.details-grid > div + div {
    padding-left: 2rem;
    border-left: 0.0625rem solid var(--border);
}

.details-grid p:last-child {
    margin: 0.35rem 0 0;
    color: var(--muted);
}

.post-list {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.linkedin-post iframe {
    display: block;
    width: 100%;
    border: 0;
}

.linkedin-post-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.contact-section {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 6vw, 3.5rem);
}

.contact-grid > div:last-child {
    max-width: 34rem;
}

.email-link {
    display: inline-flex;
    margin-top: 1.25rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    color: var(--bg);
    background: var(--blue);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.email-link:hover {
    filter: brightness(0.92);
}

footer {
    padding-block: 1.5rem;
    border-top: 0.0625rem solid var(--border);
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

footer p {
    margin: 0;
}

@media (max-width: 48rem) {
    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .details-grid > div + div {
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: 0;
        border-top: 0.0625rem solid var(--border);
    }

    .experience-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
