/* =========================================================
   YXE WEB STUDIOS
   WEB DESIGN / PORTFOLIO PAGE
   MATCHED TO BRANDING PAGE
   ========================================================= */

.web-page {
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   INTRO
   ========================================================= */

.web-intro {
    padding: 75px 0 45px;
}

.web-intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.web-intro-count {
    font-size: 10px;
    line-height: 1;

    letter-spacing: 2px;
    text-transform: uppercase;

    opacity: .35;

    white-space: nowrap;
}


.web-intro-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(260px, .6fr);

    gap: 50px;

    align-items: end;
}


.web-intro-row h1 {
    margin: 0;

    font-size: clamp(48px, 6vw, 76px);

    line-height: .92;

    letter-spacing: -3px;

    font-weight: 650;
}


.web-intro-row h1 span {
    display: block;

    color: #58a6ff;
}


.web-intro-row p {
    max-width: 360px;

    margin: 0 0 5px;

    font-size: 14px;

    line-height: 1.65;

    opacity: .55;
}


/* =========================================================
   WORK
   ========================================================= */

.web-work {
    padding: 10px 0 85px;
}


.web-accordion {
    width: 100%;

    border-top:
        1px solid rgba(255,255,255,.10);
}


/* =========================================================
   CARD
   ========================================================= */

.web-card {
    position: relative;

    width: 100%;

    border-bottom:
        1px solid rgba(255,255,255,.10);

    overflow: hidden;
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.web-card-toggle {
    position: relative;

    width: 100%;

    min-height: 100px;

    display: grid;

    grid-template-columns:
        78px
        1fr
        50px;

    align-items: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: inherit;

    text-align: left;

    cursor: pointer;

    transition:
        background .3s ease;
}


.web-card-toggle:hover {
    background:
        rgba(255,255,255,.018);
}


/* =========================================================
   PROJECT NUMBER
   ========================================================= */

.web-card-number {
    font-size: 11px;

    line-height: 1;

    letter-spacing: 2px;

    opacity: .35;
}


/* =========================================================
   PROJECT TITLE
   ========================================================= */

.web-card-label {
    font-size: 21px;

    line-height: 1.2;

    letter-spacing: -.4px;

    font-weight: 500;

    opacity: .82;

    transition:
        opacity .25s ease,
        transform .25s ease;
}


.web-card-toggle:hover .web-card-label {
    opacity: 1;
}


/* =========================================================
   ARROW
   ========================================================= */

.web-card-arrow {
    justify-self: end;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    font-size: 13px;

    line-height: 1;

    opacity: .55;

    transition:
        transform .35s ease,
        background .35s ease,
        opacity .35s ease,
        border-color .35s ease;
}


.web-card-toggle:hover .web-card-arrow {
    opacity: .9;

    border-color:
        rgba(255,255,255,.22);
}


/* =========================================================
   ACTIVE HEADER
   ========================================================= */

.web-card.is-active .web-card-toggle {
    background:
        rgba(255,255,255,.015);
}


.web-card.is-active .web-card-label {
    opacity: 1;
}


.web-card.is-active .web-card-arrow {
    transform: rotate(45deg);

    opacity: 1;

    background:
        rgba(255,255,255,.035);

    border-color:
        rgba(255,255,255,.20);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.web-card-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(280px, .65fr);

    gap: 40px;

    padding: 0;

    max-height: 0;

    opacity: 0;

    overflow: hidden;

    transition:
        max-height .6s cubic-bezier(.22,1,.36,1),
        opacity .35s ease,
        padding .5s ease;
}


/* =========================================================
   ACTIVE CONTENT
   ========================================================= */

.web-card.is-active .web-card-content {
    max-height: 650px;

    padding:
        15px 0 40px;

    opacity: 1;
}


/* =========================================================
   WEBSITE IMAGE
   ========================================================= */

.web-card-image {
    position: relative;

    width: 100%;

    height: 390px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012) 55%,
            rgba(0,0,0,.18) 100%
        );

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 10px;

    box-shadow:
        0 18px 55px rgba(0,0,0,.20);
}


/* =========================================================
   WEBSITE SCREENSHOT
   ========================================================= */

.web-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 18px;

    transition:
        transform .6s cubic-bezier(.22,1,.36,1);
}


.web-card-image:hover img {
    transform: scale(1.02);
}


/* =========================================================
   PROJECT INFORMATION
   ========================================================= */

