:root {
    --bg: #141414;
    --bg-soft: #1d1d1d;
    --surface: #181818;
    --surface-2: #232323;
    --text: #ffffff;
    --muted: #b8b8b8;
    --accent: #e50914;
    --accent-soft: rgba(229, 9, 20, 0.18);
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --radius: 18px;
    --container: 1440px;
    --header-h: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

button {
    font: inherit;
}

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.34) 72%, rgba(8, 8, 8, 0) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background:
        linear-gradient(180deg, rgba(8, 8, 8, 0.96) 0%, rgba(14, 14, 14, 0.94) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30);
}

.navbar {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    color: var(--accent);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.04em;
    flex: 0 0 auto;
}

.nav-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #f2f2f2;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    transform: scaleX(1);
}

.nav-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    color: var(--muted);
}

.nav-meta__label {
    color: #f2f2f2;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.nav-icon-button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav-icon-button:hover,
.nav-icon-button:focus-visible {
    opacity: 0.9;
    transform: scale(1.05);
}

.nav-icon-button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e50914;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 0 0 2px rgba(20, 20, 20, 0.92);
}

.profile-chip {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 160ms ease, opacity 160ms ease;
    box-shadow: none;
}

.profile-chip:hover,
.profile-chip:focus-visible {
    transform: scale(1.04);
    opacity: 0.92;
}

.profile-chip__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    flex: 0 0 auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: white;
}

.hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
    justify-items: start;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 40px;
    background-size: cover;
    background-position: 62% center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 6, 6, 0.96) 0%, rgba(8, 8, 8, 0.78) 30%, rgba(10, 10, 10, 0.34) 55%, rgba(12, 12, 12, 0.18) 100%),
        linear-gradient(180deg, rgba(20, 20, 20, 0.10) 0%, rgba(20, 20, 20, 0.02) 56%, var(--bg) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__inner.container {
    width: min(720px, calc(100vw - 96px));
    max-width: none;
    margin-left: clamp(40px, 5vw, 88px);
    margin-right: 0;
    padding-left: 0;
}

.hero__eyebrow {
    font-size: 0.95rem;
    color: #f1f1f1;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    margin-bottom: 22px;
}

.hero__title {
    margin: 0 0 12px;
    font-family: "Permanent Marker", cursive;
    font-size: clamp(3.2rem, 7vw, 6.6rem);
    line-height: 0.92;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
    margin: 0 0 28px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 800;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

.hero__intro {
    max-width: 680px;
    margin: 0 0 38px;
    font-size: clamp(1.08rem, 1.55vw, 1.5rem);
    line-height: 1.75;
    color: #f2f2f2;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 4px;
    padding: 14px 26px;
    min-height: 56px;
    border: 0;
    font-weight: 700;
    font-size: 1.06rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.button__icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.button__icon--play {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid currentColor;
    margin-left: 2px;
}

.button__icon--info {
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.button__icon--info::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    transform: translateX(-50%);
}

.button__icon--info::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 11px;
    width: 3px;
    height: 7px;
    border-radius: 2px;
    background: currentColor;
    transform: translateX(-50%);
}

.button--light {
    background: #fff;
    color: #111;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.button--ghost {
    background: rgba(109, 109, 110, 0.72);
    color: #fff;
    backdrop-filter: blur(8px);
}

.content-section {
    padding: 18px 0 4px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px;
}

.section-title {
    margin: 0;
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-note {
    color: #a8a8a8;
    font-size: 0.88rem;
}

.row-shell {
    position: relative;
}

.row-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 260px);
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.row-track::-webkit-scrollbar {
    display: none;
}

.row-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 8, 8, 0.62);
    color: white;
    cursor: pointer;
    font-size: 1.35rem;
    backdrop-filter: blur(8px);
    transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
    opacity: 0.72;
}

.row-arrow:hover,
.row-arrow:focus-visible {
    transform: translateY(-50%) scale(1.06);
    background: rgba(18, 18, 18, 0.9);
    opacity: 1;
}

