:root {
    --night: #0d0e11;
    --night-2: #17191e;
    --paper: #f4f3ef;
    --ink: #121316;
    --muted: #61636b;
    --line: #dcdcd6;
    --white: #ffffff;
    --poster: "Oswald", "Arial Narrow", Impact, sans-serif;
    --text: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;
    --wide: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2 {
    font-family: var(--poster);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.98;
    letter-spacing: 0.005em;
    text-wrap: balance;
}

h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.75;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border: 0;
    border-radius: 0;
    background: var(--ink);
    color: var(--white);
    font-family: var(--poster);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.btn--small {
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* Top bar */
.bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(13, 14, 17, 0.82);
    backdrop-filter: blur(12px);
}

.bar__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: var(--wide);
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 64px);
    min-height: 64px;
}

.bar__brand {
    font-family: var(--poster);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: auto;
}

.bar a:not(.btn) {
    color: var(--white) !important;
}

.bar__links {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bar__links a {
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.85;
}

.bar__links a:hover {
    opacity: 1;
}

/* Progress dots */
.dots {
    position: fixed;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: grid;
    gap: 12px;
}

.dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(127, 127, 127, 0.9);
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dots button.is-active {
    transform: scale(1.5);
    background: var(--ink);
    border-color: var(--white);
}

/* Screens */
.screen {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 112px 0 80px;
    scroll-snap-align: start;
    overflow: hidden;
}

.screen__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--wide);
    margin: 0 auto;
    padding-inline: clamp(16px, 5vw, 64px);
    display: grid;
    gap: 22px;
    min-width: 0;
}

.screen__title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.screen__sub {
    font-size: 1.15rem;
    max-width: 60ch;
    opacity: 0.8;
}

.screen--light {
    background: var(--paper);
    color: var(--ink);
}

.screen--dark {
    background: var(--night);
    color: var(--white);
}

.screen--photo {
    color: var(--white);
    background: var(--night);
}

.screen__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screen--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 9, 12, 0.86) 0%, rgba(8, 9, 12, 0.55) 55%, rgba(8, 9, 12, 0.3) 100%);
}

.screen--color {
    color: var(--white);
    background: var(--night);
}

.screen--dark h1,
.screen--dark h2,
.screen--photo h1,
.screen--photo h2,
.screen--color h1,
.screen--color h2 {
    color: var(--white);
}

.screen--dark a:not(.btn):not(.pill),
.screen--photo a:not(.btn),
.screen--color a {
    color: var(--white) !important;
}

/* Cover */
.cover {
    gap: 26px;
    max-width: var(--wide);
}

.cover__title {
    font-size: clamp(3.2rem, 10vw, 8.2rem);
    max-width: 14ch;
}

.cover__lead {
    font-size: 1.25rem;
    max-width: 52ch;
    opacity: 0.9;
}

.hero-points {
    margin: 0;
    padding-left: 1.1em;
    opacity: 0.85;
}

.cover__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    margin-top: 6px;
}

.ghost-link {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* Numbers screen */
.numbers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.numbers > div {
    padding: 0 28px;
    display: grid;
    gap: 10px;
    align-content: start;
}

.numbers > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.numbers dt {
    font-family: var(--poster);
    font-size: clamp(3.4rem, 9vw, 7.5rem);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}

.numbers dd {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About */
.split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.split__text {
    display: grid;
    gap: 20px;
}

.split__text p:not(.eyebrow):not(.big-text) {
    color: var(--muted);
}

.big-text {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.45;
    font-weight: 500;
}

.split__media {
    margin: 0;
    height: min(70vh, 640px);
}

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

/* Principles */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.12);
}

.pillar {
    background: var(--night);
    padding: 28px 24px 32px;
    display: grid;
    gap: 12px;
    align-content: start;
}

.pillar__mark {
    font-family: var(--poster);
    font-size: 3.2rem;
    line-height: 1;
    opacity: 0.35;
}

.pillar p {
    opacity: 0.72;
    font-size: 0.96rem;
}

/* Services path */
.path {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 3px solid var(--ink);
}

.path__step {
    padding: 24px 28px 0 0;
    display: grid;
    gap: 10px;
    align-content: start;
}

.path__step + .path__step {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.path__num {
    font-family: var(--poster);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}

.path__kicker {
    font-weight: 600;
}

.path__step p:last-child {
    color: var(--muted);
}

/* Cases */
.reel-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.story-card {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--night-2);
}

.story-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0) 30%, rgba(8, 9, 12, 0.92) 100%);
}

