.peptid-case {
    --peptid-bg: #f8faf5;
    --peptid-surface: #ffffff;
    --peptid-ink: #101513;
    --peptid-muted: #667064;
    --peptid-line: rgba(16, 21, 19, 0.12);
    --peptid-lime: #c7f63d;
    --peptid-lime-soft: #efffcd;
    --peptid-dark: #101611;
    background:
        radial-gradient(circle at 72% 5%, rgba(199, 246, 61, 0.1), transparent 22%),
        linear-gradient(180deg, #fbfcf8 0%, var(--peptid-bg) 100%);
    color: var(--peptid-ink);
    overflow: hidden;
    padding: 24px 0 64px;
}

.peptid-case *,
.peptid-case *::before,
.peptid-case *::after {
    box-sizing: border-box;
}

.peptid-case img {
    display: block;
    max-width: 100%;
    height: auto;
}

.peptid-case a {
    color: inherit;
    text-decoration: none;
}

.peptid-case h1,
.peptid-case h2,
.peptid-case h3,
.peptid-case p,
.peptid-case ul {
    margin: 0;
}

.peptid-case ul {
    padding: 0;
    list-style: none;
}

.peptid-case__container {
    width: min(100% - 56px, 1368px);
    margin-inline: auto;
}

.peptid-case__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
    color: var(--peptid-muted);
    font-size: 13px;
    font-weight: 700;
}

.peptid-case__breadcrumbs a:hover {
    color: var(--peptid-ink);
}

.peptid-case__hero {
    padding: 0 0 14px;
}

.peptid-case__hero-grid {
    display: grid;
    grid-template-columns: minmax(520px, 0.43fr) minmax(700px, 0.77fr);
    gap: clamp(22px, 2.5vw, 34px);
    align-items: start;
}

.peptid-case__hero-grid > *,
.peptid-case__project > *,
.peptid-case__project-main > *,
.peptid-case__split > *,
.peptid-case__insights-role > *,
.peptid-case__final > * {
    min-width: 0;
}

.peptid-case__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.peptid-case__tags span {
    border: 1px solid rgba(112, 138, 6, 0.45);
    border-radius: 999px;
    background: var(--peptid-lime-soft);
    padding: 6px 12px;
    color: #6f8b05;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.peptid-case h1 {
    max-width: 560px;
    margin-top: 22px;
    font-size: clamp(35px, 2.58vw, 39px);
    line-height: 1.03;
    letter-spacing: 0;
    text-wrap: auto;
}

.peptid-case h2 {
    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.peptid-case h3 {
    font-size: clamp(16px, 1vw, 19px);
    line-height: 1.16;
    letter-spacing: 0;
}

.peptid-case__lead {
    max-width: 520px;
    margin-top: 14px;
    color: var(--peptid-muted);
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.48;
}

.peptid-case__role-note {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    align-items: center;
    max-width: 520px;
    margin-top: 24px;
}

.peptid-case__role-note span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    background: #050806;
    color: #ffffff;
    font-size: 19px;
    font-weight: 950;
}

.peptid-case__role-note p {
    color: var(--peptid-muted);
    font-size: 13px;
    line-height: 1.45;
}

.peptid-case__role-note strong {
    display: block;
    color: var(--peptid-ink);
}

.peptid-case__hero-art {
    position: relative;
    min-height: clamp(318px, 24vw, 346px);
}

.peptid-case__hero-art img {
    position: absolute;
    filter: drop-shadow(0 22px 36px rgba(16, 21, 19, 0.12));
}

.peptid-case__hero-main {
    top: 0;
    left: 0;
    z-index: 2;
    width: 64%;
    border-radius: 16px;
}

.peptid-case__hero-direct,
.peptid-case__hero-conversions,
.peptid-case__hero-sales {
    right: 0;
    z-index: 3;
    width: 43.5%;
    border-radius: 16px;
}

.peptid-case__hero-direct {
    top: 0;
}

.peptid-case__hero-conversions {
    top: 36%;
}

.peptid-case__hero-sales {
    top: 69%;
}

.peptid-case__metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 6px;
}

.peptid-case__metric-card,
.peptid-case__fact-card,
.peptid-case__panel,
.peptid-case__small-card,
.peptid-case__role-card,
.peptid-case__final {
    border: 1px solid var(--peptid-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(16, 21, 19, 0.052);
}

.peptid-case__metric-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 76px;
    padding: 16px 20px;
}

.peptid-case__metric-card img {
    width: 38px;
    height: 38px;
}

.peptid-case__metric-card h2 {
    font-size: clamp(16px, 1.05vw, 20px);
}

.peptid-case__metric-card p {
    margin-top: 5px;
    color: var(--peptid-muted);
    font-size: 12px;
    line-height: 1.35;
}

