/* =========================================================
   BIG HUG GIFTS
   Coming Soon Page
   ========================================================= */


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

:root {
    --cream: #fff9f1;
    --cream-dark: #f7ecdd;

    --brown: #513c35;
    --brown-light: #795f55;

    --peach: #f4b59e;
    --peach-dark: #df8f76;

    --pink: #f6d4d2;
    --green: #c9d8c0;

    --white: #ffffff;

    --shadow-soft: 0 18px 50px rgba(81, 60, 53, 0.08);
    --shadow-plush: 0 25px 35px rgba(81, 60, 53, 0.16);
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--cream);
    color: var(--brown);

    font-family: "Nunito", sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
}

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


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

.page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}


/* ---------------------------------------------------------
   Navigation
   --------------------------------------------------------- */

.navbar {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding: 26px 32px;

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

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

.logo img {
    display: block;

    width: 190px;
    height: auto;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    border: 2px solid var(--brown);
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 800;

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

.contact-button:hover {
    background: var(--brown);
    color: var(--white);

    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
    width: 100%;
    max-width: 1240px;

    margin: 0 auto;

    padding: 45px 32px 75px;

    flex: 1;

    display: grid;

    /*
       LEFT  = text/form
       RIGHT = plushie
    */
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);

    align-items: center;

    gap: 55px;
}


/* ---------------------------------------------------------
   Hero Content
   --------------------------------------------------------- */

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;

    margin-bottom: 20px;
    padding: 9px 16px;

    border-radius: 999px;

    background: var(--green);

    font-size: 0.85rem;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    max-width: 680px;

    font-family: "Baloo 2", sans-serif;

    font-size: clamp(3.8rem, 6vw, 6.2rem);

    line-height: 0.9;

    font-weight: 800;

    letter-spacing: -0.045em;
}

h1 span {
    display: block;

    color: var(--peach-dark);
}

.hero-text {
    max-width: 590px;

    margin-top: 28px;

    color: var(--brown-light);

    font-size: 1.15rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Launch Status
   --------------------------------------------------------- */

.launch-note {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 18px;

    color: var(--brown-light);

    font-size: 0.88rem;
    font-weight: 800;
}

.launch-dot {
    width: 9px;
    height: 9px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--peach);

    box-shadow:
        0 0 0 5px rgba(244, 181, 158, 0.2);

    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.25);
        opacity: 0.65;
    }
}


/* ---------------------------------------------------------
   Signup Card
   --------------------------------------------------------- */

.signup-card {
    max-width: 590px;

    margin-top: 32px;

    padding: 25px;

    background: var(--white);

    border: 1px solid var(--cream-dark);

    border-radius: 24px;

    box-shadow: var(--shadow-soft);
}

.signup-card h2 {
    font-family: "Baloo 2", sans-serif;

    font-size: 1.65rem;

    line-height: 1.1;
}

.signup-card > p {
    margin-top: 5px;
    margin-bottom: 18px;

    color: var(--brown-light);

    line-height: 1.5;
}

.form-row {
    display: flex;

    gap: 10px;
}

input {
    min-width: 0;

    flex: 1;

    padding: 15px 17px;

    border: 2px solid var(--cream-dark);
    border-radius: 14px;

    outline: none;

    background: var(--white);

    color: var(--brown);

    font: inherit;

    transition: border-color 0.2s ease;
}

input::placeholder {
    color: #a5948b;
}

input:focus {
    border-color: var(--peach);
}

