/* =========================================================================
   СТРАНИЦА АВТОРА — graphite editorial
   ========================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #141414;
    color: #f0ece6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =========================================================================
   ОБЩИЕ ОБЁРТКИ СЕКЦИЙ
   ========================================================================= */

.pm-author-hero,
.pm-author-about,
.pm-author-spec,
.pm-author-education,
.pm-author-science,
.pm-author-events,
.pm-author-platforms,
.pm-author-why {
    position: relative;
    background: #141414;
    color: #f0ece6;
    overflow: hidden;
}

.pm-author-hero__container,
.pm-author-about__container,
.pm-author-spec__container,
.pm-author-education__container,
.pm-author-science__container,
.pm-author-events__container,
.pm-author-platforms__container,
.pm-author-why__container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
    z-index: 2;
    width: 100%;
}

/* Общий бейдж-надпись */
.pm-author-hero__badge,
.pm-author-about__badge,
.pm-author-education__badge,
.pm-author-science__badge,
.pm-author-events__badge,
.pm-author-platforms__badge,
.pm-author-why__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF8C00;
}

.pm-author-about__badge::before,
.pm-author-education__badge::before,
.pm-author-science__badge::before,
.pm-author-events__badge::before,
.pm-author-platforms__badge::before,
.pm-author-why__badge::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: #FF8C00;
    margin-right: 12px;
}

/* =========================================================================
   СЕКЦИЯ 1: HERO АВТОРА
   ========================================================================= */

.pm-author-hero {
    padding: 30px 0 80px;
}

.pm-author-hero::after {
    content: '';
    position: absolute;
    top: 5%;
    right: -12%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.pm-author-hero__grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: center;
}

.pm-author-hero__photo {
    position: relative;
    width: 100%;
    aspect-ratio: 711 / 1260;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.07);
    isolation: isolate;
}

.pm-author-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    position: relative;
    z-index: 1;
    filter: grayscale(15%) contrast(1.02);
    transition: filter 0.5s ease, transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.pm-author-hero__photo:hover img {
    filter: grayscale(0%) contrast(1.05);
    transform: scale(1.02);
}

.pm-author-hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 60%, rgba(20, 20, 20, 0.5) 100%),
        radial-gradient(circle at 80% 0%, rgba(255, 107, 0, 0.12) 0%, transparent 55%);
    border-radius: 10px;
}

.pm-author-hero__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.pm-author-hero__badge {
    position: relative;
    padding-left: 20px;
}

.pm-author-hero__badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #FF8C00;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.6);
    animation: pm-author-pulse 2.4s ease-in-out infinite;
}

.pm-author-hero__badge-dot {
    display: none;
}

.pm-author-hero__name {
    font-size: 72px;
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -2.5px;
    color: #f0ece6;
    margin: 0;
}

.pm-author-hero__role {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    color: #FF8C00;
    margin: 0;
    letter-spacing: -0.2px;
}

.pm-author-hero__tagline {
    font-size: 19px;
    line-height: 1.55;
    color: rgba(240, 236, 230, 0.6);
    margin: 0;
    max-width: 640px;
    font-weight: 400;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================================
   СЕКЦИЯ 2: О СЕБЕ
   ========================================================================= */

.pm-author-about {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-author-about__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #f0ece6;
    margin: 20px 0 48px;
    max-width: 800px;
}

.pm-author-about__content {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 880px;
}

.pm-author-about__text {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(240, 236, 230, 0.75);
    margin: 0;
}

.pm-author-about__text:first-child {
    font-size: 20px;
    color: rgba(240, 236, 230, 0.9);
    line-height: 1.7;
}

/* =========================================================================
   СЕКЦИЯ 3: СПЕЦИАЛИЗАЦИЯ
   ========================================================================= */

.pm-author-spec {
    padding: 40px 0 80px;
}

.pm-author-spec__card {
    position: relative;
    padding: 48px 56px 48px 64px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
}

.pm-author-spec__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #FF6B00;
}

.pm-author-spec__card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.pm-author-spec__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF8C00;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.pm-author-spec__text {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(240, 236, 230, 0.92);
    margin: 0;
    max-width: 900px;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

/* =========================================================================
   СЕКЦИЯ 4: ОБРАЗОВАНИЕ
   ========================================================================= */

.pm-author-education {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-author-education__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #f0ece6;
    margin: 20px 0 48px;
}

.pm-author-education__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pm-author-education__item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: baseline;
    position: relative;
}

.pm-author-education__item:first-child { padding-top: 0; }
.pm-author-education__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pm-author-education__years {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FF8C00;
    font-variant-numeric: tabular-nums;
    padding-top: 4px;
}

.pm-author-education__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pm-author-education__name {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: #f0ece6;
    margin: 0;
    letter-spacing: -0.3px;
}

.pm-author-education__degree {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(240, 236, 230, 0.6);
    margin: 0;
}

