
/* =========================================
   STUDIO 41 — LAUNCH PAGE
========================================= */

/* ---------- Google Fonts ---------- */

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


/* ---------- Butler Fonts ---------- */

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-Lgt.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-Rmn.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-Med.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-SBd.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-Bd.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-XBd.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Butler";
    src: url("/fonts/Butler-Free-Blk.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* ---------- Variables ---------- */

:root {
    --cream: #F4F0E8;
    --red: #EB0043;
    --dark: #111113;
    --white: #FFFFFF;

    --font-display: "Butler", serif;
    --font-body: "Poppins", sans-serif;

    --page-padding: 48px;
}


/* ---------- Reset ---------- */

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--cream);
    color: var(--dark);
    font-family: var(--font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;

    background-color: #F4F0E8;
    background-image:
        linear-gradient(rgba(17, 17, 19, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 19, 0.045) 1px, transparent 1px);

    background-size: 58px 58px;
}

/* Fade the checks around the central content */
.launch-page {
    position: relative;
    isolation: isolate;
}

.launch-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: radial-gradient(
        ellipse at center,
        #F4F0E8 0%,
        rgba(244, 240, 232, 0.96) 25%,
        rgba(244, 240, 232, 0.65) 45%,
        rgba(244, 240, 232, 0) 75%
    );
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}


/* ---------- Page Layout ---------- */

.launch-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: 0 var(--page-padding);

    display: flex;
    flex-direction: column;
}




/* ---------- Header / Logo ---------- */

.launch-header {
    width: 100%;
    min-height: 100px;
    padding: 20px 0;

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

    flex-shrink: 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.studio-logo {
    display: block;
    width: 80px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}



/* ---------- Main Content ---------- */

.launch-content {
    width: 100%;
    flex: 1;

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

    padding: 55px 0 75px;
    text-align: center;
}

.launch-copy {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* ---------- Main Heading ---------- */

.launch-title {
    display: block;
    width: 100%;

    font-family: "Butler", serif;
    font-size: clamp(3.5rem, 7.5vw, 7rem);
    font-weight: 400;
    font-style: normal;

    line-height: 1.1;
    letter-spacing: -0.045em;
    white-space: nowrap;

    color: var(--dark);
    margin: 0 0 34px;
}

.title-period {
    color: var(--red);
}


/* ---------- Intro Copy ---------- */

.launch-intro {
    max-width: 720px;
    margin: 0 auto 18px;

    font-family: var(--font-body);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.015em;
}

.launch-tagline {
    width: fit-content;
    margin: 50px auto 50px;

    color: var(--red);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.7;
}

.launch-description {
    max-width: 620px;
    margin: 0 auto 36px;

    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}


/* ---------- CTA ---------- */

.launch-cta {
    width: fit-content;
    min-height: 54px;
    margin: 0 auto;
    padding: 14px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: var(--red);
    color: var(--cream);
    border: 0 solid var(--dark);
    border-radius: 50px;

    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.cta-arrow {
    display: inline-block;
    font-size: 1.15rem;
    line-height: 1;

    transition: transform 0.25s ease;
}

.launch-cta:hover {
    background: var(--dark);
    border-color: var(--red);
    color: var(--white);
}

.launch-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.launch-cta:focus-visible,
.logo-link:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 5px;
}


/* ---------- Footer ---------- */

.launch-footer {
    
    width: 100%;
    flex-shrink: 0;
    padding-bottom: 26px;
}

.footer-line {
    width: 100%;
    height: 1px;
    margin-bottom: 20px;

    background: var(--dark);
    opacity: 0.65;
}

.footer-content {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-copyright,
.footer-credit {
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.035em;
    color: var(--dark);
}


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

@media (max-width: 900px) {
    :root {
        --page-padding: 36px;
    }

    .launch-header {
        min-height: 90px;
    }

    .launch-title,
    h1.launch-title {
        font-size: clamp(3.5rem, 9vw, 6rem);
    }
}


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

@media (max-width: 600px) {
    :root {
        --page-padding: 22px;
    }

    .launch-header {
        min-height: 82px;
    }

    .studio-logo {
        width: 68px;
        max-height: 64px;
    }

    .launch-content {
        padding: 45px 0 60px;
    }

    .launch-title,
    h1.launch-title {
        font-size: 35px;
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: -0.045em;
        white-space: nowrap;
        margin-bottom: 26px;
    }

    .launch-intro {
        font-size: 12px;
        line-height: 1.85;
        margin-bottom: 16px;
        padding: 0 15px;

    }

    .launch-tagline {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .launch-description {
        padding: 0 15px;
        font-size: 10px;
        line-height: 1.85;
        margin-bottom: 30px;
    }

    .launch-cta {
        min-height: 52px;
        padding: 13px 19px;
        gap: 20px;
        font-size: 0.8rem;
    }

    .launch-footer {
        padding-bottom: 20px;
        text-align: center;
    }

    .footer-line {
        margin-bottom: 16px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 0
    }

    .footer-copyright,
    .footer-credit {
        font-size: 8px;
        letter-spacing: 0.025em;
    }
}


/* ---------- Reduced Motion ---------- */

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

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



/* =========================================
   STUDIO 41 — SMOOTH PAGE TRANSITIONS
========================================= */

/* Initial state for the incoming page */
body {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
}

/* Reveal the page only when it is ready */
body.page-entering {
    animation: pageEnter 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Outgoing page */
body.page-leaving {
    opacity: 0;
    transform: translateY(-4px) scale(1.005);
    transition:
        opacity 450ms ease,
        transform 450ms ease;
    pointer-events: none;
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    body,
    body.page-leaving {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
}

