:root {
    --ink: #16191e;
    --paper: #f8f9fa;
    --sage: #fe5900;
    --lime: #fe5900;
    --line: #e2e8f0;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.55 Arial, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
main {
    max-width: 1180px;
    margin: auto;
    padding: 60px 28px;
}
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 5%;
    border-bottom: 1px solid var(--line);
}
.brand {
    font-weight: 900;
    letter-spacing: .08em;
}
.brand small {
    display: block;
    font-size: 10px;
    letter-spacing: .2em;
}
nav {
    display: flex;
    gap: 26px;
    align-items: center;
}
.nav-toggle {
    display: none;
}
.btn {
    display: inline-block;
    border: 1px solid var(--ink);
    padding: 12px 18px;
    background: var(--ink);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.btn:hover {
    background: var(--lime);
    border-color: var(--lime);
}
.btn.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
    margin-left: 8px;
}
.btn.ghost:hover {
    border-color: var(--lime);
    color: var(--lime);
}
.hero {
    padding: 100px 0 120px;
    max-width: 760px;
}
.hero h1, .page-head h1 {
    font-size: clamp(48px, 8vw, 104px);
    line-height: .95;
    margin: 12px 0 24px;
    letter-spacing: -.06em;
}
.hero p {
    font-size: 20px;
    max-width: 620px;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: bold;
    color: var(--lime);
}
.section-head, .admin-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
}
section {
    margin-bottom: 90px;
}
h2 {
    font-size: 36px;
    line-height: 1.05;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card, .admin-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: 8px;
}
.card h3 {
    font-size: 24px;
}
.poster {
    height: 260px;
    background: linear-gradient(135deg, #16191e, #fe5900);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: .15em;
    margin-bottom: 18px;
    border-radius: 6px;
}
.poster.large {
    height: 500px;
}
.page-head {
    max-width: 800px;
}
.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}
input, textarea, select {
    display: block;
    width: 100%;
    padding: 13px;
    border: 1px solid var(--line);
    background: white;
    font: inherit;
    border-radius: 6px;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--lime);
    border-color: var(--lime);
}
label {
    display: block;
    margin: 16px 0;
    font-weight: bold;
}
label input, label textarea, label select {
    margin-top: 6px;
    font-weight: normal;
}
.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.detail dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    border-top: 1px solid var(--line);
}
.detail dt, .detail dd {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
}
.form-wrap {
    max-width: 650px;
}
.notice {
    background: #fff4ec;
    border: 1px solid #fe590040;
    color: var(--ink);
    padding: 15px;
    margin-bottom: 24px;
    border-radius: 6px;
}
footer {
    display: flex;
    justify-content: space-between;
    padding: 30px 5%;
    border-top: 1px solid var(--line);
}
.admin-body {
    display: grid;
    grid-template-columns: 240px 1fr;
}
.admin-body aside {
    min-height: 100vh;
    background: #16191e;
    color: white;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.admin-body aside .brand {
    margin-bottom: 30px;
}
.admin-main {
    max-width: none;
}
.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 30px 0;
}
.stat {
    background: white;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
}
.stat strong {
    display: block;
    font-size: 38px;
    color: var(--ink);
}
.admin-card {
    margin: 24px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
}
button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}
.actions {
    display: flex;
    gap: 14px;
    align-items: center;
}
.inline {
    display: inline;
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cms-form {
    max-width: 800px;
}
@media(max-width:760px) {
    nav {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .grid, .detail, .two-col, .stats {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 60px 0;
    }
    .hero h1, .page-head h1 {
        font-size: 56px;
    }
    .filters {
        display: block;
    }
    .filters > * {
        margin-bottom: 10px;
    }
    .admin-body {
        display: block;
    }
    .admin-body aside {
        min-height: auto;
    }
    .admin-body aside a:not(.brand) {
        display: inline-block;
        margin-right: 12px;
    }
    .admin-main {
        padding: 30px 20px;
    }
    footer {
        display: block;
    }
    .poster.large {
        height: 300px;
    }
}
.login-body {
    min-height: 100vh;
    background: #16191e;
    color: #fff;
}
.login-shell {
    max-width: 1180px;
    min-height: 100vh;
    margin: auto;
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 10vw;
    align-items: center;
}
.login-intro {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}
.login-intro .brand {
    color: #fff;
}
.login-intro h1 {
    max-width: 620px;
    margin: 18px 0;
    font-size: clamp(52px, 7vw, 92px);
    line-height: .94;
    letter-spacing: -.07em;
}
.login-intro p:not(.eyebrow):not(.login-note) {
    max-width: 440px;
    color: #d1d5db;
    font-size: 18px;
}
.login-note {
    color: #fe5900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.login-panel {
    background: #ffffff;
    color: #16191e;
    padding: 42px;
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.login-panel h2 {
    margin: 8px 0 4px;
    font-size: 40px;
    letter-spacing: -.04em;
}
.muted {
    color: #64748b;
    margin: 0 0 28px;
}
.login-panel .notice {
    margin: 0 0 20px;
}
.login-panel label {
    margin: 18px 0;
}
.login-panel input:not([type=checkbox]) {
    border-color: #cbd5e1;
    background: #fff;
}
.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    font-size: 14px;
}
.check-label input {
    width: 17px;
    height: 17px;
    accent-color: #fe5900;
}
.login-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    padding: 15px 18px;
    background: #fe5900;
    border-color: #fe5900;
    color: #ffffff;
    font-weight: bold;
}
.login-button:hover {
    background: #16191e;
    border-color: #16191e;
}
.login-button span {
    font-size: 20px;
}
@media(max-width:800px) {
    .login-shell {
        display: block;
        padding: 22px;
    }
    .login-intro {
        min-height: auto;
        gap: 70px;
        padding: 10px 0 54px;
    }
    .login-intro h1 {
        font-size: 58px;
    }
    .login-panel {
        padding: 28px;
    }
}
