/* =========================================================
   Portfolio main page (portfolio/index.php)
   Built from Figma "RYH portfolio 2.0" → frame "Portfolio" (1:39)
   Desktop reference width: 1440px
   ========================================================= */

body.pf-page {
    background-color: var(--color-bg-dark, #0a0b0e) !important;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(35, 39, 52, 0.5) 0%, rgba(10, 11, 14, 0.88) 75%),
        url('../../../assets/dark-bg-tile.jpg') !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    background-size: 750px !important;
    color: #fff;
}

/* ---------- HERO ---------- */
.pf-hero {
    position: relative;
    overflow: hidden;
    padding: 21px 16px 75px;
    background: radial-gradient(circle 383px at 50% 210px, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 100%);
}

.pf-hero__inner {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

.pf-orbit {
    position: absolute;
    left: 50%;
    border-radius: 50%;
    border: 1px solid;
    transform: translateX(-50%);
    pointer-events: none;
}

.pf-orbit--outer {
    top: 24px;
    width: 620px;
    height: 620px;
    border-color: rgba(255, 122, 0, 0.12);
}

.pf-orbit--inner {
    top: 104px;
    width: 460px;
    height: 460px;
    border-color: rgba(99, 131, 236, 0.24);
}

.pf-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.pf-kicker {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 11px;
    line-height: 19.8px;
    letter-spacing: 3px;
    color: #ff7a00;
}

.pf-title {
    margin: 12px auto 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 77.8px;
    line-height: 79.32px;
    letter-spacing: -2px;
    color: #fff;
}

.pf-title span {
    color: #6383ec;
}

.pf-subtitle {
    margin: 37px auto 0;
    max-width: 480px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 27.2px;
    color: #aebbc3;
}

.pf-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding: 13px 24px;
    min-height: 55.69px;
    background: #ff7a00;
    border-radius: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 16.5px;
    line-height: 29.7px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pf-cta:hover {
    background: #ff8f26;
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- Floating badges ---------- */
.pf-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pf-badge--why {
    top: 328px;
    left: calc(50% - 607px);
    width: 115px;
    height: 115px;
    background: #ff7a00;
    border-radius: 30px 30px 30px 4px;
    transform: rotate(-9deg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 14px;
    line-height: 16.8px;
    color: #fff;
}

.pf-badge--clients {
    top: 326px;
    left: calc(50% + 469px);
    width: 112px;
    height: 112px;
    background: #9fe870;
    -webkit-mask: url('../figma/badge-star.svg') center / 100% 100% no-repeat;
    mask: url('../figma/badge-star.svg') center / 100% 100% no-repeat;
    transform: rotate(8deg);
    color: #102019;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.pf-badge--clients strong {
    font-weight: 700;
    font-size: 23px;
    line-height: 29px;
    margin-left: -8px;
}

.pf-badge--clients small {
    font-size: 12px;
    line-height: 15px;
    margin-left: -20px;
}

/* ---------- Proof cards strip ---------- */
.pf-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 264fr 210fr 210fr 198fr 240fr;
    column-gap: 17px;
    align-items: end;
    max-width: 1192px;
    margin: 54px auto 0;
    font-family: 'Inter', sans-serif;
}

.pf-card {
    position: relative;
    margin: 0;
}

/* semantic.css gives every <p> a grey colour; cards inherit their own */
:where(.pf-card) p {
    margin: 0;
    color: inherit;
}

/* 1. Purple reviews card */
.pf-card--reviews {
    color: #fff;
    height: 356px;
    padding: 24px 18px 23px;
    background: #918efc;
    border-radius: 30.6px;
    display: flex;
    flex-direction: column;
}

.pf-stars {
    display: flex;
    gap: 11px;
}

.pf-stars img {
    width: 24px;
    height: 24px;
}

.pf-reviews__num {
    margin-top: 61px !important;
    font-weight: 700;
    font-size: 32.5px;
    line-height: 1.2;
    color: #000;
}

.pf-reviews__label {
    font-weight: 500;
    font-size: 13.6px;
    color: #fff;
}

.pf-reviews__desc {
    margin-top: auto !important;
    max-width: 228px;
    font-weight: 500;
    font-size: 18.7px;
    line-height: 1.2;
    color: #fff;
}

.pf-waves {
    position: absolute;
    top: 107.6px;
    left: 125.7px;
    width: 156.3px;
    height: 123px;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* 2. Camera card */
.pf-card--camera {
    z-index: 1;
}

.pf-card--camera img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 210 / 281;
}

.pf-card--camera p {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 17px;
    font-weight: 600;
    font-size: 12.9px;
    line-height: 1.2;
    color: #fff;
}

/* 3. White brands card */
.pf-card--brands {
    height: 145px;
    padding: 22px 12px 14px;
    background: #fefefe;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
}

.pf-avatars {
    display: flex;
    align-items: center;
}

.pf-avatars span,
.pf-avatars img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    flex: none;
}

.pf-avatars>*+* {
    margin-left: -21.3px;
}

.pf-avatars span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-weight: 500;
    font-size: 16px;
    padding-left: 6px;
}

.pf-brands__num {
    margin-top: 19px !important;
    font-weight: 700;
    font-size: 20.3px;
    line-height: 1.2;
}

.pf-brands__label {
    font-size: 9.2px;
}

/* 4. Lavender ROI card */
.pf-card--roi {
    height: 269px;
    padding: 0 20px 22px;
    border-radius: 23.7px;
    background: #e6e6ff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #404040;
}

.pf-card--roi::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../figma/camera-bg.webp') center / cover no-repeat;
    opacity: 0.23;
}

