@import url(
'https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=DM+Serif+Display:ital@0;1&display=swap'
);


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --forest:
        #17362a;

    --forest-dark:
        #09130f;

    --cream:
        #f0eadf;

    --white:
        #f8f5ee;

    --chilco:
        #ef5a5f;

    --text:
        #101813;

}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background:
        var(--cream);

    color:
        var(--text);

    font-family:
        "DM Sans",
        sans-serif;

    overflow-x:
        hidden;

}


a {

    color:
        inherit;

    text-decoration:
        none;

}


img {

    display:
        block;

}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    position:
        fixed;

    top:
        0;

    left:
        0;

    width:
        100%;

    padding:
        28px 4vw;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    z-index:
        1000;

    color:
        white;

    mix-blend-mode:
        difference;
    transition:
        background .4s ease,
        padding .4s ease,
        color .4s ease;
}

.navbar.scrolled {
    background: rgba(9, 19, 15, .92);
    /*backdrop-filter: blur(12px);*/
    padding-top: 20px;
    padding-bottom: 20px;
}
.logo-text {

    font-size:
        12px;

    letter-spacing:
        .12em;

    font-weight:
        500;

}


.navbar nav {

    display:
        flex;

    gap:
        35px;

}


.navbar nav a {

    font-size:
        12px;

    letter-spacing:
        .05em;

}


.menu-btn {

    display:
        none;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    position:
        relative;

    width:
        100%;

    height:
        100vh;

    min-height:
        700px;

    overflow:
        hidden;

    display:
        flex;

    align-items:
        center;

    color:
        white;
    background:
        var(--forest-dark)
        url("../img/hero.jpg")
        center center / cover
        no-repeat;

}
.hero-video {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform:
        translate(-50%, -50%)
        scale(1.05);

    opacity: 0;

    transition:
        opacity 1s ease;

    will-change:
        transform,
        opacity;
}
.hero-video.video-ready {
    opacity: 1;
}
.parallax-bg {

    position:
        absolute;

    left:
        0;

    top:
        -20%;

    width:
        100%;

    height:
        140%;

    background-size:
        cover;

    background-position:
        center;

    will-change:
        transform;

}


.hero-image {

    background-image:
        url("../img/hero.jpg");

}


.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 20, 12, .48) 0%,
            rgba(8, 20, 12, .25) 40%,
            rgba(8, 20, 12, .08) 75%,
            rgba(8, 20, 12, .12) 100%
        );
}

.hero-content {

    position:
        relative;

    z-index:
        5;

    margin-left:
        7vw;

    max-width:
        1100px;

    will-change:
        transform,
        opacity;

}


.hero-eyebrow {

    font-size:
        11px;

    letter-spacing:
        .22em;

}


.hero h1 {

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            75px,
            10vw,
            155px
        );

    font-weight:
        400;

    line-height:
        .76;

    margin:
        45px 0;

}


.hero h1 span {

    display:
        block;

    font-style:
        italic;

}


.hero-copy {

    font-size:
        18px;

    font-weight:
        300;

    max-width:
        350px;

}


/* LOGO ALTERNATIVO */

.hero-logo {

    width:
        min(
            700px,
            75vw
        );

    margin:
        40px 0;

}

.hero-eyebrow,
.hero h1,
.hero-copy,
.scroll-indicator {
    opacity: 0;
    transform: translateY(35px);
}

body.loaded .hero-eyebrow {
    animation: heroReveal .9s .2s forwards;
}

body.loaded .hero h1 {
    animation: heroReveal 1.2s .45s forwards;
}

body.loaded .hero-copy {
    animation: heroReveal .9s .8s forwards;
}

