/* ===================================================
   BROUKCAST — STYLESHEET
   =================================================== */

:root {
    --bg:       #0C0B0A;
    --bg-2:     #131110;
    --bg-3:     #1A1714;
    --bg-4:     #221E1A;
    --blue:     #bfb396;
    --blue-dim: #9a8f77;
    --red:      #8E2A1F;
    --cream:    #EDE9E0;
    --cream-60: rgba(237, 233, 224, 0.6);
    --cream-40: rgba(237, 233, 224, 0.4);
    --muted:    #8A8480;
    --gold:     #B8944A;
    --serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --max:      1340px;
}

/* ===================================================
   RESET & BASE
   =================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--cream);
    font-family: var(--sans);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.8;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    padding: 0;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 2px; }

/* ===================================================
   NAVIGATION
   =================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 1.75rem 2.5rem;
    transition: background 0.45s var(--ease), padding 0.45s var(--ease);
}

.nav.scrolled {
    background: rgba(12, 11, 10, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1.1rem 2.5rem;
    border-bottom: 1px solid rgba(237, 233, 224, 0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 91;
    opacity: 1;
    transition: opacity 0.3s;
}

.logo:hover { opacity: 0.75; }

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: invert(1) sepia(0.28) saturate(0.75) brightness(0.9);
    mix-blend-mode: screen;
}

.logo-img--footer {
    height: 58px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    list-style: none;
}

.nav-link {
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-60);
    transition: color 0.25s;
}

.nav-link:hover { color: var(--cream); }

.nav-cta {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 1.5rem;
    border: 1px solid rgba(123, 163, 181, 0.35);
    border-radius: 3rem;
    color: var(--blue);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.nav-cta:hover {
    background: var(--blue);
    color: var(--bg);
    border-color: var(--blue);
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 91;
}

.nav-burger span {
    display: block;
    height: 1.5px;
    background: var(--cream);
    border-radius: 1px;
    transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */

.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(12,11,10,0.55) 0%,
            rgba(12,11,10,0.20) 35%,
            rgba(12,11,10,0.25) 60%,
            rgba(12,11,10,0.90) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    text-align: center;
    animation: fadeUp 1.4s var(--ease-out) 0.3s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--cream-60);
}

.eyebrow-line {
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--cream-40);
}

.hero-title-img {
    width: clamp(300px, 68vw, 940px);
    height: auto;
    display: block;
    /* SVG má transparentní bg — jen invertujeme a přidáme teplý tón */
    filter: invert(1) sepia(0.28) saturate(0.75) brightness(0.9);
}

.hero-sub {
    font-size: clamp(0.85rem, 2vw, 1.05rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--cream-60);
}

.hero-scroll {
    margin-top: 0.5rem;
    color: var(--cream-40);
    transition: color 0.3s;
}

.hero-scroll:hover { color: var(--blue); }

.scroll-dot {
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%       { transform: translateY(9px); opacity: 0.35; }
}

/* ===================================================
   SHARED SECTION STYLES
   =================================================== */

.section {
    padding: clamp(4.5rem, 11vw, 9rem) clamp(1.5rem, 5vw, 4rem);
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.1rem;
}

.label::before {
    content: '';
    display: block;
    width: 1.5rem;
    height: 1px;
    background: var(--blue);
    flex-shrink: 0;
}

.heading {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--cream);
    margin-bottom: 2rem;
}

/* ===================================================
   REVEAL ANIMATION
   =================================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.concept-grid .reveal:nth-child(2),
.host-grid .reveal:nth-child(2) {
    transition-delay: 0.18s;
}

/* ===================================================
   PHOTO FRAME
   =================================================== */

.photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: var(--bg-3);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
    display: block;
}

.photo-frame:hover img {
    transform: scale(1.04);
}

.plate-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(12, 11, 10, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(123, 163, 181, 0.2);
    color: var(--cream);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    font-weight: 400;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
}

/* ===================================================
   CONCEPT SECTION
   =================================================== */

.concept {
    background: var(--bg-2);
}

.concept-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.concept-photo .photo-frame {
    aspect-ratio: 4 / 5;
}

.concept-copy p {
    color: var(--cream-60);
    margin-bottom: 1.35rem;
    max-width: 540px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.5rem;
}

.tags span {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    padding: 0.38rem 1rem;
    border: 1px solid rgba(123, 163, 181, 0.22);
    border-radius: 3rem;
    color: var(--cream-60);
    transition: border-color 0.25s, color 0.25s;
}

.tags span:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* ===================================================
   VIDEO INTERLUDE
   =================================================== */

.interlude {
    position: relative;
    height: clamp(300px, 58vh, 640px);
    overflow: hidden;
}

.interlude-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.interlude-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 11, 10, 0.58);
}

.interlude-quote-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.interlude-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3.8vw, 3rem);
    font-weight: 400;
    line-height: 1.45;
    color: var(--cream);
    text-align: center;
    max-width: 780px;
    quotes: none;
}

