:root {
    color-scheme: dark;
    --black: #080808;
    --white: #f5f3ef;
    --muted: #aaa7a1;
    --line: rgba(255, 255, 255, 0.18);
    --accent: #d52d27;
    --page-gutter: clamp(20px, 4vw, 64px);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    user-select: none;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.site-header {
    --header-color: var(--white);
    --header-border: rgba(255, 255, 255, 0.3);
    position: absolute;
    z-index: 40;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px var(--page-gutter);
    color: var(--header-color);
    transition: color 180ms ease;
}

.site-header.is-on-light {
    --header-color: var(--black);
    --header-border: rgba(0, 0, 0, 0.3);
}

body.menu-open .site-header {
    --header-color: var(--white);
    --header-border: rgba(255, 255, 255, 0.3);
}

.site-brand {
    position: absolute;
    top: 28px;
    left: var(--page-gutter);
    display: inline-flex;
    align-items: center;
    color: var(--header-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.site-brand img {
    width: auto;
    max-width: min(220px, 50vw);
    height: auto;
    max-height: 54px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 180ms ease;
}

.site-header.is-on-light .site-brand img {
    filter: brightness(0);
}

body.menu-open .site-header .site-brand img {
    filter: brightness(0) invert(1);
}

.menu-toggle {
    position: fixed;
    z-index: 41;
    top: 28px;
    right: var(--page-gutter);
    width: 52px;
    height: 52px;
    padding: 0;
    background: transparent;
    color: var(--header-color);
    border: 1px solid var(--header-border);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    width: 26px;
    height: 5px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 300ms ease, top 300ms ease;
}

.menu-toggle span:first-child {
    top: 17px;
}

.menu-toggle span:last-child {
    top: 30px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: grid;
    align-content: end;
    padding: 140px var(--page-gutter) 48px;
    background: #0d0d0d;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 350ms ease, transform 350ms ease, visibility 350ms;
}

.menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.menu-nav {
    display: grid;
    gap: 0;
}

.menu-nav a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
    color: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: clamp(38px, 7vw, 102px);
    font-weight: 700;
    line-height: 0.95;
    text-decoration: none;
    transition: color 180ms ease, padding-left 180ms ease;
}

.menu-nav a::after {
    content: "↗";
    color: var(--muted);
    font-size: 18px;
    font-weight: 400;
}

.menu-nav a:hover {
    padding-left: 12px;
    color: var(--accent);
}

.language-switch {
    display: flex;
    gap: 18px;
    margin-top: 32px;
}

.language-switch a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.language-switch a[aria-current="true"],
.language-switch a:hover {
    color: var(--white);
}

.hero {
    position: relative;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero-media,
.hero-slide,
.hero-media video,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    z-index: -3;
    background: #111;
}

.hero-media video,
.hero-media img {
    object-fit: cover;
}

.hero-slide {
    margin: 0;
    opacity: 0;
    transition: opacity 1800ms ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
}

.hero-content {
    height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 150px var(--page-gutter) 54px;
}

.hero-title {
    width: 100%;
    max-width: 1060px;
    margin: 0;
    font-size: 150px;
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: 0;
}

.hero-title span {
    display: block;
}

.hero-title span:nth-child(3) {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.82);
}

.work-section,
.create-section,
.clients-section,
.contact-section {
    padding: 110px var(--page-gutter);
}

.work-section,
.create-section {
    height: 100svh;
    padding-top: 72px;
    padding-bottom: 52px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-heading {
    margin-bottom: 44px;
}

.section-heading h2,
.contact-section h2 {
    margin: 0;
    font-size: clamp(48px, 8vw, 118px);
    font-weight: 700;
    line-height: 0.88;
    letter-spacing: 0;
}

.work-section {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    background: #0c0c0c;
}

.work-section .section-heading h2,
.create-section .section-heading h2 {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.86);
}

.section-heading .section-dot {
    color: var(--white);
    -webkit-text-stroke: 0;
}

.work-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    background-color: #0c0c0c;
    transition: opacity 0.55s ease;
    filter: saturate(0.42) brightness(0.82) contrast(1.08);
    pointer-events: none;
}

.work-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.work-bg.is-active {
    opacity: 1;
}

.work-content,
.create-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.work-content {
    margin: auto 0;
}

.create-content {
    margin-top: auto;
}

.work-content .section-heading {
    display: block;
}

