/* YUNESG Work page. All selectors are scoped to prevent changes to other pages. */
.work-page {
    --work-black: #000;
    --work-red: #e64b46;
    --work-muted: #b8bec7;
    --work-border: #252525;
    overflow: hidden;
    background: var(--work-black);
    color: #fff;
}
.work-container {
    width: min(calc(100% - 112px), 1440px);
    margin-inline: auto;
}
.work-hero {
    padding: 58px 0 75px;
    border-bottom: 1px solid var(--work-border);
}
.work-eyebrow {
    margin: 0 0 26px;
    color: var(--work-red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.4;
    text-transform: uppercase;
}
.work-hero h1 {
    max-width: 1200px;
    margin: 0 0 20px;
    color: #fff;
    font-family: "Cal Sans", "DM Sans", Arial, sans-serif;
    font-size: clamp(42px, 3.25vw, 58px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.12;
}
.work-hero-copy {
    max-width: 760px;
    margin: 0 0 27px;
    color: var(--work-muted);
    font-size: 16px;
    line-height: 1.65;
}
.work-button {
    min-height: 54px;
    padding: 0 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.work-button:hover { transform: translateY(-2px); }
.work-button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.work-button-red { background: var(--work-red); color: #080808; }
.work-button-red:hover { background: #f05a55; }
.work-button-dark { flex: 0 0 auto; background: #080808; color: #fff; }
.work-button-dark:hover { background: #252525; }

.work-cases { padding: 72px 0 125px; }
.work-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.work-card {
    min-height: 235px;
    padding: 30px 32px 28px;
    border: 1px solid #292929;
    border-radius: 10px;
    background: #101010;
    transition: border-color .22s ease, transform .22s ease, background-color .22s ease;
}
.work-card:hover {
    transform: translateY(-3px);
    border-color: #454545;
    background: #131313;
}
.work-card-category {
    margin: 0 0 30px;
    color: var(--work-red);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
}
.work-card h2 {
    margin: 0 0 13px;
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.3;
}
.work-card > p:last-child {
    margin: 0;
    color: var(--work-muted);
    font-size: 15px;
    line-height: 1.65;
}
.work-evidence-note {
    position: relative;
    margin: 40px 0 0;
    padding-left: 20px;
    color: var(--work-muted);
    font-size: 12px;
    line-height: 1.6;
}
.work-evidence-note::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--work-red);
    content: "";
}

.work-final-cta {
    padding: 78px 0 76px;
    background: var(--work-red);
    color: #080808;
}
.work-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}
.work-cta-copy { max-width: 900px; }
.work-cta-eyebrow {
    margin: 0 0 17px;
    color: #080808;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}
.work-cta-copy h2 {
    margin: 0 0 28px;
    color: #080808;
    font-family: "Cal Sans", "DM Sans", Arial, sans-serif;
    font-size: clamp(34px, 2.7vw, 48px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.12;
}
.work-cta-copy > p:last-child {
    margin: 0;
    color: #080808;
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .work-container { width: min(calc(100% - 88px), 1440px); }
    .work-card-grid { gap: 14px; }
    .work-card { padding: 25px 22px; }
    .work-card h2 { font-size: 18px; }
    .work-card > p:last-child { font-size: 14px; }
    .work-cta-inner { align-items: flex-start; }
}
@media (max-width: 640px) {
    .work-container { width: calc(100% - 44px); }
    .work-hero { padding: 48px 0 54px; }
    .work-eyebrow { margin-bottom: 20px; font-size: 12px; }
    .work-hero h1 { margin-bottom: 17px; font-size: clamp(36px, 9vw, 46px); letter-spacing: -.04em; }
    .work-hero-copy { margin-bottom: 23px; font-size: 14px; line-height: 1.65; }
    .work-desktop-break { display: none; }
    .work-button { min-height: 48px; padding-inline: 19px; font-size: 13px; }
    .work-cases { padding: 42px 0 65px; }
    .work-card-grid { grid-template-columns: 1fr; gap: 13px; }
    .work-card { min-height: 0; padding: 24px 22px; }
    .work-card-category { margin-bottom: 20px; font-size: 10px; }
    .work-card h2 { margin-bottom: 9px; font-size: 19px; }
    .work-card > p:last-child { font-size: 14px; }
    .work-evidence-note { margin-top: 28px; padding-left: 15px; font-size: 11px; }
    .work-final-cta { padding: 50px 0 52px; }
    .work-cta-inner { flex-direction: column; align-items: flex-start; gap: 25px; }
    .work-cta-eyebrow { margin-bottom: 13px; font-size: 10px; }
    .work-cta-copy h2 { margin-bottom: 16px; font-size: 35px; }
    .work-cta-copy > p:last-child { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .work-button, .work-card { transition: none; }
    .work-button:hover, .work-card:hover { transform: none; }
}
