/*
Theme Name: JEBTAM Publishing
Theme URI: https://jebtampublishing.com/
Description: Custom child theme for JEBTAM Publishing, built on OceanWP.
Author: JEBTAM Publishing
Author URI: https://jebtampublishing.com/
Template: oceanwp
Version: 1.0.0
Text Domain: jebtam
*/

/*
 * JEBTAM Publishing
 * Custom site styles will be added below.
 */

/* =========================================================
   JEBTAM HOMEPAGE
   ========================================================= */

.jebtam-home {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.jebtam-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.jebtam-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 680px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(24, 119, 142, 0.11) 0%,
            rgba(24, 119, 142, 0.04) 25%,
            transparent 52%
        ),
        linear-gradient(135deg, #ffffff 0%, #f7f9fa 100%);
}

.jebtam-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -180px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(24, 119, 142, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.jebtam-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 90px 0 110px;
}

.jebtam-eyebrow {
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.18em;
    color: #18778e;
}

.jebtam-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(58px, 6.2vw, 92px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #15191c;
}

.jebtam-hero h1 span {
    color: #18778e;
}

.jebtam-hero-intro {
    max-width: 690px;
    margin: 34px 0 0;
    font-size: 21px;
    line-height: 1.65;
    color: #525b61;
}

.jebtam-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.jebtam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 27px;
    border: 2px solid #18778e;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.jebtam-btn:hover {
    transform: translateY(-2px);
}

.jebtam-btn-primary {
    background: #18778e;
    color: #ffffff !important;
}

.jebtam-btn-primary:hover {
    background: #125e70;
    border-color: #125e70;
}

.jebtam-btn-secondary {
    background: transparent;
    color: #18778e !important;
}

.jebtam-btn-secondary:hover {
    background: #18778e;
    color: #ffffff !important;
}


/* =========================================================
   JEBTAM HERO ECOSYSTEM
   ========================================================= */

.jebtam-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
    align-items: center;
    gap: 40px;
    width: 100%;
}

.jebtam-hero-content {
    max-width: 760px;
}

.jebtam-ecosystem {
    position: relative;
    width: 480px;
    height: 480px;
    justify-self: end;
}

.jebtam-ecosystem-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(24, 119, 142, 0.24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.jebtam-ecosystem-ring::before,
.jebtam-ecosystem-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.jebtam-ecosystem-ring::before {
    inset: 38px;
    border: 1px dashed rgba(24, 119, 142, 0.18);
}

.jebtam-ecosystem-ring::after {
    inset: 92px;
    background: rgba(24, 119, 142, 0.035);
    border: 1px solid rgba(24, 119, 142, 0.12);
}

.jebtam-ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 142px;
    height: 142px;
    border-radius: 50%;
    background: #15191c;
    box-shadow: 0 18px 45px rgba(21, 25, 28, 0.16);
    transform: translate(-50%, -50%);
    text-align: center;
}

.jebtam-ecosystem-center span {
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.58);
}

.jebtam-ecosystem-center strong {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.jebtam-ecosystem-node {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 132px;
    height: 76px;
    padding: 0 14px;

    border: 1px solid rgba(24, 119, 142, 0.22);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 10px 28px rgba(21, 25, 28, 0.07);

    color: #15191c !important;
    text-align: center;
    text-decoration: none !important;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease;
}


/* Teal marker */

.jebtam-ecosystem-node::before {
    display: none;
}


/* Service name */

.jebtam-ecosystem-node strong {
    display: block;

    margin-top: 0px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.09em;

    color: #15191c;

    transition: color 0.22s ease;
}


/* Hover */

.jebtam-ecosystem-node:hover,
.jebtam-ecosystem-node:focus-visible {
    border-color: #18778e;

    background: #ffffff;

    box-shadow:
        0 15px 34px rgba(21, 25, 28, 0.12);

    text-decoration: none !important;
}

.jebtam-ecosystem-node:hover::before,
.jebtam-ecosystem-node:focus-visible::before {
    background: #18778e;
}

.jebtam-ecosystem-node:hover strong,
.jebtam-ecosystem-node:focus-visible strong {
    color: #18778e;
}

.jebtam-ecosystem-node:focus-visible {
    outline: 2px solid #18778e;
    outline-offset: 4px;
}


/* =========================================================
   PRECISE RADIAL POSITIONING
   ========================================================= */

/* 12 o'clock */

.node-web {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node-web:hover,
.node-web:focus-visible {
    transform: translateX(-50%) translateY(-3px);
}


/* 2 o'clock */

.node-content {
    top: 91px;
    right: 0;
}

.node-content:hover,
.node-content:focus-visible {
    transform: translateY(-3px);
}


/* 4 o'clock */

.node-search {
    right: 0;
    bottom: 91px;
}

.node-search:hover,
.node-search:focus-visible {
    transform: translateY(-3px);
}


/* 6 o'clock */

.node-social {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node-social:hover,
.node-social:focus-visible {
    transform: translateX(-50%) translateY(-3px);
}


/* 8 o'clock */

.node-media {
    bottom: 91px;
    left: 0;
}

.node-media:hover,
.node-media:focus-visible {
    transform: translateY(-3px);
}


/* 10 o'clock */

.node-growth {
    top: 91px;
    left: 0;
}

.node-growth:hover,
.node-growth:focus-visible {
    transform: translateY(-3px);
}


/* =========================================================
   JEBTAM — CONNECTED STRATEGY SECTION
   ========================================================= */

.jebtam-together {
    position: relative;
    padding: 120px 0 130px;
    background: #ffffff;
}

.jebtam-together-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    gap: 100px;
    align-items: start;
}

.jebtam-section-heading h2 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #15191c;
}

.jebtam-section-heading h2 span {
    color: #18778e;
}

.jebtam-together-copy {
    padding-top: 34px;
}

.jebtam-together-copy p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.75;
    color: #596268;
}

