/* ==========================================================================
   FIRMOWANE.PL — arkusz drukarski
   Paleta: papier #F7F6F2 · czerń drukarska #191813 · kobalt #2438E8
           CMYK: #00A3E0 / #E10098 / #FFCE00 · zieleń #00B27A
   Typografia: Anton (display) · Archivo (tekst) · IBM Plex Mono (specyfikacje)
   ========================================================================== */

:root {
    --paper: #F7F6F2;
    --ink: #191813;
    --line: #DBD9D0;
    --kobalt: #2438E8;
    --cyjan: #00A3E0;
    --magenta: #E10098;
    --zolty: #FFCE00;
    --ziel: #00B27A;
    --muted: #6B6A61;
    --font-display: 'Anton', 'Arial Narrow', sans-serif;
    --font-body: 'Archivo', 'Helvetica Neue', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    /* Ziarno papieru — subtelny szum drukarski */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--kobalt);
    color: var(--paper);
}

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--kobalt);
    outline-offset: 3px;
}

.wrap {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Elementy wspólne
   -------------------------------------------------------------------------- */

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.regmark {
    width: 0.875rem;
    height: 0.875rem;
    stroke-width: 1.25;
    color: var(--kobalt);
    flex: none;
}

.btn {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    border: 2px solid var(--ink);
    border-radius: 0;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease,
                box-shadow 160ms ease, transform 160ms ease;
}

.btn--primary {
    background: var(--ink);
    color: var(--paper);
}

.btn--primary:hover {
    background: var(--kobalt);
    border-color: var(--kobalt);
    box-shadow: 3px 3px 0 var(--magenta);
    transform: translate(-1px, -1px);
}

.btn--primary:active {
    box-shadow: none;
    transform: translate(1px, 1px);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--kobalt);
    color: var(--kobalt);
    box-shadow: 3px 3px 0 var(--line);
    transform: translate(-1px, -1px);
}

.btn--ghost:active {
    box-shadow: none;
    transform: translate(1px, 1px);
}

/* --------------------------------------------------------------------------
   Nagłówek strony — pasek zlecenia
   -------------------------------------------------------------------------- */

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 4rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
}

.logo__mark {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 0.95rem;
    height: 0.95rem;
    gap: 1.5px;
    flex: none;
    margin-right: 0.5rem;
}

.logo__mark i {
    display: block;
}

.logo__mark i:nth-child(1) { background: var(--cyjan); }
.logo__mark i:nth-child(2) { background: var(--magenta); }
.logo__mark i:nth-child(3) { background: var(--zolty); }
.logo__mark i:nth-child(4) { background: var(--kobalt); }

.logo__word { color: var(--ink); }

.logo__tld { color: var(--kobalt); }

.logo--footer { font-size: 1.25rem; }

