/*==============================================
  Portfolio One
===============================================*/
.corp-portfolio {
    position: relative;
    display: block;
    background-color: var(--corp-surface);
    padding: 120px 0 0;
    z-index: 1;
}

.corp-portfolio__left {
    position: relative;
    display: block;
}

.corp-portfolio__left .corp-heading {
    margin-bottom: 38px;
}

.corp-portfolio__left .corp-heading__title {
    margin-right: -100px;
}

.corp-portfolio__text {
    text-transform: capitalize;
}

.corp-portfolio__list {
    position: relative;
    display: block;
    margin-top: 42px;
}

.corp-portfolio__list li {
    position: relative;
    display: block;
}

.corp-portfolio__list li+li {
    margin-top: 40px;
}

.corp-portfolio__list li h4 {
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    font-family: var(--corp-font-body);
}

.corp-portfolio__list li h4 a {
    color: var(--corp-muted)
}

.corp-portfolio__list li:hover h4 a {
    color: var(--corp-dark);
    padding-left: 70px;
}

.corp-portfolio__list-shape-1 {
    position: absolute;
    top: 19px;
    left: 0;
    width: 58px;
    height: 1px;
    background-color: var(--corp-dark);
    background-position: left right;
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .5s;
    transition-property: all;
    transform-origin: left;
    transform-style: preserve-3d;
    transform: scalex(0);
    z-index: 2;
}

.corp-portfolio__list li:hover .corp-portfolio__list-shape-1 {
    transform: scalex(1.0);
}

.corp-portfolio__right {
    position: relative;
    display: block;
}

.corp-portfolio__view {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 77px;
}

.corp-portfolio__view a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border: 1px solid var(--corp-dark);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    gap: 5px;
    color: var(--corp-dark);
    text-transform: capitalize;
}

.corp-portfolio__view a:hover {
    border: 1px solid var(--corp-accent);
    color: var(--corp-accent);
}

.corp-portfolio__view a span {
    font-size: 18px;
    position: relative;
    top: -2px;
    font-weight: 700;
}

.corp-portfolio__img-box {
    position: relative;
    display: block;
    margin-left: 78px;
    margin-right: -80px;
    margin-top: 60px;
}

.corp-portfolio__img {
    position: relative;
    display: block;
}

.corp-portfolio__img img {
    width: 100%;
}

.corp-portfolio__img-box-2 {
    position: relative;
    display: block;
    margin-left: 80px;
    margin-right: -315px;
}

.corp-portfolio__img-2 {
    position: relative;
    display: block;
}

.corp-portfolio__img-2 img {
    width: 100%;
}

.corp-portfolio__arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}

.corp-portfolio__arrow>a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: var(--corp-dark);
    background-color: var(--corp-white);
}

.corp-portfolio__arrow>a:hover {
    color: var(--corp-dark);
    background-color: var(--corp-accent);
}

/*==============================================
    Portfolio Two
===============================================*/
.portfolio-two {
    position: relative;
    display: block;
    padding: 120px 0 67px;
    z-index: 1;
}

.portfolio-two__left {
    position: relative;
    display: block;
    margin-right: 30px;
    margin-top: 233px;
}

.portfolio-two__single-1 {
    margin-right: 30px;
}

.portfolio-two__single {
    position: relative;
    display: block;
    margin-bottom: 53px;
}

.portfolio-two__content {
    position: relative;
    display: block;
    margin-bottom: 33px;
}

.portfolio-two__sub-title-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.portfolio-two__sub-title {
    font-weight: 500;
    text-transform: uppercase;
}

.portfolio-two__sub-title-shape-1 {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: var(--corp-border);
}

.portfolio-two__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    text-transform: uppercase;
    margin-top: 5px;
}

.portfolio-two__title a {
    color: var(--corp-dark);
}

.portfolio-two__title a:hover {
    color: var(--corp-accent);
}

.portfolio-two__img-box {
    position: relative;
    display: block;
}

.portfolio-two__img {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio-two__img::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition-delay: .1s;
    transition-timing-function: ease-in-out;
    transition-duration: .7s;
    transition-property: all;
    background: rgba(var(--corp-dark-rgb), 0.6);
    opacity: 0;
    z-index: 1;
    content: "";
}

.portfolio-two__single:hover .portfolio-two__img::before {
    opacity: 1;
}

.portfolio-two__single-2:hover .portfolio-two__img::before {
    opacity: 1;
}

.portfolio-two__img img {
    width: 100%;
    transition: .5s ease;
    transform: scale(1.05);
}

.portfolio-two__single:hover .portfolio-two__img img {
    transform: scale(1);
}