.row-arrow[data-direction="left"] {
    left: -14px;
}

.row-arrow[data-direction="right"] {
    right: -14px;
}

.card {
    position: relative;
    background: #181818;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
    scroll-snap-align: start;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.card:hover,
.card:focus-within {
    transform: translateY(-6px) scale(1.025);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
    z-index: 5;
}

.card__media {
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
    position: relative;
}

.card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.32) 100%);
    pointer-events: none;
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease, filter 220ms ease;
}

.card:hover .card__media img,
.card:focus-within .card__media img {
    transform: scale(1.06);
    filter: saturate(1.04) contrast(1.04);
}

.card__content {
    padding: 12px 12px 14px;
}

.card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.card__meta {
    font-size: 0.88rem;
    color: #c8c8c8;
    margin-bottom: 6px;
    line-height: 1.35;
}

.card__summary {
    color: #b8b8b8;
    line-height: 1.45;
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.chip {
    background: rgba(229, 9, 20, 0.14);
    color: #fff;
    border: 1px solid rgba(229, 9, 20, 0.26);
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.72rem;
    font-weight: 700;
}

.card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.card__actions>* {
    flex: 1 1 auto;
}

.link-button,
.info-button {
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 150ms ease, opacity 150ms ease, background 150ms ease;
}

.link-button:hover,
.info-button:hover,
.link-button:focus-visible,
.info-button:focus-visible {
    transform: translateY(-1px);
    opacity: 0.96;
}

.link-button {
    background: #fff;
    color: #111;
}

.info-button {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.contact-panel {
    display: grid;
    gap: 18px;
    background:
        radial-gradient(circle at top left, rgba(229, 9, 20, 0.18) 0%, rgba(229, 9, 20, 0.08) 24%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(180deg, rgba(56, 10, 14, 0.95) 0%, rgba(20, 20, 20, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.contact-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    line-height: 1.05;
}

.contact-panel p {
    margin: 0;
    color: #d0d0d0;
    line-height: 1.75;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-links a {
    display: inline-flex;
    background: rgba(42, 42, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 800;
    transition: transform 150ms ease, background 150ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    transform: translateY(-1px);
    background: rgba(58, 58, 58, 0.95);
}

.modal {
    padding: 0;
    border: 0;
    background: transparent;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
}

.modal[open] {
    display: grid;
    place-items: center;
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.72);
}

.modal__backdrop {
    position: fixed;
    inset: 0;
}

.modal__content {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 32px));
    background:
        linear-gradient(180deg, rgba(28, 28, 28, 0.98) 0%, rgba(18, 18, 18, 1) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #2a2a2a;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body__eyebrow {
    margin: 0 0 8px;
    color: #ffb0b4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}

.modal-body__title {
    margin: 0 0 12px;
    font-size: 1.8rem;
}

.modal-body__summary {
    margin: 0 0 18px;
    color: #ececec;
    line-height: 1.7;
}

.modal-body__list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-panel {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 18px 24px 24px;
        background: rgba(20, 20, 20, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-meta {
        width: 100%;
        justify-content: flex-end;
        gap: 14px;
    }

    .nav-meta__label {
        display: none;
    }

    .nav-icon-button {
        width: 26px;
        height: 26px;
    }

    .nav-icon-button svg {
        width: 22px;
        height: 22px;
    }

    .profile-chip {
        width: 32px;
        height: 32px;
    }

    .hero {
        min-height: 78vh;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .hero {
        padding-bottom: 42px;
        background-position: 72% center;
    }

    .hero__inner.container {
        width: min(100%, calc(100vw - 40px));
        margin-left: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .row-track {
        grid-auto-columns: minmax(220px, 82vw);
    }

    .row-arrow {
        display: none;
    }

    .modal__content {
        padding: 22px 18px;
        border-radius: 18px;
    }
}