.peptid-case__anchor-shell {
    position: sticky;
    top: 0;
    z-index: 8;
    margin-top: 8px;
    border-block: 1px solid var(--peptid-line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(16, 21, 19, 0.04);
    backdrop-filter: blur(14px);
}

.peptid-case__anchor-scroll {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
}

.peptid-case__anchor-link {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 8px;
    color: var(--peptid-muted);
    font-size: 12px;
    font-weight: 850;
}

.peptid-case__anchor-link::after {
    position: absolute;
    inset-inline: 24px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: transparent;
    content: "";
}

.peptid-case__anchor-link img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.peptid-case__anchor-link.is-active,
.peptid-case__anchor-link:hover {
    color: var(--peptid-ink);
}

.peptid-case__anchor-link.is-active::after,
.peptid-case__anchor-link:hover::after {
    background: var(--peptid-lime);
}

.peptid-case__anchor-link:focus-visible,
.peptid-case__button:focus-visible,
.peptid-case__breadcrumbs a:focus-visible {
    outline: 3px solid var(--peptid-lime);
    outline-offset: 3px;
}

.peptid-case__section {
    padding-top: clamp(8px, 1.35vw, 18px);
    scroll-margin-top: 88px;
}

.peptid-case__project {
    display: grid;
    grid-template-columns: minmax(248px, 0.19fr) minmax(0, 0.81fr);
    gap: 14px;
}

.peptid-case__fact-card {
    align-self: start;
    padding: 14px 16px;
}

.peptid-case__fact-card h2 {
    margin-bottom: 10px;
    font-size: 19px;
}

.peptid-case__fact-card > div {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1px 8px;
    padding: 3px 0;
    border-top: 1px solid var(--peptid-line);
}

.peptid-case__fact-card img {
    grid-row: span 2;
    width: 19px;
    height: 19px;
}

.peptid-case__fact-card span {
    color: var(--peptid-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.peptid-case__fact-card strong {
    font-size: 11.5px;
    line-height: 1.18;
}

.peptid-case__project-main {
    display: grid;
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: 14px;
}

.peptid-case__panel,
.peptid-case__role-card {
    padding: clamp(14px, 1.25vw, 18px);
}

.peptid-case__dot-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #89aa07;
    font-size: 13px;
    font-weight: 900;
}

.peptid-case__dot-label::before {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--peptid-lime);
    content: "";
}

.peptid-case__task h2 {
    margin-top: 8px;
    font-size: clamp(18px, 1.25vw, 22px);
}

.peptid-case__task-list,
.peptid-case__challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.peptid-case__task-list article {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.peptid-case__task-list img,
.peptid-case__challenge-grid img {
    width: 30px;
    height: 30px;
}

.peptid-case__task-list h3 {
    max-width: 190px;
    font-size: 12px;
}

.peptid-case__challenges h2 {
    font-size: 19px;
}

.peptid-case__challenge-grid article {
    display: grid;
    gap: 8px;
}

.peptid-case__challenge-grid h3 {
    font-size: 14px;
}

.peptid-case__challenge-grid p,
.peptid-case__panel p,
.peptid-case__small-card p,
.peptid-case__role-card p,
.peptid-case__final p {
    color: var(--peptid-muted);
    font-size: 11.5px;
    line-height: 1.38;
}

.peptid-case__work-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.peptid-case__work-system {
    display: grid;
    grid-template-columns: minmax(0, 0.64fr) minmax(360px, 0.36fr);
    gap: 14px;
    align-items: stretch;
}

.peptid-case__work-panel,
.peptid-case__diagram-stack,
.peptid-case__diagram-card {
    min-width: 0;
}

.peptid-case__diagram-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.peptid-case__work-grid article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.peptid-case__work-grid h3 {
    font-size: 15px;
}

.peptid-case__work-grid img {
    width: 100%;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.peptid-case__work-grid ul,
.peptid-case__role-card ul {
    display: grid;
    gap: 4px;
}

.peptid-case__work-grid li,
.peptid-case__role-card li {
    position: relative;
    padding-left: 14px;
    color: #344033;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.28;
}

.peptid-case__work-grid li::before,
.peptid-case__role-card li::before {
    position: absolute;
    top: 0.55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--peptid-lime);
    content: "";
}

.peptid-case__split {
    display: grid;
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
    gap: 14px;
}

.peptid-case__diagram-card img {
    width: 100%;
    max-height: 88px;
    margin-top: 6px;
    object-fit: contain;
}

.peptid-case__diagram-card h2 {
    font-size: 18px;
}

.peptid-case__result-band {
    display: grid;
    grid-template-columns: minmax(150px, 0.16fr) minmax(0, 0.84fr);
    gap: 24px;
    align-items: center;
    margin-top: 10px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 10% 45%, rgba(199, 246, 61, 0.12), transparent 20%),
        linear-gradient(135deg, #111714 0%, #090c0a 100%);
    padding: 14px 22px;
    color: #ffffff;
}

.peptid-case__result-band h2 {
    font-size: clamp(24px, 2vw, 34px);
}

.peptid-case__result-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.peptid-case__result-grid article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    align-items: start;
}

.peptid-case__result-grid img {
    width: 28px;
    height: 28px;
}

.peptid-case__result-grid h3 {
    color: #ffffff;
    font-size: 14px;
}

.peptid-case__result-grid p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.35;
}