/* =========================================================================
   СЕКЦИЯ 5: НАУЧНЫЕ ПУБЛИКАЦИИ
   ========================================================================= */

.pm-author-science {
    padding: 60px 0 80px;
}

.pm-author-science__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #f0ece6;
    margin: 20px 0 40px;
}

.pm-author-science__card {
    display: block;
    position: relative;
    padding: 40px 48px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    max-width: 720px;
}

.pm-author-science__card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #FF6B00;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.pm-author-science__card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    background: #1f1f1f;
    transform: translateY(-3px);
}

.pm-author-science__card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.pm-author-science__card-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FF8C00;
    margin-bottom: 16px;
}

.pm-author-science__card-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #f0ece6;
    margin: 0 0 12px;
    letter-spacing: -0.4px;
    transition: color 0.3s ease;
}

.pm-author-science__card:hover .pm-author-science__card-title {
    color: #FF8C00;
}

.pm-author-science__card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(240, 236, 230, 0.6);
    margin: 0;
    max-width: 520px;
}

.pm-author-science__card-arrow {
    position: absolute;
    top: 40px;
    right: 48px;
    font-size: 22px;
    color: rgba(240, 236, 230, 0.35);
    transition: all 0.35s ease;
}

.pm-author-science__card:hover .pm-author-science__card-arrow {
    color: #FF8C00;
    transform: translateX(5px);
}

/* =========================================================================
   СЕКЦИЯ 6: КОНФЕРЕНЦИИ
   ========================================================================= */

.pm-author-events {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-author-events__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #f0ece6;
    margin: 20px 0 48px;
}

.pm-author-events__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pm-author-events__item {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 36px 32px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.pm-author-events__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #FF6B00;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.pm-author-events__item:hover {
    border-color: rgba(255, 107, 0, 0.3);
    background: #1f1f1f;
    transform: translateY(-3px);
}

.pm-author-events__item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.pm-author-events__item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-author-events__item-year {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #FF8C00;
    font-variant-numeric: tabular-nums;
}

.pm-author-events__item-role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 236, 230, 0.4);
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.pm-author-events__item-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: #f0ece6;
    margin: 0;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.pm-author-events__item:hover .pm-author-events__item-title {
    color: #FF8C00;
}

.pm-author-events__item-place {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(240, 236, 230, 0.5);
    margin: auto 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================================================
   СЕКЦИЯ 7: ПУБЛИКАЦИИ НА ВНЕШНИХ ПЛОЩАДКАХ
   ========================================================================= */

.pm-author-platforms {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-author-platforms__title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #f0ece6;
    margin: 20px 0 48px;
    max-width: 800px;
}

.pm-author-platforms__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pm-author-platforms__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 26px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.pm-author-platforms__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: #FF6B00;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.pm-author-platforms__item:hover {
    border-color: rgba(255, 107, 0, 0.3);
    background: #202020;
    transform: translateY(-2px);
}

.pm-author-platforms__item:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.pm-author-platforms__item-name {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #f0ece6;
    transition: color 0.3s ease;
}

.pm-author-platforms__item:hover .pm-author-platforms__item-name {
    color: #FF8C00;
}

.pm-author-platforms__item-arrow {
    font-size: 18px;
    color: rgba(240, 236, 230, 0.35);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.pm-author-platforms__item:hover .pm-author-platforms__item-arrow {
    color: #FF8C00;
    transform: translateX(4px);
}

/* =========================================================================
   СЕКЦИЯ 8: ПОЧЕМУ Я ПИШУ ОБ ЭТОМ
   ========================================================================= */

.pm-author-why {
    padding: 40px 0 120px;
}

.pm-author-why__inner {
    position: relative;
    padding: 56px 64px 56px 72px;
    background: #1a1a1a;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.pm-author-why__inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #FF6B00;
}

.pm-author-why__inner::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.pm-author-why__badge {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.pm-author-why__quote {
    font-size: 26px;
    line-height: 1.55;
    font-weight: 400;
    font-style: italic;
    color: rgba(240, 236, 230, 0.92);
    margin: 0;
    max-width: 980px;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

@keyframes pm-author-pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.15);
        opacity: 0.7;
    }
}

/* =========================================================================
   АДАПТИВ
   ========================================================================= */

