/**
 * Section 5 — Featured Collections grid
 * .tnk-s5 scoped styles
 */
.tnk-s5 {
    --tnk-red: #E31E24;
    --tnk-black: #131313;
    --tnk-ink: #1a1a1a;
    --tnk-muted: #737373;
    --tnk-line: #ededed;
    --tnk-bg: #fafafa;
    --tnk-radius: 6px;
    --tnk-ease: cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: var(--tnk-black);
    padding: 96px 24px 56px;
    -webkit-font-smoothing: antialiased;
}
.tnk-s5 *, .tnk-s5 *::before, .tnk-s5 *::after { box-sizing: border-box; }

.tnk-s5__inner {
    max-width: 1440px;
    margin: 0 auto;
}

/* Section header */
.tnk-s5__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}
.tnk-s5__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tnk-muted);
    margin-bottom: 14px;
}
.tnk-s5__eyebrow-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tnk-red);
}
.tnk-s5__title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
    margin: 0;
    color: var(--tnk-black);
}
.tnk-s5__viewall {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    color: var(--tnk-black);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 2px solid var(--tnk-black);
    transition: color 0.2s var(--tnk-ease), border-color 0.2s var(--tnk-ease), gap 0.2s var(--tnk-ease);
    white-space: nowrap;
}
.tnk-s5__viewall:hover {
    color: var(--tnk-red);
    border-bottom-color: var(--tnk-red);
    gap: 12px;
}
.tnk-s5__viewall svg {
    width: 14px;
    height: 14px;
}

/* Grid */
.tnk-s5__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 14px;
}
.tnk-s5__tile--hero   { grid-column: span 2; grid-row: span 2; }
.tnk-s5__tile--footer { grid-column: span 4; grid-row: span 1; }

/* Row wrapper: transparent to grid on desktop, becomes carousel on mobile */
.tnk-s5__row { display: contents; }

/* Tile */
.tnk-s5__tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--tnk-radius);
    background-color: var(--tnk-ink);
    text-decoration: none !important;
    color: #fff;
    isolation: isolate;
    cursor: pointer;
}

/* Image / gradient layer */
.tnk-s5__tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--tnk-ease);
    z-index: 0;
}
.tnk-s5__tile:hover::before { transform: scale(1.06); }

/* Image specs badge */
.tnk-s5__specs {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.9);
    font-family: ui-monospace, 'SF Mono', Monaco, monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 3px;
    pointer-events: none;
}
.tnk-s5__specs-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--tnk-red);
}
.tnk-s5__specs-sep {
    opacity: 0.5;
    font-weight: 400;
    margin: 0 2px;
}

/* Gradient overlay for legibility */
.tnk-s5__tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.05) 70%,
        rgba(0,0,0,0.0) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Per-tile gradient placeholders */
