@import url("https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700&display=swap");

/* =========================================================================
   Double R Studios — landing
   Identity: near-black surfaces, one red, Anton for display, Inter for text
   (DESIGN.md). One static light behind the hero, flat surfaces, one entrance
   on load, nothing ambient.
   ========================================================================= */

:root {
    --black: #090b0e;
    --dark: #101216;
    --dark-light: #17191e;
    --white: #f4f4f2;
    --gray: #999ca3;
    --red: #e3262e;
    --red-light: #ff3038;
    --red-dark: #8c1015;
    --border: #292c32;

    --red-hover: #cf2129;
    --red-active: #b91c23;
    --on-red: #ffffff;
    --rule-soft: rgba(244, 244, 242, 0.08);
    --rule-strong: rgba(244, 244, 242, 0.28);

    --title-font: "Anton", sans-serif;
    --body-font: "Inter", sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 100px;

    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-color: var(--border) var(--black);
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--body-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

ul {
    list-style: none;
}

section {
    padding: 110px max(6vw, 24px);
}

#home,
#work,
#services,
#about,
#contact {
    scroll-margin-top: 90px;
}

::selection {
    background-color: var(--red);
    color: var(--on-red);
}

:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 3px;
}

main:focus {
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

/* Skip link: first focusable element, visible only on focus. */

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2000;

    padding: 10px 16px;

    background-color: var(--white);
    color: var(--black);
    font-size: 0.9375rem;
    font-weight: 600;

    transform: translateY(-160%);
}

.skip-link:focus-visible {
    transform: none;
    outline-color: var(--red);
}

/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    width: 100%;
    min-height: var(--header-height);
    padding: 10px max(6vw, 24px);

    background-color: rgba(9, 11, 14, 0.96);
    border-bottom: 1px solid var(--rule-soft);
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 88px);
    width: 100%;
}

.navigation-left {
    justify-content: flex-end;
    padding-right: clamp(36px, 6vw, 110px);
}

.navigation-right {
    justify-content: flex-start;
    padding-left: clamp(36px, 6vw, 110px);
}

.navigation a {
    position: relative;

    padding: 10px 0;

    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;

    transition: color 160ms ease-out;
}

/* Underline on hover: user-triggered, 160 ms, solid red (no glow). */

.navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;

    height: 1px;

    background-color: var(--red);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 160ms ease-out;
}

.navigation a:hover {
    color: var(--white);
}

.navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navigation .navigation-login {
    color: var(--white);
}

.header-logo {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;
}

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

.menu-toggle,
.mobile-menu {
    display: none;
}

@media (max-width: 850px) {
    .header {
        --header-height: 84px;
        padding: 8px 22px;
    }

    .navigation {
        gap: 24px;
    }

    .navigation-left {
        padding-right: 28px;
    }

    .navigation-right {
        padding-left: 28px;
    }

    .header-logo {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 600px) {
    .header {
        --header-height: 72px;
        display: flex;
        justify-content: center;
        padding: 7px 20px;
    }

    .navigation {
        display: none;
    }

    .header-logo {
        width: 46px;
        height: 46px;
    }

    .menu-toggle {
        position: absolute;
        top: 50%;
        right: 12px;
        z-index: 3;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;

        width: 48px;
        height: 48px;
        padding: 0 11px;

        background: transparent;
        border: none;
        cursor: pointer;

        transform: translateY(-50%);
    }

    .menu-toggle span {
        display: block;
        width: 26px;
        height: 2px;
        margin-left: auto;

        background-color: var(--white);

        transition: transform 200ms var(--ease-out);
    }

    .menu-toggle span:last-child {
        width: 18px;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;

        display: flex;
        flex-direction: column;

        padding: 8px 20px 24px;

        background-color: var(--black);
        border-bottom: 1px solid var(--border);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);

        transition:
            opacity 200ms var(--ease-out),
            transform 200ms var(--ease-out),
            visibility 0s linear 200ms;
    }

    .mobile-menu a {
        padding: 16px 4px;

        border-bottom: 1px solid var(--rule-soft);

        color: var(--gray);
        font-size: 1rem;
        font-weight: 500;

        transition: color 160ms ease-out;
    }

    .mobile-menu a:hover {
        color: var(--white);
    }

    .mobile-menu a:last-child {
        border-bottom: none;
        color: var(--white);
    }

    .header.menu-open .mobile-menu {
        opacity: 1;
        visibility: visible;
        transform: none;

        transition:
            opacity 200ms var(--ease-out),
            transform 200ms var(--ease-out),
            visibility 0s;
    }

    .header.menu-open .menu-toggle span:first-child {
        width: 25px;
        transform: translateY(4.5px) rotate(45deg);
    }

    .header.menu-open .menu-toggle span:last-child {
        width: 25px;
        transform: translateY(-4.5px) rotate(-45deg);
    }
}