.peptid-case__insights-role {
    display: grid;
    grid-template-columns: minmax(0, 0.58fr) minmax(360px, 0.42fr);
    gap: 14px;
}

.peptid-case__insight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.peptid-case__small-card {
    padding: 12px;
}

.peptid-case__small-card img {
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
}

.peptid-case__small-card h3 {
    margin-bottom: 6px;
    font-size: 14px;
}

.peptid-case__role-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
    gap: 22px;
    align-items: center;
}

.peptid-case__role-card h2 {
    font-size: clamp(22px, 1.45vw, 26px);
}

.peptid-case__role-card p {
    margin-top: 10px;
}

.peptid-case__role-card ul {
    margin-top: 12px;
}

.peptid-case__role-card > img {
    width: 100%;
    border-radius: 12px;
}

.peptid-case__final {
    position: relative;
    display: grid;
    grid-template-columns: minmax(230px, 0.24fr) minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    margin-top: clamp(16px, 2.4vw, 32px);
    overflow: hidden;
    min-height: 110px;
    padding: 18px 30px;
}

.peptid-case__final > img {
    align-self: end;
    width: 220px;
    max-height: 92px;
    margin: 0;
    object-fit: contain;
    object-position: left bottom;
}

.peptid-case__final h2 {
    margin-top: 8px;
    font-size: clamp(24px, 1.8vw, 30px);
}

.peptid-case__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 10px;
    background: #080b09;
    padding: 0 34px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 16px 30px rgba(16, 21, 19, 0.16);
}

.peptid-case__button:hover {
    transform: translateY(-1px);
}

@media (max-width: 1180px) {
    .peptid-case__hero-grid,
    .peptid-case__project,
    .peptid-case__project-main,
    .peptid-case__work-system,
    .peptid-case__insights-role,
    .peptid-case__role-card {
        grid-template-columns: 1fr;
    }

    .peptid-case__hero-art {
        min-height: 520px;
    }

    .peptid-case__metrics,
    .peptid-case__work-grid,
    .peptid-case__diagram-stack,
    .peptid-case__insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .peptid-case__anchor-scroll {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .peptid-case__anchor-scroll::-webkit-scrollbar {
        display: none;
    }

    .peptid-case__anchor-link {
        min-width: 146px;
    }

    .peptid-case__result-band,
    .peptid-case__final {
        grid-template-columns: 1fr;
    }

    .peptid-case__result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .peptid-case {
        padding: 22px 0 68px;
    }

    .peptid-case__container {
        width: min(100% - 24px, 100%);
    }

    .peptid-case__breadcrumbs {
        margin-bottom: 22px;
        font-size: 12px;
    }

    .peptid-case h1 {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.02;
        text-wrap: auto;
    }

    .peptid-case h2 {
        font-size: clamp(26px, 7.6vw, 34px);
    }

    .peptid-case__lead {
        font-size: 16px;
    }

    .peptid-case__hero-art {
        min-height: 420px;
    }

    .peptid-case__hero-main {
        width: 82%;
    }

    .peptid-case__hero-direct,
    .peptid-case__hero-conversions,
    .peptid-case__hero-sales {
        width: 58%;
    }

    .peptid-case__hero-conversions {
        top: 40%;
    }

    .peptid-case__metrics,
    .peptid-case__task-list,
    .peptid-case__challenge-grid,
    .peptid-case__work-grid,
    .peptid-case__diagram-stack,
    .peptid-case__split,
    .peptid-case__result-grid,
    .peptid-case__insight-grid {
        grid-template-columns: 1fr;
    }

    .peptid-case__metric-card,
    .peptid-case__fact-card,
    .peptid-case__panel,
    .peptid-case__small-card,
    .peptid-case__role-card,
    .peptid-case__final {
        border-radius: 18px;
        padding: 22px;
    }

    .peptid-case__result-band {
        padding: 26px 22px;
    }

    .peptid-case__final > img {
        width: 100%;
        max-width: 260px;
        margin: -6px 0 0;
    }

    .peptid-case__button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .peptid-case__hero-art {
        min-height: 330px;
    }

    .peptid-case__anchor-link {
        min-width: 128px;
        font-size: 12px;
    }
}
