/* =========================================================
   PORTFOLIO — CASE STUDY
   Mobile-first
========================================================= */


/* ---------------------------------------------------------
   CASE STUDY BASE
--------------------------------------------------------- */

.portfolio-case {
    width: 100%;
    overflow: hidden;
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.portfolio-case__hero {
    padding-top: 140px;
    padding-bottom: 64px;
}

.portfolio-case__eyebrow {
    margin-bottom: 24px;

    font-size: var(--bb-text-xs);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--bb-yellow);
}

.portfolio-case__title {
    max-width: 900px;
    margin: 0;

    font-size: 48px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;

    color: var(--bb-text-primary);
}

.portfolio-case__intro {
    max-width: 680px;
    margin: 28px 0 0;

    font-size: 18px;
    line-height: 1.6;

    color: var(--bb-text-secondary);
}


/* ---------------------------------------------------------
   META
--------------------------------------------------------- */

.portfolio-case__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;

    margin-top: 56px;
    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-case__meta-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portfolio-case__meta-label {
    font-size: var(--bb-text-xs);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--bb-text-secondary);
}

.portfolio-case__meta-value {
    font-size: var(--bb-text-sm);
    line-height: 1.5;

    color: var(--bb-text-primary);
}

/* -----------------------------------------
   LIVE PROJECT LINK
----------------------------------------- */

.portfolio-case__live-project {
    margin-top: var(--bb-space-md);
}

.portfolio-case__live-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border: 1px solid rgba(234, 234, 234, 0.35);
    border-radius: 4px;

    color: var(--bb-text-primary);
    text-decoration: none;

    font-size: var(--bb-text-sm);
    font-weight: 600;
    line-height: 1.2;

    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease;
}

.portfolio-case__live-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.portfolio-case__live-link:hover {
    border-color: var(--bb-yellow);
    color: var(--bb-yellow);
}

.portfolio-case__live-link:hover .portfolio-case__live-arrow {
    transform: translate(2px, -2px);
}


/* ---------------------------------------------------------
   VISUALS
--------------------------------------------------------- */

.portfolio-case__visual {
    padding-top: 0;
}

.portfolio-case__image {
    width: 100%;
    overflow: hidden;

    background: var(--bb-dark);
}

.portfolio-case__image .hero-logo{width:46%;}

.portfolio-case__image--hero {
    min-height: 420px;
}

.portfolio-case__image--wide {
    min-height: 320px;
}

.portfolio-case__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: inherit;

    padding: 40px;

    font-size: var(--bb-text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: center;

    color: var(--bb-text-secondary);

    border: 1px solid rgba(255, 255, 255, 0.08);
}




/* ---------------------------------------------------------
   CONTENT GRID
--------------------------------------------------------- */

.portfolio-case__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.portfolio-case__grid--text {
    margin-top: 40px;
}


/* ---------------------------------------------------------
   SECTION LABEL
--------------------------------------------------------- */

.portfolio-case__section-label {
    font-size: var(--bb-text-xs);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--bb-text-secondary);
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.portfolio-case__content {
    max-width: 720px;
}

.portfolio-case__content h2 {
    margin: 0 0 28px;

    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;

    color: var(--bb-text-primary);
}

.portfolio-case__content p {
    margin: 0 0 20px;

    font-size: 16px;
    line-height: 1.7;

    color: var(--bb-text-secondary);
}

.portfolio-case__content p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   OVERVIEW / ROLE
--------------------------------------------------------- */

.portfolio-case__overview {
    padding-top: 96px;
}

.portfolio-case__role {
    padding-top: 32px;
}


/* ---------------------------------------------------------
   CHAPTERS
--------------------------------------------------------- */

.portfolio-case__chapter {
    padding-top: 120px;
}

.portfolio-case__chapter-header {
    max-width: 760px;
    margin-bottom: 48px;
}

.portfolio-case__chapter-header h2 {
    margin: 20px 0 0;

    font-size: 38px;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;

    color: var(--bb-text-primary);
}


/* ---------------------------------------------------------
   LIST
--------------------------------------------------------- */

.portfolio-case__list {
    margin: 32px 0 0;
    padding: 0;

    list-style: none;
}