.portfolio-two__single-2:hover .portfolio-two__img img {
    transform: scale(1);
}

.portfolio-two__right {
    position: relative;
    display: block;
    margin-left: 30px;
}

.portfolio-two__single-4 {
    margin-left: 30px;
}

.portfolio-two__single-2 {
    position: relative;
    display: block;
    margin-bottom: 53px;
}

.portfolio-two__single-2 .portfolio-two__content {
    margin-bottom: 0px;
    margin-top: 33px;
}

.portfolio-two__view-all {
    position: relative;
    display: block;
    text-align: center;
    padding-top: 25px;
}

.portfolio-two__view-all a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 155px;
    height: 155px;
    border: 1px solid var(--corp-dark);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    gap: 5px;
    color: var(--corp-dark);
    text-transform: capitalize;
    margin: 0 auto;
}

.portfolio-two__view-all a:hover {
    border: 1px solid var(--corp-accent);
    color: var(--corp-accent);
}

.portfolio-two__view-all a span {
    font-size: 18px;
    position: relative;
    top: -2px;
    font-weight: 700;
}

/*==============================================
    Portfolio Three
===============================================*/
.portfolio-three {
    position: relative;
    display: block;
    padding: 105px 0 0;
    z-index: 1;
}

.portfolio-three__top {
    position: relative;
    display: block;
    margin-bottom: 53px;
}

.portfolio-three__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 58px;
    margin-bottom: 19px;
}

.portfolio-three__text {
    font-weight: 300;
    font-family: var(--corp-font-heading);
    text-transform: capitalize;
    color: var(--corp-white);
}

.portfolio-three__carousel {
    position: relative;
    display: block;
    overflow: visible;
}

.portfolio-three__single {
    position: relative;
    display: block;
}

.portfolio-three__img-box {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio-three__img {
    position: relative;
    display: block;
    overflow: hidden;
}

.portfolio-three__img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--corp-dark-rgb), .65);
    opacity: 0;
    transform: translateY(50px);
    transition: background-color 0.7s ease;
    transition: all 0.7s ease;
    z-index: 1;
}

.portfolio-three__single:hover .portfolio-three__img::before {
    opacity: 1;
    transform: translateY(0px);
}

.portfolio-three__img img {
    width: 100%;
    transform: scale3d(1, 1, 1);
    transition: transform 1s ease-in-out;
}

.portfolio-three__single:hover .portfolio-three__img img {
    transform: scale(1.05) rotate(0deg);
}

.portfolio-three__content {
    position: absolute;
    bottom: 32px;
    left: 40px;
    opacity: 0;
    transform: translateX(-60px);
    transition: background-color 0.7s ease;
    transition: all 0.7s ease;
    z-index: 2;
}

.portfolio-three__single:hover .portfolio-three__content {
    opacity: 1;
    transform: translateX(0%);
    transition-delay: 200ms;
}

.portfolio-three__single-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 4px;
    opacity: 0;
    transform: translateX(-60px);
    transition: background-color 0.7s ease;
    transition: all 0.7s ease;
}

.portfolio-three__single:hover .portfolio-three__single-title {
    opacity: 1;
    transform: translateX(0%);
    transition-delay: 400ms;
}

.portfolio-three__single-title a {
    color: var(--corp-white);
}

.portfolio-three__single-title a:hover {
    color: var(--corp-accent);
}

.portfolio-three__sub-title {
    font-size: 14px;
    font-weight: 300;
    color: var(--corp-accent);
}

.portfolio-three__arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}

.portfolio-three__arrow a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    font-size: 24px;
    color: var(--corp-white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12.5px);
    border-radius: 50%;
    font-weight: 700;
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}


.portfolio-three__single:hover .portfolio-three__arrow a {
    -webkit-transform: scale(1);
    transform: scale(1);
    transition-delay: 700ms;
    opacity: 1;
}

.portfolio-three__arrow a:hover {
    color: var(--corp-dark);
    background-color: var(--corp-accent);
}

.portfolio-three__carousel .swiper-nav-style-one {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--corp-dark);
    max-width: 260px;
    margin: 75px auto 0;
    z-index: 1;
}

.portfolio-three__carousel .swiper-nav-style-one::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 1080px;
    height: 1px;
    background-color: #2A2A2A;
    transform: translateX(-50%);
    z-index: -1;
}

.portfolio-three__carousel .swiper-nav-style-one::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0px;
    right: 0px;
    bottom: 0;
    background-color: var(--corp-dark);
    z-index: -1;
}

.portfolio-three__carousel .swiper-dot-style1 {
    position: relative;
    display: inline-flex;
    line-height: 0;
}

