@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("assets/fonts/manrope-cyrillic-variable.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("assets/fonts/manrope-latin-variable.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Exo 2";
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url("assets/fonts/exo2-cyrillic-700-800.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Exo 2";
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url("assets/fonts/exo2-latin-700-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    color-scheme: dark;
    --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Exo 2", "Manrope", ui-sans-serif, system-ui, sans-serif;
    --bg: #07090f;
    --bg-soft: #101521;
    --bg-card: rgba(19, 24, 36, 0.78);
    --text: #f5f7fb;
    --muted: #a9b3c7;
    --muted-strong: #cbd4e5;
    --line: rgba(255, 255, 255, 0.12);
    --brand: #65e4ff;
    --brand-strong: #35b7ff;
    --accent: #f0c96a;
    --accent-two: #ff7663;
    --shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
    --radius: 8px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.5;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 10%, rgba(101, 228, 255, 0.18), transparent 32rem),
        radial-gradient(circle at 82% 5%, rgba(255, 118, 99, 0.14), transparent 30rem),
        linear-gradient(180deg, #07090f 0%, #0b0f18 48%, #07090f 100%);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

body::after {
    position: fixed;
    inset: auto 0 0;
    z-index: -1;
    height: 46vh;
    pointer-events: none;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(101, 228, 255, 0.08));
}

a {
    color: inherit;
}

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

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

:focus-visible {
    outline: 3px solid rgba(101, 228, 255, 0.72);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 30;
    padding: 0.65rem 0.85rem;
    color: #061018;
    text-decoration: none;
    background: var(--brand);
    border-radius: var(--radius);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.page-shell {
    width: calc(100% - 40px);
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-header {
    --header-padding-x: clamp(0.85rem, 1.8vw, 1.35rem);

    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.05rem var(--header-padding-x);
    background: rgba(7, 9, 15, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.brand-mark {
    display: block;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 28px rgba(101, 228, 255, 0.12);
}

.nav-links {
    display: flex;
    gap: clamp(0.7rem, 2vw, 1.5rem);
    justify-content: center;
    min-width: 0;
}

.nav-links a,
.footer-links a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
}

.language-toggle {
    display: grid;
    grid-template-columns: repeat(4, minmax(36px, auto));
    align-items: center;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

.language-button {
    min-width: 36px;
    min-height: 36px;
    padding: 0 0.55rem;
    color: var(--muted);
    font: inherit;
    font-size: 0.83rem;
    font-weight: 800;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 999px;
    transition: color 180ms ease, background 180ms ease;
}

.language-button:hover,
.language-button.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.11);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.1rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding: 0 0.9rem;
    font-size: 0.88rem;
}

.youtube-link {
    gap: 0.52rem;
    white-space: nowrap;
}

.youtube-icon {
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
}

.youtube-icon-bg {
    fill: #ff0033;
}

.youtube-icon-play {
    fill: #fff;
}

.button-primary {
    color: #061018;
    background: linear-gradient(135deg, var(--brand), #d5f8ff);
    box-shadow: 0 16px 48px rgba(53, 183, 255, 0.22);
}

.button-secondary,
.button-ghost {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.13);
}

.button-secondary:hover,
.button-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(2rem, 4.5vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 78px);
    padding-top: clamp(3rem, 6vw, 5rem);
}

.hero::before {
    position: absolute;
    top: 0;
    bottom: -2rem;
    left: 50%;
    z-index: -2;
    width: 100vw;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.82) 34%, rgba(7, 9, 15, 0.5) 62%, rgba(7, 9, 15, 0.84) 100%),
        linear-gradient(180deg, rgba(7, 9, 15, 0.72) 0%, rgba(7, 9, 15, 0.12) 42%, #07090f 100%),
        url("assets/pixelayer-hero.jpg");
    background-image:
        linear-gradient(90deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.82) 34%, rgba(7, 9, 15, 0.5) 62%, rgba(7, 9, 15, 0.84) 100%),
        linear-gradient(180deg, rgba(7, 9, 15, 0.72) 0%, rgba(7, 9, 15, 0.12) 42%, #07090f 100%),
        image-set(
            url("assets/pixelayer-hero.webp") type("image/webp"),
            url("assets/pixelayer-hero.jpg") type("image/jpeg")
        );
    background-position: center 43%;
    background-size: cover;
    transform: translateX(-50%);
}

.hero::after {
    position: absolute;
    right: 3%;
    bottom: 8%;
    z-index: -1;
    width: min(34vw, 460px);
    aspect-ratio: 1;
    content: "";
    background: radial-gradient(circle, rgba(101, 228, 255, 0.18), transparent 64%);
    filter: blur(12px);
}

.hero-copy,
.hero-media {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

h1 {
    max-width: min(100%, 15ch);
    margin-bottom: 1.35rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.7vw, 5.9rem);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
    text-transform: uppercase;
}

:lang(ru) h1 {
    max-width: min(100%, 12.5ch);
    font-size: clamp(3rem, 5.8vw, 5.15rem);
}

:lang(es) h1,
:lang(de) h1 {
    max-width: min(100%, 12.8ch);
}

h2 {
    margin-bottom: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 0.65rem;
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.hero-text {
    max-width: 62ch;
    margin-bottom: 1.7rem;
    color: var(--muted-strong);
    font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-media {
    position: relative;
    align-self: center;
    min-height: 520px;
}

.collage-video,
.topic-card,
.video-card,
.contact-card,
.proof-strip {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.collage-video {
    --float-delay: 0s;
    --float-duration: 7.6s;
    --float-rotate: 0.55deg;
    --float-x: 0.25rem;
    --float-y: -0.6rem;

    position: absolute;
    right: 0;
    width: min(86%, 470px);
    overflow: hidden;
    background: rgba(7, 9, 15, 0.72);
    box-shadow:
        0 26px 76px rgba(0, 0, 0, 0.48),
        0 12px 28px rgba(101, 228, 255, 0.09);
    transform-origin: center;
    animation: collageFloat var(--float-duration) ease-in-out var(--float-delay) infinite;
    transition: transform 260ms ease, filter 260ms ease, box-shadow 260ms ease;
    will-change: transform;
}

.collage-video-one {
    --collage-x: -1.6rem;
    --collage-rotate: -4deg;
    --float-delay: -1.1s;
    --float-duration: 8.4s;
    --float-rotate: 0.7deg;
    --float-x: 0.18rem;
    --float-y: -0.65rem;
    top: calc(50% - 17.4rem);
    z-index: 1;
    transform: translateX(var(--collage-x)) rotate(var(--collage-rotate));
}

.collage-video-two {
    --collage-x: 0.25rem;
    --collage-rotate: 2.4deg;
    --float-delay: -3.2s;
    --float-duration: 7.8s;
    --float-rotate: -0.65deg;
    --float-x: -0.22rem;
    --float-y: -0.55rem;
    top: calc(50% - 9.2rem);
    z-index: 2;
    transform: translateX(var(--collage-x)) rotate(var(--collage-rotate));
}

.collage-video-three {
    --collage-x: -2rem;
    --collage-rotate: -2.2deg;
    --float-delay: -2s;
    --float-duration: 8.8s;
    --float-rotate: 0.5deg;
    --float-x: 0.26rem;
    --float-y: -0.5rem;
    top: calc(50% - 1rem);
    z-index: 3;
    transform: translateX(var(--collage-x)) rotate(var(--collage-rotate));
}

.collage-video:hover,
.collage-video:focus-within {
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.56),
        0 14px 34px rgba(101, 228, 255, 0.16);
    filter: saturate(1.08) contrast(1.04);
    animation-play-state: paused;
    transform: translate3d(var(--collage-x), -6px, 0) rotate(var(--collage-rotate)) scale(1.018);
}

.collage-video a,
.thumbnail-link {
    position: relative;
    display: block;
    overflow: hidden;
    background: #101521;
}

.collage-video a::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 50% 50%, rgba(7, 9, 15, 0.1), rgba(7, 9, 15, 0.58)),
        linear-gradient(180deg, rgba(7, 9, 15, 0.02), rgba(7, 9, 15, 0.26));
    opacity: 0;
    transition: opacity 220ms ease;
}

.collage-video img,
.thumbnail-link img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
}

.collage-video a:hover img,
.collage-video a:focus-visible img,
.thumbnail-link:hover img {
    filter: saturate(1.12) contrast(1.05);
    transform: scale(1.025);
}

.collage-video:hover a::before,
.collage-video:focus-within a::before,
.collage-video a:hover::before,
.collage-video a:focus-visible::before {
    opacity: 1;
}

.collage-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82);
    transition: opacity 220ms ease, transform 220ms ease;
}

