/* ============================================
   About ??? ?? CSS
   ============================================ */

.about-page {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0b0f1a;
    color: #fff;
    touch-action: none;
}

.about-back {
    position: absolute;
    left: 60px;
    top: 50px;
    z-index: 20;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-back:hover {
    opacity: 1;
    transform: translateX(-4px);
}

.about-nav {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 40px;
    z-index: 20;
    --nav-line-x: 6px;
}

.about-nav::before {
    content: '';
    position: absolute;
    right: var(--nav-line-x);
    top: -220px;
    bottom: -220px;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.about-nav-item {
    position: relative;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding-right: 26px;
    text-align: right;
    cursor: pointer;
    transition: color 0.3s ease, opacity 0.3s ease, font-size 0.3s ease, transform 0.3s ease;
}

.about-nav-item::after {
    content: '';
    position: absolute;
    right: var(--nav-line-x);
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.about-nav-item.is-active {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    opacity: 1;
    transform: translateX(-6px);
}

.about-nav-item.is-active::after {
    width: 14px;
    height: 14px;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);
    transform: translate(50%, -50%) translateX(6px);
}

.about-nav-item.is-near-1 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    opacity: 0.85;
}

.about-nav-item.is-near-2 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    opacity: 0.7;
}

.about-nav-item.is-near-3 {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    opacity: 0.55;
}

.about-nav-item.is-far {
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    opacity: 0.35;
}

.about-nav-item:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

.about-sections {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateY(0%);
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-sections.is-jump {
    transition: none;
}

.about-section {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 1.2s ease;
}

.about-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.about-section.is-active::before {
    transform: scale(1.06);
}

.about-text {
    position: absolute;
    left: 110px;
    bottom: 60px;
    z-index: 2;
    max-width: 1440px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.about-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
    width: 520px;
    margin-right: 30px;
    flex: 0 0 auto;
    margin-top: 0;
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.about-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    width: 1000px;
    flex: 0 0 auto;
    text-align: left;
    margin-top: 0;
    margin-bottom: 30px;
    align-self: flex-end;
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.about-section.is-active .about-title,
.about-section.is-active .about-desc {
    opacity: 1;
    transform: translateX(0);
}

.about-section.is-active .about-title {
    transition-delay: 0.12s;
}

.about-section.is-active .about-desc {
    transition-delay: 0.22s;
}

.about-desc-source {
    display: block;
    margin-top: 8px;
    font-size: 0.8em;
    text-align: right;
}

.about-section.is-leaving-up .about-title,
.about-section.is-leaving-up .about-desc,
.about-section.is-leaving-down .about-title,
.about-section.is-leaving-down .about-desc {
    opacity: 0;
}

.about-section.is-leaving-up .about-title {
    transform: translateX(-40px) translateY(-36px);
}

.about-section.is-leaving-up .about-desc {
    transform: translateX(40px) translateY(-36px);
}

.about-section.is-leaving-down .about-title {
    transform: translateX(-40px) translateY(36px);
}

.about-section.is-leaving-down .about-desc {
    transform: translateX(40px) translateY(36px);
}