/* =========================
   REUSABLE ELEMENTS
========================= */

/* Section names: sentence case, quiet, no tracking. */

.section-label {
    margin-bottom: 12px;

    color: var(--gray);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Buttons: square corners (brand), color transitions only, 1 px press. */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 160px;
    min-height: 48px;
    padding: 0 22px;

    border: 1px solid transparent;

    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;

    transition:
        background-color 160ms ease-out,
        border-color 160ms ease-out,
        color 160ms ease-out;
}

.button:active {
    transform: translateY(1px);
    transition-duration: 80ms;
}

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

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

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

.button-secondary {
    background-color: transparent;
    border-color: var(--rule-strong);
    color: var(--white);
}

.button-secondary:hover {
    background-color: rgba(244, 244, 242, 0.06);
    border-color: var(--white);
}

.button-link {
    color: var(--white);
    font-weight: 600;

    text-decoration: underline;
    text-decoration-color: var(--gray);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: text-decoration-color 160ms ease-out;
}

.button-link:hover {
    text-decoration-color: var(--white);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;

    min-height: 100vh;
    padding-top: 150px;
}

/* The one red light on the page: static, behind the reels. */

.hero::before {
    content: "";
    position: absolute;
    top: 12%;
    right: 2%;
    z-index: -1;

    width: 58%;
    height: 76%;

    background: radial-gradient(
        ellipse at center,
        rgba(227, 38, 46, 0.52) 0%,
        rgba(227, 38, 46, 0.24) 32%,
        rgba(140, 16, 21, 0.1) 54%,
        transparent 72%
    );

    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
}

.hero-content {
    position: relative;
}

.hero h1 {
    max-width: 650px;

    font-family: var(--title-font);
    font-size: clamp(5rem, 10vw, 10rem);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-line {
    display: block;
}

.hero-line-accent {
    color: var(--red);
}

.hero-description {
    max-width: 460px;
    margin-top: 32px;

    color: var(--gray);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
}

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

.hero-login {
    margin-top: 22px;

    color: var(--gray);
    font-size: 0.9375rem;
}

/* Hero video composition: a vertical reel behind a timeline capture. */

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

.hero-video {
    position: absolute;
    overflow: hidden;

    background-color: #050608;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

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

.hero-video-reel {
    top: 0;
    left: 5%;
    z-index: 1;

    width: 36%;
    aspect-ratio: 9 / 16;
}

.hero-video-timeline {
    right: 0;
    bottom: 0;
    z-index: 2;

    width: 68%;
    aspect-ratio: 4 / 3;
}

/* =========================
   TRUSTED BY CREATORS
========================= */

.creators {
    padding-right: max(6vw, 24px);
    padding-left: max(6vw, 24px);

    background-color: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    text-align: center;
}

.creators h2 {
    font-family: var(--title-font);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.05;
    text-transform: uppercase;
}

.creators h2::after,
.work > h2::after {
    content: ".";
    color: var(--red);
}

.creators-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;

    max-width: 850px;
    margin: 0 auto;
    padding: 64px 0 40px;
}

.creator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    width: 170px;
}

.creator-logo {
    display: block;

    width: 150px;
    height: 150px;

    border-radius: 50%;
    outline: 2px solid transparent;
    outline-offset: 4px;

    transition: outline-color 160ms ease-out;
}

.creator-logo img {
    width: 100%;
    height: 100%;

    border-radius: 50%;
    object-fit: cover;
}

.creator:hover .creator-logo {
    outline-color: var(--red);
}

.creator:focus-visible {
    outline: none;
}

.creator:focus-visible .creator-logo {
    outline-color: var(--white);
}

.creator h3 {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;

    transition: color 160ms ease-out;
}

.creator:hover h3 {
    color: var(--white);
}

.carousel-hint {
    color: var(--gray);
    font-size: 0.875rem;
}

/* =========================
   SELECTED WORK
========================= */

.work {
    max-width: 1500px;
    margin: 0 auto;
}

.work > h2 {
    max-width: 1050px;

    font-family: var(--title-font);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 90px;

    margin-top: 80px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: clamp(50px, 8vw, 130px);

    min-height: 680px;
    padding: 70px 0;

    border-top: 1px solid var(--border);
}

.project-card:last-child {
    border-bottom: 1px solid var(--border);
}

.project-card-reverse .project-channel {
    order: 2;
}