.jebtam-together-copy .jebtam-lead {
    margin-bottom: 22px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.45;
    color: #20262a;
}

.jebtam-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #18778e !important;
    text-decoration: none !important;
}

.jebtam-text-link span {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.jebtam-text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   CAPABILITY CARDS
   ========================================================= */

.jebtam-capabilities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 35px;
    border-top: 1px solid #dfe5e8;
    border-bottom: 1px solid #dfe5e8;
}

.jebtam-capability {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    padding: 38px 30px 34px;
    border-right: 1px solid #dfe5e8;
    background: #ffffff;
    color: inherit !important;
    text-decoration: none !important;
    overflow: hidden;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.jebtam-capability:first-child {
    border-left: 1px solid #dfe5e8;
}

.jebtam-capability::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #18778e;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.jebtam-capability:hover {
    background: #f5f9fa;
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(21, 25, 28, 0.07);
}

.jebtam-capability:hover::before {
    transform: scaleX(1);
}

.jebtam-capability-number {
    display: block;
    margin-bottom: 45px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.18em;
    color: #18778e;
}

.jebtam-capability h3 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #171c1f;
}

.jebtam-capability p {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #687177;
}

.jebtam-capability-link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #18778e;
    opacity: 0.72;
    transform: translateX(0);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.jebtam-capability:hover .jebtam-capability-link {
    opacity: 1;
    transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .jebtam-hero-grid {
        grid-template-columns: minmax(0, 1fr) 370px;
        gap: 20px;
    }

    .jebtam-ecosystem {
        width: 370px;
        height: 420px;
        transform: scale(0.88);
        transform-origin: center right;
    }
}

@media (max-width: 959px) {

    .jebtam-container {
        width: min(100% - 40px, 1180px);
    }

    .jebtam-hero {
        min-height: 600px;
    }

    .jebtam-hero-grid {
        grid-template-columns: 1fr;
    }

    .jebtam-hero-content {
        max-width: 820px;
        padding: 75px 0 90px;
    }

    .jebtam-hero-intro {
        font-size: 19px;
    }

    .jebtam-ecosystem {
        display: none;
    }

    .jebtam-together {
        padding: 90px 0 100px;
    }

    .jebtam-together-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .jebtam-together-copy {
        max-width: 700px;
        padding-top: 0;
    }

    .jebtam-capabilities {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 70px;
    }

    .jebtam-capability {
        border-bottom: 1px solid #dfe5e8;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .jebtam-container {
        width: calc(100% - 36px);
    }

    .jebtam-hero {
        min-height: auto;
    }

    .jebtam-hero-content {
        padding: 68px 0 78px;
    }

    .jebtam-eyebrow {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 0.13em;
    }

    .jebtam-hero h1 {
        font-size: clamp(46px, 14vw, 62px);
        line-height: 1;
    }

    .jebtam-hero-intro {
        margin-top: 26px;
        font-size: 18px;
        line-height: 1.55;
    }

    .jebtam-hero-actions {
        flex-direction: column;
        margin-top: 32px;
    }

    .jebtam-btn {
        width: 100%;
    }

    .jebtam-together {
        padding: 72px 0 80px;
    }

    .jebtam-section-heading h2 {
        font-size: clamp(38px, 11vw, 50px);
    }

    .jebtam-together-copy .jebtam-lead {
        font-size: 20px;
    }

    .jebtam-together-copy p {
        font-size: 16px;
    }

    .jebtam-capabilities {
        grid-template-columns: 1fr;
        margin-top: 55px;
    }

    .jebtam-capability {
        min-height: auto;
        padding: 30px 25px 32px;
        border-left: 1px solid #dfe5e8;
    }

    .jebtam-capability-number {
        margin-bottom: 25px;
    }

    .jebtam-capability-link {
        margin-top: 18px;
        opacity: 1;
    }
}

