/* =================================================
   SEKCJA 9 — CONTENT HUB (light)
   ================================================= */
.content {
    background: var(--bg-soft);
    color: var(--ink);
    padding: 120px 0;
}


/* Section head — lede + handle */
.content__lede {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.55;
    color: var(--ink-muted);
    max-width: 56ch;
    margin: 24px 0 0;
}

.content__handle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--coral);
    letter-spacing: 0.02em;
    margin-left: 6px;
    transition: opacity var(--dur-base) ease;
}

.content__handle:hover { opacity: 0.7; }

/* =================================================
   IG-FEED — CSS Grid z dense packing (no dziury)
   Base unit: 1 row = 200px (desktop)
   Portrait tile = 1col × 2row
   Wide tile    = 2col × 2row (landscape, same height as portrait)
   Video tile   = 2col × 4row (2× większy na desktop)
   ================================================= */
.ig-feed {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    gap: 14px;
}

.ig-tile {
    display: block;
    position: relative;
    grid-row: span 2;
    border-radius: 10px;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 2px 10px rgba(14, 18, 23, 0.06);
    transition:
        transform var(--dur-base) var(--ease-rise),
        box-shadow var(--dur-base) ease;
    isolation: isolate;
}

/* Wide tile = landscape, 2 kolumny szerokości, ta sama wysokość */
.ig-tile--wide {
    grid-column: span 2;
    grid-row: span 2;
}

/* Video tile = 2× większy na desktop (2 col × 4 row) */
.ig-tile--video {
    grid-column: span 2;
    grid-row: span 4;
}

.ig-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(14, 18, 23, 0.14);
    z-index: 2;
}

.ig-tile__media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--g-200);
    line-height: 0;
}

.ig-tile__media img,
.ig-tile__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms var(--ease-rise);
}

.ig-tile:hover .ig-tile__media img,
.ig-tile:hover .ig-tile__media video {
    transform: scale(1.05);
}

/* === Tablet: 3 kolumny === */
@media (max-width: 1024px) {
    .ig-feed {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }
    .ig-tile--wide {
        grid-column: span 2;
        grid-row: span 2;
    }
    .ig-tile--video {
        grid-column: span 3;
        grid-row: span 4;
    }
}

/* === Mobile: 2 kolumny === */
@media (max-width: 720px) {
    .ig-feed {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 8px;
    }
    .ig-tile {
        border-radius: 8px;
    }
    .ig-tile--wide {
        grid-column: span 2;
        grid-row: span 2;
    }
    .ig-tile--video {
        grid-column: span 2;
        grid-row: span 4;
    }
}

@media (max-width: 420px) {
    .ig-feed {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .ig-tile,
    .ig-tile--wide {
        grid-column: span 1;
        grid-row: span 2;
    }
    .ig-tile--video {
        grid-column: span 1;
        grid-row: span 4;
    }
}

/* Overlay: caption + badge */
.ig-tile__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 14px;
    background:
        linear-gradient(180deg,
            rgba(14, 18, 23, 0.55) 0%,
            transparent 28%,
            transparent 55%,
            rgba(14, 18, 23, 0.78) 100%);
    color: var(--paper);
    opacity: 0;
    transition: opacity var(--dur-base) ease;
    pointer-events: none;
}

.ig-tile:hover .ig-tile__overlay { opacity: 1; }

/* On video tile — overlay zawsze widoczny (badge REEL) ale subtle */
.ig-tile--video .ig-tile__overlay {
    opacity: 1;
    background:
        linear-gradient(180deg,
            rgba(14, 18, 23, 0.45) 0%,
            transparent 25%,
            transparent 60%,
            rgba(14, 18, 23, 0.7) 100%);
}

.ig-tile--video:hover .ig-tile__overlay { opacity: 1; }

.ig-tile__badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    background: rgba(245, 241, 232, 0.94);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 4px;
    backdrop-filter: blur(8px);
}

.ig-tile__badge--reel {
    background: var(--coral);
    color: var(--paper);
}

.ig-tile__badge--reel svg {
    flex-shrink: 0;
}

.ig-tile__caption {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ig-tile__title {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 36;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--paper);
}

.ig-tile__date {
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(245, 241, 232, 0.72);
    text-transform: uppercase;
}

/* Wide tile (landscape) — opcjonalnie zajmuje 2 kolumny gdy chcemy emphasis;
   przy CSS columns lepiej zostawić natural flow, więc usuwamy span — komentarz */

/* Footer link */
.content__footer {
    text-align: center;
    margin-top: 56px;
}

.content__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: all var(--dur-base) ease;
}

