/* =========================================================
   WINDERVALE — FUND
   unfinished / editorial / working field
   ========================================================= */

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


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --paper: #f3e4df;
    --paper-dark: #e7d2cc;
    --ink: #171514;
    --soft-ink: #5f5552;
    --line: rgba(23, 21, 20, 0.25);
    --red: #9f403d;
    --cream: #f8efeb;
}


/* =========================================================
   RESET
   ========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}


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


button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   PAPER TEXTURE
   ========================================================= */

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

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

    opacity: 0.08;

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

    mix-blend-mode: multiply;
}


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

.fund-header {
    width: 100%;
    padding: 22px 34px;

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

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

    position: relative;
    z-index: 10;
}


.fund-brand {
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.05em;

    text-transform: lowercase;

    transition: transform 0.25s ease;
}


.fund-brand:hover {
    transform: rotate(-2deg);
}


.fund-nav {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}


.fund-nav a {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    text-transform: lowercase;

    position: relative;
}


.fund-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 1px;

    background: var(--ink);

    transition: width 0.25s ease;
}


.fund-nav a:hover::after {
    width: 100%;
}


.fund-number {
    justify-self: end;

    font-family: "DM Mono", monospace;
    font-size: 10px;

    opacity: 0.6;
}


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

.fund-main {
    width: min(1180px, calc(100% - 68px));
    margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.fund-intro {
    min-height: 650px;

    padding: 110px 8% 100px;

    position: relative;

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


.fund-small-note {
    font-family: "DM Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.08em;

    opacity: 0.55;

    margin-bottom: 45px;
}


.fund-intro h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(90px, 17vw, 210px);
    line-height: 0.72;

    font-weight: 700;
    letter-spacing: -0.09em;

    margin-left: -10px;
}


.fund-lead {
    max-width: 550px;

    margin-top: 80px;

    font-size: clamp(21px, 2.5vw, 31px);
    line-height: 1.25;

    letter-spacing: -0.035em;
}


.fund-lead.second {
    margin-top: 20px;

    font-size: 17px;
    line-height: 1.55;

    max-width: 450px;

    color: var(--soft-ink);
}


.hand-note {
    position: absolute;

    right: 7%;
    bottom: 90px;

    font-family: "Kalam", cursive;
    font-size: 20px;

    color: var(--red);

    transform: rotate(-6deg);
}


/* little hand-drawn underline */

.hand-note::after {
    content: "";

    display: block;

    width: 150px;
    height: 12px;

    margin-top: -4px;

    border-bottom: 2px solid var(--red);

    border-radius: 50%;

    transform: rotate(2deg);
}


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

.fund-status {
    display: grid;
    grid-template-columns: 110px 1fr;

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

    background: var(--ink);
    color: var(--paper);

    position: relative;
}


.status-mark {
    padding: 35px 25px;

    font-family: "DM Mono", monospace;
    font-size: 11px;

    border-right: 1px solid rgba(243, 228, 223, 0.3);

    opacity: 0.55;
}


.status-content {
    padding: 55px 8%;
    max-width: 850px;
}


.status-label {
    font-family: "DM Mono", monospace;
    font-size: 10px;

    opacity: 0.5;
}


.status-content h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(55px, 9vw, 110px);
    line-height: 0.85;

    letter-spacing: -0.075em;

    margin: 25px 0 50px;
}


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

    font-size: 17px;
    line-height: 1.6;

    color: rgba(243, 228, 223, 0.72);

    margin-bottom: 18px;
}


.status-content .status-final {
    color: var(--paper);

    font-family: "Kalam", cursive;
    font-size: 21px;

    margin-top: 40px;

    transform: rotate(-1deg);
}


/* =========================================================
   GENERIC SECTIONS
   ========================================================= */

.fund-section {
    display: grid;
    grid-template-columns: 110px 1fr;

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

    min-height: 600px;
}


.section-index {
    padding: 38px 25px;

    font-family: "DM Mono", monospace;
    font-size: 11px;

    opacity: 0.55;

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


.section-content {
    padding: 90px 8%;

    position: relative;
}


.section-label {
    font-family: "DM Mono", monospace;
    font-size: 10px;

    letter-spacing: 0.06em;

    opacity: 0.5;

    display: block;

    margin-bottom: 45px;
}


.section-content h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(50px, 8vw, 105px);
    line-height: 0.86;

    letter-spacing: -0.08em;

    margin-bottom: 60px;
}


.section-content > p {
    max-width: 620px;

    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 22px;
}


/* =========================================================
   MODELS
   ========================================================= */

.models-section {
    min-height: auto;
}


.model {
    display: grid;
    grid-template-columns: 60px 1fr;

    padding: 45px 0;

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

    max-width: 800px;
}


.model:last-of-type {
    border-bottom: 1px solid var(--line);
}


.model-number {
    font-family: "DM Mono", monospace;
    font-size: 12px;

    opacity: 0.45;
}


.model h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(28px, 4vw, 48px);

    letter-spacing: -0.055em;

    margin-bottom: 22px;
}


.model p {
    max-width: 600px;

    font-size: 16px;
    line-height: 1.7;

    color: var(--soft-ink);

    margin-bottom: 18px;
}


.margin-note {
    position: absolute;

    right: 3%;
    bottom: 70px;

    font-family: "Kalam", cursive;
    font-size: 18px;

    color: var(--red);

    transform: rotate(5deg);
}