/* =========================================================
   FEATURED WORK — AC MIKE
   ========================================================= */

.jebtam-featured-work {
    position: relative;
    padding: 130px 0 75px;
    overflow: hidden;
    background: #f5f8f9;
}

.jebtam-featured-work::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -220px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(24, 119, 142, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.jebtam-featured-heading {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 55px;
}

.jebtam-featured-heading h2 {
    margin: 0;
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #15191c;
}

.jebtam-featured-heading h2 span {
    color: #18778e;
}


/* Main Project Layout */

.jebtam-project {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    gap: 72px;
    align-items: start;
}


/* Browser / Website Presentation */

.jebtam-project-visual {
    position: relative;
}

.jebtam-project-visual::before {
    content: "";
    position: absolute;
    top: 32px;
    left: -32px;
    width: 100%;
    height: 100%;
    background: #18778e;
    opacity: 0.08;
    border-radius: 10px;
}

.jebtam-project-browser {
    position: relative;
    overflow: hidden;
    border: 1px solid #d7dfe2;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(21, 25, 28, 0.14);
}

.jebtam-browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid #e2e7e9;
    background: #f3f5f6;
}

.jebtam-browser-bar > span {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #c4cbce;
}

.jebtam-browser-address {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 23px;
    margin-left: 9px;
    border-radius: 4px;
    background: #ffffff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #7a8388;
}

.jebtam-project-browser img {
    display: block;
    width: 100%;
    height: auto;
}


/* Project Story */

.jebtam-project-content {
    position: relative;
}

.jebtam-project-label {
    margin: 0 0 23px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.17em;
    color: #18778e;
}

.jebtam-project-label span {
    padding: 0 5px;
    color: #9aa3a8;
}

.jebtam-project-content h3 {
    margin: 0 0 27px;
    font-size: clamp(34px, 3.1vw, 48px);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.035em;
    color: #171c1f;
}

.jebtam-project-content h3 span {
    color: #18778e;
}

.jebtam-project-content p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.75;
    color: #626c71;
}

.jebtam-project-content .jebtam-project-lead {
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
    color: #252c30;
}


/* Service Tags */

.jebtam-project-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0 25px;
}

.jebtam-project-services span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 0 12px;
    border: 1px solid rgba(24, 119, 142, 0.22);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: #435158;
}


/* Featured Work Footer */

.jebtam-work-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #d9e1e4;
}

.jebtam-work-footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #737d82;
}

.jebtam-work-footer .jebtam-text-link {
    margin-top: 0;
}


/* =========================================================
   FEATURED WORK — RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .jebtam-project {
        grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
        gap: 48px;
    }

    .jebtam-project-content h3 {
        font-size: 38px;
    }
}


@media (max-width: 959px) {

    .jebtam-featured-work {
        padding: 100px 0;
    }

    .jebtam-featured-heading {
        margin-bottom: 55px;
    }

    .jebtam-project {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .jebtam-project-visual {
        max-width: 850px;
    }

    .jebtam-project-content {
        max-width: 720px;
    }

    .jebtam-project-content h3 {
        max-width: 620px;
        font-size: clamp(36px, 6vw, 48px);
    }

    .jebtam-work-footer {
        margin-top: 70px;
    }
}


@media (max-width: 600px) {

    .jebtam-featured-work {
        padding: 78px 0 75px;
    }

    .jebtam-featured-heading {
        margin-bottom: 42px;
    }

    .jebtam-featured-heading h2 {
        font-size: clamp(38px, 11vw, 50px);
    }

    .jebtam-project {
        gap: 48px;
    }

    .jebtam-project-visual::before {
        top: 14px;
        left: -10px;
    }

    .jebtam-project-browser {
        border-radius: 6px;
    }

    .jebtam-browser-bar {
        height: 34px;
        padding: 0 10px;
    }

    .jebtam-browser-bar > span {
        width: 7px;
        height: 7px;
        flex-basis: 7px;
    }

    .jebtam-browser-address {
        width: 135px;
        height: 20px;
        font-size: 8px;
    }

    .jebtam-project-label {
        margin-bottom: 18px;
        font-size: 10px;
    }

    .jebtam-project-content h3 {
        margin-bottom: 23px;
        font-size: clamp(34px, 10vw, 44px);
    }

    .jebtam-project-content .jebtam-project-lead {
        font-size: 18px;
    }

    .jebtam-project-content p {
        font-size: 16px;
    }

    .jebtam-project-services {
        margin-top: 25px;
    }

    .jebtam-work-footer {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 55px;
        padding-top: 25px;
    }
}

/* =========================================================
   PEOPLE BEHIND JEBTAM
   ========================================================= */