.portfolio-three__carousel .swiper-dot-style1 .swiper-pagination-bullet {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0px 10px;
    opacity: 1;
    background: #2A2A2A;
    border-radius: 50%;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.portfolio-three__carousel .swiper-dot-style1 .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--corp-accent);
}

.portfolio-three__carousel .swiper-dot-style1 .swiper-pagination-bullet::before {
    position: absolute;
    top: -10px;
    left: -10px;
    bottom: -10px;
    right: -10px;
    border: 2px solid var(--corp-accent);
    border-radius: 50%;
    transform: scale(0);
    transition: all 200ms linear;
    transition-delay: 0.1s;
    content: "";
}

.portfolio-three__carousel .swiper-dot-style1 .swiper-pagination-bullet.swiper-pagination-bullet-active::before,
.portfolio-three__carousel .swiper-dot-style1 .swiper-pagination-bullet:hover {
    transform: scale(1.0);
}

.portfolio-three__nav {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto;
}

.portfolio-three__nav .swiper-button-prev1,
.portfolio-three__nav .swiper-button-next1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    color: var(--corp-accent);
    border: 1px solid #2A2A2A;
    background-color: var(--corp-dark);
    font-size: 18px;
    margin: 0px 0px;
    text-align: center;
    transition: all 500ms ease;
    z-index: 1;
}

.portfolio-three__nav .swiper-button-prev1:hover,
.portfolio-three__nav .swiper-button-next1:hover {
    color: var(--corp-dark);
    border: 1px solid var(--corp-accent);
    background-color: var(--corp-accent);
}

.portfolio-three__nav .swiper-button-next1 {
    margin-right: 0px;
}

/*==============================================
    Portfolio Page   
===============================================*/
.portfolio-page {
    position: relative;
    display: block;
    padding: 120px 0 0;
    z-index: 1;
}

.portfolio-page .row {
    --bs-gutter-x: 60px;
}

.portfolio-page__single {
    position: relative;
    display: block;
    margin-bottom: 55px;
}

.portfolio-page__img-box {
    position: relative;
    display: block;
}

.portfolio-page__img {
    position: relative;
    display: block;
    overflow: hidden;
    z-index: 1;
}

.portfolio-page__img::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--corp-dark);
    opacity: 0;
    transition: background-color 0.5s ease;
    transition: all 0.5s ease;
    z-index: 1;
}

.portfolio-page__single:hover .portfolio-page__img::before {
    opacity: .60;
}

.portfolio-page__img img {
    width: 100%;
    transform: scale3d(1, 1, 1);
    transition: transform 1s ease-in-out;
}

.portfolio-page__single:hover .portfolio-page__img img {
    transform: scale(1.05) rotate(0deg);
}

.portfolio-page__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 33px;
}

.portfolio-page__title-box {
    position: relative;
    display: block;
}

.portfolio-page__sub-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    font-family: var(--corp-font-heading);
    text-transform: uppercase;
}

.portfolio-page__title {
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
    text-transform: capitalize;
    margin-top: 2px;
}

.portfolio-page__title a {
    color: var(--corp-dark);
}

.portfolio-page__title a:hover {
    color: var(--corp-dark);
    text-shadow: 1px 0 0 rgba(18, 18, 18, .8);
}

.portfolio-page__arrow {
    position: relative;
    display: block;
}

.portfolio-page__arrow a {
    color: var(--corp-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--corp-dark);
    border-radius: 50%;
    font-size: 22px;
}

.portfolio-page__arrow a:hover {
    color: var(--corp-dark);
    border: 1px solid var(--corp-accent);
    background-color: var(--corp-accent);
}

.portfolio-page__single-2 {
    margin-top: 70px;
}

.portfolio-page__single-3 {
    margin-top: -70px;
}

/*==============================================
    Portfolio Details 
===============================================*/
.portfolio-details {
    position: relative;
    display: block;
    padding: 120px 0 115px;
    z-index: 1;
}

.portfolio-details__top {
    position: relative;
    display: block;
    margin-bottom: 60px;
}

.portfolio-details__top-left {
    position: relative;
    display: block;
    margin-top: -13px;
}

.portfolio-details__top-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 48px;
    color: var(--corp-dark);
}

.portfolio-details__top-middle {
    position: relative;
    display: block;
    margin-left: 34px;
    margin-right: -25px;
}

.portfolio-details__top-text {
    font-size: 18px;
    font-weight: 300;
    font-family: var(--corp-font-heading);
    line-height: 27px;
}

.portfolio-details__top-right {
    position: relative;
    display: block;
    margin-left: 104px;
}

.portfolio-details__top-category-list {
    position: relative;
    display: block;
}