.story-card__body {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: grid;
    gap: 8px;
}

.story-card__tag {
    justify-self: start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.story-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Audience */
.glass-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.glass {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    display: grid;
    gap: 12px;
    align-content: start;
}

.glass ul {
    margin: 0;
    padding-left: 1.1em;
    opacity: 0.88;
}

/* FAQ */
.faq-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.faq {
    border-top: 3px solid var(--ink);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 44px 22px 0;
    position: relative;
    font-size: 1.12rem;
    font-weight: 600;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--poster);
    font-size: 1.8rem;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "\2212";
}

.faq details p {
    padding-bottom: 22px;
    color: var(--muted);
    max-width: 62ch;
}

/* Finale */
.finale {
    justify-items: start;
}

.finale__title {
    font-size: clamp(3rem, 9vw, 7rem);
}

.pill {
    display: inline-flex;
    padding: 16px 30px;
    background: var(--white);
    font-family: var(--poster);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.finale__details {
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.finale__details dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.6;
}

.finale__details dd {
    margin: 4px 0 0;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

/* Footer */
.end {
    background: var(--night);
    color: var(--white);
    padding: 56px clamp(16px, 5vw, 64px) 28px;
}

.end a {
    color: var(--white) !important;
    text-decoration: none;
    opacity: 0.85;
}

.end a:hover {
    opacity: 1;
    text-decoration: underline;
}

.end__grid {
    max-width: var(--wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.end__about {
    display: grid;
    gap: 12px;
    align-content: start;
}

.end__about p {
    opacity: 0.65;
    font-size: 0.95rem;
    max-width: 38ch;
}

.end__title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 14px;
}

.end ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 0.94rem;
}

.end__contacts li {
    overflow-wrap: anywhere;
}

.end__bottom {
    max-width: var(--wide);
    margin: 40px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    opacity: 0.55;
}

/* Inner pages */
.frame {
    width: 100%;
    max-width: var(--wide);
    margin: 0 auto;
    padding-inline: clamp(16px, 5vw, 64px);
}

.page-body {
    padding-block: 120px 80px;
}

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

.pages .container {
    max-width: 780px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 32px);
}

.pages h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: 26px;
}

.pages h2 {
    font-family: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1.3;
    margin: 34px 0 10px;
}

.pages p,
.pages li {
    color: var(--muted);
}

.pages p {
    margin-bottom: 14px;
}

.mono {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.chapter__sub {
    font-size: 1.12rem;
    color: var(--muted);
}

.contact-page {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

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

.contact-page h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.card-index {
    margin: 12px 0 0;
    display: grid;
    border-top: 3px solid var(--ink);
}

.card-index > div {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 4px;
}

.card-index dd {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.form {
    display: grid;
    gap: 18px;
    background: var(--night);
    color: var(--white);
    padding: clamp(24px, 4vw, 44px);
}

.form label {
    display: grid;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
}

.form input,
.form textarea {
    font: inherit;
    font-size: 1rem;
    letter-spacing: normal;
    text-transform: none;
    color: var(--white);
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    border-radius: 0;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.form__consent {
    display: flex !important;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.form__consent input {
    margin-top: 4px;
}

.form .btn {
    justify-self: start;
}

.form__success {
    padding: 18px 0;
    border-top: 3px solid var(--ink);
    font-weight: 600;
}

@media (max-width: 980px) {
    html {
        scroll-snap-type: none;
    }

    .dots {
        display: none;
    }

    .bar__inner {
        flex-wrap: wrap;
        row-gap: 0;
        padding-top: 10px;
    }

    .bar__nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-block: 10px 12px;
    }

    .bar__links {
        gap: 20px;
        white-space: nowrap;
    }

    .screen {
        padding-top: 128px;
    }

    .screen {
        min-height: 0;
        padding: 96px 0 72px;
    }

    .screen.hero {
        min-height: 92svh;
    }

    .split,
    .faq-layout,
    .contact-page {
        grid-template-columns: minmax(0, 1fr);
    }

    .split__media {
        height: 60vw;
    }

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

    .path,
    .reel-cards,
    .glass-cols,
    .finale__details {
        grid-template-columns: minmax(0, 1fr);
    }

    .path__step + .path__step {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .story-card {
        min-height: 340px;
    }

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

@media (max-width: 600px) {
    .numbers,
    .pillars,
    .end__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .numbers > div {
        padding: 18px 0;
    }

    .numbers > div + div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.35);
    }

    .bar__inner {
        gap: 14px;
    }
}

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

    .dots button {
        transition: none;
    }
}
