:root {
    color-scheme: dark;
    --bg: #08090b;
    --bg-soft: #101216;
    --panel: #151820;
    --panel-strong: #1c202a;
    --text: #f5f2ea;
    --muted: #a4a8b3;
    --line: rgba(255, 255, 255, 0.12);
    --gold: #d8b86a;
    --violet: #8b7cff;
    --green: #78ffb7;
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, rgba(8, 9, 11, 0.86), var(--bg) 520px),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    letter-spacing: 0;
}

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

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

button {
    font: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 76px;
    padding: 0 40px;
    background: rgba(8, 9, 11, 0.58);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.brand,
.site-nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
}

.brand__mark {
    width: 11px;
    height: 11px;
    background: var(--gold);
    box-shadow: 0 0 22px rgba(216, 184, 106, 0.8);
}

.site-nav {
    gap: 26px;
    color: rgba(245, 242, 234, 0.72);
    font-size: 14px;
}

.site-nav a {
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 78svh;
    padding: 150px 40px 64px;
    overflow: hidden;
}

.hero__video,
.hero__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__video {
    object-fit: cover;
    opacity: 0.62;
}

.hero__scrim {
    background:
        linear-gradient(90deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.44) 48%, rgba(8, 9, 11, 0.86)),
        linear-gradient(180deg, rgba(8, 9, 11, 0.22), rgba(8, 9, 11, 0.94));
}

.hero__content,
.hero__meta {
    position: relative;
    z-index: 1;
}

.hero__content {
    width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
    margin: 0 0 16px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.hero h1,
.detail-summary h1 {
    margin: 0;
    font-size: 72px;
    line-height: 0.95;
    letter-spacing: 0;
}

.hero__lead {
    width: min(620px, 100%);
    margin: 28px 0 0;
    color: rgba(245, 242, 234, 0.82);
    font-size: 22px;
    line-height: 1.55;
}

.hero__actions,
.contact__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__actions {
    margin-top: 34px;
}

.button,
.filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button {
    padding: 0 20px;
    font-size: 14px;
    font-weight: 800;
}

.button:hover,
.button:focus-visible,
.filter-button:hover,
.filter-button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(216, 184, 106, 0.7);
}

.button--primary {
    background: var(--text);
    color: #0b0c10;
    border-color: var(--text);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.button--danger {
    min-height: 38px;
    padding: 0 14px;
    background: rgba(255, 110, 110, 0.1);
    color: #ffb5b5;
    border-color: rgba(255, 110, 110, 0.28);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 72px;
    color: rgba(245, 242, 234, 0.56);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__meta span {
    border-left: 2px solid var(--gold);
    padding-left: 12px;
}

.section-pad {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 84px 0;
}

.positioning {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    border-bottom: 1px solid var(--line);
}

.positioning p {
    margin: 0;
    color: rgba(245, 242, 234, 0.88);
    font-size: 32px;
    line-height: 1.35;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.section-heading h2,
.contact h2,
.detail-block h2,
.related h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.12;
}

.section-heading p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.filter-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.filter-strip::-webkit-scrollbar {
    display: none;
}

.filter-button {
    flex: 0 0 auto;
    min-width: 74px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(245, 242, 234, 0.74);
}

.filter-button.is-active {
    background: var(--gold);
    color: #111216;
    border-color: var(--gold);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.work-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.work-card[hidden] {
    display: none;
}

.work-card:hover,
.work-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(216, 184, 106, 0.58);
    box-shadow: var(--shadow);
}

.work-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    isolation: isolate;
    overflow: hidden;
    background: #06070a;
    transition: aspect-ratio 320ms ease, background 220ms ease;
}

.work-card__backdrop {
    position: absolute;
    inset: -24px;
    z-index: 0;
    width: calc(100% + 48px);
    height: calc(100% + 48px);
    object-fit: cover;
    opacity: 0;
    filter: blur(22px) saturate(1.08);
    transform: scale(1.08);
    transition: opacity 280ms ease, transform 420ms ease;
}

.work-card__media video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #06070a;
    transition: transform 360ms ease, opacity 240ms ease;
}

.work-card.is-previewing .work-card__media {
    aspect-ratio: var(--preview-aspect);
    background: #020305;
}