body.loaded .scroll-indicator {
    animation: heroReveal .9s 1.1s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =====================================================
   SCROLL INDICATOR
===================================================== */

.scroll-indicator {

    position:
        absolute;

    right:
        4vw;

    bottom:
        70px;

    z-index:
        10;

    display:
        flex;

    align-items:
        center;

    gap:
        20px;

    transform:
        rotate(90deg);

    transform-origin:
        right center;

}


.scroll-indicator span {

    font-size:
        10px;

    letter-spacing:
        .25em;

}


.scroll-line {

    width:
        80px;

    height:
        1px;

    background:
        white;

    animation:
        scrollLine
        2s
        infinite;

}


@keyframes scrollLine {

    0% {

        transform:
            scaleX(.2);

        transform-origin:
            left;

    }

    50% {

        transform:
            scaleX(1);

    }

    100% {

        transform:
            scaleX(.2);

        transform-origin:
            right;

    }

}

/* =====================================================
   HISTORIAS DESTACADAS
   Sección inmediatamente después del HERO
===================================================== */

.featured-stories {
    position: relative;
    background: var(--forest-dark);
    color: var(--white);

    padding:
        150px
        5vw
        110px;

    overflow: hidden;
}


/* =====================================================
   CABECERA
===================================================== */

.featured-header {
    max-width: 1500px;
    margin: 0 auto 90px;
}


.featured-stories .section-label {
    display: block;

    color:
        rgba(255, 255, 255, .55);

    margin-bottom: 35px;
}


.featured-title {
    max-width: 1350px;

    font-size:
        clamp(
            55px,
            5.5vw,
            100px
        );

    line-height: 1.02;

    letter-spacing: -.045em;

    font-weight: 300;
}


.featured-title em {
    color: var(--chilco);

    font-family:
        "DM Serif Display",
        serif;

    font-weight: 400;
}


.featured-intro {
    max-width: 620px;

    margin-top: 45px;

    font-size: 17px;

    line-height: 1.7;

    color:
        rgba(255,255,255,.65);
}


/* =====================================================
   GRID DE CAPÍTULOS
===================================================== */

.episode-cards {
    max-width: 1500px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 35px;
}


/* =====================================================
   TARJETA
===================================================== */

.episode-card {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    border-radius: 28px;

    isolation: isolate;

    cursor: pointer;

    background: #122219;
}


/* =====================================================
   IMAGEN
===================================================== */

.episode-card-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;

    transition:
        transform
        1.2s
        cubic-bezier(.16, 1, .3, 1);
}


/* zoom suave */

.episode-card:hover
.episode-card-image {
    transform: scale(1.06);
}


/* =====================================================
   DEGRADADO SOBRE FOTO
===================================================== */

.episode-card-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,

            rgba(4, 12, 8, .08)
            0%,

            rgba(4, 12, 8, .12)
            30%,

            rgba(4, 12, 8, .50)
            65%,

            rgba(4, 12, 8, .92)
            100%
        );

    transition:
        background .5s ease;
}


.episode-card:hover
.episode-card-overlay {

    background:
        linear-gradient(
            180deg,

            rgba(4, 12, 8, .05)
            0%,

            rgba(4, 12, 8, .15)
            30%,

            rgba(4, 12, 8, .58)
            65%,

            rgba(4, 12, 8, .96)
            100%
        );
}


/* =====================================================
   CONTENIDO
===================================================== */

.episode-card-content {
    position: relative;

    z-index: 2;

    min-height: 650px;

    padding: 32px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


/* =====================================================
   BADGE EPISODIO
===================================================== */

.episode-badge {
    align-self: flex-start;

    display: inline-flex;

    align-items: center;

    background: var(--white);

    color: var(--forest-dark);

    padding:
        11px
        20px;

    border-radius: 100px;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .13em;
}


/* =====================================================
   PARTE INFERIOR
===================================================== */

.episode-card-bottom {
    max-width: 570px;
}


.episode-guest {
    display: block;

    margin-bottom: 20px;

    font-size: 11px;

    letter-spacing: .17em;

    color:
        rgba(255,255,255,.72);
}


.episode-card h3 {
    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            42px,
            3.6vw,
            64px
        );

    line-height: .92;

    font-weight: 400;

    letter-spacing: -.03em;

    margin-bottom: 25px;
}


.episode-card p {
    max-width: 500px;

    margin-bottom: 35px;

    font-size: 15px;

    line-height: 1.65;

    color:
        rgba(255,255,255,.76);
}


/* =====================================================
   BOTÓN
===================================================== */

.episode-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    border:
        1px solid
        rgba(255,255,255,.45);

    border-radius: 100px;

    padding:
        10px
        22px
        10px
        10px;

    font-size: 10px;

    font-weight: 500;

    letter-spacing: .12em;

    transition:
        background .35s ease,
        border-color .35s ease,
        transform .35s ease;
}
/* =====================================================
   BOTONES YOUTUBE / SPOTIFY
===================================================== */

.episode-actions {
      display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}


.episode-actions .episode-button {
    width: 100%;
    justify-content: flex-start;

    padding: 8px 10px 8px 8px;

    font-size: 8px;
    letter-spacing: .05em;
}
.episode-actions .play-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

