/* ------------------------------------------------------------
   Nova stylizace VISUA hubu.
   Cilem je uplne jiny charakter nez v predchozich verzich:
   svetlejsi editorialsystem, pevne panely, jemny motion.
------------------------------------------------------------ */

:root {
    --bg: #f4efe7;
    --bg-2: #ebe5db;
    --panel: rgba(255, 251, 245, 0.92);
    --panel-strong: #fffaf4;
    --ink: #111111;
    --ink-soft: #514c47;
    --line: rgba(17, 17, 17, 0.12);
    --line-strong: rgba(17, 17, 17, 0.24);
    --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shell: min(1240px, calc(100vw - 40px));
    --header-h: 86px;
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
    --duration-fast: 180ms;
    --duration-base: 320ms;
    --duration-slow: 560ms;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(218, 206, 186, 0.45), transparent 24%),
        linear-gradient(180deg, var(--bg) 0%, #f7f2eb 45%, #efe8de 100%);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body::selection {
    background: rgba(17, 17, 17, 0.12);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3 {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 16px;
    transform: translateY(-180%);
    padding: 12px 16px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    z-index: 30;
    transition: transform var(--duration-fast) var(--ease-soft);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

.page-noise,
.page-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.page-noise {
    opacity: 0.08;
    background-image: radial-gradient(circle at 1px 1px, rgba(17,17,17,0.28) 0.8px, transparent 0);
    background-size: 14px 14px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
}

.page-grid {
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 60;
    background: transparent;
}

.scroll-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: #111;
    transform-origin: left center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    padding: 18px 0;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 10px 0;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.72);
    box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.site-header.is-scrolled::before {
    background: rgba(255, 250, 244, 0.88);
    box-shadow: 0 18px 38px rgba(17, 17, 17, 0.08);
}

.brand-lockup,
.brand-copy {
    position: relative;
    z-index: 1;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 12px 18px rgba(17, 17, 17, 0.18);
    flex: 0 0 auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong {
    font-size: 0.96rem;
    letter-spacing: 0.04em;
}

.brand-copy small {
    font-size: 0.75rem;
    color: var(--ink-soft);
}


.layout-main {
    display: grid;
    gap: 28px;
    padding: 18px 0 120px;
}

.hero-grid,
.section-block,
.site-footer {
    scroll-margin-top: calc(var(--header-h) + 34px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 20px;
    align-items: stretch;
}

.hero-copy,
.hero-board,
.section-block,
.site-footer {
    position: relative;
    border: 1px solid var(--line);
    background: rgba(255, 251, 245, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-copy,
.hero-board {
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: clamp(32px, 5vw, 54px);
    min-width: 0;
}

.eyebrow,
.section-label,

.board-head p,
.brand-card-top p,
.service-panel-head p,
.channel-head p {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    color: var(--ink-soft);
}

.hero-copy h1 {
    margin-top: 14px;
    max-width: 12ch;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.hero-text {
    margin-top: 22px;
    max-width: 62ch;
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.9vw, 1.14rem);
}

.hero-stats,
.route-tags,
.fact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}



.route-tags span,
.fact-row span,
.domain-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink-soft);
    font-size: 0.88rem;
}


.hero-stats {
    margin-top: 34px;
}

.hero-stat {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(17, 17, 17, 0.05);
    border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-stat strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.hero-board {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: clamp(24px, 3vw, 32px);
    background:
        radial-gradient(circle at top right, rgba(209, 223, 255, 0.55), transparent 38%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(246, 239, 228, 0.96));
    color: var(--ink);
    overflow: clip;
}

.hero-board::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(17, 17, 17, 0.06), transparent 72%);
    pointer-events: none;
}

.board-head h2 {
    margin-top: 8px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.06;
}

.board-routes {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.board-route {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.58);
}

.board-route:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(17, 17, 17, 0.14);
}

.board-route-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.board-route-top strong {
    font-size: 1.35rem;
    line-height: 1;
}

.board-route-icon,
.route-icon,
.brand-icon,
.service-panel-icon,
.channel-link-icon,
.text-action-icon,
.detail-icon,
.card-link-icon,
.quick-link-icon,
.board-route-icon .icon,
.route-icon .icon,
.brand-icon .icon,
.service-panel-icon .icon,
.channel-link-icon .icon,
.text-action-icon .icon,
.detail-icon .icon,
.card-link-icon .icon,
.board-route-icon svg,
.route-icon svg,
.brand-icon svg,
.service-panel-icon svg,
.channel-link-icon svg,
.text-action-icon svg,
.detail-icon svg,
.card-link-icon svg,
.channel-link-arrow svg,
.route-link svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex: 0 0 auto;
}

.icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.icon-fill {
    fill: currentColor;
    stroke: none;
}

.board-route-copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.board-route-title {
    font-weight: 700;
    font-size: 1rem;
}

.board-route-text {
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.section-block,
.site-footer {
    border-radius: 30px;
    padding: clamp(26px, 4vw, 38px);
}

.section-heading {
    display: grid;
    gap: 10px;
    max-width: 74ch;
}

.section-heading h2 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-note {
    color: var(--ink-soft);
    font-size: 1rem;
}

.route-strip,
.service-band,
.channel-grid,

.route-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 22px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.58);
}

.route-index {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
}

.route-slash {
    color: rgba(17, 17, 17, 0.28);
}

.route-title-row,
.service-panel-head,
.brand-card-top,
.card-links,
.channel-list,
.action-row {
    min-width: 0;
}

.route-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.route-title-row h3,
.service-panel-head h3,
.brand-card-top h3,
.channel-head h3 {
    font-size: clamp(1.18rem, 2.2vw, 1.5rem);
    line-height: 1.08;
}

.route-body {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.route-body p,
.service-panel-text,
.brand-description,

.route-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    font-weight: 600;
}

.route-link:hover {
    transform: translateX(3px);
}

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

.service-panel,
.brand-card,
.channel-card,

.service-panel,
.brand-card,
.channel-card,

.service-panel-head,
.brand-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
}

.brand-title-wrap,
.service-panel-head > div:first-of-type,
.channel-link,
.text-action,
.card-link,
.detail-link,
.detail-text {
    min-width: 0;
}

.brand-title-wrap,
.service-panel-head {
    align-items: flex-start;
}

.brand-title-wrap {
    display: flex;
    gap: 14px;
}

.service-panel-icon,
.brand-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.08);
}

.domain-pill {
    max-width: 100%;
    white-space: nowrap;
}

.service-panel-summary,
.brand-summary {
    margin-top: 18px;
    font-size: 1.06rem;
    font-weight: 600;
}

.service-panel-text,
.brand-description {
    margin-top: 10px;
}

.fact-row {
    margin-top: 18px;
}

.action-row,
.card-links,

.text-action,
.card-link,

.text-action span:last-child,
.card-link span:last-child,
    min-width: 0;
    overflow-wrap: anywhere;
}

.text-action:hover,
.card-link:hover,
    transform: translateY(-2px);
    border-color: rgba(17, 17, 17, 0.22);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.brand-card {
    grid-column: span 4;
}

.featured-card {
    grid-column: span 8;
    background:
        radial-gradient(circle at top right, rgba(209, 223, 255, 0.6), transparent 34%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(244, 237, 226, 0.96));
    color: var(--ink);
}

.featured-card .brand-summary,
.featured-card .brand-description,
.featured-card .brand-card-top p,
.featured-card .fact-row span,
.featured-card .domain-pill {
    color: var(--ink-soft);
}

.featured-card .service-panel-icon,
.featured-card .brand-icon,
.featured-card .card-link,
.featured-card .domain-pill,
.featured-card .fact-row span {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(17, 17, 17, 0.1);
}

.featured-card .card-link {
    color: var(--ink);
}

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

.channel-head {
    display: grid;
    gap: 10px;
}

.channel-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.channel-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.68);
}

.channel-link-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.channel-link-copy strong,
.channel-link-copy small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.channel-link-copy small {
    color: var(--ink-soft);
}

.channel-link:hover {
    transform: translateX(4px);
}




.detail-link,
.detail-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink-soft);
}

.detail-link:hover {
    color: var(--ink);
    transform: translateY(-1px);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 32px;
}

.site-footer strong {
    display: block;
    margin-bottom: 6px;
}

.site-footer p {
    color: var(--ink-soft);
}

.site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: rgba(255, 255, 255, 0.66);
}

.site-footer a:hover {
    transform: translateY(-2px);
}


.tone-dark {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(245, 238, 228, 0.96));
}

.tone-dark .service-panel-summary,
.tone-dark .service-panel-text,
.tone-dark .service-panel-head p,
.tone-dark .fact-row span,
.tone-dark .domain-pill,
.tone-dark .text-action {
    color: var(--ink-soft);
}