.collage-play::before {
    width: 0;
    height: 0;
    margin-left: 0.28rem;
    content: "";
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #061018;
}

.collage-video:hover .collage-play,
.collage-video:focus-within .collage-play,
.collage-video a:hover .collage-play,
.collage-video a:focus-visible .collage-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes collageFloat {
    0%,
    100% {
        transform: translate3d(var(--collage-x), 0, 0) rotate(var(--collage-rotate));
    }

    50% {
        transform: translate3d(calc(var(--collage-x) + var(--float-x)), var(--float-y), 0) rotate(calc(var(--collage-rotate) + var(--float-rotate)));
    }
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 1px;
    margin-top: -1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.proof-strip div {
    padding: 1.25rem;
    background: rgba(10, 14, 23, 0.88);
}

.proof-strip span,
.contact-card span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.proof-strip strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.3;
}

.split-section,
.about-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.about-section {
    grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.78fr);
    align-items: center;
}

.section-heading {
    max-width: 720px;
}

.section-heading.compact {
    margin-bottom: 2rem;
}

.about-copy .section-heading {
    margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.about-panel {
    color: var(--muted-strong);
    font-size: clamp(1.04rem, 1.45vw, 1.18rem);
}

.about-panel p {
    max-width: 62ch;
}

.about-panel p + p {
    margin-top: 1rem;
}

.about-panel p:last-child {
    margin-bottom: 0;
}

.about-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow:
        0 28px 84px rgba(0, 0, 0, 0.45),
        0 10px 28px rgba(240, 201, 106, 0.08);
}

