/* ==========================================================================
   custom.css — dodatki 2026 (case study + poprawki)
   Zwykły CSS poza buildem SCSS. Jeśli wolisz trzymać wszystko w SCSS,
   przenieś te reguły do scss/sections/_s-case.scss i zbuduj main.css.
   ========================================================================== */

/* ---------- Szybkie poprawki ---------- */

/* Baner cookies: dwa przyciski zgody zamiast samego „X” */
.footer-primary__cookies-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.footer-primary__cookies-choice {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
    border-radius: 0.4rem;
    padding: 1.2rem 2rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
    transition: all 0.3s ease;
}
.footer-primary__cookies-choice:hover { border-color: #FAC28C; color: #FAC28C; }
.footer-primary__cookies-choice--accept {
    background: #FAC28C;
    border-color: #FAC28C;
    color: #343F74;
}
.footer-primary__cookies-choice--accept:hover { background: #fff; border-color: #fff; color: #343F74; }
.footer-primary__cookies-text a { color: #FAC28C; text-decoration: underline; }
@media (max-width: 575px) {
    .footer-primary__cookies-inner { padding: 1.4rem; }
    .footer-primary__cookies-text { flex-basis: 100%; margin: 0 0 1rem; }
    .footer-primary__cookies-text p { font-size: 1.2rem; }
}

/* Widoczny fokus z klawiatury (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
.header-primary__version:focus-visible {
    outline: 2px solid #FAC28C;
    outline-offset: 3px;
}

/* Etykieta „Case study” na kafelku portfolio */
.s-portfolio__item-badge {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #181D34;
    background: #FAC28C;
    border-radius: 0.3rem;
    padding: 0.3rem 0.8rem;
    margin-left: 0.8rem;
    vertical-align: middle;
}

/* ==========================================================================
   Case study
   ========================================================================== */

.cs {
    --cs-bg: #181D34;
    --cs-surface: #1F2542;
    --cs-surface-2: #262D50;
    --cs-line: rgba(255, 255, 255, 0.1);
    --cs-text: #ffffff;
    --cs-muted: rgba(255, 255, 255, 0.68);
    --cs-accent: #FAC28C;
    --cs-accent-2: #975199;
    --cs-todo-bg: rgba(250, 194, 140, 0.16);
    --cs-todo-line: #FAC28C;
    padding-top: 18rem;
    color: var(--cs-text);
}
.body--light .cs {
    --cs-bg: #ffffff;
    --cs-surface: #F4F5FA;
    --cs-surface-2: #E9EBF4;
    --cs-line: rgba(24, 29, 52, 0.12);
    --cs-text: #181D34;
    --cs-muted: rgba(24, 29, 52, 0.72);
    --cs-accent: #975199;
    --cs-todo-bg: rgba(151, 81, 153, 0.12);
    --cs-todo-line: #975199;
}
@media (max-width: 1199px) { .cs { padding-top: 14rem; } }
@media (max-width: 575px) { .cs { padding-top: 11rem; } }

.cs .container { max-width: 144rem; }
.cs-narrow { max-width: 92rem; }

.cs p { color: var(--cs-muted); font-size: 1.8rem; line-height: 1.7; }
.cs p + p { margin-top: 1.6rem; }
.cs strong { color: var(--cs-text); font-weight: 700; }
@media (max-width: 991px) { .cs p { font-size: 1.6rem; } }

/* --- Wersja robocza: podświetlenie treści do uzupełnienia --- */
.cs-draft-note { display: none; }
.cs--draft .cs-draft-note {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    border: 1px dashed var(--cs-todo-line);
    background: var(--cs-todo-bg);
    border-radius: 0.6rem;
    padding: 1.6rem 2rem;
    margin-bottom: 5rem;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--cs-text);
}
.cs--draft .cs-todo {
    background: var(--cs-todo-bg);
    box-shadow: inset 0 -2px 0 var(--cs-todo-line);
    border-radius: 0.2rem;
    padding: 0 0.2rem;
}
.cs--draft .cs-todo-block {
    outline: 1px dashed var(--cs-todo-line);
    outline-offset: 0.6rem;
}

/* --- Hero --- */
.cs-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.8rem; list-style: none; font-size: 1.4rem; color: var(--cs-muted); }
.cs-breadcrumbs li + li:before { content: "/"; margin-right: 0.8rem; opacity: 0.5; }
.cs-breadcrumbs a { color: var(--cs-muted); }
.cs-breadcrumbs a:hover { color: var(--cs-accent); }
.cs-breadcrumbs [aria-current] { color: var(--cs-text); }

.cs-eyebrow {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cs-accent);
    margin-top: 4rem;
}
.cs-hero h1 {
    font-size: 7.2rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 1.6rem;
    color: var(--cs-text);
}
.cs-hero h1 span { display: block; font-weight: 500; font-size: 0.5em; color: var(--cs-muted); letter-spacing: 0; margin-top: 1.2rem; }
.cs-hero__lead { margin-top: 3rem; max-width: 80rem; }
.cs .cs-hero__lead p { font-size: 2.2rem; line-height: 1.6; }
@media (max-width: 991px) {
    .cs-hero h1 { font-size: 4.8rem; }
    .cs .cs-hero__lead p { font-size: 1.8rem; }
}
@media (max-width: 575px) { .cs-hero h1 { font-size: 3.8rem; } }

.cs-meta {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3rem;
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--cs-line);
}
.cs-meta dt { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cs-muted); }
.cs-meta dd { margin: 0.8rem 0 0; font-size: 1.6rem; line-height: 1.5; color: var(--cs-text); }
@media (max-width: 1199px) { .cs-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem; } }