.content__cta:hover {
    background: var(--coral);
    gap: 14px;
}

@media (max-width: 1024px) {
    .content { padding: 88px 0; }
}

/* =================================================
   NEWSLETTER (inline band, dark with photo bg)
   ================================================= */
.newsletter {
    position: relative;
    overflow: hidden;
    color: var(--paper);
    padding: 96px 0;
    isolation: isolate;
}

.newsletter__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.newsletter__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    filter: brightness(0.5) saturate(1.1);
    animation: nl-zoom 20s var(--ease-rise) infinite alternate;
}

@keyframes nl-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

.newsletter__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg,
            rgba(14, 18, 23, 0.88) 0%,
            rgba(14, 18, 23, 0.6) 50%,
            rgba(14, 18, 23, 0.85) 100%
        );
}

.newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.newsletter__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.26em;
    color: var(--coral);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.newsletter__label-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 12px var(--coral);
    animation: pulse-dot 1.6s ease-in-out infinite;
}

.newsletter__title {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 144;
    font-weight: 700;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    color: var(--paper);
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    max-width: 14ch;
}

.newsletter__title em {
    font-style: italic;
    color: var(--coral);
}

.newsletter__sub {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    color: var(--paper-dim);
    max-width: 48ch;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(14, 18, 23, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 241, 232, 0.14);
    border-radius: 6px;
    padding: 28px;
}

.newsletter__input {
    width: 100%;
    padding: 18px 20px;
    background: rgba(245, 241, 232, 0.05);
    color: var(--paper);
    border: 1px solid rgba(245, 241, 232, 0.16);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: all var(--dur-base) ease;
}

.newsletter__input:focus {
    border-color: var(--coral);
    background: rgba(14, 18, 23, 0.5);
}

.newsletter__input::placeholder {
    color: var(--paper-dim);
}

.newsletter__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 22px;
    background: var(--coral);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 18px var(--coral-glow);
    transition: all var(--dur-base) ease;
}

.newsletter__btn:hover {
    background: var(--coral-deep);
    box-shadow: 0 6px 28px var(--coral-glow);
}

.newsletter__btn:disabled {
    background: rgba(216, 242, 94, 0.3);
    color: var(--lime);
    cursor: not-allowed;
}

.newsletter__privacy {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--paper-dim);
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .newsletter { padding: 72px 0; }
    .newsletter__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* =================================================
   SEKCJA 10 — PRESS (light)
   ================================================= */
.press {
    background: var(--bg-soft);
    color: var(--ink);
    padding: 120px 0;
}

.press__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
    align-items: start;
}

.press__mentions-head {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--ink-muted);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.press__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.press__list li {
    border-top: 1px solid rgba(14, 18, 23, 0.1);
}

.press__list li:last-child {
    border-bottom: 1px solid rgba(14, 18, 23, 0.1);
}

.press-item {
    display: block;
    padding: 24px 0;
    transition: padding var(--dur-base) var(--ease-rise);
}

.press-item:hover {
    padding-left: 12px;
}

.press-item__source {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--coral);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.press-item__title {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 72;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.press-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.press-item__link {
    color: var(--ink);
    font-weight: 700;
    transition: color var(--dur-fast) ease;
}

.press-item__link:hover {
    color: var(--coral);
}

/* Press kit (right column) */
.press__kit {
    background: var(--ink);
    color: var(--paper);
    padding: 40px 36px;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(14, 18, 23, 0.12);
    position: sticky;
    top: 100px;
}

.press__kit-icon {
    width: 48px;
    height: 48px;
    color: var(--coral);
    margin-bottom: 20px;
}

.press__kit-icon svg {
    width: 100%;
    height: 100%;
}

.press__kit-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.26em;
    color: var(--paper-dim);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.press__kit-title {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 96;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.05;
    color: var(--paper);
    margin: 0 0 24px;
    letter-spacing: -0.025em;
}

.press__kit-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.press__kit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--paper-dim);
}

.press__kit-bullet {
    color: var(--coral);
    font-size: 12px;
}

.press__kit-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 22px;
    background: var(--coral);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 6px 24px var(--coral-glow);
    transition: all var(--dur-base) ease;
    margin-bottom: 20px;
}

.press__kit-cta:hover {
    background: var(--coral-deep);
    box-shadow: 0 10px 36px var(--coral-glow);
    gap: 14px;
}

.press__kit-contact {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--paper-dim);
    text-align: center;
    line-height: 1.4;
}

.press__kit-contact a {
    color: var(--paper);
    text-decoration: underline;
    text-decoration-color: rgba(255, 78, 90, 0.5);
    text-underline-offset: 3px;
}