.portfolio-details__top-category-list li {
    position: relative;
    display: block;
}

.portfolio-details__top-category-list li+li {
    margin-top: 12px;
}

.portfolio-details__top-category-list li p {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    font-family: var(--corp-font-heading);
    color: var(--corp-dark);
}

.portfolio-details__top-category-list li p span {
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
    color: var(--corp-muted);
}

.portfolio-details__img {
    position: relative;
    display: block;
}

.portfolio-details__img img {
    width: 100%;
}

.portfolio-details__content {
    position: relative;
    display: block;
}

.portfolio-details__title-1 {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    color: var(--corp-dark);
    margin-top: 28px;
    margin-bottom: 30px;
}

.portfolio-details__text-1 {
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    font-family: var(--corp-font-heading);
}

.portfolio-details__text-2 {
    font-size: 18px;
    font-weight: 300;
    line-height: 26px;
    font-family: var(--corp-font-heading);
    margin: 28px 0 60px;
}

.portfolio-details__img-box {
    position: relative;
    display: block;
}

.portfolio-details__img-box-img-1 {
    position: relative;
    display: block;
    margin-right: 55px;
    margin-bottom: 30px;
}

.portfolio-details__img-box-img-1 img {
    width: 100%;
}

.portfolio-details__img-box-img-2 {
    position: relative;
    display: block;
    margin-left: -55px;
    margin-bottom: 30px;
}

.portfolio-details__img-box-img-2 img {
    width: 100%;
}

.portfolio-details__title-2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    color: var(--corp-dark);
    text-transform: capitalize;
    margin: 24px 0 30px;
}

.portfolio-details__text-3 {
    font-size: 18px;
    font-weight: 300;
    line-height: 27px;
    font-family: var(--corp-font-heading);
}

.portfolio-details__points-box {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 160px;
    margin: 40px 0 48px;
}

.portfolio-details__points {
    position: relative;
    display: block;
}

.portfolio-details__points li {
    position: relative;
    display: block;
}

.portfolio-details__points li+li {
    margin-top: 16px;
}

.portfolio-details__points li p {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    font-family: var(--corp-font-heading);
}

.portfolio-details__points li p span {
    font-size: 24px;
    color: var(--corp-dark);
    font-weight: 300;
}

.portfolio-details__title-3 {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    color: var(--corp-dark);
}

.portfolio-details__text-4 {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    font-family: var(--corp-font-heading);
    margin: 30px 0 48px;
}

.portfolio-details__title-4 {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    color: var(--corp-dark);
}

.portfolio-details__text-5 {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    font-family: var(--corp-font-heading);
    margin-top: 30px;
}

.portfolio-details__prev-and-next {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--corp-border);
    padding-top: 40px;
    margin-top: 80px;
}

.portfolio-details__prev-and-next a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 400;
    font-family: var(--corp-font-heading);
    color: var(--corp-dark);
}

.portfolio-details__prev-and-next a:hover {
    color: var(--corp-dark);
    text-shadow: 1px 0 0 rgba(18, 18, 18, .8);
}

.portfolio-details__prev-and-next a span {
    font-size: 18px;
}


/*==============================================
    Portfolio Carousel Page   
===============================================*/
.portfolio-carousel-page {
    position: relative;
    display: block;
    padding: 120px 0 30px;
}

.portfolio-carousel-page__carousel {
    position: relative;
    display: block;
    padding-bottom: 30px;
}

.portfolio-carousel-page .portfolio-page__single {
    margin-bottom: 30px;
}

/*==============================================
    Portfolio Masonry (legacy)
===============================================*/
.portfolio-page--masonry {
    padding: 120px 0 90px;
}

.corp-portfolio-masonry {
    column-count: 2;
    column-gap: 30px;
}

.corp-portfolio-masonry__item {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 55px;
}

.corp-portfolio-masonry__item .portfolio-page__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.corp-portfolio-masonry__item--sm .portfolio-page__img {
    height: 280px;
}

.corp-portfolio-masonry__item--md .portfolio-page__img {
    height: 380px;
}

.corp-portfolio-masonry__item--lg .portfolio-page__img {
    height: 480px;
}

/*==============================================
    Portfolio Works (creative listing)
===============================================*/
.portfolio-works {
    position: relative;
    display: block;
    padding: 90px 0 100px;
    overflow: hidden;
    z-index: 1;
}

.portfolio-works__atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.portfolio-works__grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(var(--corp-border-rgb), 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--corp-border-rgb), 0.55) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 75% 50% at 15% 0%, #000 15%, transparent 70%);
}

.portfolio-works__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
}

