/*
============================================================
 PSEUDOTHYLACINE — SUNSHINE SCRAPBOOK
 Neocities landing page stylesheet
============================================================
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Patrick+Hand&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
    --cream: #f6e7b9;
    --paper: #fff4cf;
    --paper2: #ead39a;
    --brown: #4b2d20;
    --brown2: #6a4029;
    --orange: #c95d32;
    --orange2: #e57b3d;
    --mustard: #d5a43a;
    --sun: #f0c94c;
    --green: #697647;
    --sage: #a1a477;
    --pink: #c98378;
    --blue: #78939a;
    --ink: #3f2a20;
    --shadow: rgba(65, 38, 25, .22);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at 15% 20%, rgba(75,45,32,.07) 0 1px, transparent 1.5px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,.28) 0 1px, transparent 1.5px),
        var(--cream);
    background-size: 9px 9px, 15px 15px;
}

/* warm little edge of paper */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    box-shadow: inset 0 0 90px rgba(73,42,25,.16);
}

a {
    color: inherit;
}

/* ----------------------------------------------------------
   MAIN PAPER / FAUX BROWSER
---------------------------------------------------------- */

.site {
    width: min(1080px, 94%);
    margin: 34px auto 70px;
}

.browser {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    border: 4px solid var(--brown);
    border-radius: 20px 20px 8px 8px;
    box-shadow: 12px 13px 0 var(--brown);
}

.browser::after {
    content: "✿   ✦   ☼   ✦   ✿";
    position: absolute;
    right: 18px;
    bottom: 5px;
    color: rgba(255,244,207,.42);
    font-family: "Patrick Hand", cursive;
    font-size: 14px;
    letter-spacing: 5px;
    pointer-events: none;
}

.browser-bar {
    height: 42px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--brown);
}

.browser-buttons {
    display: flex;
    gap: 6px;
}

.browser-buttons span {
    width: 13px;
    height: 13px;
    display: block;
    border: 2px solid var(--brown2);
    border-radius: 50%;
    background: var(--mustard);
}

.browser-buttons span:nth-child(2) { background: var(--orange); }
.browser-buttons span:nth-child(3) { background: var(--sage); }

.address {
    flex: 1;
    padding: 5px 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: var(--paper);
    border: 2px inset var(--brown);
    border-radius: 5px;
    color: var(--brown);
    font: 11px "DM Mono", monospace;
}

/* ----------------------------------------------------------
   BIG SUN HEADER
---------------------------------------------------------- */

header {
    position: relative;
    min-height: 390px;
    padding: 70px 30px 85px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
    background:
        repeating-radial-gradient(
            ellipse at 50% 120%,
            transparent 0 22px,
            rgba(75,45,32,.12) 23px 27px,
            transparent 28px 48px
        ),
        linear-gradient(135deg, #dba63b, #efc953);
}

/* giant retro sun */
header::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 410px;
    height: 410px;
    left: 50%;
    bottom: -235px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        repeating-conic-gradient(
            from -4deg,
            var(--orange) 0 10deg,
            transparent 10deg 20deg
        ),
        var(--sun);
    border: 8px solid var(--brown);
    box-shadow:
        0 0 0 13px var(--paper),
        0 0 0 17px var(--brown);
}

/* flowers / stars */
header::after {
    content: "✿       ☼       ✿";
    position: absolute;
    inset: 23px 0 auto;
    color: var(--orange);
    font: 48px "Patrick Hand", cursive;
    letter-spacing: 25px;
    text-shadow: 3px 3px 0 var(--paper);
}

.site-name {
    position: relative;
    margin: 0;
    max-width: 100%;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.1rem, 9vw, 7.8rem);
    font-weight: 800;
    line-height: .86;
    letter-spacing: -5px;
    color: var(--paper);
    text-shadow:
        3px 3px 0 var(--brown),
        7px 7px 0 var(--orange),
        11px 11px 0 var(--brown);
    transform: rotate(-1.5deg);
}

.tagline {
    position: relative;
    margin-top: 31px;
    padding: 8px 21px 7px;
    background: var(--paper);
    border: 3px solid var(--brown);
    box-shadow: 5px 5px 0 var(--orange);
    font: 16px "Patrick Hand", cursive;
    transform: rotate(2deg);
}

