/* cinemorialFILMS Micro Site V1
   Typography baseline: Objektiv Mk2
   V4 system: 200 standard, 300 H1/H2, 700 logo "films"
*/

:root {
    --bg: #242424;
    --bg-deep: #1e1e1e;
    --text: #f4f4f1;
    --text-soft: rgba(244, 244, 241, 0.78);
    --text-faint: rgba(244, 244, 241, 0.54);
    --line: rgba(255, 255, 255, 0.14);
    --line-hover: rgba(255, 255, 255, 0.38);

    --body-size: 15pt;
    --small-size: 9pt;
    --content: min(1180px, calc(100vw - 64px));

    --fade-slow: 1.25s;
    --ease: cubic-bezier(.22,.61,.36,1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "objektiv-mk2", sans-serif;
    font-weight: 200;
    font-style: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 56px 0 88px;
}

.hero-inner,
.content,
.footer-inner {
    width: var(--content);
    margin-inline: auto;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    margin: 0;
    color: #fff;
    font-size: clamp(54px, 8vw, 122px);
    font-weight: 200;
    line-height: .90;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.brand-thin {
    font-weight: 200;
}

.brand-bold {
    font-weight: 700;
}

.claim {
    width: max-content;
    max-width: 100%;
    margin: 34px 0 0;
    color: var(--text);
    font-size: 32px; /* JS fits this width exactly to the logo without letter-spacing tricks. */
    font-weight: 200;
    line-height: 1.12;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
}

.reveal {
    opacity: 1;
}

.js .reveal {
    opacity: 0;
    transition: opacity var(--fade-slow) var(--ease);
}

.js .reveal.is-visible {
    opacity: 1;
}

.video-block {
    width: 100%;
    margin-top: 52px;
}

.video-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 2.39 / 1;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line);
}

.cinemascope-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    cursor: pointer;
}

.cinemascope-video:focus-visible {
    outline: 1px solid rgba(255,255,255,.7);
    outline-offset: -3px;
}

.video-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    background: transparent;
}

.ui-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    background: rgba(20,20,20,.48);
    color: var(--text);
    font: inherit;
    font-size: 10pt;
    font-weight: 200;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: border-color .24s ease, background-color .24s ease, color .24s ease;
}

.ui-button:hover,
.ui-button:focus-visible {
    border-color: var(--line-hover);
    background: rgba(20,20,20,.70);
    outline: none;
}

.hero-seo-line {
    max-width: 860px;
    margin: 28px auto 0;
    color: var(--text-soft);
    font-size: var(--body-size);
    line-height: 1.44;
    text-align: center;
}

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

.mobile-note {
    display: none;
    max-width: 520px;
    margin-top: 28px;
    color: var(--text-faint);
    font-size: var(--small-size);
    line-height: 1.42;
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.mobile-note strong,
.mobile-note span {
    display: block;
    font-weight: 200;
}

.mobile-note.is-visible {
    opacity: 1;
}

.section {
    border-top: 1px solid var(--line);
    padding: 104px 0;
}

.kicker {
    margin: 0 0 24px;
    color: var(--text-faint);
    font-size: var(--small-size);
    font-weight: 200;
    line-height: 1.3;
    letter-spacing: .10em;
}

h2 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 300;
    line-height: 1.10;
    letter-spacing: -0.022em;
}

.copy-column,
.section-intro {
    max-width: 860px;
    margin-top: 28px;
    color: var(--text-soft);
    font-size: var(--body-size);
    font-weight: 200;
    line-height: 1.46;
    letter-spacing: -0.006em;
}

.copy-column p,
.section-intro {
    margin-bottom: 0;
}

.copy-column p:first-child {
    margin-top: 0;
}

.copy-column p + p {
    margin-top: 17px;
}

.reel-shell {
    margin-top: 48px;
}

.youtube-link {
    margin: 24px 0 0;
    font-size: 11pt;
    color: var(--text-soft);
}

.youtube-link a {
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.technical-tags {
    max-width: 960px;
    margin: 34px 0 0;
    color: var(--text-faint);
    font-size: var(--small-size);
    font-weight: 200;
    line-height: 1.55;
    letter-spacing: .025em;
}

.contact-email {
    display: inline-block;
    margin-top: 34px;
    color: var(--text);
    font-size: clamp(20px, 2.2vw, 31px);
    font-weight: 200;
    line-height: 1.15;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
}

.contact-email:hover,
.contact-email:focus-visible {
    border-bottom-color: var(--line-hover);
    outline: none;
}

.location {
    margin: 28px 0 0;
    color: var(--text-faint);
    font-size: var(--small-size);
    line-height: 1.4;
}

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

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: baseline;
    color: var(--text-faint);
    font-size: var(--small-size);
    line-height: 1.4;
}

