:root {
    --color-black: #000000;
    --color-red: #e60000;
    --color-white: #ffffff;
    --color-border: rgba(255, 255, 255, 0.14);
    --color-border-strong: rgba(255, 255, 255, 0.26);
    --color-muted: rgba(255, 255, 255, 0.72);
    --color-overlay: rgba(230, 0, 0, 0.92);
    --ambient-red-a: rgba(230, 0, 0, 0.34);
    --ambient-red-b: rgba(230, 0, 0, 0.18);
    --ambient-red-c: rgba(230, 0, 0, 0.12);
    --grid-line: rgba(255, 255, 255, 0.06);
    --grid-size: 72px;
    --header-surface: linear-gradient(180deg, rgba(28, 0, 0, 0.96), rgba(0, 0, 0, 0.78));
    --card-surface: rgba(255, 255, 255, 0.04);
    --card-surface-strong: rgba(255, 255, 255, 0.03);
    --media-overlay-surface: linear-gradient(180deg, transparent, rgba(16, 0, 0, 0.94));
    --modal-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.2), rgba(0, 0, 0, 0.98));
    --accent-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.28), rgba(0, 0, 0, 0.36)), rgba(255, 255, 255, 0.03);
    --poster-surface: linear-gradient(135deg, rgba(230, 0, 0, 0.92), rgba(0, 0, 0, 0.58));
    --layout-width: 1440px;
    --transition-fast: 180ms ease;
    --transition-medium: 320ms ease;
}

html[data-theme="light"] {
    --color-black: #f7f4ee;
    --color-white: #111111;
    --color-border: rgba(17, 17, 17, 0.14);
    --color-border-strong: rgba(17, 17, 17, 0.24);
    --color-muted: rgba(17, 17, 17, 0.72);
    --color-overlay: rgba(230, 0, 0, 0.14);
    --ambient-red-a: rgba(230, 0, 0, 0.2);
    --ambient-red-b: rgba(230, 0, 0, 0.12);
    --ambient-red-c: rgba(230, 0, 0, 0.09);
    --grid-line: rgba(17, 17, 17, 0.07);
    --header-surface: linear-gradient(180deg, rgba(255, 247, 244, 0.96), rgba(247, 244, 238, 0.9));
    --card-surface: rgba(255, 255, 255, 0.78);
    --card-surface-strong: rgba(255, 255, 255, 0.74);
    --media-overlay-surface: linear-gradient(180deg, transparent, rgba(255, 245, 242, 0.96));
    --modal-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.18), rgba(255, 255, 255, 0.98));
    --accent-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.18), rgba(255, 255, 255, 0.82));
    --poster-surface: linear-gradient(135deg, rgba(230, 0, 0, 0.92), rgba(255, 255, 255, 0.92));
}

html[data-style="monolith"] {
    --ambient-red-a: rgba(230, 0, 0, 0.46);
    --ambient-red-b: rgba(230, 0, 0, 0.28);
    --ambient-red-c: rgba(255, 255, 255, 0.05);
    --grid-line: rgba(255, 255, 255, 0.08);
    --header-surface: linear-gradient(180deg, rgba(48, 0, 0, 0.98), rgba(8, 0, 0, 0.84));
    --card-surface: rgba(255, 255, 255, 0.05);
    --accent-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.34), rgba(0, 0, 0, 0.42)), rgba(255, 255, 255, 0.03);
}

html[data-style="signal"] {
    --ambient-red-a: rgba(230, 0, 0, 0.54);
    --ambient-red-b: rgba(230, 0, 0, 0.2);
    --ambient-red-c: rgba(255, 255, 255, 0.07);
    --grid-line: rgba(255, 255, 255, 0.04);
    --header-surface: linear-gradient(180deg, rgba(24, 0, 0, 0.96), rgba(4, 0, 0, 0.86));
    --card-surface: rgba(255, 255, 255, 0.04);
    --accent-surface: linear-gradient(135deg, rgba(230, 0, 0, 0.4), rgba(0, 0, 0, 0.34)), rgba(255, 255, 255, 0.03);
}