/* ----------------------------------------------------------
   NAV — LITTLE PAPER LABELS
---------------------------------------------------------- */

nav {
    position: relative;
    z-index: 3;
    margin: -22px 22px 0;
    padding: 13px 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    background: var(--brown);
    border: 3px solid var(--brown);
    border-radius: 10px 10px 4px 4px;
    box-shadow: 0 6px 0 rgba(75,45,32,.15);
}

nav a {
    padding: 8px 18px 7px;
    background: var(--mustard);
    border: 2px solid var(--brown);
    border-radius: 3px 12px 4px 10px;
    color: var(--brown);
    text-decoration: none;
    font: 500 14px "Patrick Hand", cursive;
    box-shadow: 2px 3px 0 var(--brown);
    transition: transform .15s ease, box-shadow .15s ease;
}

nav a:nth-child(2) { background: var(--orange); color: var(--paper); transform: rotate(1deg); }
nav a:nth-child(3) { background: var(--green); color: var(--paper); transform: rotate(-1deg); }
nav a:nth-child(4) { background: var(--blue); color: var(--paper); transform: rotate(1.5deg); }
nav a:nth-child(5) { background: #817094; color: var(--paper); transform: rotate(-1deg); }
nav a:nth-child(6) { background: var(--pink); color: var(--paper); transform: rotate(1deg); }

nav a:hover {
    transform: translateY(-5px) rotate(-3deg) !important;
    box-shadow: 3px 6px 0 var(--brown);
}

/* ----------------------------------------------------------
   SCRAPBOOK AREA
---------------------------------------------------------- */

.scrapbook {
    position: relative;
    padding: 55px 42px 45px;
    overflow: hidden;
    background:
        linear-gradient(transparent 97%, rgba(75,45,32,.035) 97%),
        var(--paper);
    background-size: 100% 28px;
}

.scrapbook::before {
    content: "✦";
    position: absolute;
    top: 25px;
    left: 28px;
    color: var(--orange);
    font-size: 42px;
    transform: rotate(-12deg);
}

.scrapbook::after {
    content: "☀";
    position: absolute;
    top: 260px;
    right: 12px;
    color: var(--mustard);
    font-size: 56px;
    opacity: .65;
}

/* ----------------------------------------------------------
   PAPER CARDS
---------------------------------------------------------- */

.paper {
    position: relative;
    padding: 29px;
    background: var(--paper2);
    border: 3px solid var(--brown);
    box-shadow: 8px 9px 0 var(--orange);
}

.paper::before {
    content: "";
    position: absolute;
    width: 65px;
    height: 17px;
    top: -11px;
    left: 32px;
    background: rgba(213,164,58,.75);
    border: 1px solid rgba(75,45,32,.15);
    transform: rotate(-4deg);
}

.paper.green { box-shadow: 8px 9px 0 var(--green); background: #ddd9ad; }
.paper.yellow { box-shadow: 8px 9px 0 var(--mustard); }
.paper.pink { box-shadow: 8px 9px 0 var(--pink); }

.crooked-left { transform: rotate(-1.3deg); }
.crooked-right { transform: rotate(1.25deg); }

.intro-row {
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 38px;
    align-items: center;
}

.welcome h2 {
    margin: 0 0 16px;
    color: var(--orange);
    font: 700 3.25rem/.9 "Playfair Display", Georgia, serif;
}

.welcome p {
    font-size: 15px;
    line-height: 1.65;
}

.welcome-heart {
    color: var(--orange);
    font-size: 24px;
    font-family: "Patrick Hand", cursive;
}

/* ----------------------------------------------------------
   POLAROIDS
---------------------------------------------------------- */

.polaroid,
.big-photo {
    position: relative;
    background: #fffdf0;
    border: 1px solid #c9ba91;
    box-shadow: 9px 11px 16px var(--shadow);
}

.polaroid {
    width: 87%;
    margin: auto;
    padding: 12px 12px 43px;
    transform: rotate(3.2deg);
}

.polaroid::before,
.big-photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 88px;
    height: 23px;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(208,166,75,.72);
    border: 1px solid rgba(80,50,30,.2);
}

.polaroid img {
    display: block;
    width: 100%;
    height: 295px;
    object-fit: cover;
}

.polaroid-caption,
.big-photo figcaption {
    padding-top: 12px;
    text-align: center;
    font: 17px "Patrick Hand", cursive;
}

/* ----------------------------------------------------------
   WINDOWS
---------------------------------------------------------- */

.two-column {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 29px;
    margin-top: 42px;
}

.window {
    overflow: hidden;
    background: var(--paper2);
    border: 3px solid var(--brown);
    border-radius: 8px 8px 3px 3px;
    box-shadow: 8px 8px 0 var(--green);
}

.window.orange { box-shadow: 8px 8px 0 var(--orange); }
.window.yellow { box-shadow: 8px 8px 0 var(--mustard); }

.window-title {
    padding: 8px 13px 6px;
    background: var(--green);
    color: var(--paper);
    font: 500 14px "DM Mono", monospace;
}

.window.orange .window-title { background: var(--orange); }
.window.yellow .window-title { background: var(--mustard); color: var(--brown); }

.window-body { padding: 20px; }

/* ----------------------------------------------------------
   MUSIC PLAYER
---------------------------------------------------------- */

.player {
    padding: 16px;
    background: var(--green);
    color: var(--paper);
    border: 3px solid var(--brown);
    box-shadow: 5px 5px 0 var(--brown);
}

.player-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.album {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mustard);
    border: 3px solid var(--brown);
    color: var(--brown);
    font-size: 31px;
}