.about-photo::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(180deg, rgba(7, 9, 15, 0.02), rgba(7, 9, 15, 0.18)),
        linear-gradient(90deg, rgba(101, 228, 255, 0.12), transparent 34%);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    object-position: 50% 48%;
    filter: saturate(1.04) contrast(1.04);
}

.topic-grid,
.video-grid {
    display: grid;
    gap: 1rem;
}

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

.topic-card {
    min-height: 260px;
    padding: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.032)),
        rgba(19, 24, 36, 0.78);
}

.topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 2.6rem;
    color: #061018;
    font-size: 0.78rem;
    font-weight: 800;
    background: var(--accent);
    border-radius: 7px;
}

.topic-card:nth-child(2) .topic-icon {
    background: var(--brand);
}

.topic-card:nth-child(3) .topic-icon {
    background: var(--accent-two);
}

.topic-card:nth-child(4) .topic-icon {
    color: var(--text);
    background: #6f7dff;
}

.topic-card p,
.video-card p,
.collaboration-copy p,
.contact-card p,
.site-footer p {
    color: var(--muted);
}

.video-grid {
    grid-template-columns: repeat(3, 1fr);
}

.video-card {
    overflow: hidden;
    background: rgba(13, 18, 28, 0.84);
}

.video-card-body {
    padding: 1rem;
}