.cs-figure { margin: 0; }
.cs-figure img { display: block; width: 100%; height: auto; border-radius: 0.8rem; }
.cs-figure figcaption { font-size: 1.4rem; line-height: 1.5; color: var(--cs-muted); margin-top: 1.4rem; }
.cs-hero__image { margin-top: 8rem; }
.cs-hero__image img { box-shadow: 0 4rem 10rem rgba(0, 0, 0, 0.35); }
.body--light .cs-hero__image img { box-shadow: 0 3rem 8rem rgba(24, 29, 52, 0.15); }

/* --- TL;DR --- */
.cs-tldr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 10rem;
}
.cs-tldr__item { background: var(--cs-surface); border-radius: 0.8rem; padding: 3.2rem; }
.cs-tldr__item h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-accent); }
.cs .cs-tldr__item p { margin-top: 1.4rem; font-size: 1.7rem; color: var(--cs-text); }
@media (max-width: 991px) { .cs-tldr { grid-template-columns: 1fr; margin-top: 7rem; } }

/* --- Sekcje --- */
.cs-section { margin-top: 14rem; }
@media (max-width: 991px) { .cs-section { margin-top: 9rem; } }
.cs-section__head { display: flex; align-items: baseline; gap: 2.4rem; margin-bottom: 4rem; }
.cs-section__num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cs-accent);
    font-variant-numeric: tabular-nums;
    min-width: 3rem;
}
.cs-section h2 { font-size: 4.4rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--cs-text); }
.cs-section h3 { font-size: 2.2rem; font-weight: 700; line-height: 1.3; color: var(--cs-text); }
@media (max-width: 991px) {
    .cs-section h2 { font-size: 3.2rem; }
    .cs-section h3 { font-size: 1.9rem; }
}
.cs-section__body { padding-left: 5.4rem; }
@media (max-width: 767px) { .cs-section__body { padding-left: 0; } }

.cs-list { list-style: none; margin-top: 2.4rem; }
.cs-list li {
    position: relative;
    padding-left: 2.8rem;
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--cs-muted);
}
.cs-list li + li { margin-top: 1.2rem; }
.cs-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    width: 1.2rem;
    height: 0.2rem;
    background: var(--cs-accent);
}
@media (max-width: 991px) { .cs-list li { font-size: 1.6rem; } }

.cs-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6rem; }
.cs-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 991px) { .cs-grid-2, .cs-grid-3 { grid-template-columns: 1fr; gap: 3rem; } }

.cs-goal { border-left: 2px solid var(--cs-accent); padding-left: 2.4rem; }
.cs-goal h3 { font-size: 1.3rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-accent); }
.cs .cs-goal p { margin-top: 1rem; color: var(--cs-text); font-size: 2rem; }

.cs-card { background: var(--cs-surface); border-radius: 0.8rem; padding: 3.2rem; }
.cs-card__label { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cs-accent); }
.cs-card h3 { margin-top: 1rem; }
.cs .cs-card p { margin-top: 1.2rem; font-size: 1.6rem; }

/* --- Proces --- */
.cs-steps { list-style: none; counter-reset: step; border-top: 1px solid var(--cs-line); }
.cs-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 8rem 28rem minmax(0, 1fr);
    gap: 3rem;
    padding: 3.2rem 0;
    border-bottom: 1px solid var(--cs-line);
}
.cs-steps li:before {
    content: counter(step, decimal-leading-zero);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cs-accent);
    padding-top: 0.4rem;
}
.cs .cs-steps p { font-size: 1.7rem; }
@media (max-width: 991px) {
    .cs-steps li { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem 2rem; }
    .cs-steps li p { grid-column: 2; }
}

.cs-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 32rem;
    border: 2px dashed var(--cs-line);
    border-radius: 0.8rem;
    background: var(--cs-surface);
    text-align: center;
    padding: 3rem;
    color: var(--cs-muted);
    font-size: 1.6rem;
    line-height: 1.5;
}
.cs-placeholder strong { font-size: 1.8rem; }
.cs--draft .cs-placeholder { border-color: var(--cs-todo-line); background: var(--cs-todo-bg); }
.cs-media-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 5rem; }
@media (max-width: 767px) { .cs-media-row { grid-template-columns: 1fr; } }

/* --- Decyzje --- */
.cs-decision {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 6rem;
    align-items: center;
    padding: 6rem 0;
    border-top: 1px solid var(--cs-line);
}
.cs-decision:last-child { border-bottom: 1px solid var(--cs-line); }
.cs-decision:nth-child(even) .cs-decision__media { order: -1; }
@media (max-width: 991px) {
    .cs-decision { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 0; }
    .cs-decision:nth-child(even) .cs-decision__media { order: 0; }
}
.cs-decision__facts { display: grid; gap: 1.6rem; margin-top: 2.4rem; }
.cs-decision__facts div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.6rem; }
.cs-decision__facts dt { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cs-muted); padding-top: 0.4rem; }
.cs-decision__facts dd { margin: 0; font-size: 1.6rem; line-height: 1.6; color: var(--cs-text); }
@media (max-width: 575px) { .cs-decision__facts div { grid-template-columns: 1fr; gap: 0.4rem; } }
.cs-principle {
    display: inline-block;
    margin-top: 2.4rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cs-text);
    background: var(--cs-surface-2);
    border-radius: 10rem;
    padding: 0.8rem 1.6rem;
}
.cs-principle:before { content: "Zasada UX: "; color: var(--cs-accent); }
.cs-decision__media img { border-radius: 0.8rem; display: block; width: 100%; height: auto; }