.site-nav {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.site-nav a {
    position: relative;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.3rem;
    height: 2px;
    background: var(--kobalt);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover { color: var(--kobalt); }

.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.site-nav a.is-active { color: var(--kobalt); }

.site-header__cta { padding: 0.5rem 1.125rem; }

/* --------------------------------------------------------------------------
   Hero — arkusz ze znacznikami cięcia
   -------------------------------------------------------------------------- */

.hero { padding: 2.5rem 1.5rem 0; }

.sheet {
    position: relative;
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: clamp(2.5rem, 6vw, 5rem);
}

.sheet--hero {
    max-width: 80rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 4vw, 3.5rem);
}

.sheet__ticket {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
}

.sheet__ticket-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.colorbar {
    display: inline-flex;
}

.colorbar span {
    width: 0.8rem;
    height: 0.8rem;
    display: inline-block;
}

.crop {
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    pointer-events: none;
}

.crop::before, .crop::after {
    content: '';
    position: absolute;
    background: var(--ink);
}

.crop::before { width: 100%; height: 1px; }
.crop::after  { width: 1px; height: 100%; }

.crop--tl { top: -0.625rem; left: -0.625rem; }
.crop--tr { top: -0.625rem; right: -0.625rem; transform: scaleX(-1); }
.crop--bl { bottom: -0.625rem; left: -0.625rem; transform: scaleY(-1); }
.crop--br { bottom: -0.625rem; right: -0.625rem; transform: scale(-1); }

.crop--tl::before, .crop--tr::before, .crop--bl::before, .crop--br::before { top: 0; left: 0; }
.crop--tl::after, .crop--tr::after, .crop--bl::after, .crop--br::after { top: 0; left: 0; }

/* --- Grafiki wtopione w arkusz --- */

.hero__watermark {
    position: absolute;
    top: 50%;
    right: clamp(0.5rem, 3vw, 2.5rem);
    transform: translateY(-58%);
    width: clamp(14rem, 24vw, 22rem);
    height: auto;
    color: var(--line);
    opacity: 0.55;
    pointer-events: none;
}

.hero__halftone {
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(8rem, 18vw, 16rem);
    height: clamp(5rem, 10vw, 9rem);
    background-image: radial-gradient(var(--line) 1.2px, transparent 1.3px);
    background-size: 11px 11px;
    -webkit-mask-image: linear-gradient(45deg, #000 20%, transparent 75%);
    mask-image: linear-gradient(45deg, #000 20%, transparent 75%);
    pointer-events: none;
}

/* --- Głowica drukująca: pasek przejścia arkusza jest zegarem slajdera --- */
.hero__progress {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
}

.hero__progress::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--line);
    opacity: 0.5;
}

.hero__progress-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--cyjan), var(--magenta) 38%, var(--zolty) 60%, var(--kobalt));
}

.hero__progress-bar.is-running {
    animation: press 6500ms linear forwards;
}

.sheet--hero.is-paused .hero__progress-bar {
    animation-play-state: paused;
}

@keyframes press {
    from { width: 0%; }
    to   { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__progress { display: none; }
}

/* --- Slajder arkuszy --- */

.hero-slides {
    display: grid;
    position: relative;
    z-index: 1;
}

.hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 480ms ease, visibility 0s linear 480ms;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 480ms ease;
}

.hero-slide__stack {
    justify-self: start;
    display: flex;
    align-items: flex-start;
    width: min(100%, 32rem);
    padding-top: 0.5rem;
}

.hero-slide__proof {
    flex: none;
    width: 58%;
    background: #FFFFFF;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(25, 24, 19, 0.14);
    padding: 0.625rem 0.625rem 0;
    transform: rotate(2.4deg) translateY(1.5rem);
    z-index: 1;
}

.hero-slide__proof--back {
    margin-right: -6%;
    transform: rotate(-4.5deg) translateY(-0.25rem);
    box-shadow: 0 10px 20px rgba(25, 24, 19, 0.10);
    z-index: 0;
}

.hero-slide__proof img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
}

.hero-slide__proof figcaption {
    font-family: var(--font-mono);
    font-size: 0.5938rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--muted);
    padding: 0.55rem 0.125rem;
}

.hero__dial {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__dial-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-right: 0.5rem;
}

.hero__dot {
    width: 0.8rem;
    height: 0.8rem;
    padding: 0;
    border: 1px solid var(--ink);
    background: transparent;
    cursor: pointer;
    transition: background-color 160ms ease;
}

.hero__dot:hover { background: var(--line); }

.hero__dot.is-active { background: var(--kobalt); border-color: var(--kobalt); }

.hero__headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3rem, 6.4vw, 6.75rem);
    line-height: 0.96;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    margin: 1.75rem 0 1.5rem;
}

/* Akcent zostaje w jednej linii — inaczej nadruk (::before, nowrap) rozjeżdża się z tekstem */
.hero__headline .overprint { white-space: nowrap; }

/* Overprint — druga, rozjechana warstwa druku w kobalcie */
.overprint {
    position: relative;
    z-index: 0; /* własny stacking context — duch (z-index -1) zostaje nad tłem sekcji */
    font-style: normal;
    color: var(--kobalt);
    display: inline-block;
}