html[data-style="kinetic"] {
    --ambient-red-a: rgba(230, 0, 0, 0.38);
    --ambient-red-b: rgba(255, 255, 255, 0.09);
    --ambient-red-c: rgba(230, 0, 0, 0.16);
    --grid-line: rgba(255, 255, 255, 0.08);
    --grid-size: 64px;
    --header-surface: linear-gradient(180deg, rgba(22, 0, 0, 0.96), rgba(0, 0, 0, 0.8));
    --card-surface: rgba(255, 255, 255, 0.05);
    --accent-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.28), rgba(0, 0, 0, 0.24)), rgba(255, 255, 255, 0.04);
}

html[data-theme="light"][data-style="monolith"] {
    --ambient-red-a: rgba(230, 0, 0, 0.28);
    --ambient-red-b: rgba(230, 0, 0, 0.18);
    --ambient-red-c: rgba(17, 17, 17, 0.05);
    --grid-line: rgba(17, 17, 17, 0.08);
    --header-surface: linear-gradient(180deg, rgba(255, 243, 240, 0.98), rgba(247, 244, 238, 0.92));
    --card-surface: rgba(255, 255, 255, 0.82);
    --card-surface-strong: rgba(255, 255, 255, 0.78);
    --accent-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.22), rgba(255, 255, 255, 0.84));
}

html[data-theme="light"][data-style="signal"] {
    --ambient-red-a: rgba(230, 0, 0, 0.34);
    --ambient-red-b: rgba(230, 0, 0, 0.14);
    --ambient-red-c: rgba(17, 17, 17, 0.04);
    --header-surface: linear-gradient(180deg, rgba(255, 246, 243, 0.98), rgba(247, 244, 238, 0.92));
    --card-surface: rgba(255, 255, 255, 0.8);
    --card-surface-strong: rgba(255, 255, 255, 0.76);
    --accent-surface: linear-gradient(135deg, rgba(230, 0, 0, 0.24), rgba(255, 255, 255, 0.86));
}

html[data-theme="light"][data-style="kinetic"] {
    --ambient-red-a: rgba(230, 0, 0, 0.26);
    --ambient-red-b: rgba(17, 17, 17, 0.08);
    --ambient-red-c: rgba(230, 0, 0, 0.1);
    --header-surface: linear-gradient(180deg, rgba(255, 244, 241, 0.98), rgba(247, 244, 238, 0.92));
    --card-surface: rgba(255, 255, 255, 0.82);
    --card-surface-strong: rgba(255, 255, 255, 0.78);
    --accent-surface: linear-gradient(180deg, rgba(230, 0, 0, 0.2), rgba(255, 255, 255, 0.84));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, var(--ambient-red-a), transparent 22%),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(180deg, var(--grid-line) 1px, transparent 1px),
        var(--color-black);
    background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
    color: var(--color-white);
    font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

body::before {
    z-index: -2;
    opacity: 0.96;
    background:
        radial-gradient(circle at 12% 18%, var(--ambient-red-a), transparent 30%),
        radial-gradient(circle at 84% 22%, var(--ambient-red-b), transparent 28%),
        radial-gradient(circle at 38% 82%, var(--ambient-red-c), transparent 34%),
        radial-gradient(circle at 72% 72%, var(--ambient-red-b), transparent 26%);
    animation: ambient-shift 18s ease-in-out infinite alternate;
}

body::after {
    z-index: -1;
    opacity: 0.75;
    background:
        linear-gradient(0deg, transparent 0, transparent calc(100% - 2px), rgba(230, 0, 0, 0.1) calc(100% - 2px), rgba(230, 0, 0, 0.1) 100%),
        linear-gradient(90deg, transparent 0, transparent calc(100% - 2px), rgba(230, 0, 0, 0.08) calc(100% - 2px), rgba(230, 0, 0, 0.08) 100%);
    background-size: 180px 180px;
    transform: perspective(1400px) rotateX(72deg) translateY(32vh);
    transform-origin: center bottom;
}