.footer-inner p {
    margin: 0;
}

.footer-inner nav {
    display: flex;
    gap: 18px;
}

.footer-inner a {
    text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
    color: var(--text);
    outline: none;
}

.footer-brand {
    color: var(--text-soft);
    font-weight: 200;
}

.footer-brand span {
    font-weight: 700;
}


.footer-link-button,
.inline-settings-button {
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 200;
    cursor: pointer;
    text-decoration: none;
}

.footer-link-button:hover,
.footer-link-button:focus-visible,
.inline-settings-button:hover,
.inline-settings-button:focus-visible {
    color: var(--text);
    outline: none;
}

.inline-settings-button {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1px;
}

.analytics-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: min(560px, calc(100vw - 36px));
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    background: rgba(30, 30, 30, .94);
    box-shadow: 0 12px 36px rgba(0,0,0,.28);
    backdrop-filter: blur(8px);
}

.analytics-consent[hidden] {
    display: none;
}

.analytics-consent__text {
    min-width: 0;
    color: var(--text-soft);
    font-size: var(--small-size);
    line-height: 1.42;
}

.analytics-consent__text strong,
.analytics-consent__text span {
    display: block;
    font-weight: 200;
}

.analytics-consent__text strong {
    color: var(--text);
    margin-bottom: 3px;
}

.analytics-consent__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

/* Legal draft pages */
.legal-page {
    min-height: 100vh;
}

.legal-content {
    width: min(860px, calc(100vw - 64px));
    margin: 0 auto;
    padding: 80px 0 120px;
}

.legal-content h1 {
    margin: 52px 0 0;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.05;
}

.back-link {
    color: var(--text-faint);
    font-size: var(--small-size);
    text-decoration: none;
}

.legal-placeholder {
    margin-top: 40px;
    color: var(--text-soft);
    font-size: var(--body-size);
    line-height: 1.46;
}

.legal-placeholder code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .85em;
}


.legal-text {
    margin-top: 40px;
    color: var(--text-soft);
    font-size: var(--body-size);
    font-weight: 200;
    line-height: 1.46;
}

.legal-text h2 {
    margin: 42px 0 0;
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 300;
    line-height: 1.12;
}

.legal-text p,
.legal-text address,
.legal-text ul {
    max-width: 820px;
    margin-top: 18px;
    margin-bottom: 0;
}

.legal-text address {
    font-style: normal;
}

.legal-text ul {
    padding-left: 1.2em;
}

.legal-text li + li {
    margin-top: 7px;
}

.legal-text a {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.legal-note {
    margin-top: 38px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    color: var(--text-faint);
    font-size: var(--small-size);
    line-height: 1.5;
}

@media (max-width: 760px) {
    :root {
        --content: calc(100vw - 36px);
    }

    .hero {
        min-height: auto;
        padding: 54px 0 72px;
    }

    .brand {
        font-size: clamp(40px, 13.5vw, 68px);
    }

    .claim {
        margin-top: 24px;
    }

    .video-block {
        margin-top: 38px;
    }

    .video-controls {
        top: 8px;
        right: 8px;
        bottom: auto;
        gap: 7px;
        padding: 0;
    }

    .ui-button {
        min-height: 38px;
        padding: 0 13px;
        font-size: 9pt;
    }

    .hero-seo-line {
        margin-top: 24px;
        text-align: left;
    }

    .quick-actions {
        width: 100%;
    }

    .quick-actions .ui-button {
        flex: 1 1 0;
    }

    .mobile-note {
        display: block;
    }

    .section {
        padding: 74px 0;
    }

    h2 {
        font-size: clamp(23px, 7vw, 31px);
        line-height: 1.11;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .analytics-consent {
        left: 18px;
        right: 18px;
        bottom: 14px;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .analytics-consent__actions {
        width: 100%;
    }

    .analytics-consent__actions .ui-button {
        flex: 1 1 0;
    }

    .legal-content {
        width: calc(100vw - 36px);
        padding-top: 54px;
    }
}

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

    .js .reveal {
        opacity: 1;
        transition: none;
    }

    .mobile-note {
        transition: none;
    }
}