.overprint::before {
    content: attr(data-word);
    position: absolute;
    top: 0.028em;
    left: 0.04em;
    white-space: nowrap;
    color: var(--magenta);
    opacity: 0.42;
    z-index: -1;
}

.hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.hero__sub {
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.125rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sheet__spec {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    color: var(--muted);
}

/* Wejście strony + zmiana slajdu = ten sam ruch: arkusz przechodzi przez prasę */
@media (prefers-reduced-motion: no-preference) {
    .hero__foot, .hero .eyebrow {
        animation: rise 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero .eyebrow { animation-delay: 40ms; }
    .hero__foot { animation-delay: 180ms; }

    /* Nadruk nagłówka rozjeżdża się od lewej — jak wałek nakładający farbę */
    .hero-slide.is-active .hero__headline {
        animation: inkpass 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .hero-slide.is-active .hero__sub {
        animation: rise 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: 120ms;
    }
    /* Stos odbitek wsuwa się i osiada w tacy odbiorczej */
    .hero-slide.is-active .hero-slide__stack {
        animation: slot 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: 60ms;
    }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(1rem); }
    to   { opacity: 1; transform: none; }
}

@keyframes inkpass {
    from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(0.4rem); }
    to   { opacity: 1; clip-path: inset(0 0 0 0); transform: none; }
}

@keyframes slot {
    from { opacity: 0; transform: translateX(1.4rem) rotate(0.8deg); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Ticker — taśma produktów
   -------------------------------------------------------------------------- */

.tape-stage {
    overflow: hidden;
    margin-top: 1.25rem;
    padding: 1.5rem 0 1.75rem;
}

.tape-stage + .section { padding-top: 2.5rem; }

.tape {
    position: relative;
    overflow: hidden;
    width: 106%;
    margin-left: -3%;
}

.tape--ink {
    background: var(--ink);
    transform: rotate(-0.7deg);
    box-shadow: 0 14px 34px rgba(25, 24, 19, 0.22);
}

.tape__track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
}

.tape--ink .tape__track {
    font-family: var(--font-display);
    font-size: clamp(1.625rem, 3.4vw, 2.75rem);
    letter-spacing: 0.04em;
    color: var(--paper);
    padding: 0.5em 0 0.45em;
}

.tape__track-half {
    display: inline-flex;
    align-items: center;
}

.tape__word { margin: 0 0.5em; }

.tape__star {
    font-size: 0.55em;
    line-height: 1;
    transform: translateY(-0.15em);
}

.tape__star--c { color: var(--cyjan); }
.tape__star--m { color: var(--magenta); }
.tape__star--y { color: var(--zolty); }
.tape__star--k { color: var(--paper); opacity: 0.55; }

@media (prefers-reduced-motion: no-preference) {
    .tape__track { animation: feed 38s linear infinite; }
}

@keyframes feed {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Sekcje
   -------------------------------------------------------------------------- */

.section { padding: 3.75rem 0; }

/* Kotwice nie wjeżdżają pod przyklejony nagłówek */
section[id] { scroll-margin-top: 4.5rem; }

.section--ruled {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #FFFFFF;
}

.section__head { margin-bottom: 2.25rem; }

.section__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-transform: uppercase;
    line-height: 1.05;
    margin-top: 0.75rem;
    text-wrap: balance;
}

.section__lede {
    margin-top: 1rem;
    max-width: 38rem;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Próbniki Pantone — sygnatura strony
   -------------------------------------------------------------------------- */

.swatches {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1.25rem;
}

.swatch {
    background: #FFFFFF;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.swatch:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(25, 24, 19, 0.10);
}

.swatch__field {
    display: block;
    aspect-ratio: 5 / 3;
    position: relative;
    overflow: hidden;
}

.swatch__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.swatch:hover .swatch__photo { transform: scale(1.04); }

.swatch__ink {
    position: absolute;
    bottom: 0.5rem;
    right: 0.625rem;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    color: #FFFFFF;
    mix-blend-mode: difference;
    opacity: 0.85;
    text-shadow: 0 1px 3px rgba(25, 24, 19, 0.45);
}

.swatch__label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.125rem 1.25rem;
}

.swatch__code {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    color: var(--muted);
    text-transform: uppercase;
}

.swatch__name {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.3;
}

.swatch__desc {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Tabela technologii — karta specyfikacji
   -------------------------------------------------------------------------- */

.spec-scroll { overflow-x: auto; }

.spec {
    width: 100%;
    min-width: 38rem;
    border-collapse: collapse;
}

.spec th, .spec td {
    text-align: left;
    padding: 1.125rem 1rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.spec thead th {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 2px solid var(--ink);
}

.spec tbody th {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.375rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.spec tbody td { color: var(--muted); }

.spec__run {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--ink) !important;
    white-space: nowrap;
}

.spec tbody tr:hover { background: var(--paper); }

/* --------------------------------------------------------------------------
   Realizacje — odbitki próbne
   -------------------------------------------------------------------------- */

.proofs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
}

.proof {
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: 0.875rem 0.875rem 0;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.proof:nth-child(odd) { transform: rotate(-0.4deg); }
.proof:nth-child(even) { transform: rotate(0.4deg); }

.proof:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 12px 28px rgba(25, 24, 19, 0.12);
}

.proof img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
}

.proof__caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.75rem 0.125rem 0.875rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
}

.proof__tech { color: var(--muted); }

/* --------------------------------------------------------------------------
   Proces — obieg zlecenia
   -------------------------------------------------------------------------- */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 2rem 1.5rem;
    counter-reset: step;
}

