.phero {
    padding: calc(var(--nav-height) + 96px) 0 72px;
    background:
        radial-gradient(ellipse 55% 60% at 80% 10%, rgba(237, 107, 60, 0.09), transparent 70%),
        var(--bg-raised);
    border-bottom: 1px solid var(--border);
}

.phero-crumb {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}

.phero-crumb a {
    color: var(--muted);
    transition: color 0.25s ease;
}

.phero-crumb a:hover {
    color: var(--accent);
}

.phero-crumb span {
    color: var(--accent);
}

.phero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 22px;
    max-width: 20ch;
}

.phero-desc {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 30px;
}

.phero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.phero-meta span {
    padding: 7px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pgallery {
    padding: 96px 0;
}

.pg-grid {
    columns: 3;
    column-gap: 24px;
}

.pg-item {
    position: relative;
    display: block;
    margin: 0 0 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    break-inside: avoid;
    cursor: zoom-in;
    transition: border-color 0.3s ease;
}

.pg-item:hover {
    border-color: var(--accent);
}

.pg-item img {
    width: 100%;
    display: block;
    transition: transform 0.45s ease;
}

.pg-item:hover img {
    transform: scale(1.03);
}

.pg-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(10, 10, 12, 0.92), transparent);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pg-item:hover figcaption {
    opacity: 1;
}

.pg-single {
    max-width: 900px;
    margin: 0 auto;
}

.pdetails {
    padding: 96px 0 120px;
    background: var(--bg-raised);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pdetails-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 72px;
    align-items: start;
}

.pdetails-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pdetails-content h3 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 42px 0 18px;
}

.pdetails-content p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 65ch;
}

.pfeatures {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
}

.pfeatures li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    font-size: 0.95rem;
}

.pfeatures li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px;
    height: 2px;
    background: var(--accent);
}

.ptech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ptech span {
    padding: 6px 15px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pinfo {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 32px 30px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.pinfo h4 {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pinfo-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.pinfo-item:last-of-type {
    border-bottom: none;
}

.pinfo-item strong {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    align-self: center;
}

.pinfo-item span {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.pinfo-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.pinfo-cta .btn {
    justify-content: center;
}

.prelated {
    padding: 96px 0 120px;
}

.prelated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .pg-grid {
        columns: 2;
    }

    .pdetails-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .pinfo {
        position: static;
    }
}

@media (max-width: 768px) {
    .phero {
        padding: calc(var(--nav-height) + 56px) 0 56px;
    }

    .pgallery,
    .prelated {
        padding: 72px 0;
    }

    .pdetails {
        padding: 72px 0 84px;
    }

    .pg-grid {
        columns: 1;
    }

    .pg-item figcaption {
        opacity: 1;
    }
}