/* =========================================================
   FLOW
   ========================================================= */

.flow {
    display: flex;
    align-items: stretch;

    margin-top: 70px;

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


.flow-step {
    flex: 1;

    padding: 30px 22px;

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


.flow-step:last-child {
    border-right: none;
}


.flow-step > span {
    display: block;

    font-family: "DM Mono", monospace;
    font-size: 10px;

    opacity: 0.45;

    margin-bottom: 35px;
}


.flow-step strong {
    display: block;

    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;

    letter-spacing: -0.03em;

    margin-bottom: 14px;
}


.flow-step p {
    font-size: 13px;
    line-height: 1.6;

    color: var(--soft-ink);
}


.flow-arrow {
    display: none;
}


/* =========================================================
   LEGAL SECTION
   ========================================================= */

.legal-section {
    background: #ead8d3;
}


.legal-section h2 {
    margin-bottom: 70px;
}


.legal-note {
    max-width: 650px;

    margin-top: 65px;
    padding: 25px 28px;

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

    transform: rotate(-0.7deg);

    background: rgba(248, 239, 235, 0.35);
}


.legal-note span {
    display: block;

    font-family: "DM Mono", monospace;
    font-size: 9px;

    margin-bottom: 15px;

    opacity: 0.55;
}


.legal-note p {
    font-family: "Kalam", cursive;

    font-size: 19px;

    line-height: 1.45;

    margin: 0;
}


/* =========================================================
   FUTURE
   ========================================================= */

.future-section {
    min-height: 650px;
}


.future-section h2 {
    position: relative;
}


.future-section h2::after {
    content: "";

    position: absolute;

    width: 115px;
    height: 25px;

    left: 250px;
    bottom: -18px;

    border-bottom: 2px solid var(--red);

    border-radius: 50%;

    transform: rotate(-3deg);
}


.future-list {
    margin-top: 70px;

    max-width: 700px;

    display: grid;
    grid-template-columns: 1fr 1fr;

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


.future-list div {
    padding: 20px 0;

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

    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
}


.future-list div:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 25px;
}


.future-list div:nth-child(even) {
    padding-left: 25px;
}


.future-list span {
    font-family: "DM Mono", monospace;
    font-size: 9px;

    opacity: 0.45;

    margin-right: 15px;
}


/* =========================================================
   END
   ========================================================= */

.fund-end {
    min-height: 350px;

    display: flex;
    flex-direction: column;

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

    text-align: center;

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


.end-symbol {
    font-size: 55px;

    margin-bottom: 25px;

    animation: floatMark 4s ease-in-out infinite;
}


.fund-end p {
    font-family: "DM Mono", monospace;

    font-size: 10px;

    letter-spacing: 0.08em;
}


.fund-end span {
    margin-top: 14px;

    font-family: "Kalam", cursive;

    font-size: 18px;

    color: var(--red);

    transform: rotate(-3deg);
}


@keyframes floatMark {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(4deg);
    }
}


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

.fund-footer {
    width: min(1180px, calc(100% - 68px));

    margin: 0 auto;

    padding: 30px 34px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    font-family: "DM Mono", monospace;
    font-size: 9px;

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


.fund-footer nav {
    display: flex;
    gap: 22px;
}


.fund-footer nav a {
    transition: opacity 0.2s ease;
}


.fund-footer nav a:hover {
    opacity: 0.45;
}


.fund-footer > span:last-of-type {
    justify-self: end;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .fund-header {
        grid-template-columns: 1fr auto;
        padding: 20px;
    }


    .fund-nav {
        display: none;
    }


    .fund-number {
        grid-column: 2;
        grid-row: 1;
    }


    .fund-main {
        width: 100%;
    }


    .fund-intro {
        min-height: 600px;
        padding: 80px 30px;
    }


    .fund-intro h1 {
        font-size: clamp(90px, 27vw, 180px);
    }


    .fund-lead {
        margin-top: 70px;
    }


    .hand-note {
        right: 30px;
        bottom: 55px;
    }


    .fund-status,
    .fund-section {
        grid-template-columns: 55px 1fr;
    }


    .status-mark,
    .section-index {
        padding: 30px 15px;

        font-size: 9px;
    }


    .status-content,
    .section-content {
        padding: 65px 30px;
    }


    .section-content h2,
    .status-content h2 {
        font-size: clamp(52px, 14vw, 100px);
    }


    .flow {
        display: block;
    }


    .flow-step {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }


    .flow-step:last-child {
        border-bottom: none;
    }


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


    .future-list div:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }


    .future-list div:nth-child(even) {
        padding-left: 0;
    }


    .fund-footer {
        width: 100%;
        padding: 25px 20px;

        grid-template-columns: 1fr;
        gap: 18px;
    }


    .fund-footer nav {
        flex-wrap: wrap;
    }


    .fund-footer > span:last-of-type {
        justify-self: start;
    }

}


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

@media (max-width: 500px) {

    .fund-intro {
        padding: 70px 22px;
    }


    .fund-intro h1 {
        font-size: 105px;
    }


    .fund-lead {
        font-size: 21px;
    }


    .status-content,
    .section-content {
        padding: 55px 22px;
    }


    .status-content h2,
    .section-content h2 {
        font-size: 60px;
    }


    .model {
        grid-template-columns: 35px 1fr;
    }


    .margin-note {
        position: static;

        margin-top: 45px;
    }


    .future-section h2::after {
        display: none;
    }

}