/* MOBILE */

@media (max-width: 768px) {

    .episode-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .episode-actions .episode-button {
        width: 100%;
        justify-content: flex-start;
    }
    .footer-title {

        font-family:
            "DM Serif Display",
            serif;

        font-size:
            clamp(
                90px,
                15vw,
                220px
            );

        line-height:
            .65;

    }

}

.play-icon {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--chilco);

    color: white;

    font-size: 11px;

    padding-left: 2px;

    transition:
        transform
        .35s
        cubic-bezier(.16, 1, .3, 1);
}


.episode-button:hover {
    background: var(--chilco);

    border-color: var(--chilco);

    transform: translateY(-2px);
}


.episode-button:hover
.play-icon {
    transform: scale(1.08);

    background: white;

    color: var(--chilco);
}


/* =====================================================
   PIE DE LA SECCIÓN
===================================================== */

.all-stories {
    max-width: 1500px;

    margin:
        65px
        auto
        0;

    padding-top: 30px;

    border-top:
        1px solid
        rgba(255,255,255,.15);

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.all-stories > span {
    font-size: 10px;

    letter-spacing: .18em;

    color:
        rgba(255,255,255,.45);
}


.all-stories a {
    display: flex;

    align-items: center;

    gap: 30px;

    font-size: 11px;

    letter-spacing: .14em;

    transition:
        color .3s ease;
}


.all-stories a span {
    font-size: 20px;

    transition:
        transform
        .35s
        cubic-bezier(.16, 1, .3, 1);
}


.all-stories a:hover {
    color: var(--chilco);
}


.all-stories a:hover span {
    transform:
        translate(
            5px,
            -5px
        );
}
/* =====================================================
   MANIFESTO
===================================================== */

.manifesto {

    min-height:
        100vh;

    padding:
        160px 8vw;

    display:
        grid;

    grid-template-columns:
        1fr
        3fr;

}


.section-number {

    font-size:
        11px;

    letter-spacing:
        .15em;

}


.section-label {

    font-size:
        11px;

    letter-spacing:
        .22em;

}


.big-title {

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            60px,
            7.2vw,
            118px
        );

    line-height:
        .88;

    font-weight:
        400;

    margin:
        45px 0 70px;

}


.big-title em {

    color:
        var(--chilco);

    font-weight:
        400;

}


.manifesto-text {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        70px;

    max-width: 900px;

    margin-top: 90px;

}


.manifesto-text p {

    font-size:
        16px;

    line-height:
        1.8;

    color: rgba(16, 24, 19, .72);
}


/* =====================================================
   FULLSCREEN PHOTO
===================================================== */

.fullscreen-photo {

    height:
        110vh;

    position:
        relative;

    overflow:
        hidden;

    color:
        white;

}


.chilco-image {

    background-image:
        url("../img/conocer.jpg");

}


.photo-overlay {

    position:
        absolute;

    inset:
        0;

    background:
        rgba(
            0,
            0,
            0,
            .25
        );

}


.fullscreen-text {

    position:
        absolute;

    z-index:
        5;

    left:
        7vw;

    bottom:
        12vh;

}


.fullscreen-text > span {

    font-size:
        11px;

    letter-spacing:
        .22em;

}


.fullscreen-text h2 {

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            75px,
            11vw,
            160px
        );

    line-height:
        .78;

    font-weight:
        400;

    margin-top:
        25px;

}


.fullscreen-text em {

    font-weight:
        400;

}


/* =====================================================
   HISTORIAS
===================================================== */

.stories {

    padding:
        160px 7vw;

}


.stories-header {

    margin-bottom:
        140px;

}


.story {

    display:
        grid;

    grid-template-columns:
        1.35fr
        .8fr;

    gap:
        8vw;

    align-items:
        center;

    margin-bottom:
        200px;

}


.story-reverse {

    grid-template-columns:
        .8fr
        1.35fr;

}


.story-reverse
.story-image-container {

    order:
        2;

}


.story-image-container {

    height:
        78vh;

    overflow:
        hidden;

    position:
        relative;

}


.story-image {

    width:
        100%;

    height:
        125%;

    object-fit:
        cover;

    position:
        absolute;

    left:
        0;

    top:
        -12%;

    will-change:
        transform;

}