.work-content .section-heading,
.create-content .section-heading {
    margin-bottom: 34px;
    text-align: left;
}

.work-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
    align-items: center;
    gap: 24px;
    min-height: 0;
    width: 100%;
    padding: 3px 0;
    color: var(--white);
    text-decoration: none;
}

.work-category {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: color 180ms ease, opacity 180ms ease;
}

.work-title {
    font-size: clamp(30px, 4vw, 58px);
    font-weight: 700;
    line-height: 0.96;
    transition: color 180ms ease, transform 180ms ease;
}

.work-category {
    text-align: right;
    text-transform: uppercase;
}

.work-row:hover .work-title,
.work-row:focus-visible .work-title {
    color: var(--accent);
    transform: translateX(10px);
}

.work-row:hover .work-category,
.work-row:focus-visible .work-category {
    color: rgba(255, 255, 255, 0.88);
}

.work-section .work-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
}

.work-section .work-category {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.56);
    opacity: 0;
    transform: translateX(-4px);
    transition: color 320ms ease, opacity 320ms ease, transform 320ms ease;
}

.work-section .work-category::before {
    content: "/ ";
}

.work-section .work-row:hover .work-category,
.work-section .work-row:focus-visible .work-category {
    opacity: 1;
    transform: translateX(0);
}

.text-link {
    position: relative;
    z-index: 1;
    width: fit-content;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.text-link:hover {
    color: var(--accent);
}

.text-link.work-all-link {
    position: absolute;
    z-index: 3;
    right: var(--page-gutter);
    bottom: 24px;
    left: var(--page-gutter);
    width: auto;
    padding: 20px 0 8px;
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.36);
    border-bottom: 0;
}

.work-page {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    padding: 150px var(--page-gutter) 100px;
    background: #0c0c0c;
}

.work-page-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: auto 0;
}

.work-page-heading {
    margin-bottom: 34px;
}

.work-page-heading p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.work-page-heading h1 {
    margin: 0;
    color: transparent;
    font-size: clamp(48px, 8vw, 118px);
    font-weight: 700;
    line-height: 0.88;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.86);
}

.work-page-heading .section-dot {
    color: var(--white);
    -webkit-text-stroke: 0;
}

.work-page-list {
    display: flex;
    flex-direction: column;
}

.work-page .work-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
}

.work-page .work-title {
    min-width: 0;
    font-size: clamp(30px, 4vw, 58px);
}

.work-page .empty-statement {
    position: relative;
    z-index: 2;
}

.empty-statement {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(28px, 4vw, 58px);
    font-weight: 700;
    line-height: 1;
}

.create-section {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    background: #121212 url("../images/we-create-background.png") center / cover no-repeat;
    color: var(--white);
}

.create-section::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
}

.category-list {
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    align-items: baseline;
    gap: 6px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-list li {
    display: inline-flex;
    align-items: baseline;
    outline: none;
    transition: opacity 220ms ease;
}

.category-list li:not(:last-child)::after {
    content: "/";
    margin: 0 0.24em;
    color: rgba(255, 255, 255, 0.42);
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 400;
    line-height: 0.9;
}

.category-list h3 {
    margin: 0;
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 700;
    line-height: 0.9;
    transition: color 220ms ease, -webkit-text-stroke-color 220ms ease, transform 220ms ease;
}

.category-list p {
    display: none;
}

.category-list:has(li:hover) li:not(:hover),
.category-list:has(li:focus) li:not(:focus) {
    opacity: 0.28;
}

.category-list li:hover h3,
.category-list li:focus h3 {
    color: var(--accent);
    -webkit-text-stroke-color: var(--accent);
    transform: translateY(-2px);
}

.category-active-description {
    min-height: 1.4em;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.category-active-description.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.clients-section {
    background: #fff;
    color: #777;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
}

.client-logo {
    min-height: 120px;
    display: grid;
    place-items: center;
    padding: 10px;
}

.client-logo img {
    max-width: 100%;
    max-height: 92px;
    filter: grayscale(1);
    opacity: 0.62;
    transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.client-logo:hover img {
    filter: grayscale(1);
    opacity: 0.9;
    transform: scale(1.04);
}

.contact-section {
    min-height: 72svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--accent);
    color: var(--white);
}

.contact-section h2 {
    max-width: 1120px;
    margin-top: 70px;
}

.contact-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: 80px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.36);
}

.contact-bottom p {
    margin: 0;
    font-size: 18px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 12px 0;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--white);
}