body.modal-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

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

button {
    cursor: pointer;
    color: var(--color-white);
}

.site-shell {
    position: relative;
    z-index: 1;
    width: min(100%, var(--layout-width));
    margin: 0 auto;
    padding: 0 24px 48px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    background: var(--header-surface);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.site-menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.brand {
    display: inline-grid;
    grid-template-columns: 56px auto;
    gap: 14px;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid var(--color-border-strong);
    background: rgba(255, 255, 255, 0.06);
    justify-self: end;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--color-white);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.brand-mark,
.theme-toggle,
.lang-btn,
.main-nav a,
.header-cta,
.button,
.modal-close,
.contact-form input,
.contact-form textarea,
.admin-notice,
.partner-mark {
    border-radius: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--color-white);
    font-weight: 900;
    letter-spacing: 0.2em;
}

.brand-mark-logo {
    overflow: hidden;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.main-nav a,
.header-cta,
.lang-btn,
.theme-toggle,
.style-toggle,
.style-chip {
    padding: 12px 14px;
    border: 1px solid transparent;
    color: var(--color-white);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.main-nav a.is-current,
.main-nav a:hover,
.header-cta:hover,
.lang-btn.is-active,
.lang-btn:hover,
.theme-toggle:hover,
.style-toggle:hover,
.style-toggle.is-active,
.style-chip:hover,
.style-chip.is-active {
    background: var(--color-red);
    border-color: var(--color-red);
}

.theme-toggle,
.style-toggle {
    border-color: var(--color-border-strong);
    white-space: nowrap;
}

.style-switcher {
    position: relative;
}

.style-palette {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 244px;
    padding: 10px;
    border: 1px solid var(--color-border-strong);
    background: rgba(8, 0, 0, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.style-palette.is-open {
    display: grid;
}

.style-chip {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    border-color: var(--color-border-strong);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.style-toggle {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.header-tools {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-self: end;
    padding-right: 14px;
}

.language-switcher {
    display: flex;
    border: 1px solid var(--color-border-strong);
}

.lang-btn {
    border-right: 1px solid var(--color-border-strong);
}

.lang-btn:last-child {
    border-right: 0;
}

.header-cta {
    border-color: var(--color-white);
}

.section {
    padding: 72px 0;
}

.hero {
    padding-top: 48px;
}

.hero-grid,
.section-heading-grid,
.feature-block,
.team-grid,
.contact-grid,
.page-hero {
    display: grid;
    gap: 24px;
}

.section-heading-grid > * {
    min-width: 0;
}

.hero-grid {
    grid-template-columns: minmax(0, var(--hero-copy-ratio, 1.15fr)) minmax(320px, var(--hero-media-ratio, 0.85fr));
}

.hero-grid.hero-grid-media-left .hero-copy {
    order: 2;
}

.hero-grid.hero-grid-media-left .hero-media {
    order: 1;
}

.hero-grid.hero-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.section-compact-top {
    padding-top: 0;
}

.section-width-frame {
    width: min(100%, 1320px);
    margin: 0 auto;
}

.section-width-compact {
    max-width: 860px;
}

.section-width-wide {
    max-width: 1120px;
}

.section-width-full {
    max-width: 1320px;
}

.feature-block-editorial,
.feature-block-cta {
    align-items: stretch;
}

.builder-quote-card {
    gap: 20px;
}

.builder-quote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: clamp(1.4rem, 2.2vw, 2.3rem);
    line-height: 1.2;
}

.builder-quote-attribution {
    margin: 0;
    color: var(--color-muted);
    letter-spacing: 0.14em;
}

.builder-cta-card {
    gap: 20px;
}

.hero-copy,
.hero-media,
.content-card,
.service-card,
.contact-card,
.contact-form,
.consultants-card,
.feature-square,
.portrait-card {
    border: 1px solid var(--color-border-strong);
    background: var(--card-surface);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    min-height: min(78vh, 860px);
    padding: clamp(28px, 5vw, 56px);
}

.eyebrow,
.card-label,
.section-index,
.ticker-label,
.modal-meta dt {
    color: var(--color-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.hero-title,
.section-title,
.feature-square h3,
.service-card h3,
.portrait-copy h3,
.film-body h3,
#modal-title {
    margin: 0;
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0.05em;
}

.hero-title {
    max-width: min(100%, 10ch);
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: var(--hero-title-size-desktop, 5rem);
}

.rich-text-output > :first-child {
    margin-top: 0;
}

.rich-text-output > :last-child {
    margin-bottom: 0;
}

.rich-text-output p,
.rich-text-output ul,
.rich-text-output ol,
.rich-text-output blockquote {
    margin: 0 0 0.9em;
}

.rich-text-output ul,
.rich-text-output ol {
    padding-left: 1.2em;
}

.rich-text-output h3,
.rich-text-output h4 {
    margin: 0 0 0.7em;
    line-height: 1.15;
}

.rich-text-output h3 {
    font-size: 1.1em;
}

.rich-text-output h4 {
    font-size: 1em;
}

.rich-text-output blockquote {
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--color-red);
    background: rgba(230, 0, 0, 0.08);
    font-size: 1.02em;
    line-height: 1.65;
}

.rich-text-output hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 1.2em 0;
}

.rich-text-output a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--color-red);
    text-underline-offset: 0.14em;
}

.rich-text-output .rich-red {
    color: var(--color-red);
}

.rich-text-output .rich-white {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.28);
}

.rich-text-output .rich-black {
    color: #111111;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.18);
}

.rich-text-output .rich-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--color-red);
    background: rgba(230, 0, 0, 0.14);
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.14em;
}