.step {
    text-align: center;
}

.step__icon {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    color: var(--ink);
    margin: 0 auto 1.125rem;
}

.step__name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0.375rem 0 0.5rem;
}

.step__desc {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Opinia — pełny zalew kobaltu (aplaż)
   -------------------------------------------------------------------------- */

.quote-band {
    background: var(--kobalt);
    color: var(--paper);
    padding: 3.75rem 0 4.25rem;
}

.quote-band__head { margin-bottom: 2rem; }

.eyebrow--inverse { color: rgba(255, 255, 255, 0.72); }

.eyebrow--inverse + .section__title { color: #FFFFFF; }

/* Na kobaltowej aplaszy słowo akcentowe jest białe, duch magenty zostaje */
.quote-band .overprint { color: #FFFFFF; }

/* Hero zostaje kobalt+magenta; każda sekcja ma własną parę farb (baza + neon) */
#oferta .overprint { color: var(--magenta); }
#oferta .overprint::before { color: var(--cyjan); }

#technologie .overprint { color: var(--cyjan); }
#technologie .overprint::before { color: var(--magenta); }

#realizacje .overprint { color: var(--ziel); }
#realizacje .overprint::before { color: var(--zolty); opacity: 0.75; }

#proces .overprint { color: var(--kobalt); }
#proces .overprint::before { color: var(--cyjan); }

.slips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.25rem;
}

.slip {
    position: relative;
    background: #FFFFFF;
    color: var(--ink);
    padding: 1.25rem 1.375rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.slip__meta {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    padding-right: 6.5rem;
}

.slip__quote {
    font-size: 1.0625rem;
    line-height: 1.5;
    flex: 1;
}

.slip__author {
    display: block;
    margin-top: 1.25rem;
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.slip__stamp {
    position: absolute;
    top: 1rem;
    right: 1rem;
    transform: rotate(-6deg);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--kobalt);
    border: 2px solid var(--kobalt);
    border-radius: 2px;
    padding: 0.25rem 0.5rem;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Kontakt / CTA — drugi arkusz
   -------------------------------------------------------------------------- */

.sheet--cta { text-align: center; }

.cta__headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    text-transform: uppercase;
    line-height: 1.02;
    text-wrap: balance;
}

.cta__text {
    margin: 1.25rem auto 2rem;
    max-width: 32rem;
    color: var(--muted);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* --- Formularz briefu --- */

.brief-form {
    max-width: 46rem;
    margin: 0 auto;
    text-align: left;
}

.brief-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.brief-form__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.field { display: block; }

.field--full { grid-column: 1 / -1; }

.field__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.375rem;
}

.field__input {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
    padding: 0.75rem 0.875rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field__input:hover { border-color: var(--kobalt); }

.field__input::placeholder { color: var(--muted); opacity: 0.75; }

.field__input:focus {
    outline: 2px solid var(--kobalt);
    outline-offset: 1px;
    border-color: var(--kobalt);
}

.field__input--area {
    resize: vertical;
    min-height: 7rem;
}

.brief-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.brief-form__alt {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.brief-form__alt:hover { color: var(--kobalt); }

.form-note {
    max-width: 34rem;
    margin: 0 auto;
    font-size: 1.0625rem;
}

.form-note--ok {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 1.5rem 1.75rem;
}

.form-note__stamp {
    position: static;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.form-note--error {
    color: #B4231F;
    margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
    margin-top: 3rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer__brand img {
    display: block;
    height: 1.5rem;
    width: auto;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.site-footer__nav a,
.site-footer__contact a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
}

.site-footer__nav a:hover,
.site-footer__contact a:hover { color: var(--kobalt); }

.site-footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.site-footer__contact a { text-transform: none; }

.site-footer__meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll — elementy wjeżdżają jak arkusz przez prasę
   (klasy dokłada JS; bez JS / reduced-motion treść jest widoczna od razu)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    .js-reveal {
        opacity: 0;
        transform: translateY(1.25rem);
        transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
                    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .js-reveal.is-inview {
        opacity: 1;
        transform: none;
    }

    /* Lekki stagger w siatkach */
    .swatches .js-reveal:nth-child(2), .proofs .js-reveal:nth-child(2),
    .steps .js-reveal:nth-child(2), .slips .js-reveal:nth-child(2) { transition-delay: 80ms; }
    .swatches .js-reveal:nth-child(3), .proofs .js-reveal:nth-child(3),
    .steps .js-reveal:nth-child(3), .slips .js-reveal:nth-child(3) { transition-delay: 160ms; }
    .swatches .js-reveal:nth-child(4), .steps .js-reveal:nth-child(4) { transition-delay: 240ms; }
    .swatches .js-reveal:nth-child(5), .steps .js-reveal:nth-child(5) { transition-delay: 320ms; }
    .swatches .js-reveal:nth-child(6) { transition-delay: 400ms; }
}

/* --------------------------------------------------------------------------
   Responsywność
   -------------------------------------------------------------------------- */

@media (max-width: 44rem) {
    .site-nav { display: none; }
    .overprint::before { display: none; }
    .site-header__cta { margin-left: auto; }
    .sheet__spec { display: none; }
    .hero { padding: 1.5rem 1rem 0; }
    .hero__headline { font-size: 12vw; }
    .hero-slide { grid-template-columns: 1fr; }

    /* Na mobile zostaje jedna odbitka zamiast pustej przestrzeni */
    .hero-slide__stack {
        width: min(64%, 15rem);
        padding-top: 0;
        margin-top: 0.5rem;
    }
    .hero-slide__proof { width: 100%; transform: rotate(-2deg); }
    .hero-slide__proof--back { display: none; }
    .hero__watermark { display: none; }
    .brief-form__grid { grid-template-columns: 1fr; }

    /* Tabela technologii układa się w karty zamiast przewijać w bok */
    .spec { min-width: 0; }
    .spec thead { display: none; }
    .spec tbody tr { display: block; padding: 1.125rem 0; }
    .spec tbody th, .spec tbody td {
        display: block;
        padding: 0;
        border-bottom: none;
        white-space: normal;
    }
    .spec tbody tr { border-bottom: 1px solid var(--line); }
    .spec tbody td { margin-top: 0.25rem; }
    .spec tbody tr:hover { background: none; }
    .section { padding: 3.5rem 0; }
}