.work-card.is-previewing .work-card__backdrop {
    opacity: 0.58;
    transform: scale(1);
}

.work-card.is-previewing .work-card__media video {
    object-fit: contain;
    transform: scale(0.965);
}

.work-card__tag,
.work-card__duration {
    position: absolute;
    z-index: 3;
    top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(8, 9, 11, 0.66);
    backdrop-filter: blur(12px);
    color: rgba(245, 242, 234, 0.86);
    font-size: 12px;
    font-weight: 800;
}

.work-card__tag {
    left: 14px;
    padding: 7px 10px;
}

.work-card__duration {
    right: 14px;
    padding: 7px 9px;
}

.work-card__body {
    padding: 18px;
}

.work-card__body h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.work-card__body p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.work-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    color: rgba(245, 242, 234, 0.56);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.work-card__meta span:last-child {
    color: var(--green);
}

.contact {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 44px;
    align-items: center;
    border-top: 1px solid var(--line);
}

.contact__links {
    justify-content: flex-end;
}

.contact__links a,
.contact__links span {
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: rgba(245, 242, 234, 0.8);
    font-size: 14px;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 28px 40px 40px;
    font-size: 13px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: rgba(245, 242, 234, 0.72);
    background: rgba(255, 255, 255, 0.035);
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.back-to-top::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
    transform: rotate(45deg) translateY(2px);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: var(--text);
    border-color: rgba(216, 184, 106, 0.62);
    background: rgba(216, 184, 106, 0.08);
    transform: translateY(-2px);
}

.detail-main {
    padding-top: 76px;
}

.admin-main {
    padding-top: 130px;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 34px;
    align-items: end;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.admin-hero h1 {
    margin: 0;
    font-size: 46px;
    line-height: 1.05;
}

.admin-hero p:last-child {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(245, 242, 234, 0.76);
    line-height: 1.7;
}

.admin-token {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    color: rgba(245, 242, 234, 0.68);
    font-size: 13px;
    font-weight: 800;
}

.admin-token input,
.admin-field input,
.admin-field textarea,
.admin-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
    color: var(--text);
    font: inherit;
}

.admin-token input,
.admin-field input,
.admin-field select {
    min-height: 44px;
    padding: 0 14px;
}

.admin-token .button {
    width: auto;
    white-space: nowrap;
}

.admin-field textarea {
    min-height: 112px;
    padding: 13px 14px;
    line-height: 1.55;
    resize: vertical;
}