.contact-link:hover {
    color: var(--black);
    border-color: var(--black);
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 64px var(--page-gutter) 42px;
    background: var(--white);
    color: #888;
}

.footer-brand {
    display: block;
    margin: 0 0 8px;
    font-size: 20px;
    color: #888;
    font-weight: 900;
    line-height: 1;
}

.footer-brand-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.footer-logo {
    width: auto;
    max-width: min(220px, 60vw);
    height: auto;
    max-height: 58px;
    margin: 0 0 10px;
    filter: grayscale(1) brightness(0);
    opacity: 0.48;
}

.footer-tagline {
    max-width: 360px;
    margin: 0;
    color: #888;
    font-size: 18px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 44px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}

.footer-socials a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid #999;
}

.footer-socials a:hover {
    color: #bbb;
    border-color: #bbb;
}

.footer-copyright {
    margin: 0;
    color: #777;
    font-size: 13px;
}

@media (max-width: 760px) {
    .site-header {
        padding-top: 20px;
    }

    .menu-toggle {
        top: 20px;
    }

    .site-brand {
        top: 20px;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }

    .menu-toggle span {
        width: 24px;
    }

    .menu-toggle span:first-child {
        top: 14px;
    }

    .menu-toggle span:last-child {
        top: 25px;
    }

    .menu-toggle[aria-expanded="true"] span:first-child,
    .menu-toggle[aria-expanded="true"] span:last-child {
        top: 20px;
    }

    .menu-overlay {
        padding-bottom: 34px;
    }

    .hero-content {
        padding-right: 10px;
        padding-bottom: 26px;
        padding-left: 10px;
    }

    .hero-title {
        max-width: 100%;
        font-size: 55px;
        line-height: 0.84;
    }

    .work-section,
    .clients-section,
    .contact-section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .work-section,
    .create-section {
        height: 100svh;
        padding-top: 58px;
        padding-bottom: 34px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-heading h2,
    .contact-section h2 {
        font-size: 62px;
    }

    .work-content .section-heading h2 {
        font-size: 56px;
    }

    .work-all-link {
        font-size: 12px;
        right: var(--page-gutter);
        bottom: 16px;
        left: var(--page-gutter);
        padding-top: 14px;
        padding-bottom: 6px;
        white-space: nowrap;
    }

    .work-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        padding: 2px 0;
    }

    .work-section .work-row {
        display: flex;
        gap: 8px;
    }

    .work-category {
        text-align: left;
    }

    .work-title {
        font-size: 34px;
    }

    .work-page {
        padding: 130px var(--page-gutter) 80px;
    }

    .work-page-heading {
        margin-bottom: 30px;
    }

    .work-page-heading h1 {
        font-size: 56px;
    }

    .work-page .work-row {
        align-items: flex-start;
        flex-direction: column;
        padding: 2px 0;
    }

    .work-page .work-title {
        font-size: 34px;
    }

    .category-list h3 {
        font-size: 36px;
    }

    .create-content {
        margin: auto 0;
    }

    .create-content .section-heading {
        margin-bottom: 34px;
    }

    .category-list {
        display: block;
    }

    .category-list:has(li:hover) li:not(:hover),
    .category-list:has(li:focus) li:not(:focus) {
        opacity: 1;
    }

    .category-list li {
        display: block;
        margin-bottom: 4px;
    }

    .category-list li:not(:last-child)::after {
        content: none;
    }

    .category-list p {
        display: none;
    }

    .category-active-description {
        display: none;
    }

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

    .client-logo {
        min-height: 100px;
        padding: 8px;
    }

    .client-logo img {
        max-height: 72px;
    }

    .contact-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .footer-meta {
        align-items: flex-start;
    }

    .footer-socials {
        justify-content: flex-start;
    }
}

@media (min-width: 761px) and (max-width: 1024px) {
    .hero-title {
        font-size: 92px;
    }

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

@media (max-width: 380px) {
    .hero-title {
        font-size: 48px;
    }

    .section-heading h2,
    .contact-section h2 {
        font-size: 54px;
    }

    .work-content .section-heading h2,
    .work-page-heading h1 {
        font-size: 50px;
    }
}

@media (max-width: 340px) {
    .hero-title {
        font-size: 43px;
    }
}

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

    .menu-overlay,
    .menu-toggle span,
    .hero-slide {
        transition: none;
    }
}