.rich-text-output .rich-cta.rich-cta-outline {
    background: transparent;
}

.rich-text-output .rich-cta.rich-cta-ghost {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.rich-text-output .rich-cta:hover {
    background: var(--color-red);
    color: #ffffff;
}

.hero-text,
.page-lead,
.statement,
.section-copy-block p,
.content-card p,
.service-card p,
.portrait-copy p,
.consultant-item p,
.contact-form,
.contact-card,
#modal-synopsis,
.modal-meta dd {
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.7;
    letter-spacing: 0.05em;
}

.hero-text {
    font-size: var(--hero-text-size, 0.96rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 22px;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.button:hover {
    transform: translate(-4px, -4px);
}

.button-primary {
    background: var(--color-red);
    border-color: var(--color-red);
}

.button-secondary {
    background: transparent;
}

.square-frame,
.square-card,
.film-card,
.partner-mark {
    aspect-ratio: 1 / 1;
}

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border-strong);
}

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

.media-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    background: var(--media-overlay-surface);
}

@media (min-width: 1181px) {
    .hero {
        position: relative;
        overflow: hidden;
    }

    .hero-grid {
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        min-height: min(82vh, 920px);
    }

    .hero-media {
        position: absolute;
        inset: 0;
        z-index: 0;
        border: 0;
        background: transparent;
    }

    .hero-media .media-frame {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border: 0;
    }

    .hero-video {
        filter: saturate(0.58) contrast(1.02) brightness(0.42);
        transform: scale(1.06);
        transition: filter var(--transition-medium), transform var(--transition-medium);
    }

    .hero-media:hover .hero-video {
        filter: saturate(0.68) contrast(1.04) brightness(0.5);
        transform: scale(1.04);
    }

    .hero-copy {
        position: relative;
        z-index: 1;
        width: min(100%, 860px);
        min-height: min(82vh, 920px);
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.66)),
            rgba(8, 0, 0, 0.32);
        backdrop-filter: blur(8px);
        box-shadow: 24px 24px 80px rgba(0, 0, 0, 0.28);
    }

    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background:
            linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.46) 38%, rgba(0, 0, 0, 0.72) 100%),
            linear-gradient(180deg, rgba(230, 0, 0, 0.12), rgba(0, 0, 0, 0.12));
        pointer-events: none;
    }

    .media-overlay {
        inset: auto 0 0 auto;
        padding: 12px 14px;
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.66));
        backdrop-filter: blur(2px);
    }

    .media-overlay span {
        font-size: 0.66rem;
        letter-spacing: 0.18em;
    }
}

