/* About v17 — creative studio hero, 3D devices, reading focus */

.p4p-page--about .p4p-about-main__inner {
    max-width: min(1180px, calc(100% - clamp(1.25rem, 4vw, 3rem)));
    margin: 0 auto;
    padding-top: calc(var(--p4p-header, 72px) + var(--p4p-dock-h, 3.5rem));
    padding-bottom: clamp(2rem, 5vh, 4rem);
}

/* ── Hero studio ── */
.abt-hero-studio {
    margin-bottom: clamp(2rem, 5vh, 3.5rem);
    padding: clamp(1rem, 2.5vw, 1.75rem);
    border-radius: 24px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: linear-gradient(145deg, rgba(16, 12, 26, 0.92) 0%, rgba(8, 8, 14, 0.82) 100%);
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    position: relative;
}

.abt-hero-studio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 85% 40%, rgba(167, 139, 250, 0.1), transparent 60%);
    pointer-events: none;
}

.abt-hero-studio__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.abt-hero-studio__title {
    margin: 0.35rem 0 0.75rem;
    font-family: var(--p4p-font-display);
    font-size: clamp(1.85rem, 4.2vw, 3.25rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #f0c4a0 42%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
}

.abt-read-lead {
    font-size: clamp(0.92rem, 1.35vw, 1.08rem);
    line-height: 1.72;
    color: #dce4ef;
    max-width: 38em;
    margin: 0 auto;
    text-wrap: pretty;
}

.abt-hero-studio__copy .abt-read-lead {
    margin: 0 0 1rem;
    max-width: none;
}

.abt-pull-quote {
    margin: 0 0 1.15rem;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    border-left: 3px solid rgba(232, 168, 124, 0.65);
    border-radius: 0 12px 12px 0;
    background: rgba(0, 0, 0, 0.32);
    font-size: clamp(0.88rem, 1.15vw, 1rem);
    font-style: italic;
    line-height: 1.62;
    color: rgba(240, 196, 160, 0.95);
    position: relative;
}

.abt-pull-quote__mark {
    position: absolute;
    left: 0.5rem;
    top: -0.15rem;
    font-size: 2rem;
    opacity: 0.25;
    line-height: 1;
}

.abt-stats-strip--hero {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.abt-stat-node--inline {
    position: static !important;
    animation: none !important;
    padding: 0.55rem 0.65rem;
    text-align: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.abt-stat-node--inline:hover {
    border-color: rgba(232, 168, 124, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.abt-stat-node--inline strong {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: #fff;
    text-shadow: 0 0 16px rgba(232, 168, 124, 0.35);
}

.abt-scroll-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(232, 168, 124, 0.9);
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 168, 124, 0.25);
    transition: background 0.3s, transform 0.3s;
}

.abt-scroll-cta:hover {
    background: rgba(232, 168, 124, 0.1);
    transform: translateY(2px);
}

/* ── 3D dual devices ── */
.abt-hero-studio__stage {
    min-height: clamp(260px, 38vh, 380px);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
}

.p4p-abt-devices {
    position: relative;
    width: min(100%, 420px);
    height: min(100%, 340px);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.p4p-abt-devices__glow {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}

.p4p-abt-devices__laptop {
    position: absolute;
    left: 0;
    bottom: 8%;
    width: 72%;
    height: 75%;
    z-index: 1;
}

.p4p-abt-devices__phone {
    position: absolute;
    right: 0;
    top: 5%;
    width: 42%;
    height: 58%;
    z-index: 2;
}

.p4p-abt-devices__laptop .p4p-dev3d,
.p4p-abt-devices__phone .p4p-dev3d {
    min-height: 100%;
    height: 100%;
}

.p4p-abt-devices__link {
    position: absolute;
    left: 38%;
    top: 42%;
    width: 28%;
    height: 2px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.5), rgba(167, 139, 250, 0.5));
    transform: rotate(-18deg);
    box-shadow: 0 0 12px rgba(134, 239, 172, 0.35);
    animation: p4pAbtLinkPulse 2.5s ease-in-out infinite;
}

@keyframes p4pAbtLinkPulse {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(134, 239, 172, 0.55); }
}

/* ── Chapter flow ── */
.abt-chapter-num {
    display: block;
    font-family: var(--p4p-font-tech, monospace);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(232, 168, 124, 0.55);
    margin-bottom: 0.35rem;
}

.p4p-abt-divider--chapter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: auto;
    padding: 0.5rem 0;
    background: none;
    box-shadow: none;
}

.p4p-abt-divider--chapter::before,
.p4p-abt-divider--chapter::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.25), transparent);
}

.p4p-abt-divider--chapter span {
    font-family: var(--p4p-font-tech, monospace);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.35);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
}

.p4p-abt-divider--chapter::after {
    display: none;
}

.abt-chapter {
    scroll-margin-top: calc(var(--p4p-header, 72px) + var(--p4p-dock-h, 3.5rem) + 1rem);
}

/* ── Reading focus cards ── */
.abt-read-body {
    color: #c8d4e0;
    line-height: 1.72;
    font-size: 0.92rem;
    transition: color 0.4s;
}

.abt-read-card.is-reading .abt-read-body,
.abt-read-card:hover .abt-read-body {
    color: #eef2f8;
}

.abt-read-card.is-reading,
.abt-read-card:hover {
    border-color: rgba(232, 168, 124, 0.35) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 32px rgba(232, 168, 124, 0.08) !important;
}

.abt-read-card.is-reading h3,
.abt-read-card:hover h3 {
    color: #fff;
    text-shadow: 0 0 20px rgba(232, 168, 124, 0.2);
}

.p4p-page--about .bento-card--mission .abt-read-body::first-letter {
    float: left;
    font-size: 2.4em;
    line-height: 0.85;
    padding-right: 0.12em;
    font-weight: 900;
    color: var(--abt-cyan, #e8a87c);
}

/* Software + why — readable blocks */
.p4p-page--about .sw-content p,
.p4p-page--about .why-card p,
.p4p-page--about .tl-node p,
.p4p-page--about .client-card p,
.p4p-page--about .holo-card p {
    text-wrap: pretty;
    line-height: 1.68;
}

.p4p-page--about .sw-card.is-reading,
.p4p-page--about .why-card.is-reading,
.p4p-page--about .tl-node.is-reading {
    border-color: rgba(167, 139, 250, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

/* Timeline — card lift on hover */
.p4p-page--about .tl-node {
    transition: transform 0.35s;
}

.p4p-page--about .tl-node:hover {
    transform: translateY(-4px);
}

.p4p-page--about .tl-node:hover .tl-year {
    background: rgba(232, 168, 124, 0.18);
    border-color: rgba(232, 168, 124, 0.45);
}

/* CTA enhanced */
.p4p-page--about .abt-cta .cta-box h2 {
    background: linear-gradient(135deg, #fff, #f0c4a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
    .abt-hero-studio__grid {
        grid-template-columns: 1fr;
    }

    .abt-hero-studio__stage {
        order: -1;
        min-height: 240px;
    }

    .abt-stats-strip--hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p4p-page--about .p4p-about-main__inner::before,
    .p4p-page--about .p4p-about-main__inner::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .p4p-abt-devices__laptop { width: 68%; }
    .p4p-abt-devices__phone { width: 38%; }
}

@media (prefers-reduced-motion: reduce) {
    .p4p-abt-devices__link {
        animation: none;
    }
}