.song {
    font-weight: bold;
    font-size: 15px;
}

.artist {
    font: 11px "DM Mono", monospace;
    margin-top: 3px;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.player-controls button {
    width: 36px;
    height: 36px;
    border: 2px solid var(--brown);
    border-radius: 50%;
    background: var(--paper);
    color: var(--brown);
    cursor: pointer;
    transition: transform .12s ease;
}

.player-controls button:hover {
    transform: scale(1.12) rotate(-5deg);
}

/* ----------------------------------------------------------
   STAMPS
---------------------------------------------------------- */

.stamp-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
}

.stamp {
    width: 88px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    background: var(--cream);
    border: 3px dashed var(--orange);
    font: 9px "DM Mono", monospace;
}

.stamp:nth-child(1) { transform: rotate(-3deg); }
.stamp:nth-child(2) { transform: rotate(4deg); }
.stamp:nth-child(3) { transform: rotate(-5deg); }
.stamp:nth-child(4) { transform: rotate(2deg); }
.stamp:nth-child(5) { transform: rotate(-2deg); }
.stamp:nth-child(6) { transform: rotate(3deg); }

/* ----------------------------------------------------------
   ABOUT / CURRENTLY
---------------------------------------------------------- */

.about {
    margin-top: 42px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 190px;
    gap: 30px;
    align-items: center;
}

.about h2 {
    margin-top: 0;
    color: var(--green);
    font: 700 2.15rem "Playfair Display", Georgia, serif;
}

.about p {
    font-size: 15px;
    line-height: 1.65;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 170px;
    height: 170px;
    object-fit: contain;
    filter: drop-shadow(5px 6px 0 rgba(75,45,32,.18));
    transform: rotate(5deg);
}

.currently {
    position: relative;
    margin-top: 42px;
    padding: 25px 27px;
    background: #f1dfab;
    border: 3px dashed var(--green);
    transform: rotate(-.4deg);
}

.currently::after {
    content: "✿";
    position: absolute;
    right: 20px;
    top: 12px;
    color: var(--pink);
    font-size: 28px;
}

.currently h3 {
    margin: 0 0 14px;
    color: var(--orange);
    font: 700 1.7rem "Playfair Display", Georgia, serif;
}

.currently p {
    margin: 8px 0;
}

.currently strong {
    color: var(--green);
}

/* ----------------------------------------------------------
   BIG PHOTO
---------------------------------------------------------- */

.big-photo {
    margin: 60px 15px 45px;
    padding: 12px 12px 37px;
    transform: rotate(-1deg);
}