.jebtam-people {
    position: relative;
    padding: 135px 0 140px;
    overflow: hidden;
    background: #ffffff;
}

.jebtam-people-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
    gap: 110px;
    align-items: center;
}


/* Photo */

.jebtam-people-visual {
    position: relative;
    max-width: 450px;
}

.jebtam-people-accent {
    display: none;
}

.jebtam-people-photo {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 4px;
    background: #e8ecee;
    box-shadow: 0 24px 55px rgba(21, 25, 28, 0.13);
}

.jebtam-people-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.jebtam-people-names {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-left: 2px;
}

.jebtam-people-names span {
    position: relative;
    padding-top: 13px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.13em;
    color: #252c30;
}

.jebtam-people-names span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 2px;
    background: #18778e;
}

.jebtam-people-names span:last-child::before {
    left: auto;
    right: 0;
}


/* Story */

.jebtam-people-content {
    max-width: 650px;
}

.jebtam-people-content h2 {
    margin: 0 0 34px;
    font-size: clamp(44px, 4.6vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #15191c;
}

.jebtam-people-content h2 span {
    color: #18778e;
}

.jebtam-people-content p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.75;
    color: #5d676c;
}

.jebtam-people-content .jebtam-people-lead {
    margin-bottom: 24px;
    max-width: 590px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: #252c30;
}

.jebtam-people-content .jebtam-text-link {
    margin-top: 15px;
}


/* Subtle background detail */

.jebtam-people::after {
    content: "";
    position: absolute;
    right: -220px;
    bottom: -330px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(24, 119, 142, 0.08);
    border-radius: 50%;
    pointer-events: none;
}


/* =========================================================
   PEOPLE BEHIND JEBTAM — RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .jebtam-people-grid {
        grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
        gap: 70px;
    }

    .jebtam-people-content h2 {
        font-size: 48px;
    }
}


@media (max-width: 959px) {

    .jebtam-people {
        padding: 100px 0 110px;
    }

    .jebtam-people-grid {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .jebtam-people-visual {
        width: min(78%, 500px);
    }

    .jebtam-people-content {
        max-width: 720px;
    }

    .jebtam-people-content h2 {
        max-width: 680px;
        font-size: clamp(42px, 7vw, 58px);
    }
}


@media (max-width: 600px) {

    .jebtam-people {
        padding: 80px 0 85px;
    }

    .jebtam-people-grid {
        gap: 55px;
    }

    .jebtam-people-visual {
        width: calc(100% - 12px);
    }

    .jebtam-people-accent {
        top: 16px;
        left: -12px;
    }

    .jebtam-people-names {
        margin-top: 18px;
    }

    .jebtam-people-names span {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .jebtam-people-content h2 {
        margin-bottom: 28px;
        font-size: clamp(38px, 11vw, 50px);
    }

    .jebtam-people-content .jebtam-people-lead {
        font-size: 20px;
    }

    .jebtam-people-content p {
        font-size: 16px;
    }
}

/* =========================================================
   FINAL CALL TO ACTION
   ========================================================= */

.jebtam-final-cta {
    position: relative;
    padding: 125px 0 130px;
    overflow: hidden;
   background: #37474d;
}