/* ===================================================
   HOST SECTION
   =================================================== */

.host {
    background: var(--bg);
}

.host-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.host-frame {
    aspect-ratio: 3 / 4;
}

.host-copy p {
    color: var(--cream-60);
    margin-bottom: 1.35rem;
    max-width: 520px;
}

.host-intro {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.12rem !important;
    color: rgba(237, 233, 224, 0.82) !important;
    line-height: 1.65;
    margin-bottom: 1.75rem !important;
}

/* On desktop: photo right, copy left */
@media (min-width: 769px) {
    .host-photo { order: 2; }
    .host-copy  { order: 1; }
}

/* ===================================================
   GALLERY
   =================================================== */

.gallery-section {
    padding: clamp(4.5rem, 11vw, 9rem) 0;
    background: var(--bg-2);
}

.gallery-header {
    text-align: center;
    padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4rem);
}

.gallery-masonry {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 0 5px;
}

.gallery-item {
    flex: 0 0 calc(25% - 3.75px);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--bg-3);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(12, 11, 10, 0);
    transition: background 0.35s;
}

.gallery-item:hover::after {
    background: rgba(12, 11, 10, 0.22);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===================================================
   LISTEN / PLATFORMS
   =================================================== */

.listen {
    background: var(--bg-3);
    text-align: center;
}

.listen-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.listen-contact {
    color: var(--cream-60);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.listen-contact a {
    color: var(--cream-60);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.listen-contact a:hover {
    color: var(--cream);
}

.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.8rem;
    border: 1px solid rgba(237, 233, 224, 0.12);
    border-radius: 3rem;
    font-size: 0.84rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--cream-60);
    background: var(--bg-2);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.platform-btn:hover {
    border-color: rgba(123, 163, 181, 0.5);
    color: var(--cream);
    background: rgba(123, 163, 181, 0.06);
}

.platform-icon {
    display: flex;
    align-items: center;
    color: var(--blue);
    flex-shrink: 0;
}

/* ===================================================
   FOOTER
   =================================================== */

.footer {
    background: var(--bg);
    border-top: 1px solid rgba(237, 233, 224, 0.05);
    padding: 4rem 2.5rem 2.5rem;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand .logo-img--footer {
    margin-bottom: 0.75rem;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--muted);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: center;
}

.footer-nav a {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--cream-40);
    transition: color 0.25s;
}

.footer-nav a:hover { color: var(--cream); }

.footer-copy {
    font-size: 0.72rem;
    color: rgba(237, 233, 224, 0.22);
    letter-spacing: 0.03em;
    border-top: 1px solid rgba(237, 233, 224, 0.05);
    padding-top: 2rem;
    width: 100%;
    text-align: center;
}

/* ===================================================
   LIGHTBOX
   =================================================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(12, 11, 10, 0.97);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    animation: lbFadeIn 0.25s var(--ease-out);
}

@keyframes lbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lb-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 90vh;
    padding: 0 5rem;
}

.lb-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.lb-img.loaded {
    opacity: 1;
}

.lb-close,
.lb-nav {
    position: fixed;
    color: var(--cream-60);
    transition: color 0.25s;
    z-index: 210;
    padding: 1rem;
    line-height: 1;
}

.lb-close:hover,
.lb-nav:hover {
    color: var(--cream);
}

.lb-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lb-prev {
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.lb-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--cream-40);
}

/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 1100px) {
    .gallery-masonry .gallery-item { flex: 0 0 calc(33.333% - 3.333px); }
}

@media (max-width: 768px) {
    /* Mobile menu overlay */
    .nav-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(12, 11, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 90;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .nav-cta {
        font-size: 1rem;
        letter-spacing: 0.15em;
        padding: 0.65rem 2rem;
    }

    .nav-burger {
        display: flex;
    }

    /* Single column layouts */
    .concept-grid,
    .host-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .concept-photo .photo-frame {
        aspect-ratio: 16 / 10;
    }

    .host-frame {
        aspect-ratio: 4 / 3;
    }

    .host-frame img {
        object-position: top center;
    }

    /* Reset host order on mobile */
    .host-photo { order: unset; }
    .host-copy  { order: unset; }

    .gallery-masonry {
        gap: 4px;
        padding: 0 4px;
    }

    .gallery-masonry .gallery-item {
        flex: 0 0 calc(50% - 2px);
    }

    .lb-stage {
        padding: 0 3rem;
    }
}

@media (max-width: 440px) {
    .hero-title {
        font-size: clamp(3.5rem, 18vw, 5rem);
    }

    .platforms {
        flex-direction: column;
        align-items: stretch;
    }

    .platform-btn {
        justify-content: center;
    }

    .gallery-masonry {
        gap: 3px;
        padding: 0 3px;
    }

    .gallery-masonry .gallery-item {
        flex: 0 0 calc(50% - 1.5px);
    }
}