.project-card-reverse .project-video {
    order: 1;
    justify-content: flex-start;
}

.project-channel {
    display: grid;
    grid-template-columns: minmax(180px, 260px) 1fr;
    align-items: center;
    gap: clamp(35px, 5vw, 75px);
}

.project-channel-image {
    display: block;

    width: 100%;
    max-width: 260px;
    aspect-ratio: 1;

    border-radius: 50%;
    outline: 2px solid transparent;
    outline-offset: 6px;

    transition: outline-color 160ms ease-out;
}

.project-channel-image:hover {
    outline-color: var(--red);
}

.project-channel-image:focus-visible {
    outline-color: var(--white);
}

.project-channel-image img {
    width: 100%;
    height: 100%;

    border-radius: 50%;
    object-fit: cover;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.project-channel > *,
.project-card > * {
    min-width: 0;
}

.project-information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-number {
    /* The lighter brand red keeps small red text above 4.5:1 on black. */
    color: var(--red-light);
    font-size: 0.875rem;
    font-weight: 600;
}

.project-information h3 {
    margin-top: 6px;

    font-family: var(--title-font);
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.project-category {
    margin-top: 8px;

    color: var(--gray);
    font-size: 0.9375rem;
}

.project-views {
    display: flex;
    flex-direction: column;

    margin-top: 32px;
}

.project-views strong {
    color: var(--red);

    font-family: var(--title-font);
    font-size: clamp(3.5rem, 6vw, 6rem);
    font-weight: 400;
    line-height: 0.9;
    font-variant-numeric: tabular-nums;
}

.project-views span {
    margin-top: 8px;

    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
}

/* The services of each channel: an inline list split by thin rules. */

.project-services {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;

    max-width: 360px;
    margin-top: 26px;

    color: var(--gray);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.project-services li {
    display: inline-flex;
    align-items: center;
}

.project-services li + li::before {
    content: "";
    display: inline-block;

    width: 1px;
    height: 14px;
    margin: 0 12px;

    background-color: var(--border);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 44px;
    margin-top: 18px;

    border-bottom: 1px solid var(--border);

    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;

    transition: border-color 160ms ease-out, color 160ms ease-out;
}

.project-link .icon {
    color: var(--red);
}

.project-link:hover {
    border-color: var(--red);
}

.project-video {
    display: flex;
    justify-content: flex-end;

    width: 100%;
}

.project-video video {
    width: 100%;
    max-width: 390px;
    aspect-ratio: 9 / 16;

    background-color: #050608;
    border-radius: 6px;

    object-fit: cover;

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* =========================
   SERVICES
========================= */

.services {
    background-color: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services > h2 {
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;

    font-family: var(--title-font);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.services > h2::after {
    content: ".";
    color: var(--red);
}

.services > .section-label {
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    max-width: 1600px;
    margin: 60px auto 0;
}

.service-card {
    min-height: 300px;
    padding: 32px;

    background-color: var(--dark-light);
    border: 1px solid var(--border);

    transition: border-color 160ms ease-out;
}

.service-card:hover {
    border-color: var(--rule-strong);
}

/* A short red rule marks each service (it replaces the old 01–04 numbers). */

.service-card h3::before {
    content: "";
    display: block;

    width: 28px;
    height: 3px;
    margin-bottom: 22px;

    background-color: var(--red);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    margin-top: 18px;

    color: var(--gray);
    font-size: 0.9375rem;
}

/* =========================
   ABOUT
========================= */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;

    max-width: 1600px;
    margin: 0 auto;
}

.about .section-label {
    grid-column: 1 / -1;
}

.about h2 {
    font-family: var(--title-font);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}

.about-content {
    align-self: end;
}

.about-content p {
    max-width: 600px;

    color: var(--gray);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.about-statement {
    display: block;
    margin-top: 35px;

    color: var(--white);
    font-family: var(--title-font);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

/* =========================
   CONTACT
========================= */

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;

    border-top: 1px solid var(--border);
    text-align: center;
}

.contact h2 {
    max-width: 1150px;

    font-family: var(--title-font);
    font-size: clamp(4rem, 8vw, 8.5rem);
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
}

.contact h2 span {
    display: block;
    color: var(--red);
}

.contact-description {
    max-width: 580px;
    margin-top: 30px;

    color: var(--gray);
    font-size: 1rem;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
    max-width: 1250px;
    margin-top: 55px;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;

    min-height: 104px;
    padding: 24px 26px;

    background-color: var(--dark-light);
    border: 1px solid var(--border);

    text-align: left;

    transition: border-color 160ms ease-out;
}

.contact-item:hover {
    border-color: var(--rule-strong);
}

.contact-icon {
    color: var(--red);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.contact-type {
    color: var(--gray);
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-item strong {
    overflow-wrap: anywhere;

    color: var(--white);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    font-weight: 600;
}

.contact-arrow {
    color: var(--gray);
    transition: color 160ms ease-out;
}

.contact-item:hover .contact-arrow {
    color: var(--white);
}

.contact-start {
    margin-top: 40px;

    color: var(--gray);
    font-size: 1rem;
}

/* =========================
   FOOTER
========================= */

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;

    min-height: 90px;
    padding: 20px max(6vw, 24px);

    background-color: #050608;
    border-top: 1px solid var(--border);

    color: var(--gray);
    font-size: 0.875rem;
}

.footer-credit {
    padding: 0 max(6vw, 24px) 20px;

    background-color: #050608;
    color: rgba(153, 156, 163, 0.8);
    font-size: 0.75rem;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {
    .project-card {
        grid-template-columns: 1fr 0.75fr;
        gap: 45px;
    }

    .project-channel {
        grid-template-columns: 190px 1fr;
        gap: 35px;
    }

    .project-video video {
        max-width: 350px;
    }
}

@media (max-width: 1050px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero::before {
        top: 46%;
        right: 0;

        width: 100%;
        height: 50%;
    }

    .hero-media {
        width: 100%;
        max-width: 760px;
        min-height: 590px;
        margin: 0 auto;
    }

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

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

    .about-content {
        margin-top: 40px;
    }
}

@media (max-width: 950px) {
    .contact-links {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 650px;
    }
}

@media (max-width: 850px) {
    .projects {
        gap: 60px;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .project-card-reverse .project-channel,
    .project-card-reverse .project-video {
        order: initial;
    }

    .project-video,
    .project-card-reverse .project-video {
        justify-content: center;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {
    section {
        padding: 80px 20px;
    }

    .creators {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero {
        gap: 50px;
        min-height: auto;
        padding-top: 130px;
    }

    .hero::before {
        top: 52%;
        width: 100%;
        height: 44%;
    }

    .hero h1 {
        font-size: clamp(4.2rem, 21vw, 7rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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

    .hero-video-reel {
        left: 2%;
        width: 52%;
    }

    .hero-video-timeline {
        bottom: 15px;
        width: 88%;
    }

    /* Four creators as a 2 × 2 grid. */

    .creators-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
        justify-items: center;
        padding: 48px 0 32px;
    }

    .creator {
        width: 100%;
        max-width: 150px;
    }

    .creator-logo {
        width: 110px;
        height: 110px;
    }

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

    .service-card {
        min-height: 0;
    }

    .contact h2 {
        font-size: clamp(3.4rem, 14vw, 5rem);
        line-height: 0.92;
    }

    .about h2 {
        font-size: clamp(2.7rem, 11vw, 4rem);
    }

    .contact-links {
        margin-top: 45px;
    }

    .contact-item {
        min-height: 92px;
        padding: 20px;
    }

    .footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-credit {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .project-card {
        min-height: auto;
        padding: 56px 0;
    }

    .project-channel {
        grid-template-columns: 115px 1fr;
        gap: 25px;
    }

    .project-channel-image {
        max-width: 115px;
    }

    .project-information h3 {
        font-size: 2.8rem;
    }

    .project-views {
        margin-top: 22px;
    }

    .project-views strong {
        font-size: 3.6rem;
    }

    .project-video video {
        max-width: 350px;
    }
}

@media (max-width: 400px) {
    .project-channel {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================
   MOTION
   One entrance on load: the headline is cut in line by line like a clip on a
   timeline, then the copy and the reels arrive. Content is fully visible
   without it (reduced motion or no animation support).
========================= */

@media (prefers-reduced-motion: no-preference) {
    @keyframes cut-in {
        from {
            clip-path: inset(0 100% 0 0);
            transform: translateY(12px);
        }

        to {
            clip-path: inset(0 0 0 0);
            transform: none;
        }
    }

    @keyframes rise-in {
        from {
            opacity: 0;
            transform: translateY(12px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    .hero-line {
        animation: cut-in 420ms var(--ease-out) both;
    }

    .hero-line-accent {
        animation-delay: 70ms;
    }

    .hero-description {
        animation: rise-in 420ms var(--ease-out) 140ms both;
    }

    .hero-actions {
        animation: rise-in 420ms var(--ease-out) 210ms both;
    }

    .hero-login {
        animation: rise-in 420ms var(--ease-out) 240ms both;
    }

    .hero-media {
        animation: rise-in 420ms var(--ease-out) 280ms both;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