.ticker {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-top: 24px;
    border: 1px solid var(--color-border-strong);
    overflow: hidden;
}

.ticker-label {
    display: grid;
    place-items: center;
    padding: 20px;
    background: var(--color-red);
}

.ticker-track {
    position: relative;
    overflow: hidden;
    min-height: 72px;
}

.ticker-items {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    padding: 0 32px;
    animation: ticker-scroll 24s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ticker-item::before {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--color-red);
}

.statement {
    color: var(--color-white);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.45;
}

.section-heading-grid {
    grid-template-columns: minmax(240px, 0.48fr) minmax(0, 1fr);
    align-items: end;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.02;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.intro-title {
    font-size: clamp(1.9rem, 3.4vw, 3.2rem);
}

.page-hero {
    padding-top: 56px;
}

.page-lead {
    max-width: 64rem;
}

.content-grid,
.services-grid,
.film-grid {
    display: grid;
    gap: 24px;
}

.content-grid,
.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.content-card,
.service-card,
.consultants-card,
.contact-card,
.contact-form,
.feature-square,
.film-card,
.portrait-card {
    padding: 22px;
}

.tall-card,
.feature-square,
.contact-card,
.contact-form,
.consultants-card {
    min-height: 360px;
    aspect-ratio: auto;
}

.accent-card {
    background: var(--accent-surface);
}

.film-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    border: 1px solid var(--color-border-strong);
    color: var(--color-white);
    text-align: left;
    overflow: hidden;
    transition: transform var(--transition-medium), border-color var(--transition-fast);
}

.film-card::before,
.film-card::after {
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.film-card::before {
    background: linear-gradient(180deg, transparent 10%, rgba(16, 0, 0, 0.94) 100%), linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 46%);
}

.film-card::after {
    background: var(--color-overlay);
    opacity: 0;
}

.film-card:hover {
    transform: translate(-6px, -6px);
    border-color: var(--color-red);
}

.film-card:hover::after {
    opacity: 1;
}

.film-card:hover .film-hover {
    transform: translateY(0);
    opacity: 1;
}

.film-card:hover .film-body {
    transform: translateY(-14px);
}

.film-card > * {
    position: relative;
    z-index: 1;
}

.film-body,
.film-hover {
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}

.film-hover {
    opacity: 0;
    transform: translateY(24px);
}

.film-meta {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.feature-block,
.team-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-project-entry,
.project-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-project-entry {
    align-items: stretch;
}

.home-project-entry-copy,
.home-project-entry-visual {
    min-height: 420px;
}

.home-project-entry-visual {
    display: block;
    transition: transform var(--transition-medium), border-color var(--transition-fast);
}

.home-project-entry-visual:hover {
    transform: translate(-6px, -6px);
    border-color: var(--color-red);
}

.project-hero-grid,
.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-hero-copy,
.project-hero-visual,
.project-spotlight {
    min-height: 420px;
}

.project-hero-copy,
.project-spotlight {
    display: grid;
    align-content: space-between;
    gap: 18px;
}

.project-hero-sabbar .project-hero-copy {
    background:
        linear-gradient(180deg, rgba(230, 0, 0, 0.16), rgba(0, 0, 0, 0.72)),
        var(--accent-surface);
}

.project-hero-actions,
.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.project-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.project-meta-list dl {
    margin: 0;
    display: grid;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.project-meta-list dt {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--color-muted);
}

.project-meta-list dd {
    margin: 0;
}

.project-spotlight {
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr) auto;
    align-items: end;
}