.jebtam-final-cta::after {
    content: "";
    position: absolute;
    top: -260px;
    right: -180px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.jebtam-final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.jebtam-final-cta-eyebrow {
    margin: 0 0 25px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.18em;
    color: #59a9ba;
}

.jebtam-final-cta h2 {
    margin: 0;
    font-size: clamp(48px, 5.3vw, 76px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.jebtam-final-cta h2 span {
    color: #59a9ba;
}

.jebtam-final-cta-copy {
    max-width: 690px;
    margin: 32px 0 0;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}

.jebtam-final-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 35px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
}

.jebtam-final-cta-link span {
    font-size: 22px;
    color: #59a9ba;
    transition: transform 0.2s ease;
}

.jebtam-final-cta-link:hover span {
    transform: translateX(6px);
}


/* =========================================================
   FINAL CTA — RESPONSIVE
   ========================================================= */

@media (max-width: 959px) {

    .jebtam-final-cta {
        padding: 100px 0 105px;
    }
}

@media (max-width: 600px) {

    .jebtam-final-cta {
        padding: 78px 0 82px;
    }

    .jebtam-final-cta-eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .jebtam-final-cta h2 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .jebtam-final-cta-copy {
        margin-top: 26px;
        font-size: 17px;
    }

    .jebtam-final-cta-link {
        margin-top: 30px;
    }
}

/* =========================================================
   JEBTAM CUSTOM SITE FOOTER
   ========================================================= */

.jebtam-site-footer {
    position: relative;
    padding: 85px 0 0;
    background: #0d1113;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jebtam-footer-grid {
    display: grid;
    grid-template-columns: 1.65fr 0.7fr 1fr 1.1fr;
    gap: 70px;
    padding-bottom: 70px;
}

/* Brand */

.jebtam-footer-brand {
    max-width: 390px;
}

.jebtam-footer-logo {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff !important;
    text-decoration: none !important;
}

.jebtam-footer-tagline {
    margin: 0 0 24px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #55b5ca;
}

.jebtam-footer-description {
    max-width: 350px;
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #aeb8bd;
}

/* Columns */

.jebtam-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.jebtam-footer-column h2 {
    margin: 0 0 24px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #55b5ca;
}

.jebtam-footer-column a,
.jebtam-footer-column p {
    margin: 0 0 13px;
    font-size: 14px;
    line-height: 1.55;
    color: #c4ccd0 !important;
    text-decoration: none !important;
}

.jebtam-footer-column a {
    transition: color 0.2s ease;
}

.jebtam-footer-column a:hover,
.jebtam-footer-column a:focus-visible {
    color: #ffffff !important;
}

.jebtam-footer-contact > a:first-of-type {
    word-break: break-word;
}

/* Conversation link */

.jebtam-footer-column .jebtam-footer-conversation {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    font-weight: 700;
    color: #ffffff !important;
}

.jebtam-footer-conversation span {
    color: #55b5ca;
    transition: transform 0.2s ease;
}

.jebtam-footer-conversation:hover span {
    transform: translateX(4px);
}

/* Bottom copyright row */

.jebtam-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.jebtam-footer-bottom p,
.jebtam-footer-bottom a {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #7f8b91 !important;
}

.jebtam-footer-bottom a {
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.jebtam-footer-bottom a:hover,
.jebtam-footer-bottom a:focus-visible {
    color: #ffffff !important;
}

/* Tablet */

@media (max-width: 1024px) {

    .jebtam-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 55px 40px;
    }

    .jebtam-footer-brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .jebtam-site-footer {
        padding-top: 65px;
    }

    .jebtam-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px 30px;
        padding-bottom: 55px;
    }

    .jebtam-footer-brand {
        grid-column: 1 / -1;
    }

    .jebtam-footer-contact {
        grid-column: 1 / -1;
    }

    .jebtam-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 520px) {

    .jebtam-footer-grid {
        grid-template-columns: 1fr;
    }

    .jebtam-footer-brand,
    .jebtam-footer-contact {
        grid-column: auto;
    }
}

/* =========================================================
   SERVICES PAGE — HERO
   ========================================================= */

.jebtam-services-hero {
    position: relative;
    padding: 125px 0 115px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 35%,
            rgba(24, 119, 142, 0.10) 0,
            rgba(24, 119, 142, 0.04) 23%,
            transparent 47%
        ),
        #f5f7f8;
}

