/**
 * Theme Name: Jasmine Rose Child
 * Template:   jasmine-rose
 */

 /* ─────────────────────────────────────────
           JASMINE ROSE — CUSTOM HOME TEMPLATE CSS
           ───────────────────────────────────────── */

        /* Google Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Open+Sans:wght@300;400;600&display=swap');

        /* ── Variables ────────────────────────────── */
        :root {
            --bg-light:      #f1e5ed;
            --bg-light-dark: #ddd0ed;
            --primary:       #3e1e53;
            --mauve-light:   #b878e4;
            --dark:          #2e2618;
            --text:          #4a3f2a;
            --text-light:    #7a6e58;
            --rose:          #c4687a;
            --green-dark:    #d68e83;
            --white:         #ffffff;
            --link-color: var(--primary);
            --link-hover-color: var(--mauve-light);
            --button-hover-color:hsl(from var(--link-hover-color) h s calc(l + 50));
            
            --animation-background:  url('https://jasminerose.net/wp-content/uploads/2026/05/abstract-refreshing-blue-tropical-watercolor-background-illustration-high-resolution-free-image-scaled.jpg');
            --animation-midground:   url('https://jasminerose.net/wp-content/uploads/2026/05/tropical-leaves-illustration-png.webp');
            --animation-foreground:  url('https://jasminerose.net/wp-content/uploads/2026/05/vecteezy_a-bouquet-of-vibrant-wildflowers-forming-a-delicate-border_46981371-scaled.webp');

            /* --font-display: 'Playfair Display', Georgia, serif; */
            --font-display: "Merriweather", serif;
            --font-body:    'Cormorant Garamond', Georgia, serif;
            --font-ui:      'Open Sans', sans-serif;

            --max-width: 1200px;
            --section-gap: 100px;

            --header-height: 60px;
        }

        /* ── Reset / Base ─────────────────────────── */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; }

        body {
            background-color: var(--bg-light);
            color: var(--text);
            font-family: var(--font-body);
            font-size: 18px;
            line-height: 1.7;
            /* overflow-x: hidden; */
        }

        a { color: var(--primary); text-decoration: none; font-weight:bold; }
        img { max-width: 100%; height: auto; display: block; }
        #page{height:100%;}
        a:not(.site-title):not(.logo):hover {
            text-decoration: underline;
            color:var(--link-hover-color);
        }
        nav{
            a:hover{
                text-decoration:none;
            }
        }
        #primary{
            padding-top:var(--header-height);
        }

        /* ── Utility ──────────────────────────────── */
        .jr-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 40px;
        }

        .jr-divider {
            width: 100%;
            height: 1px;
            background: var(--primary);
            opacity: 0.35;
            margin: 0 auto;
        }

        .jr-section-label {
            font-family: var(--font-ui);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--primary);
        }

        .jr-section-title {
            font-family: var(--font-display);
            font-size: clamp(28px, 4vw, 48px);
            font-weight: 600;
            color: var(--primary);
            letter-spacing: 0.05em;
            text-transform: uppercase;
            width: 100%;
            white-space: nowrap;
        }

        /* ── Fade-in animation ────────────────────── */
        .jr-fade {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .jr-fade.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        .jr-fade-delay-1 { transition-delay: 0.1s; }
        .jr-fade-delay-2 { transition-delay: 0.2s; }
        .jr-fade-delay-3 { transition-delay: 0.35s; }
        .jr-fade-delay-4 { transition-delay: 0.5s; }

        /* ════════════════════════════════════════════
           NAVIGATION
           ════════════════════════════════════════════ */
        

        #masthead{
            display:flex;
            flex-direction: row;
            position:sticky;
            top:0;
            padding:10px 0;
            font-size:1.4rem;
            justify-content:space-between;
            align-items:center;
            z-index:1000;
            background-color: var(--bg-light);
            border-bottom:1px solid var(--primary);
            
        }

        .masthead-inner{
            width:100%;
            display:flex;
            flex-direction: row;
            justify-content:space-between;
            align-items:center;
            max-width:var(--max-width);
            margin:0 auto;
        }

        body:not('.home') main#primary{
            max-width:var(--max-width);
            margin:0 auto;
        }

        .nav-menu{
            display: flex;
            gap: 32px;
            list-style: none;
        }
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 4px;
            background: none;
            border: none;
        }

            .menu-toggle  span {
            display: block;
            width: 24px; height: 1.5px;
            background: var(--primary);
            transition: all 0.3s;
        }

        #mobile-menu {
            display:none;
            position: absolute;
            top: 100%; 
            list-style: none;
            flex-direction:column;
            gap:16px;
            position:absolute; 
            top:100%; 
            right:20px; 
            background:var(--bg-light); 
            border:1px solid var(--primary); 
            padding:16px;
        }
        #primary{
            max-width:var(--max-width);
            margin:0 auto;
        }

        #smooth-wrapper{
            /* padding-top:var(--header-height); */
        }

        /* ════════════════════════════════════════════
           HERO
           ════════════════════════════════════════════ */
        #top{
            /* background-attachment: fixed; */
            overflow-y: hidden;;
        }
        /* Background layers */
        .jr-hero__filter {
            /* background-image: url('https://jasminerose.net/wp-content/uploads/2026/05/abstract-refreshing-blue-tropical-watercolor-background-illustration-high-resolution-free-image-scaled.jpg');*/
            background-image: var(--animation-background);
            background-size: 200%; 
            background-position: var(--mobile-background-position-start);
            position:absolute;
            scale:-1;
            inset:0;
            filter:hue-rotate(50deg);
            z-index: -1;
        }
        .jr-hero {
            position: relative; /* nav height */
            aspect-ratio: 2/1;
            width:100vw;
            max-width:100vw;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            overflow: hidden ;
            visibility: hidden;
            /* height:calc(100vh - var(--header-height)); */
        }

        /* Foreground decorative botanical SVG background */
        .jr-hero__bg {
            position: absolute;
            bottom: 0; left: 0; right: 0; top: 0;
            width: 100%;
            pointer-events: none;
            user-select: none;
            background-image: var(--animation-foreground);
            background-size: 200vw;
            background-repeat: no-repeat;
            background-position: var(--mobile-foreground-position-start); 
        }
        /* Midground leaf pattern */
        .jr-hero__overlay {
            position: absolute;
            inset: 0;
            
            background-image: var(--animation-midground);
            background-size: 200vw;
            background-repeat: no-repeat;
            background-position: var(--mobile-midground-position-start); 
        }

        .jr-hero__content {
            position: relative;
            margin:10% auto;
            z-index: 2;
            opacity:0;
            text-align: center;
            padding: 60px 40px 0;
            height:100%;
        }

        .jr-hero__eyebrow {
            font-family: var(--font-ui);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.65em;
            text-transform: uppercase;
            color: var(--mauve-light);
            margin-bottom: 8px;
            display: block;
        }

        .jr-hero__name {
            font-family: var(--font-display);
            font-size: clamp(56px, 9vw, 120px);
            font-weight: 900;
            color: var(--primary);
            line-height: 0.9;
            letter-spacing: -0.01em;
            text-transform: lowercase;
        }

        .jr-hero__subtitle {
            font-family: var(--font-body);
            font-size: clamp(16px, 2.5vw, 22px);
            font-style: italic;
            color: var(--text-light);
            margin-top: 14px;
            letter-spacing: 0.05em;
            display:none;
        }

        /* Botanical illustration strip */
        .jr-hero__botanical {
            position: relative;
            width: 100%;
            height: 220px;
            margin-top: 40px;
            overflow: hidden;
        }

        .jr-hero__botanical svg {
            width: 100%;
            height: 100%;
        }

        /* ════════════════════════════════════════════
           ILLUSTRATIONS CAROUSEL
           ════════════════════════════════════════════ */
        .jr-illustrations {
            padding: var(--section-gap) 0 60px;
        }

        .jr-illustrations__header {
            display: flex;
            align-items: center;
            gap: 24px;
            max-width: var(--max-width);
            margin: 0 auto 40px;
            padding: 0 40px;
        }

        .jr-illustrations__track-wrapper {
            overflow: hidden;
            position: relative;
        }

        .jr-illustrations__track {
            display: flex;
            gap: 0;
            width: max-content;
            animation: jr-scroll 30s linear infinite;
        }

        .jr-illustrations__track:hover {
            animation-play-state: paused;
        }

        @keyframes jr-scroll {
            0%   { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .jr-ill-card {
            position: relative;
            width: 360px;
            height: 280px;
            flex-shrink: 0;
            overflow: hidden;
            cursor: pointer;
        }

        .jr-ill-card__img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
            background: var(--bg-light-dark);
        }

        .jr-ill-card:hover .jr-ill-card__img {
            transform: scale(1.06);
        }

        .jr-ill-card__overlay {
            position: absolute;
            inset: 0;
            background: rgba(46, 38, 24, 0.6);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .jr-ill-card:hover .jr-ill-card__overlay {
            opacity: 1;
        }

        .jr-ill-card__title {
            font-family: var(--font-display);
            font-size: 18px;
            font-weight: 700;
            color: var(--bg-light);
            text-align: center;
            padding: 0 20px;
            letter-spacing: 0.06em;
        }

        .jr-ill-card__cta {
            font-family: var(--font-ui);
            font-size: 9px;
            font-weight: 600;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: var(--mauve-light);
            margin-top: 12px;
            border-bottom: 1px solid var(--mauve-light);
            padding-bottom: 2px;
        }

        .jr-illustrations__more {
            text-align: center;
            margin-top: 48px;
        }

        /* ════════════════════════════════════════════
           ABOUT
           ════════════════════════════════════════════ */
        .jr-about {
            padding: var(--section-gap) 0;
            background: var(--bg-light);
        }
        #about .jr-divider {
            margin-bottom:64px;
        }
        .jr-about-bg{
            position:absolute;
            inset:0;
            z-index: -2;
            background:var(--bg-light-dark);
        }

        .jr-about__inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 40px;
        }

        .jr-about__greeting {
            font-family: var(--font-display);
            font-size: clamp(40px, 6vw, 72px);
            font-weight: 900;
            font-style: italic;
            color: var(--primary);
            line-height: 1;
            margin-bottom: 24px;
        }

        .jr-about__bio {
            font-size: 19px;
            line-height: 1.8;
            color: var(--text);
            margin-bottom: 36px;
        }

        .jr-about__photo-wrap {
            position: relative;
        }

        .jr-about__photo {
            width: 100%;
            position: relative;
            aspect-ratio: 1/1;
            object-position: top center;
            object-fit:contain;
            z-index: 1;
        }

        .jr-about__photo-frame {
            position: absolute;
            top: 16px; left: 16px; right: -16px; bottom: -16px;
            border: 1.5px solid rgba(138, 115, 62, 0.4);
            pointer-events: none;
            zindex:-1;
        }

        /* ════════════════════════════════════════════
           PRINT SHOP BANNER
           ════════════════════════════════════════════ */
        .jr-shop-banner {
            position: relative;
            min-height: 280px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: var(--green-dark);
        }

        .jr-shop-banner__overlay {
            position: absolute;
            inset: 0;
            /* background: linear-gradient(135deg, rgba(46,38,24,0.7) 0%, rgba(58,79,48,0.6) 100%); */
        }

        .jr-shop-banner__bg {
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(ellipse at 20% 50%, rgba(196,104,122,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(138,115,62,0.2) 0%, transparent 60%);
        }

        .jr-shop-banner__content {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 20px 20px;
        }

        .jr-shop-banner__title {
            font-family: var(--font-display);
            font-size: clamp(52px, 8vw, 100px);
            font-size:2.8rem;
            font-weight: 900;
            color: var(--bg-light);
            line-height:1;
            letter-spacing: 0.04em;
            text-transform: lowercase;
        }

        .jr-shop-banner__title span {
            display: block;
            font-style: italic;
            color: rgba(245, 240, 228, 0.7);
            font-size: 0.55em;
        }
        .jr-shop-banner a{
            font-size:.9rem;
            padding:20px 80px;
        }


        /* ════════════════════════════════════════════
           PROJECTS OR ORIGINAL WORKS
           ════════════════════════════════════════════ */
        .jr-projects {
            padding: var(--section-gap) 0;
            max-width: var(--max-width);
            margin: 0 auto;
        }
        

        .jr-projects__header {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-bottom: 48px;
        }

        .jr-projects__grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3px;
        }

        .jr-proj-card {
            position: relative;
            aspect-ratio: 1/1;
            overflow: hidden;
            cursor: pointer;
        }

        .jr-proj-card__img {
            width: 100%; height: 100%;
            object-fit: cover;
            background: var(--bg-light-dark);
            transition: transform 0.6s ease;
        }

        .jr-proj-card:hover .jr-proj-card__img {
            transform: scale(1.05);
        }

        .jr-proj-card__content {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 32px;
            background: linear-gradient(0deg, var(--primary) 0%, transparent 100%);
            transform: translateY(8px);
            transition: transform 0.4s ease;
        }

        .jr-proj-card:hover .jr-proj-card__content {
            transform: translateY(0);
        }

        .jr-proj-card__title {
            font-family: var(--font-display);
            font-size: 22px;
            font-weight: 700;
            color: var(--bg-light);
            line-height: 1.2;
        }

        .jr-proj-card__type {
            font-family: var(--font-ui);
            font-size: 10px;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: white;
            margin-top: 6px;
            display:none;
        }

        /* ════════════════════════════════════════════
           SERVICES
           ════════════════════════════════════════════ */
        .jr-services {
            padding: var(--section-gap) 0;
            background: var(--bg-light);
        }

        .jr-services__header {
            display: flex;
            align-items: center;
            gap: 24px;
            margin-bottom: 56px;
        }

        .jr-services__grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1px;
            background: rgba(138, 115, 62, 0.2);
        }

        .jr-svc-card {
            padding: 48px 44px;
            background: var(--bg-light);
            transition: background 0.3s ease;
        }

        .jr-svc-card:hover {
            background: var(--bg-light-dark);
        }

        .jr-svc-card__icon {
            width: 44px; height: 44px;
            margin-bottom: 20px;
            opacity: 0.7;
        }

        /* Icon SVGs as CSS backgrounds */
        .svc-icon--branding    { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%238a733e' stroke-width='1.5'%3E%3Ccircle cx='22' cy='22' r='18'/%3E%3Cpath d='M14 22h16M22 14v16'/%3E%3C/svg%3E") center/contain no-repeat; }
        .svc-icon--illustration{ background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%238a733e' stroke-width='1.5'%3E%3Cpath d='M8 36l10-14 8 10 6-8 8 12'/%3E%3Ccircle cx='32' cy='14' r='4'/%3E%3C/svg%3E") center/contain no-repeat; }
        .svc-icon--web         { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%238a733e' stroke-width='1.5'%3E%3Crect x='6' y='10' width='32' height='24' rx='2'/%3E%3Cpath d='M6 18h32M14 10v8'/%3E%3C/svg%3E") center/contain no-repeat; }
        .svc-icon--social      { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%238a733e' stroke-width='1.5'%3E%3Ccircle cx='12' cy='22' r='4'/%3E%3Ccircle cx='32' cy='12' r='4'/%3E%3Ccircle cx='32' cy='32' r='4'/%3E%3Cpath d='M16 20l12-6M16 24l12 6'/%3E%3C/svg%3E") center/contain no-repeat; }

        .jr-svc-card__title {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 700;
            color: var(--primary);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 14px;
            line-height: 1.2;
        }

        .jr-svc-card__desc {
            font-family: var(--font-body);
            font-size: 16px;
            color: var(--text-light);
            line-height: 1.8;
        }

        /* ════════════════════════════════════════════
           CONTACT
           ════════════════════════════════════════════ */
        .jr-contact {
            padding: var(--section-gap) 0;
            background: var(--bg-light);
        }

        .jr-contact__inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: start;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 40px;
        }

        .jr-contact__heading {
            font-family: var(--font-display);
            font-size: clamp(30px, 4vw, 52px);
            font-weight: 700;
            font-style: italic;
            color: var(--primary);
            line-height: 1.1;
            margin-bottom: 24px;
        }

        .jr-contact__body {
            font-size: 18px;
            line-height: 1.8;
            color: var(--text);
            margin-bottom: 20px;
        }

        .jr-contact__email {
            font-family: var(--font-ui);
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 0.1em;
            color: var(--primary);
            border-bottom: 1px solid var(--primary);
            padding-bottom: 2px;
            display: inline-block;
            transition: opacity 0.2s;
        }
        .jr-contact__email:hover { opacity: 0.7; }

        /* Form */
        .wpcf7-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .wpcf7-form p {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .wpcf7-form label, .newsletter label {
            font-family: var(--font-ui);
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--text-light);
        }

        .wpcf7-form input,
        .wpcf7-form textarea, 
        .newsletter :is(input, textarea) {
            background: transparent;
            border: none;
            border-bottom: 1.5px solid rgba(138, 115, 62, 0.4);
            padding: 10px 0;
            font-family: var(--font-body);
            font-size: 17px;
            color: var(--text);
            outline: none;
            transition: border-color 0.3s;
            width: 100%;
        }

        .wpcf7-form input:focus,
        .wpcf7-form textarea:focus, 
        .newsletter :is(input, textarea):focus {
            border-bottom-color: var(--primary);
        }

        .wpcf7-form textarea {
            resize: none;
            min-height: 100px;
        }

        .wpcf7-form-control[type="submit"]{
            margin-bottom:20px;
            border-bottom:none;
        }

        .wpcf7-form-control[type="submit"]:is(:focus, :hover, :focus-within){
            box-shadow:0 0 4px 0 rgba(0,0,0, 0.25);
            font-weight:bold;
            text-decoration: underline;

        }

        /* ════════════════════════════════════════════
           BUTTONS
           ════════════════════════════════════════════ */
        .jr-btn, .newsletter input.tnp-submit {
            display: inline-block ;
            font-family: var(--font-ui) ;
            font-size: 10px ;
            font-weight: 600 ;
            letter-spacing: 0.3em ;
            text-transform: uppercase ;
            padding: 14px 32px ;
            border: 1.5px solid var(--primary) ;
            color: var(--primary) ;
            background: transparent ;
            cursor: pointer ;
            transition: background 0.3s, color 0.3s ;
            text-align: center ;
            &:is('.newletter input'){
                border-bottom-color:white ;
            }
        }

        .jr-btn:hover, .newsletter input.tnp-submit:hover  {
            background: var(--button-hover-color) ;
            color: var(--link-color) ;
        }

        .jr-btn--filled, .newsletter input.tnp-submit {
            background: var(--primary) ;
            color: var(--bg-light) ;
        }

        .jr-btn--filled:hover {
            background: var(--button-hover-color);
            border-color: var(--link-color);
        }

        /* ════════════════════════════════════════════
           FOOTER
           ════════════════════════════════════════════ */
        .jr-footer {
            padding: 60px 0 40px;
            border-top: 1px solid rgba(138, 115, 62, 0.25);
        }

        .jr-footer__inner {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 40px;
        }

        .jr-footer__top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
        }

        .jr-footer__logo {
            font-family: var(--font-display);
            font-size: 24px;
            font-style: italic;
            font-weight: 700;
            color: var(--primary);
        }

        .jr-footer__socials {
            display: flex;
            gap: 20px;
            list-style: none;
        }

        .jr-footer__socials a {
            width: 38px; height: 38px;
            border: 1px solid rgba(138, 115, 62, 0.4);
            display: flex; align-items: center; justify-content: center;
            color: var(--primary);
            font-size: 14px;
            transition: background 0.2s, color 0.2s;
        }

        .jr-footer__socials a:hover {
            background: var(--primary);
            color: var(--bg-light);
        }

        .jr-footer__nav {
            display: flex;
            gap: 32px;
            list-style: none;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .jr-footer__nav a {
            font-family: var(--font-ui);
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--text-light);
            transition: color 0.2s;
        }

        .jr-footer__nav a:hover { color: var(--primary); }

        .jr-footer__copy {
            font-family: var(--font-ui);
            font-size: 11px;
            color: var(--text-light);
            letter-spacing: 0.1em;
        }

        /* ════════════════════════════════════════════
           Projects
           ════════════════════════════════════════════ */
        /*three grid lanes equal width*/
        .gallery {
            display: flex;
            flex-direction: column;
            flex-wrap:wrap;
            gap: 16px;
            padding-top:20px;

        }
        .art-gallery{
            display:flex;
            flex-direction: row;
            gap: 20px;
            padding:10px 0;
        }
        .gallery-column{
            display:flex;
            flex-direction: column;
            width:33%;
            gap:20px;
        }
        .gallery article{
            width:33%;</section>
        }
        .gallery-card{
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            position:relative;
            background-color:white;
        }
        .gallery-card img{
            width:100%;
            height:100%;
            object-fit:cover;
        }
        .card-overlay{
            position:absolute;
            bottom:0;
            background:white;
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
            height:0;
            opacity:0;
            width:100%;
            transition:height 0.4s ease-in-out, opacity 0.2s ease-in-out;
        }

        .gallery-card:hover .card-overlay{
            position:absolute;
            bottom:0%;
            background:white;
            display:flex;
            flex-direction:column;
            align-items:center;
            justify-content:center;
            height:100px;
            width:100%;
            opacity:1;
            padding-bottom:5px;
            transition:height 0.4s ease-in-out, opacity 0.2s ease-in-out;
        }
        .gallery-card :is(h1,h2){
            font-size:1.2rem;
            color:var(--primary);
            text-transform:uppercase;
            letter-spacing:0.05em;
            text-align: center;
        }
        .gallery-card .entry-meta{
            font-size:0.9rem;
            color:var(--text-light);
            letter-spacing:0.02em;
            display:flex;
            justify-content: space-between;
            flex-wrap:nowrap;

        }
        .gallery-card .entry-content{
            display:flex;
            justify-content: space-between;
            flex-wrap:nowrap;
            align-items:end;
            gap:5px;

        }
        .gallery-card .shop{
        color:var(--link-color);
        }
        .gallery-card .shop:hover{
            color:var(--link-hover-color);
        }
        .posted-on .updated{
            display:none;
        }
        /* ════════════════════════════════════════════
            Newsletter
           ════════════════════════════════════════════ */

        .newsletter{
            background-color: var(--green-dark);
            min-height: 280px;
            display:flex;
            flex-direction:column;
            justify-content: center;
            align-items: center;
            padding:calc(var(--section-gap) / 2);
            h2 {
                text-align: center;
                font-family: var(--font-display);
                display: block;
                font-style: italic;
                color: rgba(245, 240, 228, 0.7);
                font-size: 1.2rem;
                letter-spacing: 0;
                line-height:1;
                div{
                    font-size:2.8rem;
                    font-weight:900;
                    font-style: normal;
                    color:white;
                }
            }
            input.tnp-submit{
                font-family:var(--font-body);
                text-align:center;
                display:flex ;
                width:fit-content;
                margin:auto ;
                margin-top: 20px;

            }
            label{
                color:white;
            }
            input:not(.tnp-submit){
                border-bottom-color:white;
            }
            input:not(.tnp-submit):hover{
                border-bottom-color:black;
            }
        }

        /* ════════════════════════════════════════════
           RESPONSIVE
           ════════════════════════════════════════════ */
        @media (max-width: 1200px) {
            :root{
                --max-width: 800px;
            }
        }
        @media (max-width: 900px) {
            :root { --section-gap: 64px; }

            .jr-nav__links { display: none; }
            .jr-nav__hamburger { display: flex; }

            .jr-about__inner,
            .jr-contact__inner {
                grid-template-columns: 1fr;
                gap: 48px;
            }

            .jr-about__photo-wrap { order: -1; }

            .jr-projects__grid { grid-template-columns: 1fr; }
            .jr-services__grid { grid-template-columns: 1fr; }

            .jr-container { padding: 0 24px; }
            .jr-illustrations__header,
            .jr-projects__header,
            .jr-services__header { padding: 0 24px; }
            .menu-toggle { display: flex;}
            #masthead{padding: 0 20px;}
            #primary-menu{display:none;}
            nav.toggled #mobile-menu{display:flex;}
            
        }

        @media (max-width: 600px) {
            .jr-hero__name { font-size: clamp(40px, 12vw, 72px); }
            .jr-ill-card { width: 280px; height: 220px; }
            .jr-footer__top { flex-direction: column; gap: 24px; text-align: center; }
            #top{
                aspect-ratio: 1/1;
            }
            .art-gallery{
                display:flex;
                flex-direction: column;
                gap: 20px;
            }
            .gallery-column{
                display:flex;
                flex-direction: column;
                width:100%;
                gap:20px;
            }
            .background{
                background-position: var(--mobile-background-position-start);
            }
            .midground{
                background-position: var(--mobile-midground-position-start);
            }
            .foreground{
                background-position: var(--mobile-foreground-position-start);
            }
        }

        