.project-spotlight-copy {
    max-width: 56rem;
}

.project-three-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery-grid,
.project-program-grid {
    display: grid;
    gap: 24px;
}

.project-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery-card {
    display: grid;
    gap: 16px;
    align-content: start;
}

.project-gallery-media {
    aspect-ratio: 1 / 1;
}

.project-partners-list,
.project-archives-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.project-archive-item {
    display: grid;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.project-archive-year {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--color-muted);
}

.portrait-card {
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 24px;
}

.portrait-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: var(--poster-surface);
    font-size: clamp(3.6rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.2em;
}

.consultant-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.consultant-item {
    display: grid;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.consultant-item strong {
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.contact-email {
    font-size: clamp(1.4rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    word-break: break-word;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border-strong);
    background: var(--card-surface-strong);
    color: var(--color-white);
    text-transform: none;
}

.admin-notice {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--color-border-strong);
    font-size: 0.82rem;
}

.admin-notice.success {
    background: rgba(0, 128, 0, 0.18);
}

.admin-notice.error {
    background: rgba(230, 0, 0, 0.18);
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0 8px;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
}

.modal-panel {
    position: relative;
    width: min(1040px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border: 1px solid var(--color-border-strong);
    background: var(--modal-surface);
    padding: 28px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
    border: 1px solid var(--color-border-strong);
    background: transparent;
    color: var(--color-white);
    font-size: 1.8rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 24px;
}

.modal-primary,
.modal-meta,
.modal-partners {
    border: 1px solid var(--color-border);
    padding: 24px;
    background: var(--card-surface-strong);
}

.modal-partners {
    margin-top: 24px;
}

.modal-actions {
    justify-content: flex-start;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.partner-mark {
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border-strong);
    background: var(--card-surface-strong);
    padding: 12px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.partner-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

html[data-theme="light"] body {
    background:
        linear-gradient(180deg, var(--ambient-red-a), transparent 22%),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(180deg, var(--grid-line) 1px, transparent 1px),
        var(--color-black);
    background-size: auto, var(--grid-size) var(--grid-size), var(--grid-size) var(--grid-size), auto;
}

html[data-theme="light"] .site-header {
    background: var(--header-surface);
}

html[data-theme="light"] .style-toggle,
html[data-theme="light"] .style-chip {
    color: var(--color-white);
    background: rgba(17, 17, 17, 0.08);
}

html[data-theme="light"] .style-palette {
    background: rgba(255, 250, 248, 0.98);
    box-shadow: 0 18px 44px rgba(17, 17, 17, 0.18);
}

html[data-theme="light"] .hero-copy,
html[data-theme="light"] .hero-media,
html[data-theme="light"] .content-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .consultants-card,
html[data-theme="light"] .feature-square,
html[data-theme="light"] .portrait-card,
html[data-theme="light"] .modal-primary,
html[data-theme="light"] .modal-meta,
html[data-theme="light"] .modal-partners,
html[data-theme="light"] .partner-mark {
    background: var(--card-surface);
}

html[data-theme="light"] .media-overlay {
    background: var(--media-overlay-surface);
}

html[data-theme="light"] .accent-card {
    background: var(--accent-surface);
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea {
    background: rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .film-card::before {
    background: linear-gradient(180deg, transparent 10%, rgba(247, 244, 238, 0.94) 100%), linear-gradient(135deg, rgba(17, 17, 17, 0.08), transparent 46%);
}

html[data-theme="light"] .portrait-placeholder {
    background: var(--poster-surface);
}

html[data-theme="light"] .modal-backdrop {
    background: rgba(247, 244, 238, 0.74);
}

html[data-theme="light"] .modal-panel {
    background: var(--modal-surface);
}

html[data-style="monolith"] body::before {
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(230, 0, 0, 0.32) 12% 24%, transparent 24% 52%, rgba(230, 0, 0, 0.18) 52% 68%, transparent 68% 100%),
        linear-gradient(180deg, rgba(230, 0, 0, 0.18), transparent 34%),
        radial-gradient(circle at 82% 18%, var(--ambient-red-b), transparent 24%);
    animation-duration: 24s;
}

html[data-style="signal"] body::before {
    background:
        radial-gradient(circle at 16% 16%, var(--ambient-red-a), transparent 24%),
        linear-gradient(135deg, transparent 22%, rgba(230, 0, 0, 0.24) 22% 28%, transparent 28% 58%, rgba(230, 0, 0, 0.18) 58% 64%, transparent 64%),
        radial-gradient(circle at 82% 72%, var(--ambient-red-b), transparent 26%);
}

html[data-style="kinetic"] body::before {
    background:
        radial-gradient(circle at 18% 22%, var(--ambient-red-a), transparent 24%),
        radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.08), transparent 16%),
        radial-gradient(circle at 62% 78%, var(--ambient-red-c), transparent 24%);
    animation-duration: 10s;
}

html[data-style="kinetic"] body::after {
    background:
        linear-gradient(90deg, transparent 0 8%, rgba(230, 0, 0, 0.14) 8% 10%, transparent 10% 28%, rgba(230, 0, 0, 0.08) 28% 30%, transparent 30%),
        linear-gradient(0deg, transparent 0 12%, rgba(255, 255, 255, 0.08) 12% 14%, transparent 14% 32%, rgba(230, 0, 0, 0.1) 32% 34%, transparent 34%);
    background-size: 220px 220px;
    animation: grid-drift 12s linear infinite;
}

html[data-style="signal"] .film-card:hover,
html[data-style="kinetic"] .film-card:hover,
html[data-style="monolith"] .film-card:hover {
    transform: translate(-8px, -8px);
}

html[data-style="monolith"] .site-header,
html[data-style="signal"] .site-header,
html[data-style="kinetic"] .site-header {
    box-shadow: 0 18px 50px rgba(230, 0, 0, 0.12);
}

@keyframes ambient-shift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(1.5%, -1.5%, 0) scale(1.08);
    }
}