.big-photo::before {
    width: 100px;
}

.big-photo img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.big-photo figcaption {
    font-size: 15px;
}

/* ----------------------------------------------------------
   LINKS
---------------------------------------------------------- */

.quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.quick-links a,
.socials a {
    padding: 10px 7px;
    color: var(--brown);
    text-decoration: none;
    border-bottom: 2px dashed var(--mustard);
    font: 15px "Patrick Hand", cursive;
    transition: padding-left .15s ease, background .15s ease;
}

.quick-links a::before {
    content: "✦ ";
    color: var(--orange);
}

.quick-links a:hover,
.socials a:hover {
    padding-left: 14px;
    background: var(--cream);
}

.socials a {
    display: block;
}

/* ----------------------------------------------------------
   QUOTE
---------------------------------------------------------- */

.quote {
    position: relative;
    margin: 53px 10px;
    padding: 42px 32px;
    background: var(--green);
    color: var(--paper);
    border: 4px solid var(--brown);
    border-radius: 65px 15px 65px 15px;
    text-align: center;
    box-shadow: 9px 9px 0 var(--orange);
    transform: rotate(.5deg);
}

.quote::before {
    content: "☾";
    position: absolute;
    left: 20px;
    top: 8px;
    color: var(--mustard);
    font-size: 37px;
}

.quote::after {
    content: "✦";
    position: absolute;
    right: 25px;
    bottom: 10px;
    color: var(--mustard);
    font-size: 32px;
}

.quote p {
    margin: 0;
    font: italic 1.4rem/1.45 Georgia, serif;
}

.quote small {
    display: block;
    margin-top: 12px;
    font: 11px "DM Mono", monospace;
}

/* ----------------------------------------------------------
   WEB BUTTONS
---------------------------------------------------------- */

.buttons {
    text-align: center;
}

.web-button {
    display: inline-block;
    margin: 4px;
    padding: 6px 9px;
    background: var(--brown);
    color: var(--mustard);
    border: 2px solid var(--mustard);
    text-decoration: none;
    font: 9px "DM Mono", monospace;
    box-shadow: 2px 2px 0 var(--orange);
    transition: transform .12s ease;
}

.web-button:hover {
    background: var(--orange);
    color: var(--paper);
    transform: rotate(-3deg) translateY(-2px);
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */

footer {
    position: relative;
    padding: 38px 20px;
    background: var(--brown);
    color: var(--paper);
    text-align: center;
    border-top: 9px solid var(--orange);
}

.footer-stars {
    color: var(--mustard);
    font: 20px "Patrick Hand", cursive;
    letter-spacing: 8px;
}

footer p {
    margin: 8px;
    font: 11px "DM Mono", monospace;
}

/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 750px) {
    .site {
        width: 96%;
        margin-top: 10px;
    }

    .browser {
        box-shadow: 7px 8px 0 var(--brown);
    }

    header {
        min-height: 330px;
        padding: 70px 18px 72px;
    }

    header::before {
        width: 310px;
        height: 310px;
        bottom: -175px;
    }

    header::after {
        font-size: 34px;
        letter-spacing: 7px;
    }

    .site-name {
        font-size: clamp(3rem, 15vw, 5rem);
        letter-spacing: -3px;
    }

    nav {
        margin-left: 10px;
        margin-right: 10px;
    }

    nav a {
        padding: 7px 13px;
    }

    .scrapbook {
        padding: 45px 18px 35px;
    }

    .intro-row,
    .two-column,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .polaroid {
        width: 88%;
        max-width: 390px;
    }

    .about-layout {
        gap: 15px;
    }

    .about-image {
        order: -1;
    }

    .big-photo {
        margin-left: 3px;
        margin-right: 3px;
    }

    .big-photo img {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .browser-bar {
        height: 38px;
    }

    .address {
        font-size: 9px;
    }

    header {
        min-height: 300px;
    }

    .tagline {
        font-size: 14px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .window-body {
        padding: 15px;
    }

    .quote {
        margin-left: 2px;
        margin-right: 2px;
        padding: 35px 24px;
    }
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition: none !important;
    }
}