.episode {

    color:
        var(--chilco);

    font-size:
        11px;

    letter-spacing:
        .22em;

}


.story-content h3 {

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            50px,
            6vw,
            90px
        );

    line-height:
        .88;

    font-weight:
        400;

    margin:
        30px 0 40px;

}


.story-content p {

    line-height:
        1.8;

    font-size:
        16px;

    margin-bottom:
        45px;

}


.story-link {

    display:
        flex;

    justify-content:
        space-between;

    padding:
        15px 0;

    border-bottom:
        1px solid
        rgba(0,0,0,.4);

    font-size:
        11px;

    letter-spacing:
        .15em;

}


/* =====================================================
   IMAGE REVEAL
===================================================== */

.image-reveal::after {

    content:
        "";

    position:
        absolute;

    inset:
        0;

    background:
        var(--forest);

    z-index:
        10;

    transform:
        translateY(0);

    transition:
        transform
        1.5s
        cubic-bezier(
            .77,
            0,
            .18,
            1
        );

}


.image-reveal.visible::after {

    transform:
        translateY(-101%);

}


/* =====================================================
   TERRITORIO
===================================================== */

.territory {

    position:
        relative;

    height:
        105vh;

    overflow:
        hidden;

    color:
        white;

    display:
        flex;

    align-items:
        flex-end;

}

.territory-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 18, 13, .72) 0%,
            rgba(7, 18, 13, .42) 40%,
            rgba(7, 18, 13, .08) 75%,
            rgba(7, 18, 13, .05) 100%
        );

    z-index: 1;
}
.territory-image {

    background-image:
        url("../img/territorio.jpg");

}


.territory-content {
    position: relative;
    z-index: 5;

    width: 100%;
    padding: 8vw;

    max-width: 1500px;

}

.territory-content h2 {
    max-width: 1050px;
}

.territory-copy {
    max-width: 530px;

    margin-bottom: 50px;

    font-size: 17px;
    line-height: 1.8;

    color: rgba(255,255,255,.82);
}

.territory-content > span {

    font-size:
        11px;

    letter-spacing:
        .22em;

}


.territory h2 {

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            65px,
            9vw,
            135px
        );

    line-height:
        .82;

    font-weight:
        400;

    margin:
        35px 0 60px;

}


.territory h2 em {

    font-weight:
        400;

    color:
        var(--chilco);

}


.light-link {

    font-size:
        11px;

    letter-spacing:
        .18em;

    border-bottom:
        1px solid white;

    padding-bottom:
        10px;

}


/* =====================================================
   PODCAST
===================================================== */

.podcast {

    padding:
        170px 7vw;

    display:
        grid;

    grid-template-columns:
        1.3fr
        .7fr;

    gap:
        10vw;

}


.platforms {

    align-self:
        center;

}


.platforms a {

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    padding:
        30px 0;

    border-bottom:
        1px solid
        rgba(0,0,0,.25);

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        32px;

    transition:
        padding
        .4s
        cubic-bezier(
            .16,
            1,
            .3,
            1
        );

}


.platforms a:hover {

    padding-left:
        20px;

}

/* =====================================================
   CIERRE
===================================================== */

.closing-message {
    min-height: 75vh;

    padding:
        140px
        7vw;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    background: var(--chilco);

    color: var(--white);
}


.closing-message
.section-label {
    margin-bottom: 60px;

    color:
        rgba(255,255,255,.7);
}


.closing-message h2 {
    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            75px,
            11vw,
            170px
        );

    line-height: .82;

    font-weight: 400;

    letter-spacing: -.04em;
}


.closing-message h2 em {
    display: inline-block;

    font-weight: 400;

    color: var(--forest-dark);
}


.closing-leaf {
    margin-top: 60px;

    font-size: 55px;
}


/* =====================================================
   TEXTOS ADICIONALES
===================================================== */

.territory-description {
    max-width: 540px;

    margin:
        -25px
        0
        55px;

    font-size: 16px;

    line-height: 1.7;

    color:
        rgba(255,255,255,.75);
}


.podcast-description {
    max-width: 520px;

    margin-top: -30px;

    font-size: 16px;

    line-height: 1.7;

    color:
        rgba(16,24,19,.7);
}
/* =====================================================
   FOOTER
===================================================== */

footer {

    background:
        var(--forest-dark);

    color:
        white;

    padding:
        120px 7vw
        45px;

}