.tone-dark .service-panel-icon,
.tone-dark .text-action,
.tone-dark .fact-row span,
.tone-dark .domain-pill {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(17, 17, 17, 0.1);
}

.tone-sand {
    background: linear-gradient(180deg, rgba(251, 245, 234, 0.9), rgba(245, 236, 222, 0.9));
}

.tone-olive {
    background: linear-gradient(180deg, rgba(235, 240, 232, 0.92), rgba(225, 232, 220, 0.92));
}

.tone-paper {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(250, 245, 237, 0.92));
}

.tone-ink {
    background: linear-gradient(180deg, rgba(247, 242, 234, 0.96), rgba(238, 231, 220, 0.96));
    color: var(--ink);
}

.tone-ink .brand-summary,
.tone-ink .brand-description,
.tone-ink .brand-card-top p,
.tone-ink .fact-row span,
.tone-ink .domain-pill,
.tone-ink .card-link {
    color: var(--ink-soft);
}

.tone-ink .brand-icon,
.tone-ink .card-link,
.tone-ink .fact-row span,
.tone-ink .domain-pill {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(17, 17, 17, 0.1);
}

.reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity var(--duration-slow) var(--ease-smooth),
        transform var(--duration-slow) var(--ease-smooth);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .service-band,
    .channel-grid {
        grid-template-columns: 1fr;
    }

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

    .brand-card,
    .featured-card {
        grid-column: span 1;
    }
}

@media (max-width: 900px) {

    .route-card {
        grid-template-columns: 1fr;
    }

    .route-index {
        font-size: 1.6rem;
    }
}

@media (max-width: 720px) {
    :root {
        --shell: min(100vw - 24px, 100%);
    }

    .site-header {
        padding: 12px 0;
    }

    .site-header::before {
        inset: 6px 0;
        border-radius: 24px;
    }

    .hero-copy,
    .hero-board,
    .section-block,
    .site-footer,
    .service-panel,
    .brand-card,
    .channel-card,
    .route-card {
        border-radius: 24px;
    }

    .hero-copy {
        padding: 26px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(2.2rem, 12vw, 3.6rem);
    }

    .board-route {
        grid-template-columns: 1fr;
    }

    .service-panel-head,
    .brand-card-top {
        grid-template-columns: 1fr;
    }

    .domain-pill {
        width: fit-content;
        white-space: normal;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-stat {
        min-width: 0;
    }

    .board-route,
    .route-card,
    .service-panel,
    .brand-card,
    .channel-card {
        padding: 20px;
    }

    .channel-link {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .channel-link-arrow {
        display: none;
    }
}

/* ------------------------------------------------------------
   v22 layout: doporučené + rozdělení podle značek
------------------------------------------------------------ */

.micro-note {
    margin-top: 22px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink-soft);
}

.micro-note strong {
    color: var(--ink);
}

.micro-note-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.06);
}

.board-links {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.board-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.62);
}

.board-link:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(17, 17, 17, 0.14);
}

.board-link-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.board-link-copy small {
    color: var(--ink-soft);
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.rec-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.62);
    padding: 24px;
    min-width: 0;
}

.rec-head {
    display: grid;
    gap: 6px;
}

.rec-head h3 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.rec-head p {
    margin: 0;
    color: var(--ink-soft);
}

.rec-links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.rec-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.66);
}

.rec-link:hover {
    transform: translateX(4px);
}

.rec-link-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.rec-link-copy small {
    color: var(--ink-soft);
}

.rec-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.pill {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 20px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.66);
}

.pill:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 17, 17, 0.14);
}

.pill-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pill-text small {
    color: var(--ink-soft);
}

.brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.brands-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.brand-panel {
    margin: 0;
    min-height: 100%;
    box-shadow: var(--shadow);
}

.brand-panel-featured {
    grid-column: 1 / -1;
}

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

.brand-panel-featured .brand-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.70);
}

.chip:hover {
    transform: translateY(-2px);
}

.chip-icon {
    width: 18px;
    height: 18px;
}

.brand-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}


.link-grid {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.link-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(17, 17, 17, 0.10);
    background: rgba(255, 255, 255, 0.64);
    position: relative;
    min-width: 0;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(17, 17, 17, 0.16);
}

.link-card-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.link-card-copy small {
    color: var(--ink-soft);
}

