/* =========================================================
   WINDERVALE / FESTIVAL
   A gathering for things that should exist.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Inter:wght@400;500&display=swap');


:root {
    --ink: #17110e;
    --ink-soft: #211916;
    --cream: #eee6d8;
    --paper: #d8cdbb;
    --muted: #9d9180;
    --red: #7d201d;
    --line: rgba(238, 230, 216, 0.20);
    --line-dark: rgba(23, 17, 14, 0.20);
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--ink);
    color: var(--cream);
    font-family: Inter, sans-serif;
    overflow-x: hidden;
}


/* =========================================================
   GRAIN
   ========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: 100;

    opacity: 0.075;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");

    mix-blend-mode: overlay;
}


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

.festival-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    padding: 28px 42px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 20;

    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.festival-brand a {
    color: var(--cream);
    text-decoration: none;

    font-family: Inter, sans-serif;
    font-size: 13px;

    letter-spacing: -0.02em;
}


.festival-nav {
    display: flex;
    gap: 27px;
}


.festival-nav a {
    color: var(--cream);
    text-decoration: none;

    opacity: 0.62;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.festival-nav a:hover {
    opacity: 1;
    transform: translateY(-1px);
}


/* =========================================================
   MAIN
   ========================================================= */

.festival-main {
    position: relative;
}


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

.festival-hero {
    min-height: 100vh;

    position: relative;

    padding:
        170px
        8vw
        100px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;
}


/* giant ghost numeral */

.festival-hero::after {
    content: "Φ";

    position: absolute;

    right: 2vw;
    bottom: -7vw;

    font-family: "Cormorant Garamond", serif;

    font-size: 42vw;
    line-height: 0.7;

    color: rgba(238, 230, 216, 0.025);

    pointer-events: none;
}


/* tiny top label */

.festival-eyebrow {
    position: relative;
    z-index: 3;

    font-family: "DM Mono", monospace;

    font-size: 10px;
    letter-spacing: 0.17em;

    color: var(--muted);

    margin-bottom: 42px;
}


/* HERO TITLE */

.festival-hero h1 {
    position: relative;
    z-index: 3;

    font-family: "Cormorant Garamond", serif;

    font-weight: 500;

    font-size: clamp(76px, 12vw, 185px);

    line-height: 0.72;

    letter-spacing: -0.055em;

    max-width: 1050px;
}


/* deliberately slightly displaced */

.festival-hero h1 br:nth-of-type(2) {
    margin-left: 0;
}


/* INTRO COPY */

.festival-intro {
    position: relative;
    z-index: 3;

    margin-top: 72px;
    margin-left: 34vw;

    max-width: 430px;

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    line-height: 1.18;

    color: var(--paper);
}


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

.festival-meta {
    position: absolute;

    right: 8vw;
    bottom: 75px;

    display: flex;
    flex-direction: column;

    gap: 18px;

    min-width: 180px;
}


.festival-meta > div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.festival-meta span {
    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.15em;

    color: var(--muted);
}


.festival-meta strong {
    font-family: "DM Mono", monospace;

    font-size: 9px;

    font-weight: 400;

    letter-spacing: 0.08em;
}


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

.festival-actions {
    position: relative;
    z-index: 5;

    display: flex;

    gap: 12px;

    margin-top: 55px;
}