.tnk-s5__tile--wc      { --bg-desktop: linear-gradient(135deg, #E31E24 0%, #5a0210 100%); }
.tnk-s5__tile--euro    { --bg-desktop: linear-gradient(135deg, #003399 0%, #001a4d 100%); }
.tnk-s5__tile--player  { --bg-desktop: linear-gradient(135deg, #2d2d2d 0%, #131313 100%); }
.tnk-s5__tile--limited { --bg-desktop: linear-gradient(135deg, #6b2a2a 0%, #131313 100%); }
.tnk-s5__tile--long    { --bg-desktop: linear-gradient(135deg, #1e3a5f 0%, #0a1929 100%); }
.tnk-s5__tile--women   { --bg-desktop: linear-gradient(135deg, #c2185b 0%, #4a0e2e 100%); }

/* Tile content */
.tnk-s5__tile-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 26px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.tnk-s5__tile-text { min-width: 0; }
.tnk-s5__tile-kicker {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}
.tnk-s5__tile-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
    color: #fff;
}
.tnk-s5__tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 3px;
    border-bottom: 2px solid #fff;
    transition: color 0.25s var(--tnk-ease), border-color 0.25s var(--tnk-ease), gap 0.25s var(--tnk-ease);
}
.tnk-s5__tile-cta svg {
    width: 12px;
    height: 12px;
    transition: transform 0.25s var(--tnk-ease);
}
.tnk-s5__tile:hover .tnk-s5__tile-cta {
    color: var(--tnk-red);
    border-bottom-color: var(--tnk-red);
    gap: 12px;
}
.tnk-s5__tile:hover .tnk-s5__tile-cta svg { transform: translateX(4px); }

/* Hero + footer typography */
.tnk-s5__tile--hero .tnk-s5__tile-title { font-size: 40px; }
.tnk-s5__tile--hero .tnk-s5__tile-body  { padding: 36px; }
.tnk-s5__tile--footer .tnk-s5__tile-title { font-size: 30px; }
.tnk-s5__tile--footer .tnk-s5__tile-body  { padding: 30px 36px; }

/* NEW badge */
.tnk-s5__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    background: var(--tnk-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 5px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

.tnk-s5__tile:focus-visible {
    outline: 3px solid var(--tnk-red);
    outline-offset: 3px;
}

/* Pagination dots — hidden on desktop, visible on mobile */
.tnk-s5__dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 22px 16px 0;
}
.tnk-s5__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.25s var(--tnk-ease), width 0.25s var(--tnk-ease);
}
.tnk-s5__dot.is-on {
    background: var(--tnk-red);
    width: 26px;
    border-radius: 99px;
}
.tnk-s5__dot:focus-visible {
    outline: 2px solid var(--tnk-red);
    outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1024px) {
    .tnk-s5 { padding: 72px 20px 48px; }
    .tnk-s5__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }
    .tnk-s5__tile--hero   { grid-column: span 2; grid-row: span 2; }
    .tnk-s5__tile--footer { grid-column: span 2; grid-row: span 1; }
    .tnk-s5__tile--hero .tnk-s5__tile-title { font-size: 34px; }
}

/* Mobile — editorial carousel layout */
@media (max-width: 640px) {
    .tnk-s5 { padding: 56px 0 40px; }
    .tnk-s5__head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
        gap: 16px;
        padding: 0 16px;
    }
    .tnk-s5__title { font-size: clamp(28px, 8vw, 36px); }
    .tnk-s5__viewall { font-size: 11px; }

    .tnk-s5__tile::before { background-image: var(--bg-mobile, var(--bg-desktop)); }

    .tnk-s5__grid {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-auto-rows: auto;
        gap: 16px;
    }

    .tnk-s5__tile--hero {
        grid-column: unset;
        grid-row: unset;
        width: 100%;
        height: 440px;
        border-radius: 0;
    }

    .tnk-s5__row {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .tnk-s5__row::-webkit-scrollbar { display: none; }

    .tnk-s5__row .tnk-s5__tile {
        flex: 0 0 78%;
        max-width: 320px;
        height: 360px;
        scroll-snap-align: start;
        border-radius: 8px;
    }
    .tnk-s5__row .tnk-s5__tile:last-child { margin-right: 16px; }

    .tnk-s5__tile--footer {
        grid-column: unset;
        grid-row: unset;
        width: 100%;
        height: 280px;
        border-radius: 0;
    }

    .tnk-s5__tile-body {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .tnk-s5__tile-text { width: 100%; }
    .tnk-s5__tile-kicker { font-size: 10px; margin-bottom: 6px; }
    .tnk-s5__tile-title { font-size: 22px; }
    .tnk-s5__tile--hero .tnk-s5__tile-title { font-size: 38px; }
    .tnk-s5__tile--footer .tnk-s5__tile-title { font-size: 28px; }
    .tnk-s5__tile--hero .tnk-s5__tile-body { padding: 28px; }
    .tnk-s5__tile--footer .tnk-s5__tile-body { padding: 26px 28px; }

    .tnk-s5__tile-cta {
        display: inline-flex;
        padding: 11px 18px;
        background: rgba(255,255,255,0.12);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255,255,255,0.3);
        border-bottom: 1px solid rgba(255,255,255,0.3);
        border-radius: 999px;
        font-size: 12px;
    }
    .tnk-s5__tile:hover .tnk-s5__tile-cta {
        background: rgba(255,255,255,0.22);
        border-color: rgba(255,255,255,0.5);
        border-bottom-color: rgba(255,255,255,0.5);
        color: #fff;
    }

    .tnk-s5__dots { display: flex; }

    .tnk-s5__badge { top: 14px; right: 14px; font-size: 9px; padding: 4px 8px; }
    .tnk-s5__specs { top: 12px; left: 12px; font-size: 9px; padding: 4px 8px; }
    .tnk-s5__tile--hero .tnk-s5__specs { left: 12px; top: 12px; }

    .tnk-s5__tile:hover::before { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tnk-s5__tile::before, .tnk-s5__tile-cta svg, .tnk-s5__viewall svg { transition: none; }
    .tnk-s5__tile:hover::before { transform: none; }
}