.jebtam-services-hero::after {
    content: "";
    position: absolute;
    top: -235px;
    right: -130px;
    width: 610px;
    height: 610px;
    border: 1px solid rgba(24, 119, 142, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.jebtam-services-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 930px;
}

.jebtam-services-page .jebtam-eyebrow {
    margin: 0 0 26px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.18em;
    color: #18778e;
}

.jebtam-services-hero h1 {
    margin: 0;
    font-size: clamp(58px, 6.2vw, 88px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #15191c;
}

.jebtam-services-hero h1 span {
    color: #18778e;
}

.jebtam-services-hero-lead {
    max-width: 760px;
    margin: 38px 0 0;
    font-size: 21px;
    line-height: 1.7;
    color: #59656a;
}


/* =========================================================
   SERVICES PAGE — INTRO
   ========================================================= */

.jebtam-services-intro {
    padding: 120px 0 125px;
    background: #ffffff;
}

.jebtam-services-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 110px;
    align-items: start;
}

.jebtam-services-intro h2 {
    margin: 0;
    font-size: clamp(42px, 4.4vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #15191c;
}

.jebtam-services-intro h2 span {
    color: #18778e;
}

.jebtam-services-intro-copy {
    padding-top: 38px;
}

.jebtam-services-intro-copy p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.75;
    color: #5d676c;
}

.jebtam-services-intro-copy .jebtam-services-intro-lead {
    margin-bottom: 24px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.55;
    color: #252c30;
}


/* =========================================================
   SERVICES HERO / INTRO — RESPONSIVE
   ========================================================= */

@media (max-width: 959px) {

    .jebtam-services-hero {
        padding: 100px 0 95px;
    }

    .jebtam-services-intro {
        padding: 95px 0 100px;
    }

    .jebtam-services-intro-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .jebtam-services-intro-copy {
        max-width: 700px;
        padding-top: 0;
    }
}

@media (max-width: 600px) {

    .jebtam-services-hero {
        padding: 78px 0 75px;
    }

    .jebtam-services-hero h1 {
        font-size: clamp(46px, 13vw, 62px);
    }

    .jebtam-services-hero-lead {
        margin-top: 28px;
        font-size: 18px;
    }

    .jebtam-services-intro {
        padding: 75px 0 80px;
    }

    .jebtam-services-page .jebtam-eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .jebtam-services-intro h2 {
        font-size: clamp(38px, 11vw, 50px);
    }

    .jebtam-services-intro-copy .jebtam-services-intro-lead {
        font-size: 19px;
    }
}

/* =========================================================
   SERVICES PAGE — INDIVIDUAL SERVICE SECTIONS
   ========================================================= */

.jebtam-service-section {
    position: relative;
    padding: 120px 0 125px;
    scroll-margin-top: 110px;
}

.jebtam-service-light {
    background: #ffffff;
}

.jebtam-service-tint {
    background: #f3f6f7;
}

.jebtam-service-dark {
    background: #37474d;
}


/* Three-column service layout */

.jebtam-service-grid {
    display: grid;
    grid-template-columns: 90px minmax(340px, 0.95fr) minmax(360px, 1.05fr);
    gap: 65px;
    align-items: start;
}


/* Large section number */

.jebtam-service-number {
    margin-top: 2px;
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(24, 119, 142, 0.28);
}


/* Service headline */

.jebtam-service-heading .jebtam-eyebrow {
    margin-bottom: 24px;
}

.jebtam-service-heading h2 {
    margin: 0;
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #15191c;
}

.jebtam-service-heading h2 span {
    display: block;
    margin-top: 5px;
    color: #18778e;
}


/* Service copy */

.jebtam-service-content {
    padding-top: 39px;
}

.jebtam-service-content p {
    margin: 0 0 21px;
    font-size: 17px;
    line-height: 1.75;
    color: #5d676c;
}

.jebtam-service-content .jebtam-service-lead {
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.55;
    color: #252c30;
}


/* Service capability list */

.jebtam-service-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(21, 25, 28, 0.12);
}

.jebtam-service-content li {
    position: relative;
    margin: 0;
    padding: 14px 0 14px 18px;
    border-bottom: 1px solid rgba(21, 25, 28, 0.10);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: #343d41;
}

.jebtam-service-content li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #18778e;
}


/* =========================================================
   DARK SEARCH + AI SECTION
   ========================================================= */

.jebtam-service-dark .jebtam-service-number {
    color: rgba(89, 169, 186, 0.48);
}

.jebtam-service-dark .jebtam-eyebrow {
    color: #59a9ba;
}

.jebtam-service-dark .jebtam-service-heading h2 {
    color: #ffffff;
}

.jebtam-service-dark .jebtam-service-heading h2 span {
    color: #67b5c5;
}

.jebtam-service-dark .jebtam-service-content p {
    color: rgba(255, 255, 255, 0.70);
}

.jebtam-service-dark .jebtam-service-content .jebtam-service-lead {
    color: #ffffff;
}

