:root {
    --navy: #081827;
    --navy-soft: #10283f;
    --gold: #d8ad62;
    --cream: #f6f0e7;
    --paper: #fffaf2;
    --ink: #142235;
    --muted: #5d6875;
    --line: rgba(216, 173, 98, .24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Cairo", Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(216, 173, 98, .16), transparent 28rem),
        linear-gradient(180deg, #fbf7f0 0%, #f6f0e7 100%);
    line-height: 1.9;
}

a {
    color: inherit;
    text-decoration: none;
}

.identity-container {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.identity-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(8, 24, 39, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(216, 173, 98, .2);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.wordmark {
    display: grid;
    gap: 2px;
    color: #fff;
    line-height: 1.3;
}

.wordmark strong {
    font-size: 22px;
    font-weight: 800;
}

.wordmark span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1.8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, .82);
    padding: 10px 14px;
    border-radius: 999px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    transform: translateY(-2px);
}

.identity-hero {
    color: #fff;
    background:
        linear-gradient(110deg, rgba(8, 24, 39, .98), rgba(16, 40, 63, .88)),
        url("assets/zaher-abuhmaid.webp") center / cover;
    padding: 86px 0 74px;
    position: relative;
    overflow: hidden;
}

.identity-hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 52px;
    background: linear-gradient(180deg, transparent, var(--cream));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 56px;
    align-items: center;
}

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

.hero-kicker {
    color: var(--gold);
    font-weight: 800;
    font-size: 15px;
}

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

h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.25;
    font-weight: 800;
}

.hero-role {
    color: var(--gold);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-copy p:not(.hero-role) {
    max-width: 660px;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
}

.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    color: #102033;
    background: linear-gradient(135deg, #f0cd87, var(--gold));
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gold-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}

.portrait-card {
    width: min(360px, 100%);
    aspect-ratio: .78;
    justify-self: center;
    padding: 12px;
    border: 1px solid rgba(216, 173, 98, .5);
    border-radius: 44% 44% 34% 34% / 25% 25% 18% 18%;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(216, 173, 98, .16));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
    overflow: hidden;
}

.portrait-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 14%;
    border-radius: inherit;
    filter: saturate(.96) contrast(1.05);
}

.identity-article {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 58px 0 76px;
}

.identity-section {
    background: rgba(255, 250, 242, .88);
    border: 1px solid rgba(216, 173, 98, .18);
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 16px 42px rgba(8, 24, 39, .06);
}

.identity-section.intro-section,
.identity-summary,
.official-accounts {
    grid-column: 1 / -1;
}

.identity-section h2 {
    color: var(--navy);
    margin-bottom: 14px;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.35;
    position: relative;
    padding-bottom: 10px;
}

.identity-section h2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--gold);
}

.identity-section p {
    color: var(--muted);
    margin-bottom: 12px;
}

.identity-section p:last-child {
    margin-bottom: 0;
}

.identity-section strong {
    color: var(--ink);
}

.identity-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.identity-section li {
    position: relative;
    padding-right: 20px;
    color: var(--muted);
}

.identity-section li::before {
    content: "";
    position: absolute;
    right: 0;
    top: .92em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.skill-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.identity-fields {
    display: inline-flex;
    max-width: 100%;
    padding: 12px 18px;
    border-radius: 8px;
    color: var(--navy) !important;
    background: rgba(216, 173, 98, .16);
    font-weight: 800;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.account-grid a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid rgba(216, 173, 98, .26);
    border-radius: 8px;
    color: var(--navy);
    background: #fff;
    font-weight: 700;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.account-grid a:hover {
    transform: translateY(-3px);
    border-color: rgba(216, 173, 98, .7);
    box-shadow: 0 12px 24px rgba(8, 24, 39, .08);
}

.identity-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 24px;
    color: rgba(255, 255, 255, .78);
    background: var(--navy);
}

.identity-footer a {
    color: var(--gold);
    font-weight: 800;
}

@media (max-width: 900px) {
    .nav-shell,
    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-grid,
    .identity-article {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
        margin-inline: auto;
    }

    .portrait-card {
        width: min(300px, 84vw);
    }

    .account-grid,
    .skill-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .identity-container {
        width: min(100% - 24px, 1120px);
    }

    .identity-hero {
        padding: 50px 0 54px;
    }

    .nav-links a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .identity-section {
        padding: 22px 18px;
    }

    .account-grid,
    .skill-list {
        grid-template-columns: 1fr;
    }
}