@keyframes grid-drift {
    from {
        transform: perspective(1400px) rotateX(72deg) translateY(32vh) translateX(0);
    }

    to {
        transform: perspective(1400px) rotateX(72deg) translateY(32vh) translateX(-80px);
    }
}

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

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

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1180px) {
    .site-header,
    .hero-grid,
    .section-heading-grid,
    .feature-block,
    .team-grid,
    .contact-grid,
    .modal-grid,
    .portrait-card,
    .project-hero-grid,
    .project-detail-grid,
    .project-spotlight,
    .home-project-entry,
    .project-support-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        position: relative;
    }

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

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

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

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

    .ticker {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-menu {
        grid-column: 1 / -1;
        display: none;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
        border: 1px solid var(--color-border-strong);
        background: var(--card-surface-strong);
    }

    .site-menu.is-open {
        display: grid;
    }

    .main-nav,
    .header-tools,
    .language-switcher {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav a,
    .theme-toggle,
    .style-toggle,
    .lang-btn {
        justify-content: center;
        width: 100%;
    }

    .header-tools {
        justify-self: stretch;
        padding-right: 0;
    }

    .style-switcher {
        display: grid;
    }

    .style-palette {
        position: static;
        min-width: 0;
    }

    .intro-title {
        font-size: clamp(1.7rem, 7vw, 2.6rem);
    }
}

@media (max-width: 720px) {
    .site-shell {
        padding: 0 16px 32px;
    }

    .section {
        padding: 52px 0;
    }

    .hero-title {
        max-width: 100%;
        font-size: var(--hero-title-size-mobile, 2.9rem);
    }

    .content-grid,
    .services-grid,
    .film-grid,
    .project-three-grid,
    .project-gallery-grid,
    .project-program-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .site-footer {
        flex-direction: column;
        align-items: stretch;
    }
}