.portfolio-works__orb--one {
    width: 260px;
    height: 260px;
    top: 60px;
    right: 6%;
    background: rgba(var(--corp-accent-rgb), 0.2);
    animation: portfolio-works-float 9s ease-in-out infinite;
}

.portfolio-works__orb--two {
    width: 180px;
    height: 180px;
    top: 420px;
    left: -50px;
    background: rgba(var(--corp-dark-rgb), 0.05);
    animation: portfolio-works-float 11s ease-in-out infinite reverse;
}

@keyframes portfolio-works-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.portfolio-works .container {
    position: relative;
    z-index: 1;
}

.portfolio-works__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, 240px);
    gap: 40px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--corp-border);
}

.portfolio-works__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--corp-dark);
}

.portfolio-works__eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--corp-accent);
    box-shadow: 0 0 0 4px rgba(var(--corp-accent-rgb), 0.25);
}

.portfolio-works__title {
    max-width: 16ch;
    margin: 0 0 18px;
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 500;
    line-height: 1.1;
    color: var(--corp-dark);
}

.portfolio-works__lead {
    max-width: 42ch;
    margin: 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.7;
    font-family: var(--corp-font-heading);
    color: var(--corp-muted);
}

.portfolio-works__intro-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 22px;
    text-align: right;
}

.portfolio-works__stat-value {
    display: block;
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
    font-family: var(--corp-font-heading);
    color: var(--corp-dark);
}

.portfolio-works__stat-label {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--corp-muted);
}

.portfolio-works__intro-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--corp-dark);
}

.portfolio-works__intro-link span {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.portfolio-works__intro-link:hover span {
    transform: translate(3px, -3px);
}

.portfolio-works__gallery {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 36px;
}

.portfolio-works__item {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-works__item--lg .portfolio-works__media {
    min-height: 420px;
}

.portfolio-works__item--md .portfolio-works__media {
    min-height: 360px;
}

.portfolio-works__item--sm .portfolio-works__media {
    min-height: 280px;
}

.portfolio-works__card {
    display: block;
    color: inherit;
}

.portfolio-works__card:hover {
    color: inherit;
}

.portfolio-works__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--corp-surface);
}

.portfolio-works__media-accent {
    position: absolute;
    inset: auto 0 0 auto;
    width: 0;
    height: 4px;
    background: var(--corp-accent);
    z-index: 3;
    transition: width 0.45s ease;
}

.portfolio-works__card:hover .portfolio-works__media-accent {
    width: 100%;
}

.portfolio-works__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.8s ease;
}

.portfolio-works__card:hover .portfolio-works__media img {
    transform: scale(1.06);
}

.portfolio-works__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(var(--corp-dark-rgb), 0.72) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.portfolio-works__card:hover .portfolio-works__media::after {
    opacity: 1;
}

.portfolio-works__index {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--corp-dark);
    background: rgba(var(--corp-white-rgb), 0.92);
    padding: 6px 10px;
}

.portfolio-works__view {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--corp-white);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-works__view span {
    font-size: 12px;
}

.portfolio-works__card:hover .portfolio-works__view {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-works__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 20px;
    align-items: start;
    margin-top: 18px;
}

.portfolio-works__category {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--corp-muted);
}

.portfolio-works__name {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--corp-dark);
    transition: color 0.25s ease;
}

.portfolio-works__card:hover .portfolio-works__name {
    color: var(--corp-dark);
}

.portfolio-works__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 72px;
    padding: 36px 34px;
    background:
        radial-gradient(circle at top right, rgba(var(--corp-accent-rgb), 0.35), transparent 45%),
        var(--corp-dark);
}

.portfolio-works__cta-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--corp-accent);
}

.portfolio-works__cta-title {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.25;
    color: var(--corp-white);
}

.portfolio-works__empty {
    padding: 60px 0;
    color: var(--corp-muted);
}

@media (max-width: 991px) {
    .portfolio-works__intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .portfolio-works__intro-meta {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .portfolio-works__item--lg .portfolio-works__media,
    .portfolio-works__item--md .portfolio-works__media {
        min-height: 320px;
    }

    .portfolio-works__cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 22px;
    }
}

@media (max-width: 767px) {
    .portfolio-works {
        padding: 70px 0 70px;
    }

    .portfolio-works__stat-value {
        font-size: 48px;
    }

    .portfolio-works__item--sm .portfolio-works__media,
    .portfolio-works__item--md .portfolio-works__media,
    .portfolio-works__item--lg .portfolio-works__media {
        min-height: 240px;
    }

    .portfolio-works__gallery {
        --bs-gutter-y: 28px;
    }
}


/*==============================================
    End   
===============================================*/