.pf-card--roi>* {
    position: relative;
}

.pf-roi__num {
    margin-top: 5px !important;
    font-weight: 700;
    font-size: 29.7px;
    line-height: 57.4px;
    color: #000;
}

.pf-roi__label {
    max-width: 152px;
    font-size: 14.9px;
    line-height: 1.2;
}

.pf-roi__icon {
    width: 44.6px;
    height: 33.7px;
    margin-top: auto;
}

.pf-roi__small {
    margin-top: 16px !important;
    max-width: 150px;
    font-weight: 500;
    font-size: 10px;
    line-height: 15px;
}

/* 5. Blue CTA card */
.pf-card--cta {
    height: 356px;
    padding: 44px 30px 30px 25.6px;
    background: #2e63db;
    border-radius: 29.2px;
    display: flex;
    flex-direction: column;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.pf-card--cta:hover {
    color: #fff;
    transform: translateY(-4px);
}

.pf-cta-card__title {
    max-width: 156px;
    font-weight: 500;
    font-size: 16.1px;
    line-height: 22.9px;
}

.pf-cta-card__line {
    margin-top: auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.81);
}

.pf-cta-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    font-weight: 600;
    font-size: 11.9px;
    line-height: 22.9px;
}

.pf-cta-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25.5px;
    height: 25.5px;
    background: #fff;
    border-radius: 4.5px;
}

.pf-cta-card__arrow img {
    width: 19px;
    height: 19px;
    transform: rotate(45deg);
}

/* =========================================================
   UNBOXED MINIMALIST PORTFOLIO DIRECTORY (NO BOXES, NO SLANTING, NO ORANGE)
   ========================================================= */

.pf-dir-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 24px 120px;
    position: relative;
}

.pf-dir__header {
    text-align: center;
    margin-bottom: 60px;
}

.pf-dir__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    color: #0088EA;
    text-transform: uppercase;
    background: rgba(0, 136, 234, 0.1);
    border: 1px solid rgba(0, 136, 234, 0.25);
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.pf-dir__heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.pf-dir__subheading {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Directory List Container (Unboxed Rows, Zero Boxes/Borders) */
.pf-dir-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
}

/* Unboxed Directory Item - Completely Free-Flowing without Boxes or Borders */
.pf-dir-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 16px;
    text-decoration: none;
    color: #ffffff;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: all 0.35s ease;
    border-radius: 16px;
}

/* Left Section */
.pf-dir-item__left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 100px;
}

.pf-dir-item__num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent, #0088EA);
    opacity: 0.85;
}

.pf-dir-item__icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #0088EA);
    font-size: 22px;
    transition: all 0.35s ease;
}

/* Main Typographic Block */
.pf-dir-item__main {
    flex: 1;
    min-width: 0;
}

.pf-dir-item__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.pf-dir-item__tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent, #0088EA);
    text-transform: uppercase;
}

.pf-dir-item__count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    padding: 0;
}

.pf-dir-item__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.pf-dir-item__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Floating Preview Thumbnail - Completely Disabled/Removed per User Request */
.pf-dir-item__thumb {
    display: none !important;
}

/* Right Action Link - Bigger Font Size & Arrow */
.pf-dir-item__action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pf-dir-item__link-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent, #0088EA);
    transition: all 0.3s ease;
}

.pf-dir-item__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent, #0088EA);
    font-size: 18px;
    transition: all 0.35s ease;
}

/* HOVER & FOCUS STATES - CLEAN FREE-FLOWING EFFECT */
.pf-dir-item:hover {
    padding-left: 24px;
    padding-right: 24px;
    background: rgba(255, 255, 255, 0.03) !important;
}

