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

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Cooper Black', serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #9BDAE9;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* ── Page transitions ── */
.page-transition-out {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #e63946;
    z-index: 100;
    pointer-events: none;
}

.page-transition-out.patches {
    background-color: #D9DD7C;
}

.page-transition-out.about {
    background-color: #EF4746;
}

.page-transition-out.active {
    animation: cardSlideDown 1s cubic-bezier(0.45, 0, 0.55, 1) forwards;
    box-shadow: 0 -40px 60px -20px rgba(0, 0, 0, 0.3);
}

@keyframes cardSlideDown {
    0%   { height: 0; }
    100% { height: 100%; }
}

/* ── Header / Nav ── */
.header {
    padding: 18px 40px;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    flex: 1;
}

.etsy-corner {
    position: fixed;
    top: 18px;
    right: 32px;
    z-index: 200;
}

.nav-link {
    text-decoration: none;
    color: #EF4746;
    font-family: 'Cooper Black', serif;
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.2s ease, transform 0.15s ease;
    display: inline-block;
}

.nav-link:hover {
    color: #e63946;
    transform: scale(1.06);
}

.nav-link.active {
    color: #e63946;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.etsy-link {
    background: #f56400;
    color: #fff !important;
    padding: 6px 20px;
    border-radius: 30px;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.etsy-link:hover {
    background: #c94f00;
    color: #fff !important;
    transform: scale(1.06);
}

.home-link {
    font-size: 1.4rem;
}

.nav-placeholder {
    visibility: hidden;
    pointer-events: none;
}

/* ── Home page ── */
.home-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 60px;
    min-height: calc(100vh - 80px);
}

.banner-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: #9BDAE9;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.email-line {
    margin-top: 28px;
    text-align: center;
}

.email-link {
    font-family: 'Cooper Black', serif;
    font-size: 1.5rem;
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: #e63946;
}

.about-page {
    background-color: #EF4746;
}

.about-page .nav-link {
    color: #fff;
}

.about-page .nav-link:hover {
    color: #D9DD7C;
}

.about-page .email-link {
    color: #fff;
}

.about-page .email-link:hover {
    color: #D9DD7C;
}

/* ── About page ── */
.about-photo {
    width: 240px;
    flex-shrink: 0;
    border-radius: 12px;
}

.about-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.about-container {
    background: none;
    border-radius: 0;
    padding: 0;
    max-width: 860px;
    width: 100%;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 6px;
    color: #fff;
}

.about-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
    font-family: 'Cooper Black', serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-body p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: #fff;
}

.mobile-banner { display: none; }
.mobile-nav   { display: none; }

@media (max-width: 600px) {
    /* hide desktop header nav on mobile home */
    .home-page .header { display: none; }

    /* show mobile image, hide desktop image */
    .desktop-banner { display: none; }
    .mobile-banner  {
        display: block;
        width: 100%;
        height: auto;
    }

    /* mobile banner fills top, no gap */
    .home-main {
        padding: 0;
        min-height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
    }

    .banner-wrap {
        max-width: 100%;
        margin: 0;
        line-height: 0;
    }

    /* nav right under image, no gap */
    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 0;
        margin: 0;
    }

    .mobile-nav .nav-link {
        font-size: 1.4rem;
        padding: 6px 0;
    }

    /* hide email on mobile */
    .email-line { display: none; }

    /* nav menu text smaller on all mobile pages */
    .nav { gap: 16px; }
    .nav-link { font-size: 1rem; }
    .home-link { font-size: 0.85rem; }
    .etsy-link { font-size: 1rem; padding: 4px 14px; }

    /* about page mobile */
    .about-main { padding: 20px 16px; }
    .about-container {
        flex-direction: column;
        gap: 16px;
    }
    .about-photo {
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
    }
    .about-title { font-size: 1.3rem; margin-bottom: 4px; }
    .about-tagline { font-size: 0.65rem; margin-bottom: 10px; }
    .about-body p { font-size: 0.72rem; margin-bottom: 8px; }
    .email-link { font-size: 0.72rem; }
}
