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

:root {
    --border: rgba(255, 255, 255, .09);
    --blue: #93c5fd;
    --muted: #91a5c2;
    --white: #fff
}

body {
    min-height: 100vh;
    background: radial-gradient(ellipse at 50% 0%, #1e3152 0%, #111d32 40%, #0a1220 100%);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased
}

main {
    width: 100%;
    max-width: 900px;
    margin: auto;
    padding: 65px 25px 35px
}

.hero {
    text-align: center;
    padding: 15px 0 30px
}

.status {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid rgba(96, 165, 250, .3);
    border-radius: 50px;
    background: rgba(59, 130, 246, .1);
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px
}

.portrait {
    width: 190px;
    height: 225px;
    margin: 35px auto 28px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg, #263c5c, #142137);
    overflow: hidden;
    display: grid;
    place-items: center
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.placeholder {
    color: var(--muted);
    font-size: 12px
}

h1 {
    font-size: clamp(37px, 7vw, 60px);
    font-weight: 750;
    letter-spacing: -2.5px;
    line-height: 1.12
}

.dates {
    margin-top: 15px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px
}

.tribute {
    margin-top: 22px;
    color: var(--blue);
    font-size: 17px;
    font-weight: 500
}

.content {
    display: grid;
    gap: 16px
}

.card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .12)
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px
}

.card-heading h2 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.4px
}

.icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(59, 130, 246, .13);
    color: var(--blue);
    font-size: 17px
}

.card p {
    color: #a9b8ce;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 14px
}

.card p:last-child {
    margin-bottom: 0
}

.links {
    margin-top: 16px;
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035)
}

.links h2 {
    font-size: 21px;
    font-weight: 700;
    margin: 8px 0 22px
}

.label {
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px
}

.link-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 19px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
    color: #dbeafe;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease
}

.link:hover {
    transform: translateY(-3px);
    background: rgba(59, 130, 246, .15);
    border-color: rgba(96, 165, 250, .4);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2)
}

.link:active {
    transform: translateY(-1px)
}

a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #71829b;
    font-size: 12px
}

footer p+p {
    margin-top: 5px
}

@media(max-width:550px) {
    main {
        padding: 40px 17px 25px
    }

    .hero {
        padding-bottom: 38px
    }

    .portrait {
        width: 165px;
        height: 195px;
        margin: 28px auto 24px
    }

    .card {
        padding: 23px 20px
    }

    .links {
        padding: 25px 15px
    }

    .dates {
        font-size: 10px;
        letter-spacing: 1.2px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
    .link {
        transition: none
    }
    .link:hover,.link:active {
        transform: none
    }
}

@media print {
    body {
        background: #fff;
        color: #222
    }

    .card,
    .links {
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: none
    }

    .card p,
    footer {
        color: #555
    }
}