:root {
    --green: #39884B;
    --dark-green: #1f5e2e;
    --orange: #ff753f;
    --bg: #ffffff;
    --text: #1a1a1a;
}
body.dark-mode {
    --bg: #161616;
    --text: #f1f1f1;
    --green: #4fae63;
}

        .card {
            --cream: #fbf5dc;
            --cream-dark: #f3ebc8;
            --sage: #6f8f4f;
            --olive: #8f9c6c;
            --rust: #8b461e;
            --rose: #eb7843;
            --brown-text: #4a3b2a;
            --tan: #c9b98f;
        }
        .card {
            max-width: 720px;
            margin: 40px auto;
            padding: 40px 45px;
            background: var(--cream);
            color: var(--brown-text);
            font-family: "EB Garamond", Georgia, serif;
            font-size: 18px;
            text-align: center;
            border: 10px solid var(--sage);
            box-shadow: inset 0 0 0 3px var(--olive),
                        inset 0 0 0 7px var(--cream),
                        inset 0 0 0 8px var(--olive),
                        4px 6px 15px rgba(0, 0, 0, 0.25);
        }
                                    body.dark-mode .card {
                                --cream: #272423;
                                --brown-text: #faeddf;
                            --sage: #924a20;
                            --olive: #a85816;
                            --rust: #58ce54;
                            --cream-dark: #3a3a3a;
                            --tan: #5c5442;
                                    }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: "EB Garamond", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s, color 0.4s;
}

h1, h2, h3 {
  font-family: "Darumadrop One", sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
}

img {
    max-width: 100%;
}

#intro {
    position: fixed;
    inset: 0;
    background: #39884B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
}
#intro h1 {
    color: white;
    font-size: clamp(35px, 7vw, 80px);
    text-align: center;
    margin: 0;
    animation: appear 1.5s ease;
}
#intro p {
    color: white;
    text-align: center;
    font-size: clamp(16px, 2.5vw, 24px);
    animation: appear 1.5s ease;
}
@keyframes appear {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
    #paint-rise {
        position: absolute;
        left: 0;
        bottom: -200%;
        width: 100vw;
        height: 100%;
        background: white;
        z-index: 2;
           }
      #paint-rise::before {
        content: "";
        position: absolute;
        bottom: 100%;
        left: 0;
        width: 100%;
        height: 120px;
        background-image: url("assets/white-paint.png");
        background-size: 100% 100%;
        background-repeat: no-repeat;
          }
               #paint-rise.rise {
            animation: paintUp 0.8s ease-in-out forwards;
           }
            @keyframes paintUp {
            from { bottom: -100%; }
            to   { bottom: 0; }
          }
    #intro.fade-out {
        opacity: 0;
        transition: opacity 0.7s ease;
        pointer-events: none;
        }
        body.intro-active {
            overflow: hidden;
 }

 .banner {
    width: 100%;
    aspect-ratio: 3 / 1;
    background-image: url("assets/backgroundcut.gif");
    background-size: cover;
    background-position: center bottom;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5% 0 0 50%;
    box-sizing: border-box;
}
.banner nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.banner a {
    position: relative;
    display: block;
    width: fit-content;
  font-family: "Darumadrop One", sans-serif;;
    font-size: clamp(20px, 3vw, 55px);
    line-height: 1.15;
    font-style: italic;
    color: white;
    text-decoration: none;
    isolation: isolate;
    transition: color 0.2s;
}
        .banner a:nth-child(1) { transform: rotate(-4deg); }
        .banner a:nth-child(2) { transform: rotate(2deg);  margin-left: 10px; }
        .banner a:nth-child(3) { transform: rotate(-3deg); }
        .banner a:nth-child(4) { transform: rotate(3deg);  margin-left: 10px; }
        .banner a:nth-child(5) { transform: rotate(-5deg); }
    .banner a::after {
        content: "";
        position: absolute;
        top: -5px;
        left: -15px;
        width: calc(100% + 30px);
        height: calc(100% + 10px);
        background: black;
        mix-blend-mode: difference;
        clip-path: polygon(0% 20%, 95% 0%, 100% 100%, 5% 100%);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.2s;
    }
    .banner a::before {
        content: "";
        position: absolute;
        top: -5px;
        left: -15px;
        width: calc(100% + 30px);
        height: calc(100% + 10px);
        background: white;
        clip-path: polygon(0% 20%, 95% 0%, 100% 80%, 5% 100%);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.2s;
    }
        .banner a:hover {
            color: var(--orange)
        }
        .banner a:hover::before,
        .banner a:hover::after {
            opacity: 1;
        }

        .banner a.active {
            color: black;
        }
        .banner a.active::before {
            opacity: 1;
        }
        .banner a.active::after {
            opacity: 1;
        }