.jebtam-service-dark .jebtam-service-content ul {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.jebtam-service-dark .jebtam-service-content li {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
}

.jebtam-service-dark .jebtam-service-content li::before {
    background: #67b5c5;
}


/* =========================================================
   SERVICES SECTIONS — RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .jebtam-service-grid {
        grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr);
        gap: 45px;
    }

    .jebtam-service-number {
        font-size: 44px;
    }
}


@media (max-width: 959px) {

    .jebtam-service-section {
        padding: 95px 0 100px;
    }

    .jebtam-service-grid {
        grid-template-columns: 65px 1fr;
        gap: 25px 35px;
    }

    .jebtam-service-number {
        grid-row: 1 / span 2;
    }

    .jebtam-service-content {
        grid-column: 2;
        max-width: 700px;
        padding-top: 10px;
    }
}


@media (max-width: 600px) {

    .jebtam-service-section {
        padding: 75px 0 80px;
    }

    .jebtam-service-grid {
        display: block;
    }

    .jebtam-service-number {
        margin-bottom: 25px;
        font-size: 38px;
    }

    .jebtam-service-heading h2 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .jebtam-service-content {
        padding-top: 32px;
    }

    .jebtam-service-content .jebtam-service-lead {
        font-size: 18px;
    }

    .jebtam-service-content ul {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SERVICES PAGE — FINAL CTA
   ========================================================= */

.jebtam-services-cta {
    position: relative;
    padding: 120px 0 125px;
    overflow: hidden;
    background: #37474d;
}

.jebtam-services-cta::after {
    content: "";
    position: absolute;
    top: -250px;
    right: -170px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.jebtam-services-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 930px;
}

.jebtam-services-cta-eyebrow {
    margin: 0 0 25px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.18em;
    color: #67b5c5;
}

.jebtam-services-cta h2 {
    margin: 0;
    font-size: clamp(48px, 5.3vw, 76px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.jebtam-services-cta h2 span {
    color: #67b5c5;
}

.jebtam-services-cta-inner > p:not(.jebtam-services-cta-eyebrow) {
    max-width: 720px;
    margin: 32px 0 0;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.jebtam-services-cta a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-top: 35px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
}

.jebtam-services-cta a span {
    font-size: 22px;
    color: #67b5c5;
    transition: transform 0.2s ease;
}

.jebtam-services-cta a:hover span {
    transform: translateX(6px);
}


/* Responsive */

@media (max-width: 959px) {

    .jebtam-services-cta {
        padding: 100px 0 105px;
    }
}

@media (max-width: 600px) {

    .jebtam-services-cta {
        padding: 78px 0 82px;
    }

    .jebtam-services-cta-eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .jebtam-services-cta h2 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .jebtam-services-cta-inner > p:not(.jebtam-services-cta-eyebrow) {
        margin-top: 26px;
        font-size: 17px;
    }

    .jebtam-services-cta a {
        margin-top: 30px;
    }
}

/* =========================================================
   OUR WORK PAGE — HERO
   ========================================================= */

.jebtam-work-page {
    width: 100%;
    overflow: hidden;
}

.jebtam-work-hero {
    position: relative;
    padding: 150px 0 145px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 82% 48%,
            rgba(24, 119, 142, 0.10) 0,
            rgba(24, 119, 142, 0.04) 22%,
            rgba(24, 119, 142, 0) 48%
        ),
        #f5f7f8;
}

.jebtam-work-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
}

.jebtam-work-eyebrow {
    margin: 0 0 34px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.20em;
    color: #18778e;
}

.jebtam-work-hero h1 {
    max-width: 1080px;
    margin: 0;
    font-size: clamp(58px, 6vw, 88px);
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: -0.045em;
    color: #15191c;
}

.jebtam-work-hero h1 span {
    color: #18778e;
}

.jebtam-work-hero-copy {
    max-width: 760px;
    margin: 40px 0 0;
    font-size: 20px;
    line-height: 1.7;
    color: #5d676c;
}

.jebtam-work-hero-circle {
    position: absolute;
    z-index: 1;
    top: -260px;
    right: -180px;
    width: 720px;
    height: 720px;
    border: 1px solid rgba(24, 119, 142, 0.10);
    border-radius: 50%;
    pointer-events: none;
}


/* =========================================================
   OUR WORK PAGE — INTRO
   ========================================================= */

.jebtam-work-intro {
    position: relative;
    padding: 125px 0 130px;
    background: #ffffff;
}

.jebtam-work-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 120px;
    align-items: start;
}

.jebtam-section-eyebrow {
    margin: 0 0 28px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.19em;
    color: #18778e;
}

.jebtam-work-intro h2 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(44px, 4.6vw, 68px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: #15191c;
}

.jebtam-work-intro h2 span {
    color: #18778e;
}

.jebtam-work-intro-copy {
    padding-top: 38px;
}

.jebtam-work-intro-copy p {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.75;
    color: #5d676c;
}