button {
    flex-shrink: 0;

    padding: 15px 22px;

    border: none;
    border-radius: 14px;

    background: var(--peach);

    color: var(--brown);

    font: inherit;
    font-weight: 800;

    cursor: pointer;

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

button:hover {
    background: var(--peach-dark);

    transform: translateY(-2px);
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 3px solid var(--peach-dark);
    outline-offset: 4px;
}

.form-message {
    min-height: 20px;

    margin-top: 10px;

    font-size: 0.9rem;
    font-weight: 700;
}

.hidden-field {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* ---------------------------------------------------------
   Hero Art
   --------------------------------------------------------- */

.hero-art {
    position: relative;

    min-height: 570px;

    display: flex;

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


/* Soft background circle */

.plushie-background {
    position: absolute;

    width: min(480px, 95%);
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            var(--pink) 0%,
            rgba(246, 212, 210, 0.82) 48%,
            rgba(246, 212, 210, 0) 72%
        );

    transform: translate(20px, 5px);

    z-index: 0;
}


/* Second soft accent */

.plushie-background::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -20px;
    bottom: 0;

    border-radius: 50%;

    background: var(--green);

    opacity: 0.5;

    filter: blur(2px);
}


/* Plushie */

.plushie-link {
    position: relative;

    z-index: 2;

    display: block;

    width: min(100%, 510px);

    cursor: zoom-in;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.hero-plushie {
    display: block;

    width: 100%;
    height: auto;

    filter: var(--shadow-plush);
}

.plushie-link:hover {
    transform:
        translateY(-10px)
        rotate(1.5deg)
        scale(1.025);
}

.plushie-link:focus-visible {
    outline: 4px solid var(--peach);

    outline-offset: 8px;

    border-radius: 24px;
}


/* ---------------------------------------------------------
   Handmade Badge
   --------------------------------------------------------- */

.hero-badge {
    position: absolute;

    right: 3%;
    bottom: 13%;

    z-index: 4;

    width: 108px;
    height: 108px;

    display: flex;
    flex-direction: column;

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

    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 15px 35px rgba(81, 60, 53, 0.14);

    transform: rotate(8deg);

    text-align: center;

    font-family: "Baloo 2", sans-serif;
}

.hero-badge span {
    font-size: 0.82rem;
}

.hero-badge strong {
    font-size: 1.2rem;
}


/* ---------------------------------------------------------
   Yarn Ball
   --------------------------------------------------------- */

.yarn-ball {
    position: absolute;

    right: 1%;
    bottom: 4%;

    z-index: 5;

    width: 70px;
    height: 70px;

    display: flex;

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

    border-radius: 50%;

    background: var(--white);

    font-size: 2.3rem;

    box-shadow:
        0 12px 30px rgba(81, 60, 53, 0.12);

    transform: rotate(12deg);
}


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

footer {
    padding: 22px 32px 32px;

    text-align: center;

    color: var(--brown-light);

    font-size: 0.9rem;
}

.footer-tagline {
    font-family: "Baloo 2", sans-serif;

    font-size: 1.1rem;
    font-weight: 700;
}

.footer-contact {
    margin-top: 7px;

    font-weight: 800;
}

.footer-contact a {
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--peach-dark);
}

.footer-links {
    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 10px;

    font-weight: 800;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--peach-dark);
}

.copyright {
    margin-top: 14px;

    opacity: 0.7;
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 950px) {

    .hero {
        grid-template-columns: 1fr 0.85fr;

        gap: 30px;

        padding-top: 35px;
    }

    h1 {
        font-size: clamp(3.4rem, 6vw, 5rem);
    }

    .hero-art {
        min-height: 500px;
    }

    .hero-badge {
        right: 0;
    }

    .yarn-ball {
        right: -5px;
    }
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 760px) {

    .navbar {
        padding: 22px 20px;
    }

    .logo img {
        width: 160px;
    }

    .contact-button {
        padding: 9px 16px;

        font-size: 0.82rem;
    }


    .hero {
        grid-template-columns: 1fr;

        padding: 25px 20px 55px;

        gap: 20px;
    }


    /*
       Plushie first visually on mobile.
       Text remains below it.
    */

    .hero-art {
        order: 1;

        min-height: 390px;
    }

    .hero-content {
        order: 2;
    }


    .plushie-link {
        width: min(100%, 430px);
    }

    .plushie-background {
        width: 370px;
    }

    .hero-badge {
        right: 8%;
        bottom: 8%;

        width: 92px;
        height: 92px;
    }

    .hero-badge span {
        font-size: 0.72rem;
    }

    .hero-badge strong {
        font-size: 1.05rem;
    }

    .yarn-ball {
        right: 4%;
        bottom: 0;

        width: 62px;
        height: 62px;

        font-size: 2rem;
    }


    h1 {
        font-size: clamp(3.2rem, 14vw, 5rem);
    }

    .hero-text {
        font-size: 1.05rem;
    }

    .signup-card {
        margin-top: 28px;

        padding: 21px;
    }

    .form-row {
        flex-direction: column;
    }

    button {
        width: 100%;
    }


    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* ---------------------------------------------------------
   Small Mobile
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .navbar {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .logo img {
        width: 145px;
    }

    .contact-button {
        padding: 8px 13px;

        font-size: 0.78rem;
    }

    .hero {
        padding-top: 15px;
    }

    .hero-art {
        min-height: 340px;
    }

    .plushie-link {
        width: 105%;
    }

    .plushie-background {
        width: 310px;
    }

    .hero-badge {
        width: 82px;
        height: 82px;

        right: 4%;
        bottom: 7%;
    }

    .yarn-ball {
        width: 54px;
        height: 54px;

        font-size: 1.7rem;
    }

    .eyebrow {
        font-size: 0.72rem;

        padding: 8px 13px;
    }

    .signup-card {
        padding: 19px;

        border-radius: 20px;
    }
}
