:root {
    --bg: #101412;
    --panel: #181f1c;
    --panel-soft: #202823;
    --text: #f4f0e8;
    --muted: #b9c0b6;
    --line: #38433c;
    --accent: #d7b56d;
    --accent-strong: #f1d27e;
    --link: #8fc7b5;
    --max-width: 1120px;
    --page-gutter: 32px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

.site-header,
.site-nav,
.site-main,
.site-footer {
    width: min(100% - var(--page-gutter), var(--max-width));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 14px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.site-logo__mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--accent);
    color: var(--accent-strong);
}

.site-logo__text {
    font-size: 1.08rem;
}

.site-nav {
    display: flex;
    gap: 8px;
    padding: 10px 0 22px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.site-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current] {
    border-color: var(--line);
    background: var(--panel);
    color: var(--text);
}

.site-main {
    padding: 38px 0 58px;
}

.hero {
    position: relative;
    display: grid;
    min-height: 430px;
    align-items: end;
    overflow: hidden;
    padding: 56px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(90deg, rgba(16, 20, 18, 0.94), rgba(16, 20, 18, 0.42));
    pointer-events: none;
}

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

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--compact {
    min-height: 330px;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 16px;
    font-size: 6.5rem;
    line-height: 0.95;
}

h2 {
    margin-bottom: 12px;
    font-size: 2rem;
    line-height: 1.15;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

p {
    color: var(--muted);
}

.hero__lead {
    max-width: 620px;
    font-size: 1.15rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 700;
    text-align: center;
}

.button--primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #17120a;
}

.button--secondary {
    background: rgba(255, 255, 255, 0.04);
}

.section {
    padding: 52px 0 0;
}

.section__header {
    max-width: 680px;
    margin-bottom: 20px;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-grid,
.listing-grid,
.poster-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-card,
.listing-card,
.poster-card {
    min-height: 180px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.feature-card:hover,
.listing-card:hover,
.poster-card:hover {
    border-color: var(--accent);
}

.poster-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.poster-card__poster {
    display: grid;
    aspect-ratio: 16 / 9;
    width: 100%;
    place-items: center;
    margin: -2px -2px 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel-soft);
    color: var(--accent-strong);
    font-weight: 700;
    text-align: center;
}

.media-frame,
.video-frame,
.thumbnail,
.gallery-image {
    display: block;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.media-frame img,
.video-frame img,
.thumbnail img,
.gallery-image img,
img.media-frame,
img.thumbnail,
img.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card__label,
.listing-card__label,
.poster-card__label {
    display: block;
    color: var(--link);
    font-size: 0.82rem;
    font-weight: 700;
}

.link-list {
    display: grid;
    gap: 10px;
}

.link-list a,
.text-link {
    color: var(--link);
    font-weight: 700;
}

.link-list a {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.page-header {
    max-width: 820px;
    padding: 28px 0 20px;
}

.page-header h1 {
    font-size: 4.8rem;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
}

.content-body,
.content-sidebar {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.content-sidebar {
    background: var(--panel-soft);
}

.content-sidebar dl {
    margin: 0;
}

.content-sidebar dt {
    color: var(--accent-strong);
    font-weight: 700;
}

.content-sidebar dd {
    margin: 0 0 16px;
    color: var(--muted);
}

.site-footer {
    padding: 28px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    :root {
        --page-gutter: 24px;
    }

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

    .site-logo__mark {
        width: 34px;
        height: 34px;
    }

    .site-nav {
        width: 100%;
        gap: 6px;
        padding: 8px 12px 14px;
        border-top: 1px solid var(--line);
    }

    .site-main {
        padding: 24px 0 42px;
    }

    .hero {
        min-height: 360px;
        padding: 32px 22px;
    }

    .hero::after {
        background: linear-gradient(0deg, rgba(16, 20, 18, 0.88), rgba(16, 20, 18, 0.38));
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .page-header {
        padding: 18px 0;
    }

    .page-header h1 {
        font-size: 3.25rem;
    }

    .feature-grid,
    .listing-grid,
    .poster-grid,
    .two-column,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .listing-card,
    .content-body,
    .content-sidebar {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    :root {
        --page-gutter: 18px;
    }

    body {
        line-height: 1.55;
    }

    .site-header {
        padding-top: calc(14px + env(safe-area-inset-top));
    }

    .site-logo__text {
        font-size: 1rem;
    }

    .site-nav {
        padding-left: 9px;
        padding-right: 9px;
    }

    .site-nav a {
        min-height: 42px;
        padding: 9px 13px;
        font-size: 0.92rem;
    }

    .hero {
        min-height: calc(100svh - 156px);
        padding: 26px 18px;
    }

    .hero::after {
        background: linear-gradient(0deg, rgba(16, 20, 18, 0.96), rgba(16, 20, 18, 0.48));
    }

    .hero--compact {
        min-height: 300px;
    }

    h1 {
        font-size: 3.15rem;
        line-height: 1;
    }

    h2 {
        font-size: 1.42rem;
    }

    h3 {
        font-size: 1.08rem;
    }

    .hero__lead {
        font-size: 1rem;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section {
        padding-top: 36px;
    }

    .poster-card {
        padding: 18px;
    }

    .feature-card,
    .listing-card,
    .content-body,
    .content-sidebar {
        padding: 18px;
    }

    .page-header h1 {
        font-size: 2.55rem;
        line-height: 1.04;
    }

    .content-sidebar dd {
        overflow-wrap: anywhere;
    }

    .site-footer {
        padding: 22px 0 calc(30px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 2.65rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}