.festival-button {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 55px;

    min-width: 215px;

    padding: 15px 18px;

    border: 1px solid rgba(238, 230, 216, 0.38);

    color: var(--cream);

    text-decoration: none;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.09em;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.festival-button span {
    font-size: 16px;
}


.festival-button-primary {
    background: var(--cream);
    color: var(--ink);

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


.festival-button-primary:hover {
    background: transparent;
    color: var(--cream);

    transform: translateY(-3px);
}


.festival-button-secondary {
    background: transparent;
}


.festival-button-secondary:hover {
    background: var(--cream);
    color: var(--ink);

    transform: translateY(-3px);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.festival-section {
    padding: 145px 8vw;

    position: relative;
}


.festival-section-label {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

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

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.15em;

    color: var(--muted);
}


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

.festival-about {
    background: var(--paper);
    color: var(--ink);
}


.festival-about .festival-section-label {
    color: rgba(23,17,14,0.55);

    border-color: var(--line-dark);
}


.festival-two-column {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10vw;

    margin-top: 90px;
}


.festival-two-column h2 {
    font-family: "Cormorant Garamond", serif;

    font-weight: 500;

    font-size: clamp(60px, 8vw, 125px);

    line-height: 0.76;

    letter-spacing: -0.045em;
}


.festival-copy {
    max-width: 500px;
}


.festival-copy p {
    font-family: "Cormorant Garamond", serif;

    font-size: 24px;

    line-height: 1.22;

    margin-bottom: 28px;
}


/* =========================================================
   FIELD / PROGRAMME
   ========================================================= */

.festival-field {
    background: var(--ink);
}


.festival-field > h2 {
    font-family: "Cormorant Garamond", serif;

    font-weight: 500;

    font-size: clamp(70px, 10vw, 145px);

    line-height: 0.75;

    letter-spacing: -0.05em;

    margin:

        85px

        0

        115px;
}


/* =========================================================
   FIELD GRID
   ========================================================= */

.festival-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

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

    border-left: 1px solid var(--line);
}


.festival-card {
    min-height: 310px;

    padding: 32px;

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

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.festival-card:hover {
    background: var(--ink-soft);

    transform: translateY(-4px);
}


.festival-card span {
    font-family: "DM Mono", monospace;

    font-size: 9px;

    color: var(--muted);
}


.festival-card h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 42px;

    font-weight: 500;

    letter-spacing: -0.025em;
}


.festival-card p {
    max-width: 390px;

    font-family: "Cormorant Garamond", serif;

    font-size: 19px;

    line-height: 1.2;

    color: var(--muted);
}


/* =========================================================
   PEOPLE
   ========================================================= */

.festival-people {
    background: var(--paper);

    color: var(--ink);
}


.festival-people .festival-section-label {
    color: rgba(23,17,14,0.55);

    border-color: var(--line-dark);
}


.festival-people .festival-copy {
    padding-top: 5px;
}


.festival-list {
    list-style: none;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--line-dark);

    margin-top: 45px;
}


.festival-list li {
    padding: 13px 0;

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

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(23,17,14,0.65);
}


/* =========================================================
   EXHIBITION
   ========================================================= */

.festival-exhibit {
    background: var(--red);

    overflow: hidden;
}


.festival-exhibit::after {
    content: "SHOW";

    position: absolute;

    right: -3vw;
    bottom: -5vw;

    font-family: "Cormorant Garamond", serif;

    font-size: 28vw;

    line-height: 0.7;

    color: rgba(238,230,216,0.055);

    pointer-events: none;
}


.festival-exhibit .festival-section-label {
    position: relative;
    z-index: 2;
}


.festival-exhibit h2 {
    position: relative;
    z-index: 2;
}


.festival-exhibit .festival-copy {
    position: relative;
    z-index: 3;
}


.festival-inline-link {
    display: inline-block;

    margin-top: 25px;

    padding-bottom: 5px;

    border-bottom: 1px solid rgba(238,230,216,0.55);

    color: var(--cream);

    text-decoration: none;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.1em;
}


/* =========================================================
   ATTEND
   ========================================================= */

.festival-attend {
    background: var(--ink);
}


.festival-attend-box {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10vw;

    margin-top: 90px;

    padding: 70px 0;

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

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


.festival-attend-box > div:first-child span {
    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.15em;

    color: var(--muted);
}


.festival-attend-box h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(90px, 12vw, 175px);

    line-height: 0.68;

    font-weight: 500;

    margin-top: 35px;
}


.festival-attend-box .festival-copy {
    padding-top: 20px;
}


.festival-attend-box .festival-button {
    margin-top: 20px;
}


/* =========================================================
   STATUS
   ========================================================= */

.festival-status {
    min-height: 85vh;

    padding: 130px 8vw;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;
}


.festival-status::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(238,230,216,0.12);

    border-radius: 50%;
}


.festival-status::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    border: 1px solid rgba(238,230,216,0.08);

    border-radius: 50%;
}


.festival-status-mark {
    position: relative;
    z-index: 2;

    font-family: "DM Mono", monospace;

    font-size: 9px;

    letter-spacing: 0.18em;

    color: var(--muted);

    margin-bottom: 50px;
}


.festival-status h2 {
    position: relative;
    z-index: 2;

    font-family: "Cormorant Garamond", serif;

    font-weight: 500;

    font-size: clamp(85px, 13vw, 190px);

    line-height: 0.68;

    letter-spacing: -0.05em;
}


.festival-status p {
    position: relative;
    z-index: 2;

    margin-top: 55px;

    max-width: 420px;

    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    color: var(--muted);
}


.festival-status-line {
    position: relative;
    z-index: 2;

    width: 180px;

    height: 1px;

    background: var(--line);

    margin: 40px 0 25px;
}


.festival-status-note {
    position: relative;
    z-index: 2;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.12em;

    color: var(--muted);
}


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

.festival-footer {
    border-top: 1px solid var(--line);

    padding: 25px 42px;

    display: flex;

    justify-content: space-between;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 0.12em;

    color: var(--muted);
}


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

@media (max-width: 800px) {

    .festival-header {
        padding: 22px 20px;
    }


    .festival-nav {
        display: none;
    }


    .festival-hero {
        padding: 135px 25px 80px;

        min-height: 100svh;
    }


    .festival-eyebrow {
        margin-bottom: 35px;
    }


    .festival-hero h1 {
        font-size: 22vw;

        line-height: 0.74;
    }


    .festival-intro {
        margin-left: 0;

        margin-top: 70px;

        font-size: 22px;

        max-width: 320px;
    }


    .festival-meta {
        position: relative;

        right: auto;
        bottom: auto;

        margin-top: 55px;

        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 15px;
    }


    .festival-actions {
        flex-direction: column;

        margin-top: 35px;
    }


    .festival-button {
        width: 100%;

        min-width: 0;
    }


    .festival-section {
        padding: 95px 25px;
    }


    .festival-two-column {
        grid-template-columns: 1fr;

        gap: 60px;

        margin-top: 65px;
    }


    .festival-two-column h2 {
        font-size: 18vw;
    }


    .festival-copy p {
        font-size: 21px;
    }


    .festival-field > h2 {
        font-size: 18vw;

        margin: 65px 0 80px;
    }


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


    .festival-card {
        min-height: 260px;
    }


    .festival-card h3 {
        font-size: 38px;
    }


    .festival-list {
        grid-template-columns: 1fr 1fr;
    }


    .festival-attend-box {
        grid-template-columns: 1fr;

        gap: 55px;

        margin-top: 65px;
    }


    .festival-attend-box h2 {
        font-size: 24vw;
    }


    .festival-status {
        min-height: 75vh;

        padding: 100px 25px;
    }


    .festival-status::before {
        width: 280px;
        height: 280px;
    }


    .festival-status::after {
        width: 190px;
        height: 190px;
    }


    .festival-status h2 {
        font-size: 20vw;
    }


    .festival-footer {
        padding: 22px 25px;

        gap: 15px;

        flex-wrap: wrap;
    }
}