.web-card-info {
    align-self: start;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    padding:
        5px 0 0;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.web-card-info > span {
    display: block;

    margin-bottom: 16px;

    font-size: 9px;

    line-height: 1.4;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: .38;
}


/* =========================================================
   PROJECT HEADING
   ========================================================= */

.web-card-info h2 {
    margin: 0 0 22px;

    font-size: clamp(34px, 3.2vw, 52px);

    line-height: .98;

    letter-spacing: -2px;

    font-weight: 600;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.web-card-info p {
    max-width: 400px;

    margin: 0 0 25px;

    font-size: 14px;

    line-height: 1.65;

    opacity: .55;
}


/* =========================================================
   LINKS
   ========================================================= */

.web-card-links {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 16px;
}


.web-card-links a {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding-bottom: 7px;

    color: inherit;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    border-bottom:
        1px solid rgba(255,255,255,.20);

    transition:
        gap .25s ease,
        border-color .25s ease,
        opacity .25s ease;
}


.web-card-links a strong {
    font-size: 14px;

    font-weight: 400;
}


.web-card-links a:hover {
    gap: 15px;

    border-color:
        rgba(255,255,255,.65);
}


.web-card-links .web-live-link {
    opacity: .55;
}


.web-card-links .web-live-link:hover {
    opacity: 1;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.web-bottom {
    padding: 65px 0 100px;
}


.web-bottom-inner {
    padding:
        55px 45px;

    text-align: center;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 12px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(59,130,246,.08),
            transparent 55%
        ),
        rgba(255,255,255,.012);
}


.web-bottom-inner .eyebrow {
    margin-bottom: 20px;
}


.web-bottom-inner h2 {
    max-width: 650px;

    margin:
        0 auto 28px;

    font-size: clamp(38px, 5vw, 62px);

    line-height: .95;

    letter-spacing: -2.5px;
}


.web-bottom-inner h2 span {
    display: block;

    color: #58a6ff;
}


/* =========================================================
   COMPACT PROJECT LAYOUT
   ========================================================= */

.portfolio-project {
    padding: 30px 0;
}


.portfolio-project-header {
    padding: 20px 0;

    min-height: auto;
}


.portfolio-project-number {
    font-size: 11px;

    letter-spacing: 2px;

    opacity: .35;
}


.portfolio-project-header h2 {
    margin: 0;

    font-size: 21px;

    line-height: 1.2;

    letter-spacing: -.4px;

    font-weight: 500;
}


.portfolio-project-body {
    gap: 40px;
}


.portfolio-project-visual {
    max-height: 420px;
}


.portfolio-project-image {
    height: 420px;

    overflow: hidden;
}


.portfolio-project-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


.portfolio-project-content {
    padding: 10px 0;
}


.portfolio-project-category {
    margin-bottom: 16px;
}


.portfolio-project-content h2 {
    margin-bottom: 20px;
}


.portfolio-project-content p {
    margin-bottom: 22px;

    line-height: 1.65;
}


.portfolio-project-links,
.portfolio-project-actions {
    margin-top: 18px;
}


.portfolio-project + .portfolio-project {
    margin-top: 20px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .web-intro {
        padding:
            60px 0 40px;
    }


    .web-intro-row {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .web-intro-row h1 {
        font-size:
            clamp(46px, 10vw, 70px);

        letter-spacing: -3px;
    }


    .web-intro-row p {
        max-width: 500px;
    }


    .web-card-toggle {
        min-height: 90px;

        grid-template-columns:
            60px
            1fr
            48px;
    }


    .web-card-label {
        font-size: 20px;
    }


    .web-card-content {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .web-card.is-active .web-card-content {
        max-height: 1000px;

        padding:
            12px 0 35px;
    }


    .web-card-image {
        height: 380px;
    }


    .web-card-info {
        padding: 0;
    }


    .web-card-info h2 {
        font-size: 44px;
    }


    .portfolio-project {
        padding: 25px 0;
    }


    .portfolio-project-header {
        padding: 18px 0;
    }


    .portfolio-project-header h2 {
        font-size: 20px;
    }


    .portfolio-project-body {
        gap: 30px;
    }


    .portfolio-project-image {
        height: 350px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .web-intro {
        padding:
            50px 0 35px;
    }


    .web-intro-top {
        margin-bottom: 25px;
    }


    .web-intro-count {
        display: none;
    }


    .web-intro-row h1 {
        font-size: 48px;

        line-height: .92;

        letter-spacing: -2.5px;
    }


    .web-intro-row p {
        font-size: 14px;

        line-height: 1.6;
    }


    /* -----------------------------------------------------
       WORK
       ----------------------------------------------------- */

    .web-work {
        padding:
            5px 0 65px;
    }


    /* -----------------------------------------------------
       CARD HEADER
       ----------------------------------------------------- */

    .web-card-toggle {
        min-height: 76px;

        grid-template-columns:
            42px
            1fr
            40px;

        padding: 0;
    }


    .web-card-number {
        font-size: 9px;

        letter-spacing: 1.5px;
    }


    .web-card-label {
        font-size: 18px;

        letter-spacing: -.25px;
    }


    .web-card-arrow {
        width: 34px;
        height: 34px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       EXPANDED CARD
       ----------------------------------------------------- */

    .web-card.is-active .web-card-content {
        padding:
            10px 0 30px;

        gap: 22px;
    }


    /* -----------------------------------------------------
       IMAGE
       ----------------------------------------------------- */

    .web-card-image {
        height: 250px;

        border-radius: 8px;
    }


    .web-card-image img {
        padding: 10px;
    }


    /* -----------------------------------------------------
       PROJECT INFO
       ----------------------------------------------------- */

    .web-card-info {
        padding: 0;
    }


    .web-card-info > span {
        margin-bottom: 12px;

        font-size: 8px;

        letter-spacing: 1.7px;
    }


    .web-card-info h2 {
        margin-bottom: 18px;

        font-size: 36px;

        line-height: .96;

        letter-spacing: -1.5px;
    }


    .web-card-info p {
        margin-bottom: 22px;

        font-size: 13px;

        line-height: 1.6;
    }


    .web-card-links {
        gap: 13px;
    }


    .web-card-links a {
        font-size: 11px;
    }


    /* -----------------------------------------------------
       CTA
       ----------------------------------------------------- */

    .web-bottom {
        padding:
            45px 0 70px;
    }


    .web-bottom-inner {
        padding:
            40px 20px;
    }


    .web-bottom-inner h2 {
        font-size: 40px;

        letter-spacing: -2px;
    }


    /* -----------------------------------------------------
       PORTFOLIO PROJECT
       ----------------------------------------------------- */

    .portfolio-project {
        padding: 20px 0;
    }


    .portfolio-project-header {
        padding: 15px 0;
    }


    .portfolio-project-header h2 {
        font-size: 18px;
    }


    .portfolio-project-image {
        height: 250px;
    }


    .portfolio-project-content {
        padding: 8px 0;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .web-card-toggle {
        grid-template-columns:
            36px
            1fr
            36px;
    }


    .web-card-label {
        font-size: 17px;
    }


    .web-card-arrow {
        width: 31px;
        height: 31px;
    }


    .web-intro-row h1 {
        font-size: 43px;
    }

}
/* =========================================================
   SEO CONTENT — SASKATOON WEB DESIGN
   ========================================================= */

.web-seo-intro {
    position: relative;
    padding: 120px 0;
    background: transparent;
}

.web-seo-intro-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.web-seo-intro .eyebrow,
.web-seo-benefits .eyebrow {
    display: inline-block;
    margin-bottom: 24px;
}

.web-seo-intro h2,
.web-seo-benefits-heading h2 {
    margin: 0 0 28px;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.web-seo-intro h2 span,
.web-seo-benefits-heading h2 span {
    display: inline-block;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #5b9cff 45%,
        #2f7cff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.web-seo-intro p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
    line-height: 1.8;
}

.web-seo-intro p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SELECTED PROJECTS HEADING
   ========================================================= */

.web-work-heading {
    margin-bottom: 55px;
}

.web-work-heading h2 {
    margin: 18px 0 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.web-work-heading h2 span {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #5b9cff 50%,
        #2f7cff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* =========================================================
   WHY YXE WEB STUDIOS
   ========================================================= */

.web-seo-benefits {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
}

.web-seo-benefits::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: -300px;
    transform: translateY(-50%);
    background: radial-gradient(
        circle,
        rgba(40, 110, 255, 0.10) 0%,
        rgba(40, 110, 255, 0.04) 35%,
        transparent 70%
    );
    pointer-events: none;
}

.web-seo-benefits-heading {
    max-width: 850px;
    margin-bottom: 70px;
}

.web-seo-benefits-heading p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   BENEFIT GRID
   ========================================================= */

.web-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.web-benefit {
    position: relative;
    min-height: 280px;
    padding: 42px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.015);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.web-benefit:hover {
    background: rgba(255, 255, 255, 0.035);
}

.web-benefit-number {
    display: block;
    margin-bottom: 45px;
    color: #4f91ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.web-benefit h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.web-benefit p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   BOTTOM CTA — SEO ENHANCEMENT
   ========================================================= */

.web-bottom-inner p {
    max-width: 650px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .web-seo-intro {
        padding: 90px 0;
    }

    .web-seo-intro-inner {
        max-width: 700px;
    }

    .web-seo-intro h2,
    .web-seo-benefits-heading h2 {
        font-size: clamp(38px, 8vw, 58px);
    }

    .web-seo-intro p,
    .web-seo-benefits-heading p {
        font-size: 16px;
        line-height: 1.7;
    }

    .web-seo-benefits {
        padding: 90px 0;
    }

    .web-seo-benefits-heading {
        margin-bottom: 50px;
    }

}


@media (max-width: 650px) {

    .web-seo-intro {
        padding: 75px 0;
    }

    .web-seo-intro-inner {
        text-align: left;
    }

    .web-seo-intro h2,
    .web-seo-benefits-heading h2 {
        font-size: 42px;
        line-height: 1;
    }

    .web-seo-intro p {
        margin-left: 0;
    }


    .web-work-heading {
        margin-bottom: 35px;
    }

    .web-work-heading h2 {
        font-size: 42px;
    }


    .web-seo-benefits {
        padding: 75px 0;
    }


    .web-benefits-grid {
        grid-template-columns: 1fr;
    }


    .web-benefit {
        min-height: auto;
        padding: 32px 25px;
    }


    .web-benefit-number {
        margin-bottom: 30px;
    }


    .web-benefit h3 {
        font-size: 21px;
    }


    .web-benefit p {
        font-size: 15px;
    }

}