.portfolio-case__list li {
    position: relative;

    padding: 14px 0 14px 20px;

    font-size: 15px;
    line-height: 1.5;

    color: var(--bb-text-primary);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-case__list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-case__list li::before {
    content: "";

    position: absolute;
    top: 22px;
    left: 0;

    width: 5px;
    height: 5px;

    background: var(--bb-yellow);
}


/* ---------------------------------------------------------
   OUTCOME
--------------------------------------------------------- */

.portfolio-case__outcome {
    padding-top: 140px;
}

.portfolio-case__outcome p{
    color:var(--bb-text-secondary);
}

.portfolio-case__stats {
    display: grid;
    grid-template-columns: 1fr;

    margin-top: 56px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-case__stat {
    display: flex;
    flex-direction: column;
    gap: 8px;

    padding: 24px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-case__stat strong {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: -0.04em;

    color: var(--bb-text-primary);
}

.portfolio-case__stat span {
    font-size: var(--bb-text-sm);
    line-height: 1.5;

    color: var(--bb-text-secondary);
}


/* ---------------------------------------------------------
   CLOSING
--------------------------------------------------------- */

.portfolio-case__closing {
    padding-top: 140px;
    padding-bottom: 160px;
}

.portfolio-case__closing-inner {
    max-width: 820px;
}

.portfolio-case__closing h2 {
    margin: 20px 0 28px;

    font-size: 42px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;

    color: var(--bb-text-primary);
}

.portfolio-case__closing p {
    max-width: 650px;
    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    color: var(--bb-text-secondary);
}

/* -----------------------------------------
   LIVE PROJECT LINK
----------------------------------------- */

.portfolio-case__live-project {
    margin-top: var(--bb-space-md);
}

.portfolio-case__live-project a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--bb-text-primary);
    font-size: var(--bb-text-sm);
    font-weight: 600;
    text-decoration: none;

    border-bottom: 1px solid var(--bb-yellow);
    padding-bottom: 6px;

    transition: opacity 0.2s ease;
}

.portfolio-case__live-project a:hover {
    opacity: 0.7;
}

.portfolio-case__live-project span {
    color: var(--bb-yellow);
}


/* -----------------------------------------
   LIST
----------------------------------------- */

.portfolio-case__list {
    display: grid;
    gap: var(--bb-space-sm);
    margin-top: var(--bb-space-lg);
}

.portfolio-case__list-item {
    display: flex;
    flex-direction: column;
    gap: 4px;

    padding: var(--bb-space-md) 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-case__list-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-case__list-item strong {
    color: var(--bb-text-primary);
    font-size: var(--bb-text-md);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.portfolio-case__list-item span {
    color: var(--bb-text-secondary);
    font-size: var(--bb-text-sm);
}

/* =========================================================
   CASE STUDY — TYPOGRAPHY CONSISTENCY
   Coppersmith is the visual reference for all case studies.
========================================================= */


/* -----------------------------------------
   BODY COPY
----------------------------------------- */

.portfolio-case .portfolio-case__body,
.portfolio-case .portfolio-case__body p {
    color: var(--bb-text-secondary);
}


/* -----------------------------------------
   HERO INTRO
----------------------------------------- */

.portfolio-case .portfolio-case__intro {
    color: var(--bb-text-secondary);
}


/* -----------------------------------------
   META
----------------------------------------- */

.portfolio-case .portfolio-case__meta-item > span {
    display: block;
    margin-bottom: var(--bb-space-xs);

    color: var(--bb-text-secondary);
    font-size: var(--bb-text-xs);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-case .portfolio-case__meta-item > strong {
    display: block;

    color: var(--bb-text-primary);
    font-size: var(--bb-text-md);
    font-weight: 400;
    line-height: 1.5;
}


/* -----------------------------------------
   LIVE PROJECT
----------------------------------------- */

.portfolio-case .portfolio-case__live-project {
    margin: var(--bb-space-lg) 0;
}

.portfolio-case .portfolio-case__live-project a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 22px;

    border: 1px solid rgba(234, 234, 234, 0.35);
    border-bottom-color: var(--bb-yellow);
    border-radius: 4px;

    color: var(--bb-text-primary);
    font-size: var(--bb-text-sm);
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    transition:
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.portfolio-case .portfolio-case__live-project a span {
    color: var(--bb-yellow);
    transition: transform 180ms ease;
}

.portfolio-case .portfolio-case__live-project a:hover {
    border-color: var(--bb-yellow);
    color: var(--bb-text-primary);
}

.portfolio-case .portfolio-case__live-project a:hover span {
    transform: translate(3px, -3px);
}


/* -----------------------------------------
   SECTION / CHAPTER BODY COPY
----------------------------------------- */

.portfolio-case .portfolio-case__body p {
    color: var(--bb-text-secondary);
}


/* -----------------------------------------
   LIST SUPPORTING TEXT
----------------------------------------- */

.portfolio-case .portfolio-case__list-item span {
    color: var(--bb-text-secondary);
}


/* -----------------------------------------
   STAT SUPPORTING TEXT
----------------------------------------- */

.portfolio-case .portfolio-case__stat span {
    color: var(--bb-text-secondary);
}

/* -----------------------------------------
   HERO VIDEO
----------------------------------------- */

.portfolio-case__hero-video {
    width: 100%;
    margin-top: var(--bb-space-lg);
}

.portfolio-case__video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bb-dark);
}

.portfolio-case__video-frame iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
    display: block;
}