.pf-dir-item:hover .pf-dir-item__title {
    color: var(--accent, #0088EA);
}

.pf-dir-item:hover .pf-dir-item__icon-badge {
    transform: scale(1.15);
    color: #ffffff;
}

.pf-dir-item:hover .pf-dir-item__thumb {
    opacity: 1;
    transform: scale(1.05);
}

.pf-dir-item:hover .pf-dir-item__link-text {
    font-size: 19px;
    letter-spacing: 0.5px;
}

.pf-dir-item:hover .pf-dir-item__arrow {
    transform: translateX(8px) scale(1.15);
}

/* Responsive Overrides */
@media (max-width: 868px) {
    .pf-dir-item {
        flex-wrap: wrap;
        gap: 16px;
    }

    .pf-dir-item__thumb {
        display: none;
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1260px) {
    .pf-badge--why {
        left: 24px;
    }

    .pf-badge--clients {
        left: auto;
        right: 24px;
    }

    .pf-cards {
        column-gap: 12px;
    }

    .pf-card--reviews {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 991.98px) {
    .pf-title {
        font-size: 56px;
        line-height: 60px;
        letter-spacing: -1.5px;
    }

    .pf-orbit--outer {
        top: 20px;
        width: 480px;
        height: 480px;
    }

    .pf-orbit--inner {
        top: 80px;
        width: 360px;
        height: 360px;
    }

    .pf-badge--why {
        top: 300px;
        left: 8px;
        width: 96px;
        height: 96px;
        font-size: 12px;
    }

    .pf-badge--clients {
        top: 300px;
        right: 8px;
        width: 96px;
        height: 96px;
    }

    .pf-badge--clients strong {
        font-size: 20px;
    }

    /* 2-column bento on tablet & mobile */
    .pf-cards {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        align-items: stretch;
        max-width: 560px;
        margin-top: 48px;
    }

    .pf-card--reviews {
        height: auto;
        min-height: 320px;
    }

    .pf-card--camera {
        align-self: end;
    }

    .pf-card--brands {
        grid-column: 1 / -1;
        height: auto;
    }

    .pf-card--roi {
        height: auto;
        min-height: 269px;
    }

    .pf-card--cta {
        height: auto;
        min-height: 269px;
    }

    .pf-folders__grid {
        grid-template-columns: repeat(2, minmax(0, 376px));
        column-gap: 32px;
        row-gap: 64px;
    }
}

@media (max-width: 575.98px) {
    .pf-hero {
        padding-bottom: 48px;
    }

    .pf-title {
        font-size: 36px;
        line-height: 40px;
        letter-spacing: -1px;
    }

    .pf-title br {
        display: none;
    }

    .pf-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    .pf-subtitle br {
        display: none;
    }

    .pf-cta {
        font-size: 15px;
        min-height: 50px;
    }

    .pf-orbit--outer {
        top: 10px;
        width: 330px;
        height: 330px;
    }

    .pf-orbit--inner {
        top: 55px;
        width: 240px;
        height: 240px;
    }

    /* Badges move into the flow under the button */
    .pf-badges-row {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-top: 32px;
    }

    .pf-badge {
        position: static;
    }

    .pf-badge--why {
        width: 88px;
        height: 88px;
        font-size: 11px;
        line-height: 13px;
    }

    .pf-badge--clients {
        width: 90px;
        height: 90px;
    }

    .pf-badge--clients strong {
        font-size: 18px;
        line-height: 22px;
    }

    .pf-badge--clients small {
        font-size: 10px;
    }

    .pf-cards {
        gap: 10px;
        margin-top: 32px;
    }

    .pf-card--reviews {
        min-height: 280px;
        padding: 18px 14px;
        border-radius: 22px;
    }

    .pf-stars {
        gap: 4px;
    }

    .pf-stars img {
        width: 16px;
        height: 16px;
    }

    .pf-reviews__num {
        margin-top: 40px !important;
        font-size: 26px;
    }

    .pf-reviews__desc {
        font-size: 14px;
    }

    .pf-waves {
        top: 80px;
        left: auto;
        right: -10px;
        width: 100px;
        height: 80px;
    }

    .pf-card--camera p {
        font-size: 11px;
        bottom: 12px;
        left: 10px;
        right: 10px;
    }

    .pf-card--roi,
    .pf-card--cta {
        min-height: 230px;
        border-radius: 20px;
    }

    .pf-roi__num {
        font-size: 24px;
        line-height: 44px;
    }

    .pf-roi__label {
        font-size: 12.5px;
    }

    .pf-card--cta {
        padding: 22px 16px 18px;
    }

    .pf-cta-card__title {
        font-size: 14px;
        line-height: 20px;
    }

    .pf-folders {
        padding-top: 40px;
    }

    .pf-folders__grid {
        grid-template-columns: minmax(0, 376px);
        row-gap: 36px;
    }

    .pf-folder__title {
        font-size: 18px;
    }
}

/* On desktop the badges row wrapper is layout-neutral */
@media (min-width: 576px) {
    .pf-badges-row {
        display: contents;
    }
}