.press__kit-contact a:hover {
    color: var(--coral);
}

@media (max-width: 1024px) {
    .press { padding: 88px 0; }
    .press__grid { grid-template-columns: 1fr; gap: 40px; }
    .press__kit { position: static; }
}

/* =================================================
   FOOTER (dark)
   ================================================= */
.footer {
    background: var(--bg-ink-deep);
    color: var(--paper);
    padding: 96px 0 40px;
    position: relative;
}

/* 3 ścieżki kontaktu */
.footer__paths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(245, 241, 232, 0.1);
    border: 1px solid rgba(245, 241, 232, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 72px;
}

.footer-path {
    background: var(--bg-ink);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--paper);
    transition:
        background-color var(--dur-base) ease,
        transform var(--dur-base) var(--ease-rise);
    position: relative;
    overflow: hidden;
}

.footer-path::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--coral);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--dur-base) var(--ease-rise);
}

.footer-path:hover {
    background: rgba(245, 241, 232, 0.03);
}

.footer-path:hover::before {
    transform: scaleY(1);
}

.footer-path__num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--coral);
    margin-bottom: 12px;
}

.footer-path__category {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--paper-dim);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-path__title {
    font-family: var(--font-display);
    font-variation-settings: 'opsz' 72;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    color: var(--paper);
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}

.footer-path__email {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--paper-dim);
    word-break: break-all;
    transition: color var(--dur-base) ease;
}

.footer-path:hover .footer-path__email {
    color: var(--paper);
}

.footer-path__arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 18px;
    color: var(--paper-dim);
    transition: transform var(--dur-base) var(--ease-rise), color var(--dur-base) ease;
}

.footer-path:hover .footer-path__arrow {
    transform: translate(4px, -4px);
    color: var(--coral);
}

/* Brand bar */
.footer__brand-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    border-bottom: 1px solid rgba(245, 241, 232, 0.1);
    margin-bottom: 28px;
    gap: 32px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer__brand-logo {
    height: 60px;
    width: auto;
    display: block;
    transition: opacity var(--dur-base) ease;
}

.footer__brand-logo:hover {
    opacity: 0.85;
}

.footer__brand-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--paper-dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding-left: 20px;
    border-left: 1px solid rgba(245, 241, 232, 0.16);
}

@media (max-width: 540px) {
    .footer__brand-logo {
        height: 46px;
    }
    .footer__brand-meta {
        padding-left: 0;
        border-left: none;
    }
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(245, 241, 232, 0.05);
    border: 1px solid rgba(245, 241, 232, 0.1);
    border-radius: 999px;
    color: var(--paper);
    transition: all var(--dur-base) ease;
}

.footer-social:hover {
    background: var(--coral);
    border-color: var(--coral);
}

.footer-social__label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--coral);
    text-transform: uppercase;
    transition: color var(--dur-base) ease;
}

.footer-social:hover .footer-social__label {
    color: var(--paper);
}

.footer-social__handle {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--paper-dim);
    transition: color var(--dur-base) ease;
}

.footer-social:hover .footer-social__handle {
    color: var(--paper);
}

/* Bottom row */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-bottom: 28px;
    flex-wrap: wrap;
}

.footer__nav {
    display: flex;
    gap: 24px;
}

.footer__nav a {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--paper-dim);
    text-transform: uppercase;
    transition: color var(--dur-fast) ease;
}

.footer__nav a:hover {
    color: var(--paper);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--paper-dim);
    letter-spacing: 0.08em;
}

.footer__legal a {
    color: var(--paper-dim);
    transition: color var(--dur-fast) ease;
}

.footer__legal a:hover {
    color: var(--paper);
}

.footer__dot {
    color: rgba(245, 241, 232, 0.3);
}

.footer__lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(245, 241, 232, 0.16);
    border-radius: 999px;
}

.footer__lang-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--paper-dim);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.footer__lang-btn.is-active {
    color: var(--paper);
}

.footer__lang-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.footer__lang-sep {
    color: rgba(245, 241, 232, 0.2);
    font-size: 11px;
    font-family: var(--font-mono);
}

.footer__credit {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 241, 232, 0.06);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--paper-dim);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .footer { padding: 72px 0 32px; }
    .footer__paths { grid-template-columns: 1fr; }
    .footer__brand-bar { flex-direction: column; align-items: flex-start; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .footer__nav { flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 640px) {
    .footer__socials { flex-wrap: wrap; }
    .footer-social__handle { display: none; }
    .footer-social { padding: 10px 12px; }
}
