:root {
    color-scheme: dark;
    --ink: #080808;
    --paper: #f2efe7;
    --muted: #b7b4ae;
    --red: #ef3028;
    --font-display: "Teko", Impact, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --font-brand: "Michroma", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body.home-page {
    min-width: 320px;
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    margin-bottom: -96px;
    display: flex;
    width: 100%;
    min-height: 96px;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(24px, 5vw, 78px);
    background: rgba(5, 5, 5, .42);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(242, 239, 231, .14);
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--paper);
    text-decoration: none;
}

.wordmark-monogram { display: block; width: 48px; height: 42px; object-fit: contain; }

.wordmark-type { display: grid; gap: 4px; }
.wordmark-type strong { font-family: var(--font-brand); font-size: .65rem; font-weight: 400; letter-spacing: .08em; }
.wordmark-accent { color: #f04a24; }
.wordmark-type small { color: #aaa69e; font-family: var(--font-brand); font-size: .45rem; letter-spacing: .3em; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 46px);
}

.nav-toggle { display: none; }

.primary-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #d7d4ce;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.primary-nav a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}

.primary-nav a > .fa-solid {
    color: var(--red);
    font-size: .85rem;
    letter-spacing: normal;
    transition: color .2s ease, transform .2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: #fff; transform: translateY(-2px); }

.primary-nav a:not(.nav-contact):hover::after,
.primary-nav a:not(.nav-contact):focus-visible::after { transform: scaleX(1); }

.primary-nav a:hover > .fa-solid,
.primary-nav a:focus-visible > .fa-solid { color: #e13a45; transform: translateY(-1px) scale(1.12); }

.primary-nav .nav-contact {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    background: var(--red);
    color: #fff;
}

.primary-nav .nav-contact:hover,
.primary-nav .nav-contact:focus-visible {
    background: #d02a36;
    box-shadow: 0 6px 20px rgba(181, 31, 42, .35);
}

.primary-nav .nav-contact > .fa-solid { color: #fff; }

.hero {
    position: relative;
    display: flex;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    isolation: isolate;
    padding: 150px clamp(24px, 8vw, 126px) 74px;
    background: radial-gradient(ellipse at 78% 48%, rgba(239, 48, 40, .13), transparent 35%), radial-gradient(ellipse at 50% 100%, #171514 0, #090909 66%);
}

.hero-clouds {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-cloud-track {
    display: flex;
    width: 200%;
    height: 100%;
    animation: hero-cloud-drift 45s linear infinite;
    will-change: transform;
}

.hero-cloud-track img {
    display: block;
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    object-fit: fill;
    opacity: .36;
    mix-blend-mode: screen;
}

@keyframes hero-cloud-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* Keep title content over the intentionally dark side of the composition. */
.hero-content {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.hero-overline {
    justify-content: flex-start;
}

.hero-footer {
    justify-content: flex-start;
}

.hero-particles {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-logo {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: block;
    width: clamp(320px, 56vw, 780px);
    max-height: 72svh;
    object-fit: contain;
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 18px 36px rgb(0 0 0 / 35%));
}

.hero-content {
    position: absolute;
    z-index: 3;
    right: clamp(24px, 8vw, 126px);
    bottom: 74px;
    left: clamp(24px, 8vw, 126px);
    width: min(600px, 46vw);
    margin-left: 0;
    text-align: left;
}

.hero-overline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 32px;
    color: #d0ccc4;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.hero-overline span { width: 28px; height: 3px; background: var(--red); }

.hero h1 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 11vw, 10.5rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .76;
    text-transform: uppercase;
}

.hero h1 em {
    display: inline-block;
    margin-top: .12em;
    color: #fff;
    font-size: .54em;
    font-style: normal;
    letter-spacing: .035em;
    line-height: .95;
}

.hero-footer {
    display: flex;
    width: min(510px, 100%);
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 20px;
}

.hero-footer p {
    margin: 0;
    color: var(--paper);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.7;
    text-transform: uppercase;
}

.hero-footer p span {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 400;
    letter-spacing: .12em;
}

.hero-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--red);
    color: var(--paper);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-decoration: none;
    text-transform: uppercase;
}

.services {
    background: #0a0a0a;
}

.services-heading {
    display: grid;
    min-height: 62svh;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 8vw;
    padding: 140px clamp(24px, 8vw, 126px) 72px;
    border-bottom: 1px solid rgba(242, 239, 231, .16);
    background: linear-gradient(110deg, #111 0%, #0a0a0a 70%);
}

.services-eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    color: #c1bdb5;
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.services-eyebrow span { width: 24px; height: 2px; background: var(--red); }

.services-heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 10vw, 10rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: .9;
    text-transform: uppercase;
}

.service-index {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: end;
    border-top: 1px solid rgba(242, 239, 231, .25);
}

.service-index a {
    display: grid;
    min-height: 62px;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 0 12px 0 0;
    border-bottom: 1px solid rgba(242, 239, 231, .18);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: .025em;
    text-decoration: none;
    transition: color .2s ease, padding .2s ease;
}

.service-index a span { color: #88847e; font: 600 .6rem var(--font-body); letter-spacing: .1em; }
.service-index a b { width: 7px; height: 7px; border-top: 1px solid var(--red); border-right: 1px solid var(--red); transform: rotate(45deg); }
.service-index a:hover,
.service-index a:focus-visible { padding-left: 8px; color: #fff; outline-color: var(--red); }

.service-section {
    position: relative;
    display: flex;
    min-height: min(90svh, 920px);
    align-items: flex-end;
    overflow: hidden;
    padding: clamp(90px, 13vh, 150px) clamp(24px, 8vw, 126px) clamp(70px, 10vh, 116px);
    border-bottom: 1px solid rgba(242, 239, 231, .16);
    isolation: isolate;
    scroll-margin-top: 96px;
}

.service-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--service-focus, center) center;
}

#streaming { --service-focus: 52%; }
#merch { --service-focus: 68%; }
#tours { --service-focus: 46%; }
#produccion { --service-focus: 68%; }
#arte { --service-focus: 52%; }
#marketing { --service-focus: 58%; }

.service-section::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .76) 34%, rgba(5, 5, 5, .12) 78%), linear-gradient(0deg, rgba(5, 5, 5, .72), transparent 58%);
    content: "";
}

.service-content {
    width: min(820px, 68vw);
}

.service-number {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    color: #dbd7cf;
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.service-number::before {
    width: 26px;
    height: 2px;
    background: var(--red);
    content: "";
}

.service-number span { color: var(--red); }

.service-section h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(5rem, 13vw, 12rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .78;
    text-transform: uppercase;
}

.service-description {
    position: relative;
    z-index: 1;
    max-width: 530px;
    margin: 0;
    padding: 0 0 5px 22px;
    border-left: 3px solid var(--red);
    color: #dfdcd5;
    font-size: clamp(.95rem, 1.4vw, 1.16rem);
    line-height: 1.65;
}

.service-section:nth-of-type(even) { align-items: flex-start; }
.service-section:nth-of-type(even)::before {
    background: linear-gradient(90deg, rgba(5, 5, 5, .92) 0%, rgba(5, 5, 5, .64) 42%, rgba(5, 5, 5, .08) 100%), linear-gradient(180deg, rgba(5, 5, 5, .5), transparent 58%);
}
.service-section:nth-of-type(even) .service-content { margin-top: clamp(30px, 7vh, 80px); }
.service-section:nth-of-type(3n) .service-content { margin-left: auto; }

.manifesto {
    display: grid;
    min-height: 76svh;
    grid-template-columns: 1fr minmax(260px, .62fr);
    align-content: center;
    align-items: end;
    column-gap: 8vw;
    padding: 110px clamp(24px, 8vw, 126px);
    background: #f0ede5;
    color: #111;
}

.manifesto .services-eyebrow { grid-column: 1 / -1; color: #514e49; }
.manifesto h2 {
    grid-row: span 2;
    margin: 22px 0 0;
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 9.5rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .82;
    text-transform: uppercase;
}
.manifesto-copy { max-width: 440px; margin: 0 0 28px; color: #514e49; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.75; }
.manifesto .hero-link { width: fit-content; color: #111; border-color: var(--red); }
.manifesto .hero-link .fa-arrow-up { color: var(--red); font-size: .8rem; }
.hero-link .fa-arrow-down { color: #e13a45; font-size: 1rem; }

@media (max-width: 900px) {
    .services-heading { gap: 5vw; padding-inline: 36px; }
    .service-content { width: min(760px, 78vw); }
    .service-section h3 { font-size: clamp(5rem, 12vw, 9rem); }
    .manifesto { grid-template-columns: 1fr .75fr; column-gap: 5vw; padding-inline: 36px; }
}

@media (max-width: 600px) {
    .services-heading { min-height: 0; grid-template-columns: 1fr; gap: 44px; padding: 112px 24px 48px; }
    .services-heading h2 { font-size: clamp(4.2rem, 17vw, 6.8rem); }
    .service-index { grid-template-columns: 1fr 1fr; }
    .service-index a { min-height: 54px; grid-template-columns: 24px 1fr auto; font-size: 1.05rem; }
    .service-index a:nth-child(odd) { margin-right: 10px; }
    .service-index a:nth-child(even) { margin-left: 10px; }
    .service-section {
        min-height: 76svh;
        align-items: flex-end;
        padding: 64px 24px 50px;
        scroll-margin-top: 80px;
    }
    .service-section:nth-of-type(even) { align-items: flex-end; }
    .service-content,
    .service-section:nth-of-type(3n) .service-content { width: 100%; margin: 0; }
    .service-section:nth-of-type(even) .service-content { margin-top: 0; }
    .service-section h3 { margin-bottom: 14px; font-size: clamp(4rem, 16vw, 6.2rem); }
    .service-description { max-width: 360px; font-size: .96rem; }
    .service-section::before,
    .service-section:nth-of-type(even)::before { background: linear-gradient(90deg, rgba(5, 5, 5, .7), rgba(5, 5, 5, .12)), linear-gradient(0deg, rgba(5, 5, 5, .9), rgba(5, 5, 5, .06) 76%); }
    .manifesto { min-height: 90svh; grid-template-columns: 1fr; align-content: center; gap: 22px; padding: 94px 24px; }
    .manifesto .services-eyebrow { grid-column: auto; }
    .manifesto h2 { grid-row: auto; margin: 0; font-size: clamp(4rem, 15vw, 6.5rem); }
    .manifesto-copy { margin: 8px 0 10px; }
}

@media (min-width: 1600px) {
    .hero { padding: 150px clamp(78px, 5vw, 168px) 74px clamp(64px, 4vw, 96px); }
}

@media (min-width: 1025px) {
    .hero-content { padding-top: clamp(28px, 3.5vh, 40px); }
}

@media (max-width: 1024px) {
    .site-header { position: sticky; min-height: 80px; margin-bottom: -80px; padding: 14px 20px; }
    .wordmark { gap: 10px; }
    .wordmark-monogram { width: 40px; height: 36px; }
    .wordmark-type strong { font-size: .56rem; letter-spacing: .06em; }
    .wordmark-type small { font-size: .4rem; letter-spacing: .2em; }
    .nav-toggle {
        display: inline-grid;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-items: center;
        gap: 5px;
        margin-left: auto;
        border: 1px solid rgba(242, 239, 231, .28);
        background: rgba(5, 5, 5, .25);
        color: var(--paper);
        font-size: 1rem;
        cursor: pointer;
    }
    .nav-toggle-bar {
        display: block;
        width: 19px;
        height: 2px;
        background: currentColor;
        transform-origin: center;
        transition: transform .28s ease, opacity .18s ease;
    }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-7px) rotate(-45deg); }
    .nav-toggle:hover,
    .nav-toggle:focus-visible { border-color: var(--red); outline: none; }
    .primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        max-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        padding: 0 20px;
        border-bottom: 1px solid rgba(242, 239, 231, .14);
        background: rgba(5, 5, 5, .9);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: max-height .35s ease, opacity .22s ease, transform .28s ease, padding .35s ease, visibility 0s linear .35s;
    }
    .site-header.menu-open .primary-nav {
        max-height: 320px;
        padding: 2px 12px 6px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }
    .primary-nav a,
    .primary-nav a:not(.nav-contact) {
        display: flex;
        min-height: 34px;
        align-items: center;
        padding: 0 4px;
        font-size: .65rem;
        letter-spacing: .14em;
    }
    .primary-nav a:not(.nav-contact)::after { bottom: -4px; }
    .primary-nav .nav-contact { min-height: 34px; gap: 10px; margin-top: 16px; padding: 0 8px; }
    .hero { height: 100svh; min-height: 100svh; padding: 132px 24px 70px; align-items: center; }
    .hero-content { width: min(560px, 60vw); }
    .hero-logo { width: min(112vw, 900px); max-height: none; }
}

@media (max-width: 760px) {
    .hero {
        height: 100svh;
        min-height: 100svh;
        padding: 132px 24px 70px;
        align-items: center;
    }
    .hero-content { width: 100%; }
    .hero-content { right: 24px; bottom: 38px; left: 24px; }
    .hero-logo {
        width: min(132vw, 820px);
        max-height: none;
    }
    .hero-overline { margin-bottom: 18px; font-size: .58rem; letter-spacing: .16em; }
    .hero h1 { font-size: clamp(3.6rem, 14vw, 5rem); }
    .hero h1 em { font-size: .48em; }
    .hero-footer { gap: 14px; margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
    .hero-cloud-track { animation: none; transform: none; will-change: auto; }
}