.admin-field select {
    appearance: none;
    background:
        linear-gradient(45deg, transparent 50%, rgba(245, 242, 234, 0.68) 50%) calc(100% - 18px) 19px / 6px 6px no-repeat,
        linear-gradient(135deg, rgba(245, 242, 234, 0.68) 50%, transparent 50%) calc(100% - 12px) 19px / 6px 6px no-repeat,
        rgba(255, 255, 255, 0.045);
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus,
.admin-token input:focus {
    outline: none;
    border-color: rgba(216, 184, 106, 0.68);
    box-shadow: 0 0 0 3px rgba(216, 184, 106, 0.1);
}

.admin-field input[type="file"] {
    min-height: 0;
    padding: 11px;
}

.admin-field input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(216, 184, 106, 0.16);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.admin-actions .button:not(.button--primary) {
    background: rgba(255, 255, 255, 0.06);
}

.admin-actions .button--primary {
    background: var(--text);
    color: #0b0c10;
    border-color: var(--text);
}

.admin-status {
    min-height: 24px;
    color: var(--green);
    font-size: 14px;
}

.admin-status.is-error {
    color: #ff8d8d;
}

.admin-panels {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.admin-panel {
    padding: 24px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.admin-panel.is-collapsed {
    padding-top: 18px;
    padding-bottom: 18px;
}

.admin-panel__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.admin-panel.is-collapsed .admin-panel__heading {
    align-items: center;
    margin-bottom: 0;
}

.admin-panel__aside {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.admin-panel__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.admin-panel__heading h2,
.admin-work-card__title h3 {
    margin: 0;
}

.admin-panel__heading h2 {
    font-size: 24px;
}

.admin-panel__hint {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.admin-panel__body[hidden] {
    display: none;
}

.admin-panel__toggle {
    min-width: 88px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-list {
    display: grid;
    gap: 14px;
}

.admin-field {
    display: grid;
    gap: 10px;
    color: rgba(245, 242, 234, 0.7);
    font-size: 13px;
    font-weight: 800;
}

.admin-field small {
    color: rgba(245, 242, 234, 0.5);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.admin-field--wide {
    grid-column: 1 / -1;
}

.admin-row {
    display: grid;
    grid-template-columns: minmax(160px, 0.9fr) minmax(180px, 1fr) minmax(96px, 0.45fr) auto;
    align-items: end;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.admin-row--category {
    grid-template-columns: minmax(160px, 0.9fr) minmax(180px, 1fr) minmax(96px, 0.45fr) auto auto;
}

.admin-row__actions {
    display: flex;
    justify-content: flex-end;
    align-self: end;
}

.admin-add-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    border: 1px dashed rgba(216, 184, 106, 0.34);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.admin-add-tile:hover,
.admin-add-tile:focus-visible {
    border-color: rgba(216, 184, 106, 0.72);
    background: rgba(216, 184, 106, 0.08);
    transform: translateY(-1px);
}

.admin-add-tile__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(216, 184, 106, 0.14);
    color: var(--gold);
    font-size: 24px;
    line-height: 1;
}

.admin-add-tile__content {
    display: grid;
    gap: 4px;
}

.admin-add-tile__content strong {
    font-size: 14px;
    font-weight: 800;
}

.admin-add-tile__content small {
    color: rgba(245, 242, 234, 0.5);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.admin-work-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(28, 32, 42, 0.86), rgba(16, 18, 22, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.admin-work-card__title,
.admin-upload-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-work-card__title h3 {
    font-size: 20px;
}

.admin-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.admin-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 242, 234, 0.72);
    font-size: 13px;
    font-weight: 800;
}

.admin-switch input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.admin-switch--field {
    min-height: 44px;
    align-self: end;
}

.admin-upload-box {
    flex-wrap: wrap;
    padding: 16px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px dashed rgba(216, 184, 106, 0.28);
    border-radius: var(--radius);
}

.admin-upload-box .admin-field {
    flex: 1 1 170px;
}

.admin-upload-box .admin-field--file {
    flex-basis: 260px;
}

.admin-upload-box .button {
    flex: 0 0 auto;
}

.admin-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 60;
    max-width: min(360px, calc(100vw - 48px));
    padding: 13px 16px;
    background: rgba(16, 18, 22, 0.94);
    border: 1px solid rgba(120, 255, 183, 0.32);
    border-radius: 999px;
    box-shadow: var(--shadow);
    color: var(--text);
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.admin-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.admin-toast.is-error {
    border-color: rgba(255, 141, 141, 0.42);
    color: #ffd0d0;
}

.frame-picker[hidden] {
    display: none;
}

.frame-picker {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 4, 6, 0.82);
    backdrop-filter: blur(18px);
}

.frame-picker__panel {
    display: grid;
    gap: 18px;
    width: min(860px, 100%);
    max-height: calc(100svh - 48px);
    padding: 22px;
    overflow: auto;
    background: linear-gradient(180deg, var(--panel-strong), var(--bg-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.frame-picker__heading,
.frame-picker__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.frame-picker__heading h2 {
    margin: 0;
    font-size: 26px;
}

.frame-picker video {
    width: 100%;
    max-height: 56svh;
    background: #020305;
    border-radius: var(--radius);
    object-fit: contain;
}

.frame-picker__controls input {
    flex: 1;
    accent-color: var(--gold);
}

.frame-picker__controls span {
    min-width: 56px;
    color: rgba(245, 242, 234, 0.76);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
}

.detail-hero {
    padding-top: 58px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: rgba(245, 242, 234, 0.68);
    font-size: 14px;
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--text);
}

.detail-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 34px;
    align-items: stretch;
}

.detail-player {
    overflow: hidden;
    background: #030406;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-player video {
    width: 100%;
    height: 100%;
    max-height: 72svh;
    object-fit: contain;
    background: #030406;
}

.detail-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 420px;
    padding: 34px;
    background: linear-gradient(180deg, var(--panel), var(--bg-soft));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.detail-summary h1 {
    font-size: 46px;
}

.detail-summary p {
    margin: 22px 0 0;
    color: rgba(245, 242, 234, 0.78);
    line-height: 1.75;
}

.project-facts {
    display: grid;
    gap: 14px;
    margin: 34px 0 0;
}

.project-facts div {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.project-facts dt,
.project-facts dd {
    margin: 0;
}

.project-facts dt {
    color: rgba(245, 242, 234, 0.46);
    font-size: 13px;
}

.project-facts dd {
    color: rgba(245, 242, 234, 0.86);
}

.detail-content {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    gap: 24px;
    padding-top: 20px;
}

.detail-block {
    padding: 28px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.detail-block p,
.detail-block li {
    color: rgba(245, 242, 234, 0.76);
    line-height: 1.75;
}

.detail-block p {
    margin: 18px 0 0;
}

.detail-block ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding-left: 18px;
}

.related {
    padding-top: 18px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

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

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

    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
}

@media (max-width: 980px) {
    .site-header {
        padding: 0 24px;
    }

    .hero {
        min-height: 76svh;
        padding: 132px 24px 54px;
    }

    .hero h1 {
        font-size: 54px;
    }

    .section-pad {
        width: min(100% - 48px, 760px);
        padding: 68px 0;
    }

    .positioning,
    .contact,
    .admin-hero,
    .admin-form-grid,
    .admin-row,
    .detail-hero__layout,
    .detail-content {
        grid-template-columns: 1fr;
    }

    .positioning {
        gap: 18px;
    }

    .positioning p {
        font-size: 26px;
    }

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

    .contact__links {
        justify-content: flex-start;
    }

    .detail-summary {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .site-header {
        height: 64px;
        padding: 0 16px;
    }

    .brand {
        font-size: 13px;
    }

    .site-nav {
        gap: 16px;
        font-size: 13px;
    }

    .hero {
        min-height: 74svh;
        padding: 112px 18px 42px;
    }

    .hero__scrim {
        background:
            linear-gradient(180deg, rgba(8, 9, 11, 0.18), rgba(8, 9, 11, 0.92)),
            linear-gradient(90deg, rgba(8, 9, 11, 0.88), rgba(8, 9, 11, 0.36));
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1;
    }

    .hero__lead {
        font-size: 18px;
    }

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

    .button {
        width: 100%;
    }

    .hero__meta {
        margin-top: 46px;
    }

    .section-pad {
        width: calc(100% - 32px);
        padding: 54px 0;
    }

    .positioning p {
        font-size: 22px;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2,
    .contact h2,
    .detail-block h2,
    .related h2 {
        font-size: 28px;
    }

    .section-heading p {
        margin-top: 14px;
    }

    .works-grid,
    .related-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .work-card__media {
        aspect-ratio: 4 / 3;
    }

    .contact__links {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer {
        display: grid;
        padding: 24px 18px 34px;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-token {
        grid-template-columns: 1fr;
    }

    .admin-token .button {
        width: 100%;
    }

    .admin-panel__heading,
    .admin-work-card__title {
        display: grid;
        align-items: start;
    }

    .admin-panel__aside {
        width: 100%;
        display: grid;
        justify-items: start;
    }

    .admin-panel__hint {
        text-align: left;
    }

    .admin-panel__actions {
        justify-content: flex-start;
    }

    .admin-card-actions {
        display: grid;
        justify-items: start;
    }

    .admin-upload-box .button {
        flex-basis: 100%;
    }

    .frame-picker {
        padding: 14px;
    }

    .frame-picker__panel {
        max-height: calc(100svh - 28px);
        padding: 16px;
    }

    .frame-picker__heading {
        display: grid;
        align-items: start;
    }

    .detail-main {
        padding-top: 64px;
    }

    .detail-hero {
        padding-top: 34px;
    }

    .detail-summary {
        padding: 24px;
    }

    .detail-summary h1 {
        font-size: 34px;
    }

    .detail-block {
        padding: 22px;
    }
}