.video-category {
    margin-bottom: 0.5rem;
    color: var(--brand) !important;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 0.35rem;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.text-link::after {
    margin-left: 0.45rem;
    content: "->";
    color: var(--brand);
    transition: transform 180ms ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.collaboration {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.45fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    margin-bottom: clamp(3rem, 6vw, 5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.collaboration-copy h2 {
    margin-bottom: 1rem;
}

.note {
    margin-bottom: 0;
    color: var(--muted-strong) !important;
    font-weight: 800;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.4rem;
    background: rgba(7, 9, 15, 0.56);
}

.contact-card a {
    margin-bottom: 0.75rem;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    text-decoration-color: rgba(101, 228, 255, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.28em;
}

.contact-card p {
    margin-bottom: 0;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: end;
    padding: 1.5rem 0 2rem;
}

.footer-brand {
    min-height: auto;
}

.site-footer p {
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.copyright {
    grid-column: 1 / -1;
    font-size: 0.88rem;
}

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

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

@media (max-width: 1020px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .nav-links {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .hero,
    .split-section,
    .about-section,
    .collaboration {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        min-height: 600px;
    }

    .about-photo {
        max-width: 720px;
    }

    :lang(es) h1,
    :lang(de) h1 {
        max-width: min(100%, 10.4ch);
    }

    .topic-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: calc(100% - 28px);
    }

    .site-header {
        gap: 0.85rem;
    }

    .brand {
        font-size: 0.95rem;
    }

    .header-actions {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: space-between;
    }

    .nav-links {
        grid-row: 3;
        width: 100%;
        max-width: 100%;
    }

    .button-ghost {
        flex: 1;
    }

    h1 {
        max-width: 9.5ch;
    }

    :lang(en) h1 {
        max-width: min(100%, 13ch);
    }

    :lang(ru) h1,
    :lang(es) h1,
    :lang(de) h1 {
        max-width: 10.2ch;
    }

    .hero-media {
        min-height: 500px;
    }

    .about-photo img {
        aspect-ratio: 4 / 3;
    }

    .collage-video {
        right: 0.25rem;
        width: min(86%, 480px);
    }

    .collage-video-one {
        --collage-x: -0.4rem;
        --collage-rotate: -3.5deg;
        top: 0.8rem;
    }

    .collage-video-two {
        --collage-x: 0.25rem;
        --collage-rotate: 2.3deg;
        top: 7.3rem;
    }

    .collage-video-three {
        --collage-x: -0.65rem;
        --collage-rotate: -2deg;
        top: 13.8rem;
    }

    .proof-strip,
    .topic-grid,
    .video-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .topic-card {
        min-height: auto;
    }

    .topic-icon {
        margin-bottom: 1.4rem;
    }

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

@media (max-width: 440px) {
    .page-shell {
        width: calc(100% - 22px);
    }

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

    .brand {
        gap: 0.45rem;
        font-size: 0.88rem;
    }

    .brand-mark {
        width: 30px;
        height: 30px;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        align-items: stretch;
        flex-direction: row;
        gap: 0.45rem;
        justify-content: flex-end;
    }

    .language-toggle {
        width: auto;
        grid-template-columns: repeat(4, minmax(29px, auto));
    }

    .language-button {
        min-width: 29px;
        min-height: 32px;
        padding: 0 0.36rem;
        font-size: 0.76rem;
    }

    .header-actions .button-small {
        flex: 0 0 34px;
        width: 34px;
        min-height: 34px;
        padding: 0;
    }

    .header-actions .youtube-link span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-media {
        min-height: 380px;
    }

    .about-photo img {
        aspect-ratio: 1 / 1;
        object-position: 50% 44%;
    }

    .collage-video {
        right: 0;
        width: 92%;
    }

    .collage-video-one {
        top: 0.4rem;
    }

    .collage-video-two {
        top: 6.45rem;
    }

    .collage-video-three {
        top: 12.5rem;
    }

    .collaboration {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 340px) {
    .site-header {
        gap: 0.6rem;
    }

    .brand {
        gap: 0.36rem;
        font-size: 0.8rem;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
    }

    .header-actions {
        gap: 0.3rem;
    }

    .language-toggle {
        grid-template-columns: repeat(4, minmax(26px, auto));
        padding: 0.16rem;
    }

    .language-button {
        min-width: 26px;
        min-height: 30px;
        padding: 0 0.28rem;
        font-size: 0.72rem;
    }

    .header-actions .button-small {
        flex-basis: 32px;
        width: 32px;
        min-height: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .collage-video {
        animation: none !important;
    }
}
