/* =========================================================
   Profile / About
   ========================================================= */

.profile {
    position: relative;
    margin: 0 72px;
    padding: 72px 0 88px;
    border-top: 1px solid rgba(112, 139, 171, 0.16);
    scroll-margin-top: 28px;
}

.profile__header {
    max-width: 780px;
    margin-bottom: 34px;
}

.profile__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #66a8f5;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile__kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    background: #4f93e8;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(79, 147, 232, 0.2);
}

.profile__title {
    margin: 10px 0 0;
    color: #f2f5f9;
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 690;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

.profile__lead {
    max-width: 760px;
    margin: 16px 0 0;
    color: #aab5c3;
    font-size: 1.08rem;
    line-height: 1.7;
}

.profile__intro-card {
    position: relative;
    max-width: 940px;
    padding: 30px 34px 30px 38px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(20, 31, 45, 0.84), rgba(12, 19, 29, 0.72));
    border: 1px solid rgba(112, 139, 171, 0.2);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 18px 44px rgba(0, 0, 0, 0.1);
}

.profile__personal + .profile__intro-card {
    margin-top: 28px;
}

.profile__intro-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #6fb1ff, #2f8cff 62%, rgba(47, 140, 255, 0.08));
    box-shadow: 0 0 18px rgba(47, 140, 255, 0.28);
}

.profile__intro-card p {
    max-width: 850px;
    margin: 0;
    color: #b4beca;
    font-size: 0.98rem;
    line-height: 1.78;
}

.profile__intro-card p + p {
    margin-top: 16px;
}

.profile__intro-card strong {
    color: #dce8f6;
    font-weight: 650;
}

/* ---------------------------------------------------------
   Personal details
   --------------------------------------------------------- */

.profile__personal {
    max-width: 940px;
    margin-top: 24px;
    padding: 26px 30px 28px;
    background: linear-gradient(145deg, rgba(19, 30, 44, 0.88), rgba(12, 19, 29, 0.74));
    border: 1px solid rgba(112, 139, 171, 0.2);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 16px 38px rgba(0, 0, 0, 0.08);
}

.profile__section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(112, 139, 171, 0.15);
}

.profile__section-heading > div > span {
    display: block;
    margin-bottom: 2px;
    color: #67a8f3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile__section-heading h3 {
    margin: 0;
    color: #f0f4f9;
    font-size: 1.18rem;
    font-weight: 690;
    line-height: 1.25;
}

.profile__section-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    color: #5c9fec;
    background: rgba(47, 140, 255, 0.07);
    border: 1px solid rgba(100, 164, 243, 0.26);
    border-radius: 50%;
}

.profile__section-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.profile__personal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px 42px;
    padding-top: 22px;
}

.profile__personal-group h4 {
    margin: 0 0 12px;
    color: #dce7f4;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile__contact {
    display: grid;
    gap: 5px;
    margin: 0;
    color: #adb8c5;
    font-size: 0.92rem;
    font-style: normal;
    line-height: 1.5;
}

.profile__contact a {
    width: fit-content;
    color: #b9c8d9;
    text-decoration: none;
    transition: color 180ms ease;
}

.profile__contact a:hover,
.profile__contact a:focus-visible {
    color: #66a8f5;
    outline: none;
}

.profile__facts {
    display: grid;
    gap: 9px;
    margin: 0;
}

.profile__facts > div {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
}

.profile__facts dt,
.profile__facts dd {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.profile__facts dt {
    color: #76879a;
}

.profile__facts dd {
    color: #b5c0cc;
}

@media (max-width: 1100px) {
    .profile {
        margin: 0 52px;
        padding: 64px 0 76px;
    }
}

@media (max-width: 900px) {
    .profile {
        margin: 0 28px;
        padding: 58px 0 68px;
        scroll-margin-top: 20px;
    }

    .profile__intro-card {
        padding: 24px 24px 24px 28px;
    }

    .profile__personal {
        padding: 22px;
    }

    .profile__personal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .profile__facts > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}