@media (max-width: 1100px) {
    .rec-grid {
        grid-template-columns: 1fr;
    }

    .brand-header {
        grid-template-columns: 1fr;
    }

    .brands-layout {
        grid-template-columns: 1fr;
    }

    .brand-panel-featured {
        grid-column: auto;
    }

    .brand-link-grid,
    .brand-panel-featured .brand-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .rec-pills {
        grid-template-columns: 1fr;
    }

    .brand-link-grid,
    .brand-panel-featured .brand-link-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------------------------------------------
   v27 cleanup: bez mobile docku + stabilnější ikony / spacing
------------------------------------------------------------ */

.board-link-icon,
.board-link-arrow,
.link-card-icon,
.link-card-arrow,
.chip-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.board-link-icon,
.link-card-icon {
    width: 20px;
    height: 20px;
    color: var(--ink);
}

.board-link-arrow,
.link-card-arrow {
    width: 18px;
    height: 18px;
    color: var(--ink-soft);
}

.board-link-icon svg,
.board-link-arrow svg,
.link-card-icon svg,
.link-card-arrow svg,
.chip-icon svg {
    width: 100%;
    height: 100%;
}

.board-link,
.link-card {
    overflow: clip;
}

.board-link-copy strong,
.board-link-copy small,
.link-card-copy strong,
.link-card-copy small,
.chip span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.section-block,
.site-footer,
.hero-copy,
.hero-board {
    overflow: clip;
}

@media (max-width: 900px) {
    .brand-lockup {
        min-width: 0;
    }
}

@media (max-width: 720px) {
    .site-footer {
        margin-bottom: 20px;
    }
}

@media (max-width: 520px) {
    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .brand-chips {
        gap: 10px;
    }

    .chip,
    .board-link,
    .link-card,
    .site-footer a {
        min-height: 48px;
    }
}


.brand-panel .section-label {
    margin-bottom: 6px;
}

.link-card-copy small {
    display: none;
}

.link-card-copy {
    min-width: 0;
}

.link-card-copy strong {
    display: block;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
    padding: 28px;
    border-radius: var(--radius-xl);
    margin-bottom: 44px;
}

.site-footer-copy {
    display: grid;
    gap: 8px;
}

.site-footer-copy strong {
    font-size: 0.98rem;
    letter-spacing: 0.06em;
}

.site-footer-copy p {
    color: var(--ink-soft);
    max-width: 48ch;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.site-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    background: rgba(255,255,255,0.58);
    color: var(--ink-soft);
    transition: transform var(--duration-fast) var(--ease-soft), background var(--duration-fast) var(--ease-soft), border-color var(--duration-fast) var(--ease-soft), color var(--duration-fast) var(--ease-soft);
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.86);
    border-color: rgba(17, 17, 17, 0.18);
    color: var(--ink);
}

@media (max-width: 840px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer-links {
        justify-content: flex-start;
    }
}


/* ------------------------------------------------------------
   v33 micro polish pass podle screenshotu
------------------------------------------------------------ */
:root {
    --ink-soft: #4a443e;
    --line: rgba(17, 17, 17, 0.10);
    --shadow: 0 18px 44px rgba(17, 17, 17, 0.055);
    --shell: min(1320px, calc(100vw - 48px));
    --header-h: 74px;
}

.site-header {
    padding: 10px 0 8px;
}

.site-header::before {
    inset: 4px 0;
    border-color: rgba(17, 17, 17, 0.06);
    background: rgba(255, 250, 244, 0.76);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.035);
}

.site-header.is-scrolled::before {
    background: rgba(255, 250, 244, 0.9);
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.05);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 18px rgba(17, 17, 17, 0.14);
}

.brand-copy strong {
    font-size: 0.94rem;
}

.brand-copy small {
    color: #666058;
}

.layout-main {
    gap: 24px;
    padding: 12px 0 108px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: 18px;
}

.hero-copy,
.hero-board,
.section-block,
.site-footer {
    border-color: rgba(17, 17, 17, 0.09);
    box-shadow: 0 16px 38px rgba(17, 17, 17, 0.05);
}

.hero-copy {
    padding: clamp(28px, 4vw, 46px);
}

.eyebrow,
.section-label,
.board-head p,
.brand-copy small,
.section-note,
.board-link-copy small,
.site-footer-copy p {
    color: #615a53;
}