.footer-title {

    font-family:
        "DM Serif Display",
        serif;

    font-size:
        clamp(
            70px,
            10vw,
            100px
        );

    line-height:
        .65;

}


.footer-title span {

    color:
        var(--chilco);

    font-style:
        italic;

}


.footer-bottom {

    margin-top:
        150px;

    padding-top:
        30px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            .2
        );

    display:
        flex;

    justify-content:
        space-between;

    font-size:
        11px;

    letter-spacing:
        .08em;

}


/* =====================================================
   SCROLL REVEAL
===================================================== */

.reveal {

    opacity:
        0;

    transform:
        translateY(80px);

    transition:

        opacity
        1.1s
        cubic-bezier(
            .16,
            1,
            .3,
            1
        ),

        transform
        1.1s
        cubic-bezier(
            .16,
            1,
            .3,
            1
        );

}


.reveal.visible {

    opacity:
        1;

    transform:
        translateY(0);

}



/* SALE */

.reveal:not(.visible) {
    transition-delay: 0s;
}

.delay-1 {

    transition-delay:
        .12s;

}


.delay-2 {

    transition-delay:
        .25s;

}


.delay-3 {

    transition-delay:
        .38s;

}
.reveal.delay-1:not(.visible),
.reveal.delay-2:not(.visible),
.reveal.delay-3:not(.visible) {
    transition-delay: 0s;
}

/* =====================================================
   MOBILE
===================================================== */

@media
(max-width: 768px) {

/* =====================================================
   HISTORIAS DESTACADAS MOBILE
===================================================== */

.featured-stories {
    padding:
        100px
        20px
        80px;
}


.featured-header {
    margin-bottom: 60px;
}


.featured-title {
    font-size: 13vw;

    line-height: 1;
}


.featured-intro {
    font-size: 15px;

    margin-top: 30px;
}


.episode-cards {
    grid-template-columns: 1fr;

    gap: 25px;
}


.episode-card {
    min-height: 620px;

    border-radius: 22px;
}


.episode-card-content {
    min-height: 620px;

    padding: 25px;
}


.episode-card h3 {
    font-size: 13vw;
}


.episode-card p {
    font-size: 14px;
}


.all-stories {
    align-items: flex-start;

    flex-direction: column;

    gap: 25px;

    margin-top: 45px;
}


.closing-message {
    min-height: 75vh;

    padding:
        100px
        25px;
}


.closing-message h2 {
    font-size: 14vw;
}
    .navbar {

        padding:
            22px;

    }


    .navbar nav {

        display:
            none;

    }


    .menu-btn {

        display:
            block;

        border:
            0;

        background:
            none;

        color:
            inherit;

        font-size:
            24px;

    }


    .hero {

        min-height:
            650px;

    }


    .hero-content {

        margin:
            0 25px;

    }


    .hero h1 {

        font-size:
            22vw;

    }


    .scroll-indicator {

        display:
            none;

    }


    .manifesto {
        position: relative;
        padding:
            100px 25px;

    }

    .manifesto::after {
        content:
            "PUENTE ALTO · CHILE\A"
            "NATURALEZA · TERRITORIO · COMUNIDAD";

        white-space: pre;

        position: absolute;
        right: 7vw;
        bottom: 60px;

        font-size: 9px;
        line-height: 1.8;
        letter-spacing: .18em;

        color: rgba(16,24,19,.35);
    }
    .section-number {

        margin-bottom:
            60px;

    }


    .manifesto-text {

        grid-template-columns:
            1fr;

        gap:
            20px;

    }


    .stories {

        padding:
            100px 25px;

    }


    .stories-header {

        margin-bottom:
            80px;

    }


    .story,
    .story-reverse {

        grid-template-columns:
            1fr;

        gap:
            50px;

        margin-bottom:
            130px;

    }


    .story-reverse
    .story-image-container {

        order:
            initial;

    }


    .story-image-container {

        height:
            65vh;

    }


    .podcast {

        grid-template-columns:
            1fr;

        padding:
            100px 25px;

    }


    .footer-bottom {

        flex-direction:
            column;

        gap:
            15px;

    }


}


/* =====================================================
   ACCESSIBILITY
===================================================== */

@media
(prefers-reduced-motion: reduce) {


    html {

        scroll-behavior:
            auto;

    }


    .reveal {

        opacity:
            1;

        transform:
            none;

        transition:
            none;

    }


    .image-reveal::after {

        display:
            none;

    }


}