@media (max-width: 1200px) {
    .pm-author-hero__container,
    .pm-author-about__container,
    .pm-author-spec__container,
    .pm-author-education__container,
    .pm-author-science__container,
    .pm-author-events__container,
    .pm-author-platforms__container,
    .pm-author-why__container {
        padding: 0 40px;
    }

    .pm-author-hero__grid {
        grid-template-columns: 320px 1fr;
        gap: 56px;
    }
    .pm-author-hero__name {
        font-size: 60px;
        letter-spacing: -2px;
    }
    .pm-author-about__title,
    .pm-author-education__title,
    .pm-author-science__title,
    .pm-author-events__title,
    .pm-author-platforms__title {
        font-size: 38px;
    }
    .pm-author-events__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .pm-author-platforms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .pm-author-hero {
        padding: 80px 0 60px;
    }
    .pm-author-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pm-author-hero__photo {
        max-width: 340px;
    }
    .pm-author-hero__name {
        font-size: 52px;
    }
    .pm-author-hero__role {
        font-size: 19px;
    }
    .pm-author-hero__tagline {
        font-size: 17px;
    }

    .pm-author-about,
    .pm-author-education,
    .pm-author-events,
    .pm-author-platforms {
        padding: 60px 0;
    }
    .pm-author-spec,
    .pm-author-science {
        padding: 40px 0 60px;
    }
    .pm-author-why {
        padding: 20px 0 80px;
    }

    .pm-author-about__title,
    .pm-author-education__title,
    .pm-author-science__title,
    .pm-author-events__title,
    .pm-author-platforms__title {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .pm-author-spec__card,
    .pm-author-why__inner {
        padding: 40px 32px 40px 36px;
    }
    .pm-author-spec__text {
        font-size: 19px;
    }
    .pm-author-why__quote {
        font-size: 22px;
    }

    .pm-author-education__item {
        grid-template-columns: 120px 1fr;
        gap: 24px;
    }
    .pm-author-education__name {
        font-size: 19px;
    }

    .pm-author-events__list,
    .pm-author-platforms__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pm-author-hero__container,
    .pm-author-about__container,
    .pm-author-spec__container,
    .pm-author-education__container,
    .pm-author-science__container,
    .pm-author-events__container,
    .pm-author-platforms__container,
    .pm-author-why__container {
        padding: 0 20px;
    }

    .pm-author-hero {
        padding: 60px 0 48px;
    }
    .pm-author-hero__photo {
        max-width: 280px;
    }
    .pm-author-hero__name {
        font-size: 40px;
        letter-spacing: -1.2px;
    }
    .pm-author-hero__role {
        font-size: 17px;
    }
    .pm-author-hero__tagline {
        font-size: 15px;
        padding-top: 16px;
    }

    .pm-author-about__title,
    .pm-author-education__title,
    .pm-author-science__title,
    .pm-author-events__title,
    .pm-author-platforms__title {
        font-size: 26px;
        margin-bottom: 28px;
        letter-spacing: -0.8px;
    }

    .pm-author-about__text {
        font-size: 16px;
        line-height: 1.7;
    }
    .pm-author-about__text:first-child {
        font-size: 17px;
    }

    .pm-author-spec__card,
    .pm-author-why__inner {
        padding: 32px 24px 32px 28px;
        border-radius: 8px;
    }
    .pm-author-spec__text {
        font-size: 17px;
    }
    .pm-author-why__quote {
        font-size: 18px;
        line-height: 1.6;
    }

    .pm-author-education__item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px 0;
    }
    .pm-author-education__years {
        padding-top: 0;
    }
    .pm-author-education__name {
        font-size: 18px;
    }
    .pm-author-education__degree {
        font-size: 15px;
    }

    .pm-author-science__card {
        padding: 28px 24px;
    }
    .pm-author-science__card-arrow {
        top: 28px;
        right: 24px;
        font-size: 18px;
    }
    .pm-author-science__card-title {
        font-size: 20px;
    }

    .pm-author-events__item {
        padding: 28px 24px;
    }
    .pm-author-events__item-title {
        font-size: 17px;
    }

    .pm-author-platforms__item {
        padding: 20px 22px;
    }
    .pm-author-platforms__item-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pm-author-hero__container,
    .pm-author-about__container,
    .pm-author-spec__container,
    .pm-author-education__container,
    .pm-author-science__container,
    .pm-author-events__container,
    .pm-author-platforms__container,
    .pm-author-why__container {
        padding: 0 16px;
    }

    .pm-author-hero__name {
        font-size: 34px;
        letter-spacing: -1px;
    }
    .pm-author-hero__role {
        font-size: 16px;
    }
    .pm-author-hero__photo {
        max-width: 240px;
    }

    .pm-author-about__title,
    .pm-author-education__title,
    .pm-author-science__title,
    .pm-author-events__title,
    .pm-author-platforms__title {
        font-size: 23px;
        margin-bottom: 24px;
    }

    .pm-author-spec__card,
    .pm-author-why__inner {
        padding: 26px 20px 26px 24px;
    }
    .pm-author-spec__text {
        font-size: 16px;
    }
    .pm-author-why__quote {
        font-size: 16px;
    }

    .pm-author-platforms__grid {
        gap: 10px;
    }
    .pm-author-platforms__item {
        padding: 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-author-hero__badge::before {
        animation: none;
    }
    .pm-author-hero__photo img,
    .pm-author-science__card,
    .pm-author-science__card::before,
    .pm-author-events__item,
    .pm-author-events__item::before,
    .pm-author-platforms__item,
    .pm-author-platforms__item::before {
        transition: none;
    }
}