.hero-copy h1 {
    margin-top: 10px;
    max-width: 9.4ch;
    font-size: clamp(2.4rem, 5.8vw, 4.8rem);
    line-height: 0.93;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.hero-text {
    margin-top: 18px;
    max-width: 54ch;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    color: #5b544d;
}

.hero-board {
    padding: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 244, 0.88), rgba(240, 243, 250, 0.78));
}

.hero-board::after {
    width: 180px;
    height: 180px;
    right: -40px;
    top: -40px;
    background: radial-gradient(circle, rgba(84, 96, 126, 0.08), transparent 72%);
}

.board-head h2 {
    margin-top: 6px;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.board-links {
    gap: 8px;
    margin-top: 16px;
}

.board-link {
    padding: 12px 14px;
    border-radius: 18px;
    border-color: rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.board-link-copy {
    gap: 2px;
}

.board-link-copy strong {
    font-size: 0.98rem;
}

.board-link-copy small {
    font-weight: 500;
}

.brands-layout {
    gap: 16px;
}

.section-block,
.site-footer {
    border-radius: 28px;
    padding: clamp(24px, 3.4vw, 34px);
}

.section-note {
    font-size: 1.02rem;
    max-width: 58ch;
    color: rgba(17, 17, 17, 0.68);
}

.brand-panel-featured {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.9), rgba(250, 246, 239, 0.84));
    border-color: rgba(17, 17, 17, 0.11);
}

.brand-panel-featured .brand-header {
    gap: 12px;
}

.brand-panel-featured .link-card:first-child {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(17, 17, 17, 0.12);
}

.link-grid {
    gap: 10px;
    margin-top: 18px;
}

.link-card {
    padding: 13px 14px;
    border-radius: 18px;
    border-color: rgba(17, 17, 17, 0.09);
    background: rgba(255, 255, 255, 0.7);
}

.link-card:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 17, 17, 0.14);
}

.link-card.is-primary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(17, 17, 17, 0.16);
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.05);
}

.link-card.is-primary:hover {
    border-color: rgba(17, 17, 17, 0.2);
    box-shadow: 0 14px 32px rgba(17, 17, 17, 0.08);
}

.link-card-copy strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.board-link-icon,
.link-card-icon {
    width: 18px;
    height: 18px;
}

.board-link-arrow,
.link-card-arrow {
    width: 16px;
    height: 16px;
}

.icon {
    stroke-width: 1.85;
}

.site-footer {
    margin-bottom: 34px;
}

.site-footer-links a {
    min-height: 36px;
    padding: 7px 13px;
    border-color: rgba(17, 17, 17, 0.1);
}

@media (max-width: 900px) {
    :root {
        --shell: min(100vw - 24px, 1320px);
        --header-h: 70px;
    }

    .site-header {
        padding: 8px 0 6px;
    }

    .hero-copy h1 {
        max-width: 9.8ch;
    }
}

@media (max-width: 720px) {
    :root {
        --shell: calc(100vw - 8px);
    }

    .site-header {
        padding: 6px 0 4px;
    }

    .site-header::before {
        inset: 3px 0;
        border-radius: 24px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .layout-main {
        gap: 16px;
        padding-bottom: 78px;
    }

    .hero-copy,
    .hero-board,
    .section-block,
    .site-footer {
        border-radius: 24px;
        padding: 22px 18px;
    }

    .hero-copy h1 {
        max-width: 10.6ch;
        font-size: clamp(2.35rem, 13vw, 3.9rem);
        line-height: 0.95;
    }

    .hero-text {
        margin-top: 16px;
        max-width: 32ch;
        font-size: 1rem;
    }

    .board-links > :nth-child(n + 4) {
        display: none;
    }

    .board-link,
    .link-card {
        min-height: 0;
    }

    .board-link {
        padding: 11px 13px;
    }

    .link-card {
        padding: 11px 13px;
    }

    .section-note {
        font-size: 0.98rem;
    }
}


/* ------------------------------------------------------------
   v36 production finish: text polish + vyrovnani bloku + share polish
------------------------------------------------------------ */
.brand-panel {
    display: flex;
    flex-direction: column;
}

.brand-panel .brand-header {
    min-height: 124px;
}

.brand-panel-featured .brand-header {
    min-height: 0;
}

.brand-link-grid {
    margin-top: auto;
}

@media (max-width: 1100px) {
    .brands-layout {
        grid-auto-rows: auto;
    }

    .brand-panel .brand-header {
        min-height: 0;
    }
}