#mini-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--green);
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    z-index: 100;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    }
#mini-bar.show {
    transform: translateY(0);
    }
#mini-bar .eye {
    display: block;
    height: 100%;
    width: 200px;
    opacity: 1;
    overflow: hidden;
}
#mini-bar .eye img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#mini-bar nav {
    display: flex;
    gap: 18px;
    margin-left: auto;
    }
#mini-bar a {
    font-family: "Darumadrop One", serif;
    font-style: italic;
    font-size: 20px;
    color: white;
    text-decoration: none;
    opacity: 0.6;
    }
#mini-bar a:hover {
    opacity: 1;
    }
#mini-bar a.active {
    opacity: 1;
    color: black;
    background: white;
    padding: 2px 10px;
    border-bottom: 4px solid var(--orange);
    transform: rotate(-3deg);
    display: inline-block;
    }

#dark-mode-btn {
    position: absolute;
    top: 5px;
    right: 20px;
    z-index: 200;
    width: 50px;
    height: 50px;
    color: black;
    border-radius: 50%;
    border: 3px solid black;
    background: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.container {
    position: relative;
    z-index: 0; 
    overflow: hidden;
    padding: 0 30px 60px;
}
    main {
        max-width: 1100px;
        margin: 0 auto;
    }

    .splash {
        position: absolute;
        width: 350px;
        opacity: 0.35;
        z-index: -1;
        pointer-events: none;
    }
        body.dark-mode .splash {
            opacity: 0.2;
        }

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}
body.intro-active .reveal.show {
    opacity: 0;
    transform: translateY(60px);
}

                    .big-title {
                        line-height: 0.95;
                        margin: 10px 0 0;
                        text-align: center;
                    }
                    .subtitle {
                        text-align: center;
                        font-size: clamp(18px, 2.5vw, 28px);
                        margin: 20px 0 30px;
                    }
                    .social-buttons {
                        display: flex;
                        justify-content: center;
                        flex-wrap: wrap;
                        gap: 10px;
                        margin: -12px auto 30px;
                    }
                    .social-buttons a {
                        display: grid;
                        place-items: center;
                        width: 48px;
                        height: 48px;
                        padding: 8px;
                        box-sizing: border-box;
                        background: var(--bg);
                        border: 2px solid var(--green);
                        border-radius: 12px;
                        box-shadow: 2px 3px 0 var(--green);
                        transition: transform 0.2s ease, box-shadow 0.2s ease;
                    }
                    .social-buttons img {
                        display: block;
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                    .social-buttons a:hover,
                    .social-buttons a:focus-visible {
                        transform: translateY(-3px);
                        box-shadow: 2px 6px 0 var(--green);
                    }
                    .photo-row {
                    display: flex;
                    justify-content: center;
                    gap: 35px;
                    flex-wrap: wrap;
                    margin-bottom: 40px;
                    }
                    .frame {
                        width: 200px;
                        height: 200px;
                        object-fit: cover;
                    }

                    .frame.red    { box-shadow: -10px -10px 0 #ff4b4b; transform: rotate(-3deg); }
                    .frame.yellow { box-shadow: -10px -10px 0 #f5e026; transform: rotate(2deg); }
                    .frame.blue   { box-shadow: -10px -10px 0 #3aa0ff; transform: rotate(-2deg); }
                    .frame.orange { box-shadow: -10px -10px 0 #ffa500; transform: rotate(1deg); }
                    .frame.purple { box-shadow: -10px -10px 0 #b44dff; transform: rotate(-3deg); }
                    .frame.green { box-shadow: -10px -10px 0 #26f5b0; transform: rotate(2deg); }
                    .intro-text {
                        text-align: center;
                        font-size: 18px;
                        line-height: 1.6;
                        max-width: 800px;
                        margin: 0 auto;
                    }

                    blockquote {
                        font-family: "Londrina Outline", serif;
                        font-weight: 400;
                        font-size: 12.5vw;
                        line-height: 1;
                        white-space: nowrap;
                        overflow: hidden;
                        color: var(--orange);
                        text-align: center;
                        box-sizing: border-box;
                        width: 100vw;
                        margin: 0;
                        padding: 0.08em 0;
                        opacity: 0.1;
                    }

footer {
    text-align: center;
    padding: 30px;
    background: var(--green);
    color: white;
}
/*TABLET*/
@media (max-width: 900px) {

    .row,
    .row.flip,
    .youtube-box {
        flex-direction: column;
    }

    .row img,
    .row .pic,
    .row .text,
    .row .coursework-image,
    .row .coursework-preview {
        width: 100%;
    }

    .row > img,
    .row > .coursework-image,
    .row > .coursework-preview,
    .row .text {
        flex: 0 0 auto;
    }

    .frame {
        width: 150px;
        height: 150px;
    }

    .splash {
        width: 250px;
    }
}

/*MOBILE */
@media (max-width: 600px) {
    .social-buttons {
        gap: 8px;
    }

    .social-buttons a {
        width: 42px;
        height: 42px;
    }

    .banner {
        aspect-ratio: auto;
        height: 260px;
        background-position: 15% bottom;
        padding: 15px 0 0 48%;
    }

    .banner nav {
        gap: 4px;
    }

    .container {
        padding: 0 15px 60px;
    }

    .big-title span {
        padding-left: 0;
    }

    .frame {
        width: 120px;
        height: 120px;
    }

    .photo-row {
        gap: 25px;
    }

    .gallery img {
        width: 220px;
    }
    #mini-bar nav a {
        display: none;
    }

    #mini-bar nav a.active {
        display: inline-block;
    }

    .paper {
        padding: 20px;
    }
}


                    .card a {
                color: var(--rust);
                font-weight: bold;
                    }
                .portrait-frame {
            width: 220px;
            height: 290px;
            margin: 0 auto;
            padding: 6px;
            background: var(--sage);
            border: 3px solid var(--olive);
            border-radius: 115px 115px 0 0;
                    }
                .portrait {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 110px 110px 0 0;
                    }
            .about-name {
            font-family: "Darumadrop One", serif;
            font-weight: 200;
            font-size: clamp(48px, 10vw, 90px);
            color: var(--rust);
            margin: 10px 0 0;
            letter-spacing: 3px;
            text-shadow: 2px 2px 0 var(--brown-text);
                    }
            .about-name2 {
            font-family: "Darumadrop One", serif;
            font-weight: 500;
            font-size: clamp(30px, 50vw, 40px);
            color: var(--brown-text);
            margin: -1px 5px 0;
            letter-spacing: 3px;
            text-shadow: 2px 2px 0 var(--sage);
                    }
                    .divider {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--olive);
            font-size: 26px;
            margin: 15px 0;
                    }
                        .divider::before,
                        .divider::after {
                            content: "";
                            flex: 1;
                            height: 2px;
                            background: var(--olive);
                        }
                        .info-line {
                        display: flex;
                        justify-content: center;
                        flex-wrap: wrap;
                        gap: 8px 25px;
                        margin: 6px 0;
                                }
                                .about-quote {
                        font-style: bold italic;
                        font-size: 22px;
                        color: var(--rose);
                        margin: 20px 0;
                    }
                    .bio,
                    .mini-box {
                        background: var(--cream-dark);
                        border: 2px solid var(--tan);
                        box-shadow: inset 0 0 0 5px var(--cream-dark),
                                    inset 0 0 0 6px var(--tan);
                        padding: 25px;
                        text-align: justify;
                        line-height: 1.6;
                        margin-bottom: 20px;
                    }
                    .bio b {
                        color: var(--rose);
                    }
                        .bio mark {
                            background: var(--rose);
                            color: var(--cream-dark);
                        }
                    .bio p:first-child::first-letter {
                        float: left;
                        font-family: "Cinzel Decorative", serif;
                        font-size: 50px;
                        line-height: 1;
                        padding: 4px 10px;
                        margin: 4px 10px 0 0;
                        background: var(--rust);
                        color: var(--cream);
                    }
                    .two-boxes {
                        display: grid;
                        grid-template-columns: 1fr 1fr;
                        gap: 20px;
                    }
                    .script-label {
                        font-family: "Darumadrop One", cursive;
                        font-size: 40px;
                        letter-spacing: 0;
                        color: var(--rust);
                        text-align: center;
                        margin: 0 0 10px;
                    }
                    .mini-box ul {
                        list-style: none;
                        padding: 0;
                        margin: 0;
                    }
                    .mini-box li::before {
                        content: "➤ "; 
                        color: var(--olive);
                    }
                    .tags {
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: center;
                        gap: 8px;
                    }
                    .tags span {
                        background: var(--bg);
                        border: 1px solid var(--olive);
                        border-radius: 20px;
                        padding: 3px 12px;
                        font-size: 16px;
                    }
                    .resume {
                        font-size: 30px;
                        margin-bottom: 10px;
                    }
                                    @media (max-width: 600px) {
                                    .card {
                                        padding: 30px 18px;
                                        border-width: 6px;
                                    }

                                    .two-boxes {
                                        grid-template-columns: 1fr;
                                        gap: 0;
                                    }

                                    .portrait-frame {
                                        width: 170px;
                                        height: 225px;
                                    }

                                    .bio,
                                    .mini-box {
                                        padding: 18px;
                                        text-align: left;
                                    }
                                }
                .youtube-box {
                    display: flex;
                    align-items: center;
                    gap: 40px;
                    margin: 0 0 30px;
                }
                .tv {
                    width: 300px;
                    flex-shrink: 0;
                }
                .hyperlink {
                    font-family: "Londrina Outline", serif;
                    font-size: 40px; 
                    display: inline-block;
                    margin-top: 12px;
                    font-weight: bold;
                }
                .socials a {
                    font-family: "Darumadrop One";
                    font-style: bold;
                    font-size: 26px;
                    margin-right: 25px;
                    text-decoration: none;
                }
                .gallery-title {
                    text-align: center;
                    font-size: 36px;
                    border-top: 1px solid #999;
                    padding-top: 20px;
                }
                .gallery {
                    display: flex;
                    gap: 20px;
                    overflow-x: auto;
                    padding-bottom: 15px;
                    scroll-behavior: smooth;
                }       
                .gallery img {
                    width: 300px;
                    height: auto;
                    flex-shrink: 0;
                }
                .gallery iframe {
                flex: 0 0 300px;
                aspect-ratio: 16 / 9;
                border: 0;
                }
#other-projects {
    align-items: flex-start;
}

#other-projects img {
    height: 240px;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    object-fit: contain;
}


                    .row {
                        display: flex;
                        align-items: center;
                        gap: 40px;
                        margin: 60px auto;
                    }

                    .row.flip {
                        flex-direction: row-reverse;
                    }

                    .row > img,
                    .row > .coursework-image {
                        width: 48%;
                        height: 320px;
                        flex: 0 0 48%;
                        object-fit: cover;
                    }

                    .row > .coursework-preview {
                        width: 48%;
                        height: 360px;
                        flex: 0 0 48%;
                        border: 2px solid var(--green);
                        border-radius: 10px;
                        background: var(--bg);
                        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
                    }

                        @media (max-width: 1024px) {
                            .row,
                            .row.flip {
                                flex-direction: column;
                            }

                            .row > img,
                            .row > .coursework-image,
                            .row > .coursework-preview,
                            .row .text {
                                width: 100%;
                                flex: 0 0 auto;
                            }

                            .row > .coursework-preview {
                                height: 320px;
                            }
                        }
        .commissions {
            --cream: #fbf5dc;
            --cream-dark: #f3ebc8;
            --sage: #6f8f4f;
            --olive: #8f9c6c;
            --rust: #8b461e;
            --rose: #eb7843;
            --brown-text: #4a3b2sa;
            --tan: #c9b98f;
        }
                                 body.dark-mode .commissions {
                                --cream: #272423;
                                --brown-text: #faeddf;
                            --sage: #924a20;
                            --olive: #a85816;
                            --rust: #58ce54;
                            --cream-dark: #3a3a3a;
                            --tan: #5c5442;
                                    }
        .commission-big {
            margin-bottom: 20px;
            font-weight: 800;
            font-family: "Darumadrop One", serif;
            font-style: italic;
            color: var(--brown-text);
        }
        .commissions {
            padding: 30px 20px;
            text-align: center;
        }
        .commissions > h1 {
            font-size: 28px;
            margin-bottom: 10px;
        }
        .commissions > p {
            margin-bottom: 25px;
        }
        .commission-scroll {
            display: flex;
            gap: 20px;

            overflow-x: auto;
            padding: 10px 5px 20px;

            scroll-snap-type: x mandatory;
        }
                .commission-card {
            flex: 0 0 320px;
            background: var(--cream);
            border: 2px solid var(--olive);
            color: var(--brown-text);

            border-radius: 18px;
            overflow: hidden;

            text-align: left;
            scroll-snap-align: start;

            display: flex;
            flex-direction: column;
        }
        .commission-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
        }

        .commission-info {
    padding: 20px;

    display: flex;
    flex-direction: column;
    flex: 1;
        }
    .commission-info h1 {
        font-size: 22px;
        margin: 0 0 12px;
        color: var(--rust);
    }
    .commission-info h2 {
        font-family: "EB Garamond";
        font-style: italic;
        font-size: 18px;
        color: var(--brown-text);
        margin: 0 0 25px;
    }
    .comm-note {
        font-size: 16px;
        text-align: center;
        margin-top: 15px;
        opacity: 0.7;
    }
    .commission-info a {
        display: block;
        background: var(--cream-dark);
        color: var(--brown-text);
        padding: 13px;
        border-radius: 30px;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        margin-top: auto;
    }
    .commission-info a:hover {
        background: var(--sage);
    }

            .paper {
                background: white;
                color: black;
                max-width: 700px;
                margin: 40px auto;
                padding: 40px;
                border: 1px solid #bbb;
                box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.2);
                font-family: Arial, sans-serif;
                font-size: 13px;
            }
            .paper h2 {
                font-family: Arial, sans-serif;
                font-weight: bold;
                text-align: center;
                font-size: 22px;
                margin: 0;
            }
.paper .small-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin: 4px 0 20px;
}
.form-bar {
    background: #dde7f5;
    border: 1px solid #8fa6c7;
    text-align: center;
    font-weight: bold;
    padding: 4px;
    margin: 20px 0 15px;
}
.form-line {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.form-line label {
    font-weight: bold;
    white-space: nowrap;
}
.paper input[type="text"],
.paper input[type="email"],
.paper input[type="date"],
.paper input[type="number"],
.paper select {
    flex: 1;
    min-width: 120px;
    border: none;
    border-bottom: 1px solid black;
    background: transparent;
    font-size: 14px;
    padding: 2px 4px;
}
.paper textarea {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    border: 1px solid black;
    font-family: Arial, sans-serif;
}
.note {
    font-size: 10px;
    color: #888;
    font-style: italic;
}
.signature {
    font-family: "Brush Script MT", cursive !important;
    font-size: 24px !important;
}
.submit-btn {
    display: block;
    margin: 25px auto 0;
    padding: 10px 30px;
    font-weight: bold;
    font-size: 15px;
    background: var(--green);
    color: white;
    border: none;
    cursor: pointer;
}
#form-message {
    text-align: center;
    color: var(--green);
    font-weight: bold;
}