/* --- UI / design system --- */
.cs-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.cs-swatch { border-radius: 0.8rem; overflow: hidden; background: var(--cs-surface); }
.cs-swatch__color { height: 10rem; }
.cs-swatch__info { padding: 1.4rem 1.6rem; font-size: 1.4rem; line-height: 1.4; color: var(--cs-text); }
.cs-swatch__info span { display: block; color: var(--cs-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .cs-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cs-scroller {
    margin-top: 5rem;
    max-height: 80rem;
    overflow-y: auto;
    border-radius: 0.8rem;
    border: 1px solid var(--cs-line);
    background: #fff;
    -webkit-overflow-scrolling: touch;
}
.cs-scroller img { display: block; width: 100%; height: auto; }
@media (max-width: 767px) { .cs-scroller { max-height: 56rem; } }

/* --- Efekt --- */
.cs-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.cs-metric { background: var(--cs-surface); border-radius: 0.8rem; padding: 3.2rem; }
.cs-metric__value { display: block; font-size: 5.2rem; font-weight: 700; line-height: 1; color: var(--cs-accent); font-variant-numeric: tabular-nums; }
.cs-metric__label { display: block; margin-top: 1.4rem; font-size: 1.5rem; line-height: 1.5; color: var(--cs-muted); }
@media (max-width: 1199px) { .cs-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cs-metric__value { font-size: 4rem; } }

.cs-quote { margin: 6rem 0 0; padding: 4rem 0 0; border-top: 1px solid var(--cs-line); }
.cs-quote p { font-size: 2.6rem !important; line-height: 1.5 !important; font-weight: 500; color: var(--cs-text) !important; }
.cs-quote footer { margin-top: 2rem; font-size: 1.5rem; color: var(--cs-muted); }
@media (max-width: 991px) { .cs-quote p { font-size: 2rem !important; } }

/* --- Zakończenie --- */
.cs-next {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 14rem;
}
.cs-next a {
    display: block;
    border-radius: 0.8rem;
    padding: 4rem;
    background: var(--cs-surface);
    color: var(--cs-text);
    transition: background 0.3s ease, transform 0.3s ease;
}
.cs-next a:hover { background: var(--cs-surface-2); transform: translateY(-0.4rem); }
.cs-next small { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cs-accent); }
.cs-next strong { display: block; margin-top: 1.2rem; font-size: 2.8rem; line-height: 1.25; }
.cs-next span { display: block; margin-top: 0.8rem; font-size: 1.5rem; color: var(--cs-muted); }
@media (max-width: 767px) { .cs-next { grid-template-columns: 1fr; margin-top: 9rem; } .cs-next a { padding: 3rem; } }

@media (prefers-reduced-motion: reduce) {
    .cs-next a { transition: none; }
    .cs-next a:hover { transform: none; }
}

.cs-breadcrumbs ol, .cs-list, .cs-steps { padding-left: 0; margin-bottom: 0; }
.cs .cs-eyebrow, .cs .cs-card__label { color: var(--cs-accent); }
@media (max-width: 767px) { .cs-placeholder { min-height: 20rem; } }

/* ==========================================================================
   Sekcja „Przykładowe case study” na stronie głównej (.s-case)
   Ten sam rytm co .s-portfolio: odstępy, breakpointy, animacje, gradient ramki
   ========================================================================== */

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* kontrast linków tekstowych w wersji jasnej (brzoskwinia na bieli ma ok. 1.6:1) */
.body--light .btn-text { color: #975199; }

.s-case {
    position: relative;
    padding-top: 5rem;
    margin-top: 19rem;
}
@media (max-width: 1199px) { .s-case { margin-top: 11rem; } }
@media (max-width: 575px) { .s-case { margin-top: 5rem; } }

.s-case__heading { text-align: center; }
.s-case__heading h2 { font-weight: 500; font-size: 2.4rem; line-height: 1.2; color: rgba(255, 255, 255, 0.5); }
.s-case__heading p { font-size: 1.6rem; line-height: 1.4; margin-top: 5rem; }
@media (max-width: 1199px) {
    .s-case__heading h2 { font-size: 2rem; }
    .s-case__heading p { font-size: 1.4rem; margin-top: 3rem; }
}
@media (max-width: 991px) { .s-case__heading h2 { font-size: 1.8rem; } }
@media (max-width: 767px) { .s-case__heading { text-align: left; } }

.s-case__grid {
    list-style: none;
    padding: 0;
    margin: 8rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}
@media (max-width: 1199px) { .s-case__grid { margin-top: 5rem; } }
@media (max-width: 991px) { .s-case__grid { grid-template-columns: 1fr; gap: 6rem; max-width: 64rem; } }
@media (max-width: 767px) { .s-case__grid { max-width: none; } }

.s-case__card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.s-case__frame {
    position: relative;
    border-radius: 0.4rem;
    overflow: hidden;
    padding: 4rem 4rem 0;
    background: #343F74;
    background: linear-gradient(45deg, #343F74 50%, #975199 75%, #FAC28C 100%);
    background-size: 300% 100%;
    background-position: 0 0;
    transition: background-position 0.5s ease;
}
.s-case__frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border-radius: 0.4rem 0.4rem 0 0;
    box-shadow: 0 2rem 5rem rgba(24, 29, 52, 0.45);
    transform: translateY(1rem);
    transition: transform 0.5s ease;
}
@media (max-width: 1199px) { .s-case__frame { padding: 2.4rem 2.4rem 0; } }

.s-case__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 3.2rem;
}
.s-case__meta {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #FAC28C;
}
.s-case__body h3 {
    font-weight: 600;
    font-size: 3.6rem;
    line-height: 1.2;
    margin-top: 1.2rem;
}
.s-case__desc {
    font-size: 1.6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1.6rem;
    max-width: 52rem;
}
@media (max-width: 1199px) { .s-case__body h3 { font-size: 2.8rem; } .s-case__desc { font-size: 1.5rem; } }

.s-case__tags {
    list-style: none;
    padding: 0;
    margin: 2.4rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.s-case__tags li {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10rem;
    padding: 0.8rem 1.4rem;
}

.s-case__link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 3.2rem;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #FAC28C;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}
.s-case__link:after {
    content: "→";
    transition: transform 0.3s ease;
}
.s-case__link--external:after { content: "↗"; }
/* cała karta jest klikalna, a w kodzie zostaje jeden link */
.s-case__link:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.s-case__link:focus-visible { outline: none; }
.s-case__card:focus-within { outline: 2px solid #FAC28C; outline-offset: 0.8rem; border-radius: 0.4rem; }

.s-case__card:hover .s-case__frame { background-position: 100% 0; }
.s-case__card:hover .s-case__frame img { transform: translateY(0); }
.s-case__card:hover .s-case__link { text-decoration: underline; }
.s-case__card:hover .s-case__link:after { transform: translateX(0.4rem); }
.s-case__card:hover .s-case__link--external:after { transform: translate(0.3rem, -0.3rem); }

/* animacje wejścia — ten sam wzór co w innych sekcjach */
.s-case__heading.animation h2,
.s-case__heading.animation p,
.s-case__grid.animation .s-case__card {
    opacity: 0;
    transform: translateY(10rem);
    transition: opacity 1s ease, transform 1s ease;
}
.s-case__heading.animation p { transition-delay: 0.2s; }
.s-case__grid.animation .s-case__card:nth-child(2) { transition-delay: 0.2s; }
.s-case__grid.animation .s-case__card:nth-child(3) { transition-delay: 0.4s; }
.s-case__heading.animation--animated h2,
.s-case__heading.animation--animated p,
.s-case__grid.animation--animated .s-case__card {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .s-case *, .s-case *:before, .s-case *:after { transition: none !important; }
    .s-case .animation, .s-case .animation * { opacity: 1 !important; transform: none !important; }
}

/* wersja jasna */
.body--light .s-case__heading h2 { color: rgba(24, 29, 52, 0.5); }
.body--light .s-case__meta,
.body--light .s-case__link { color: #975199; }
.body--light .s-case__desc { color: rgba(24, 29, 52, 0.75); }
.body--light .s-case__tags li { border-color: rgba(24, 29, 52, 0.2); }
.body--light .s-case__frame img { box-shadow: 0 2rem 5rem rgba(24, 29, 52, 0.2); }
.body--light .s-case__card:focus-within { outline-color: #975199; }

/* ---------- Case study: wspólne dodatki ---------- */
.cs-gap-top { margin-top: 5rem; }
.cs .cs-hint { margin-top: 1.4rem; font-size: 1.4rem; }
.cs-narrow h3 + .cs-list { margin-top: 1.6rem; }
.ico-arrow { width: 1.8rem; height: 1.8rem; flex-shrink: 0; vertical-align: middle; transition: transform 0.3s ease; }
.cs-next span { display: flex; align-items: center; gap: 0.8rem; }
.cs-next a:hover .ico-arrow { transform: translateX(0.4rem); }

/* ==========================================================================
   Strona główna 2026: hero, o mnie, portfolio, opinie, kontakt
   ========================================================================== */

/* h1 zawiera teraz <span> zamiast <div> (poprawny HTML) */
.s-home__heading h1 { position: relative; }
.s-home__heading-text { display: block; }
.s-home__heading-line { display: block; }

/* hero: dwa przyciski obok siebie */
.s-home__btn { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }

/* o mnie: narzędzia */
.s-about__tools { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.s-about__tools li { font-weight: 600; font-size: 1.3rem; line-height: 1.2; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10rem; padding: 0.8rem 1.4rem; }
.body--light .s-about__tools li { border-color: rgba(24, 29, 52, 0.2); }

/* strzałka linków: ta sama ikona wszędzie */
.s-case__link:after { content: none; }
.s-case__card:hover .s-case__link .ico-arrow,
.s-quotes__more a:hover .ico-arrow { transform: translateX(0.4rem); }
.s-quotes__more a { display: inline-flex; align-items: center; gap: 1rem; }

/* portfolio: „pokaż więcej” */
.s-portfolio__item.is-collapsed { display: none; }
.s-portfolio__more { width: 100%; text-align: center; margin-top: 8rem; }
.s-portfolio__more[hidden] { display: none; }
.s-portfolio__more-btn { background: none; border: 1px solid rgba(250, 194, 140, 0.5); border-radius: 0.4rem; cursor: pointer; font-family: inherit; }
.s-portfolio__more-btn:hover { border-color: #FAC28C; }
.s-portfolio__more + .s-portfolio__btn { margin-top: 3rem; }
.body--light .s-portfolio__more-btn { border-color: rgba(151, 81, 153, 0.5); }
@media (max-width: 767px) { .s-portfolio__more { margin-top: 5rem; text-align: left; } }

/* ---------- Opinie ---------- */
.s-quotes { position: relative; padding-top: 5rem; margin-top: 19rem; }
@media (max-width: 1199px) { .s-quotes { margin-top: 11rem; } }
@media (max-width: 575px) { .s-quotes { margin-top: 5rem; } }
.s-quotes__heading { text-align: center; }
.s-quotes__heading h2 { font-weight: 500; font-size: 2.4rem; line-height: 1.2; color: rgba(255, 255, 255, 0.5); }
.s-quotes__heading p { font-size: 1.6rem; line-height: 1.4; margin-top: 5rem; }
@media (max-width: 1199px) { .s-quotes__heading h2 { font-size: 2rem; } .s-quotes__heading p { font-size: 1.4rem; margin-top: 3rem; } }
@media (max-width: 991px) { .s-quotes__heading h2 { font-size: 1.8rem; } }
@media (max-width: 767px) { .s-quotes__heading { text-align: left; } }
.s-quotes__grid { list-style: none; padding: 0; margin: 8rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 1199px) { .s-quotes__grid { margin-top: 5rem; } }
@media (max-width: 991px) { .s-quotes__grid { grid-template-columns: 1fr; max-width: 72rem; } }
.s-quotes__item figure { margin: 0; height: 100%; display: flex; flex-direction: column; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.4rem; padding: 4rem; background: #181D34; position: relative; overflow: hidden; }
.s-quotes__item figure:before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0.3rem; background: linear-gradient(90deg, #343F74 0%, #975199 50%, #FAC28C 100%); }
@media (max-width: 575px) { .s-quotes__item figure { padding: 2.8rem 2.4rem; } }
.s-quotes__item blockquote { margin: 0; flex: 1; }
.s-quotes__item blockquote:before { content: "„"; display: block; font-weight: 700; font-size: 6rem; line-height: 0.6; height: 3rem; color: #FAC28C; }
.s-quotes__item blockquote p { font-size: 1.6rem; line-height: 1.7; }
.s-quotes__item figcaption { display: flex; align-items: center; gap: 1.6rem; margin-top: 3.2rem; padding-top: 2.4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.s-quotes__avatar { flex-shrink: 0; width: 5.2rem; height: 5.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; color: #181D34; background: linear-gradient(135deg, #FAC28C 0%, #975199 100%); }
.s-quotes__who { display: flex; flex-direction: column; gap: 0.2rem; line-height: 1.3; }
.s-quotes__who strong { font-size: 1.6rem; }
.s-quotes__who span { font-size: 1.4rem; color: rgba(255, 255, 255, 0.7); }
.s-quotes__who small { font-size: 1.2rem; color: #FAC28C; }
.s-quotes__more { text-align: center; margin-top: 4rem; }
@media (max-width: 767px) { .s-quotes__more { text-align: left; } .s-quotes__more .btn-text { padding-left: 0; } }
.s-quotes__heading.animation h2, .s-quotes__heading.animation p, .s-quotes__grid.animation .s-quotes__item, .s-quotes__more.animation { opacity: 0; transform: translateY(10rem); transition: opacity 1s ease, transform 1s ease; }
.s-quotes__heading.animation p { transition-delay: 0.2s; }
.s-quotes__grid.animation .s-quotes__item:nth-child(2) { transition-delay: 0.2s; }
.s-quotes__grid.animation .s-quotes__item:nth-child(3) { transition-delay: 0.4s; }
.s-quotes__heading.animation--animated h2, .s-quotes__heading.animation--animated p, .s-quotes__grid.animation--animated .s-quotes__item, .s-quotes__more.animation--animated { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .s-quotes .animation, .s-quotes .animation * { opacity: 1 !important; transform: none !important; transition: none !important; } }
.body--light .s-quotes__heading h2 { color: rgba(24, 29, 52, 0.5); }
.body--light .s-quotes__item figure { background: #fff; border-color: rgba(24, 29, 52, 0.12); }
.body--light .s-quotes__item figcaption { border-color: rgba(24, 29, 52, 0.12); }
.body--light .s-quotes__who span { color: rgba(24, 29, 52, 0.72); }
.body--light .s-quotes__who small, .body--light .s-quotes__item blockquote:before { color: #975199; }
.body--light .s-quotes__avatar { color: #fff; }

/* ---------- Kontakt ---------- */
.s-contact__points { list-style: none; padding: 0; margin: 2.4rem 0 0; }
.s-contact__points li { position: relative; padding-left: 2.8rem; font-size: 1.6rem; line-height: 1.6; }
.s-contact__points li + li { margin-top: 0.8rem; }
.s-contact__points li:before { content: ""; position: absolute; left: 0; top: 1.1rem; width: 1.4rem; height: 0.2rem; background: #FAC28C; }
.body--light .s-contact__points li:before { background: #975199; }
@media (max-width: 991px) { .s-contact__points li { font-size: 1.4rem; } }
.form-label { display: block; font-weight: 600; font-size: 1.4rem; line-height: 1.3; margin-bottom: 0.8rem; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { width: 100%; font-size: 1.3rem; line-height: 1.5; opacity: 0.7; margin-bottom: 1.6rem; }
.textarea-border::placeholder { color: rgba(255, 255, 255, 0.5); }
.body--light .textarea-border::placeholder { color: rgba(24, 29, 52, 0.5); }
.s-quotes .container, .s-case .container { position: relative; z-index: 2; }
.s-quotes__item blockquote:before { content: "\201D"; font-size: 7rem; line-height: 1; height: 4.4rem; margin-bottom: 0.8rem; font-family: Georgia, serif; }
.body--light .s-portfolio__item-btn span { color: #975199; }

/* ---------- Hero: ruchomy pas projektów ---------- */
.s-home__reel {
    position: relative;
    height: 100%;
    min-height: 60rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    overflow: hidden;
    border-radius: 0.8rem;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.s-home__reel-col { display: flex; flex-direction: column; gap: 1.6rem; animation: reelUp 70s linear infinite; will-change: transform; }
.s-home__reel-col:nth-child(2) { animation-name: reelDown; animation-duration: 80s; }
.s-home__reel-col img { display: block; width: 100%; height: auto; border-radius: 0.6rem; box-shadow: 0 2rem 4rem rgba(8, 10, 25, 0.45); }
.s-home__reel:hover .s-home__reel-col,
.s-home__reel.is-paused .s-home__reel-col { animation-play-state: paused; }
@keyframes reelUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 0.8rem)); } }
@keyframes reelDown { from { transform: translateY(calc(-50% - 0.8rem)); } to { transform: translateY(0); } }
.s-home__reel-toggle {
    position: absolute; right: 1.6rem; bottom: 1.6rem; z-index: 2;
    width: 4rem; height: 4rem; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(24, 29, 52, 0.8); color: #FAC28C; cursor: pointer;
}
.s-home__reel-toggle .i-play { display: none; }
.s-home__reel.is-paused .i-pause { display: none; }
.s-home__reel.is-paused .i-play { display: block; }
.s-home__reel-toggle:hover { border-color: #FAC28C; }
.s-home__reel { -webkit-mask-composite: source-over; }
@media (max-width: 1199px) { .s-home__reel { min-height: 48rem; } }
@media (max-width: 767px) { .s-home__reel { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .s-home__reel-col { animation: none; } .s-home__reel-toggle { display: none; } }
.body--light .s-home__reel-col img { box-shadow: 0 2rem 4rem rgba(24, 29, 52, 0.15); }
.body--light .s-home__reel-toggle { background: rgba(255, 255, 255, 0.9); border-color: rgba(24, 29, 52, 0.2); color: #975199; }
.s-home__reel { height: 76rem; min-height: 0; }
@media (max-width: 1199px) { .s-home__reel { height: 52rem; } }
@media (max-width: 767px) { .s-home__reel { height: 100%; } }

/* ---------- Opinie bez ramek ---------- */
.s-quotes__item figure, .body--light .s-quotes__item figure { border: 0; background: transparent; padding: 0; overflow: visible; }
.s-quotes__item figure:before { content: none; }
.s-quotes__grid { gap: 6rem; }
@media (max-width: 991px) { .s-quotes__grid { gap: 5rem; } }
.s-quotes__item figcaption, .body--light .s-quotes__item figcaption { border-top: 0; position: relative; }
.s-quotes__item figcaption:before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0.2rem; border-radius: 0.2rem; background: linear-gradient(90deg, #343F74 0%, #975199 50%, #FAC28C 100%); }

/* ---------- Social media: przyciski z nazwą ---------- */
.s-contact__social ul { gap: 1rem; }
.s-contact__social ul li, .s-contact__social ul li:last-child { flex: 0 0 auto; margin: 0; }
.s-contact__social ul li a {
    width: auto; height: 4.8rem; padding: 0 2rem 0 1.6rem; gap: 1rem; flex-wrap: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10rem; background: transparent;
    font-weight: 600; font-size: 1.4rem; line-height: 1; color: #fff;
    background-image: linear-gradient(90deg, #343F74 0%, #975199 50%, #FAC28C 100%); background-size: 0% 100%; background-repeat: no-repeat;
    transition: background-size 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.s-contact__social ul li a svg { width: 2rem; height: 2rem; }
.s-contact__social ul li a:hover, .s-contact__social ul li a:focus-visible { background-color: transparent; background-size: 100% 100%; border-color: transparent; color: #fff; }
.s-contact__social ul li a:hover svg stop { stop-color: #fff; }
@media (max-width: 575px) { .s-contact__social ul li a { height: 4.4rem; padding: 0 1.6rem 0 1.2rem; font-size: 1.3rem; } }
.body--light .s-contact__social ul li a { background-color: transparent; border-color: rgba(24, 29, 52, 0.18); color: #181D34; }
.body--light .s-contact__social ul li a:hover { color: #fff; border-color: transparent; }
.s-contact__social ul li a:hover, .s-contact__social ul li a:focus-visible, .body--light .s-contact__social ul li a:hover {
    background: linear-gradient(90deg, #343F74 0%, #975199 50%, #FAC28C 100%) no-repeat; background-size: 100% 100%;
}

/* ---------- Kółeczko za kursorem ---------- */
.cursor-dot {
    position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
    width: 1.6rem; height: 1.6rem; margin: -0.8rem 0 0 -0.8rem; border-radius: 50%;
    background: linear-gradient(135deg, #FAC28C 0%, #975199 55%, #343F74 100%);
    box-shadow: 0 0 1.6rem rgba(151, 81, 153, 0.45);
    opacity: 0; will-change: transform;
}
.cursor-dot:after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: inherit; transform: scale(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cursor-dot.is-visible { opacity: 1; transition: opacity 0.3s ease; }
.cursor-dot.is-hover:after { transform: scale(2.6); opacity: 0.35; }
.cursor-dot.is-down:after { transform: scale(0.7); opacity: 1; }
@media (min-width: 1200px) and (max-width: 1919px) { .cursor-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; } }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* Lepsze łamanie wierszy: bez pojedynczych słów na końcu akapitu */
p, li, dd, blockquote, figcaption { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* ---------- Kontakt: dopracowanie ---------- */
.s-contact__text h3 { text-wrap: initial; }
.s-contact__points li { padding-left: 3.6rem; }
.s-contact__points li + li { margin-top: 1.2rem; }
.s-contact__points li:before {
    top: 0.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: linear-gradient(135deg, #FAC28C 0%, #975199 60%, #343F74 100%);
}
.s-contact__points li:after {
    content: ""; position: absolute; left: 0.75rem; top: 0.75rem; width: 0.7rem; height: 0.4rem;
    border-left: 0.2rem solid #fff; border-bottom: 0.2rem solid #fff; transform: rotate(-45deg);
}
.body--light .s-contact__points li:before { background: linear-gradient(135deg, #FAC28C 0%, #975199 60%, #343F74 100%); }
@media (max-width: 991px) { .s-contact__points li:before { top: 0.1rem; } }

.s-contact__mail { margin-top: 3.2rem; font-size: 1.6rem; }
.s-contact__mail a { display: inline-flex; align-items: center; gap: 0.8rem; margin-left: 0.4rem; font-weight: 700; color: #FAC28C; text-decoration: underline; text-underline-offset: 0.4rem; text-decoration-color: rgba(250, 194, 140, 0.4); }
.s-contact__mail a:hover { text-decoration-color: #FAC28C; }
.s-contact__mail svg { width: 2rem; height: 2rem; }
.body--light .s-contact__mail a { color: #975199; text-decoration-color: rgba(151, 81, 153, 0.4); }
@media (max-width: 575px) { .s-contact__mail a { margin: 0.6rem 0 0; } }

.s-contact__social--full { width: 100%; margin-top: 8rem; padding-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.s-contact__social--full ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.6rem; }
.s-contact__social--full ul li a { width: 100%; justify-content: center; height: 6rem; }
@media (max-width: 991px) { .s-contact__social--full { margin-top: 5rem; } .s-contact__social--full ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575px) { .s-contact__social--full ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .s-contact__social--full ul li:last-child { grid-column: span 2; } .s-contact__social--full ul li a { height: 4.8rem; } }
.body--light .s-contact__social--full { border-color: rgba(24, 29, 52, 0.12); }

/* ---------- Ikona e-mail w nagłówku ---------- */
.header-primary__mail {
    display: inline-flex; align-items: center; gap: 1rem; margin-right: 3.2rem;
    height: 4.4rem; padding: 0 1.2rem; border-radius: 10rem;
    border: 1px solid rgba(255, 255, 255, 0.15); color: #FAC28C; font-weight: 600; font-size: 1.4rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.header-primary__mail svg { width: 2rem; height: 2rem; }
.header-primary__mail-text { display: none; }
.header-primary__mail:hover { border-color: #FAC28C; }
@media (max-width: 1199px) { .header-primary__mail { margin-right: 2rem; } }
@media (max-width: 991px) {
    .header-primary__mail { margin: 4rem 0 0; width: auto; padding: 0 2rem; }
    .header-primary__mail-text { display: inline; }
    .header-primary__right-inner { flex-direction: column; }
}
.body--light .header-primary__mail { color: #975199; border-color: rgba(24, 29, 52, 0.18); }
/* pas social media wyśrodkowany między linią nad nim a linią stopki (odstęp = margines stopki) */
.s-contact__social--full { padding-top: 12rem; }
@media (max-width: 1199px) { .s-contact__social--full { padding-top: 10rem; } }
@media (max-width: 575px) { .s-contact__social--full { padding-top: 5rem; } }
/* punkty w kontakcie: same gradientowe kółka, bez ptaszka */
.s-contact__points li:after { content: none; }
.s-contact__points li { padding-left: 3rem; }
.s-contact__points li:before { width: 1.4rem; height: 1.4rem; top: 0.6em; transform: translateY(-50%); margin-top: 0.1em; }

/* ---------- Polityka prywatności ---------- */
.cs-legal__body { margin-top: 8rem; }
.cs-legal__body section + section { margin-top: 6rem; }
.cs-legal__body h2 { font-size: 2.8rem; font-weight: 700; line-height: 1.25; color: var(--cs-text); margin-bottom: 2rem; }
.cs-legal__body a { color: var(--cs-accent); text-decoration: underline; text-underline-offset: 0.3rem; }
.cs-legal__reset { margin-top: 1.6rem; padding: 1.6rem 2.4rem; border: 1px solid var(--cs-accent); border-radius: 0.4rem; background: none; cursor: pointer; font-family: inherit; }
.footer-primary__left a { color: inherit; text-decoration: underline; text-underline-offset: 0.3rem; }
.footer-primary__left a:hover { color: #FAC28C; }

/* ---------- Ujednolicone odstępy ----------
   nagłówek sekcji → treść: 8rem (≤1199px: 5rem), między blokami w „O mnie”: 4rem */
.s-portfolio__grid { margin-top: 8rem; }
@media (max-width: 1199px) { .s-portfolio__grid { margin-top: 5rem; } }
.s-about__btn { margin-top: 4rem; }
.s-about__tools { margin-top: 3rem; }

/* ==========================================================================
   Jak pracuję (.s-work) — w stylu sekcji O mnie i Kontakt
   ========================================================================== */
.s-work { position: relative; padding-top: 5rem; margin-top: 19rem; }
@media (max-width: 1199px) { .s-work { margin-top: 11rem; } }
@media (max-width: 575px) { .s-work { margin-top: 5rem; } }
.s-work .container { position: relative; z-index: 2; }
.s-work__content { display: flex; flex-wrap: wrap; gap: 6rem 12rem; align-items: flex-start; }
.s-work__left { flex: 0 1 66rem; }
.s-work__right { flex: 1 1 52rem; }
@media (max-width: 1199px) { .s-work__content { gap: 6rem 6rem; } }
@media (max-width: 991px) { .s-work__left, .s-work__right { flex-basis: 100%; } }
.s-work__left h2 { font-weight: 500; font-size: 2.4rem; line-height: 1.2; color: rgba(255, 255, 255, 0.5); }
.s-work__left h3 { font-weight: 600; font-size: 5.2rem; line-height: 1.2; margin-top: 5rem; text-wrap: initial; }
.s-work__lead { font-size: 2rem; line-height: 1.7; margin-top: 5rem; }
.s-work__btn { margin-top: 6rem; }
@media (max-width: 1199px) {
    .s-work__left h2 { font-size: 2rem; }
    .s-work__left h3 { font-size: 4.8rem; margin-top: 3rem; }
    .s-work__lead { font-size: 1.8rem; margin-top: 3rem; }
    .s-work__btn { margin-top: 4rem; }
}
@media (max-width: 991px) { .s-work__left h2 { font-size: 1.8rem; } .s-work__left h3 { font-size: 4rem; } }
@media (max-width: 575px) { .s-work__left h3 { font-size: 3.2rem; } .s-work__lead { font-size: 1.6rem; } }

.s-work__steps { list-style: none; padding: 0; margin: 0; }
.s-work__step { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 2.4rem; padding: 4rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.s-work__step:first-child { border-top: 0; padding-top: 0; }
.s-work__num { font-weight: 600; font-size: 4.8rem; line-height: 1; background: linear-gradient(135deg, #FAC28C 0%, #975199 60%, #343F74 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.5s ease; }
.s-work__step:hover .s-work__num { transform: translateX(1rem); }
.s-work__step h4 { font-weight: 700; font-size: 2.2rem; line-height: 1.3; }
.s-work__step p { font-size: 1.6rem; line-height: 1.8; margin-top: 1.2rem; color: rgba(255, 255, 255, 0.75); }
@media (max-width: 1199px) { .s-work__num { font-size: 4rem; } .s-work__step h4 { font-size: 1.9rem; } .s-work__step p { font-size: 1.5rem; } .s-work__step { padding: 3.2rem 0; } }
@media (max-width: 575px) { .s-work__step { grid-template-columns: 5.6rem minmax(0, 1fr); gap: 1.6rem; } .s-work__num { font-size: 3.2rem; } }

.s-work__apla { position: absolute; top: -7rem; bottom: -12rem; left: 50%; transform: translateX(-50%); z-index: 1; pointer-events: none; }
.s-work__apla svg { width: auto; height: 100%; display: block; }
@media (max-width: 991px) { .s-work__apla { display: none; } }

/* animacje wejścia jak w O mnie */
.s-work__content.animation .s-work__left > *, .s-work__content.animation .s-work__step { opacity: 0; transform: translateY(10rem); transition: opacity 1s ease, transform 1s ease; }
.s-work__content.animation .s-work__left h3 { transition-delay: 0.2s; }
.s-work__content.animation .s-work__lead { transition-delay: 0.4s; }
.s-work__content.animation .s-work__btn { transition-delay: 0.6s; }
.s-work__content.animation .s-work__step:nth-child(1) { transition-delay: 0.4s; }
.s-work__content.animation .s-work__step:nth-child(2) { transition-delay: 0.6s; }
.s-work__content.animation .s-work__step:nth-child(3) { transition-delay: 0.8s; }
.s-work__content.animation .s-work__step:nth-child(4) { transition-delay: 1s; }
.s-work__content.animation--animated .s-work__left > *, .s-work__content.animation--animated .s-work__step { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .s-work .animation *, .s-work .animation { opacity: 1 !important; transform: none !important; transition: none !important; } }

.body--light .s-work__left h2 { color: rgba(24, 29, 52, 0.5); }
.body--light .s-work__step { border-color: rgba(24, 29, 52, 0.12); }
.body--light .s-work__step p { color: rgba(24, 29, 52, 0.75); }
.body--light .s-work__apla svg path { fill: #fff; stroke: rgba(24, 29, 52, 0.15); }

/* Jak pracuję: narzędzia */
.s-work__tools { margin-top: 6rem; padding-top: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 2.8rem; }
.s-work__tools h4 { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.14em; text-transform: uppercase; color: #FAC28C; }
.s-work__tools ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.s-work__tools li { font-weight: 600; font-size: 1.4rem; line-height: 1.2; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10rem; padding: 0.9rem 1.6rem; transition: border-color 0.3s ease; }
.s-work__tools li:hover { border-color: #FAC28C; }
@media (max-width: 1199px) { .s-work__tools { margin-top: 4rem; padding-top: 3rem; } .s-work__tools li { font-size: 1.3rem; } }
.body--light .s-work__tools { border-color: rgba(24, 29, 52, 0.12); }
.body--light .s-work__tools h4 { color: #975199; }
.body--light .s-work__tools li { border-color: rgba(24, 29, 52, 0.2); }
.s-work__content.animation .s-work__tools { transition-delay: 0.8s; }
/* prawa kolumna zaczyna się na wysokości dużego nagłówka (wysokość etykiety h2 + jej odstęp) */
.s-work__right { padding-top: calc(2.4rem * 1.2 + 5rem); }
@media (max-width: 1199px) { .s-work__right { padding-top: 0; } }
@media (max-width: 991px) { .s-work__right { padding-top: 0; } }