.jebtam-work-intro-copy .jebtam-work-intro-lead {
    margin-bottom: 26px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
    color: #252c30;
}


/* =========================================================
   OUR WORK HERO + INTRO — RESPONSIVE
   ========================================================= */

@media (max-width: 959px) {

    .jebtam-work-hero {
        padding: 115px 0 110px;
    }

    .jebtam-work-hero h1 {
        font-size: clamp(52px, 8vw, 72px);
    }

    .jebtam-work-intro {
        padding: 100px 0 105px;
    }

    .jebtam-work-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .jebtam-work-intro-copy {
        max-width: 700px;
        padding-top: 0;
    }

}


@media (max-width: 600px) {

    .jebtam-work-hero {
        padding: 85px 0 90px;
    }

    .jebtam-work-eyebrow {
        margin-bottom: 24px;
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .jebtam-work-hero h1 {
        font-size: clamp(43px, 12vw, 58px);
        line-height: 1.03;
    }

    .jebtam-work-hero-copy {
        margin-top: 30px;
        font-size: 17px;
    }

    .jebtam-work-hero-circle {
        top: -180px;
        right: -330px;
        width: 600px;
        height: 600px;
    }

    .jebtam-work-intro {
        padding: 80px 0 85px;
    }

    .jebtam-work-intro-grid {
        gap: 38px;
    }

    .jebtam-section-eyebrow {
        margin-bottom: 22px;
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    .jebtam-work-intro h2 {
        font-size: clamp(39px, 11vw, 52px);
    }

    .jebtam-work-intro-copy .jebtam-work-intro-lead {
        font-size: 20px;
    }

    .jebtam-work-intro-copy p {
        font-size: 16px;
    }

}/* =========================================================
   OUR WORK — CASE STUDY MEDIA
   Control oversized portfolio / behind-the-scenes images
   ========================================================= */

.jebtam-case-media,
.jebtam-work-media,
.jebtam-case-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 45px 0;
}

.jebtam-case-media img,
.jebtam-work-media img,
.jebtam-case-gallery img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* If an individual image sits outside the grid */
.jebtam-work-case img {
    max-width: 100%;
}

/* Tablet */
@media (max-width: 959px) {

    .jebtam-case-media,
    .jebtam-work-media,
    .jebtam-case-gallery {
        gap: 18px;
    }

    .jebtam-case-media img,
    .jebtam-work-media img,
    .jebtam-case-gallery img {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .jebtam-case-media,
    .jebtam-work-media,
    .jebtam-case-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 32px 0;
    }

    .jebtam-case-media img,
    .jebtam-work-media img,
    .jebtam-case-gallery img {
        height: 240px;
    }
}

/* =========================================================
   OUR WORK — AC MIKE BEHIND THE BRAND PHOTO GRID
   ========================================================= */

.jebtam-case-photo-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 18px;
    max-width: 1180px;
    margin: 50px auto 0;
    align-items: stretch;
}

.jebtam-case-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #e8ecee;
}

/* Large landscape image */
.jebtam-case-photo-large {
    height: 500px;
}

/* Two portrait images */
.jebtam-case-photo:not(.jebtam-case-photo-large) {
    height: 500px;
}

.jebtam-case-photo img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Main photo fills its frame */
.jebtam-case-photo-large img {
    object-fit: cover;
    object-position: center;
}

/* Portrait BTS photos — show the entire photograph */
.jebtam-case-photo:not(.jebtam-case-photo-large) img {
    object-fit: contain;
    object-position: center;
}


/* Tablet */
@media (max-width: 959px) {

    .jebtam-case-photo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .jebtam-case-photo-large {
        grid-column: 1 / -1;
        height: 430px;
    }

    .jebtam-case-photo:not(.jebtam-case-photo-large) {
        height: 480px;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .jebtam-case-photo-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 35px;
    }

    .jebtam-case-photo-large,
    .jebtam-case-photo:not(.jebtam-case-photo-large) {
        height: auto;
    }

    .jebtam-case-photo img,
    .jebtam-case-photo-large img,
    .jebtam-case-photo:not(.jebtam-case-photo-large) img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* =========================================================
   OUR WORK — BEHIND THE BRAND VIDEO GRID
   ========================================================= */

.jebtam-case-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 50px auto 0;
}

.jebtam-case-video {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 6px;
    background: #15191c;
    box-shadow: 0 14px 35px rgba(21, 25, 28, 0.10);
}

.jebtam-case-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tablet */
@media (max-width: 959px) {

    .jebtam-case-video {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .jebtam-case-video-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
    }

    .jebtam-case-video {
        height: 280px;
    }
}