/* =============================
   BASE
============================= */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body,
.nav,
.header,
.header h1,
.header p,
.feature,
.feature h3,
.feature-nh,
.feature-nh h3,
.button,
.footer {
    font-family: 'Gelasio', serif;
}

body {
    font-family: 'Gelasio', serif;

    background-color: #713e26; /* stays visible while image loads */

    background-image: url("background_noleaf.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;

    position: relative;
}

/* =============================
   PINNED BACKGROUND LEAVES (static)
============================= */

.leaf-pin,
.leaf-pin2 {
    will-change: transform;
    transform: translateZ(0);
	contain: paint layout;
}

.leaf-pin {
    position: fixed;
    width: var(--size, 90px);
    height: var(--size, 90px);

    left: var(--x, 0);
    top: var(--y, 0);

    pointer-events: none;
    filter:
        hue-rotate(var(--hue, 0deg))
        saturate(var(--sat, 120%))
        drop-shadow(0 6px 12px rgba(0,0,0,0.35));

    transform: rotate(var(--rot, 0deg));
}

.maple {
	background: url('leaf.webp') center/contain no-repeat;	
}

.rounded {
	background: url('leaf2.webp') center/contain no-repeat;
}

/* scattered & some piled */
.leaf-pin.one   { top: 12%; left: 8%;  transform: rotate(-12deg); }
.leaf-pin.two   { top: 18%; left: 14%; transform: rotate(6deg) scale(0.9); }
.leaf-pin.three { top: 20%; left: 6%;  transform: rotate(-6deg) scale(0.95); }

.leaf-pin.four  { top: 30%; right: 12%; transform: rotate(10deg); }
.leaf-pin.five   { top: 34%; right: 8%;  transform: rotate(-8deg) scale(0.9); }

.leaf-pin.six    { bottom: 18%; left: 12%; transform: rotate(4deg); }
.leaf-pin.seven  { bottom: 16%; left: 8%;  transform: rotate(-10deg) scale(0.95); }

.leaf-pin.eight  { bottom: 8%; right: 18%; transform: rotate(-12deg); }
.leaf-pin.nine   { bottom: 6%; right: 12%; transform: rotate(8deg) scale(0.9); }

/* little pile (overlapping) */
.leaf-pin.pile1 { bottom: 10%; left: 22%; transform: rotate(-15deg) scale(1); }
.leaf-pin.pile2 { bottom: 8%; left: 24%; transform: rotate(8deg) scale(0.95); }
.leaf-pin.pile3 { bottom: 6%; left: 20%; transform: rotate(-6deg) scale(1.05); }


/* =============================
   CONTAINER
============================= */

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 1.6rem 5rem;
    position: relative;
    z-index: 2;
}


/* =============================
   HEADER
============================= */

.header {
    text-align: center;
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 3.5rem;
    margin: 0;
    color: #fff1e2;
    text-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

.header p {
    margin-top: 0.7rem;
    font-size: 1.15rem;
    opacity: 0.9;
	color: #fff1e2;
}

.archive-header {
	margin-top: 0.7rem;
    opacity: 0.9;
	color: #fff1e2;
}

.header::after {
    content: "";
    display: block;
    width: 110px;
    height: 3px;
    background: #c97a3d;
    margin: 1.3rem auto 0;
    border-radius: 999px;
    opacity: 0.9;
}


/* =============================
   NAV (tag style)
============================= */

.nav {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.button {
    text-decoration: none;
    padding: 1rem 1.4rem;
    background: #c87a45;
    color: #fff4e6;
    font-size: 1.10rem;
    text-align: center;

    border-radius: 16px 20px 14px 18px;

    box-shadow:
        4px 6px 0 #9b5328,
        0 10px 22px rgba(0,0,0,0.25);

    border: none;

    position: relative;
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 12px 16px 10px 14px;
    border: 1px dashed rgba(255,255,255,0.18);
    opacity: 0.35;
    pointer-events: none;
}

.button:nth-child(odd) { --tilt: -1deg; }
.button:nth-child(even) { --tilt: 1deg; }

.button:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow:
        4px 6px 0 #9b5328,
        0 14px 26px rgba(0,0,0,0.35);
}

.button.join {
    background: #d89455;
}


/* =============================
   FEATURES
============================= */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    background: #fff3e6;
    padding: 2rem;
    border: 3px solid #c97a3d;
    border-radius: 14px 18px 15px 20px;
    box-shadow: 6px 8px 0 #c97a3d;
    color: #3b1f10;
    transition: 0.2s ease;
}

.feature:hover {
    transform: translateY(-6px);
}

.feature h3 {
    margin-top: 0;
	font-size: 24px;
}

.features-nh {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-nh {
    background: #fff3e6;
    padding: 2rem;
    border: 3px solid #c97a3d;
    border-radius: 14px 18px 15px 20px;
    box-shadow: 6px 8px 0 #c97a3d;
    color: #3b1f10;
    transition: 0.2s ease;
}
.feature-nh h3 {
    margin-top: 0;
	font-size: 24px;
}

/* =============================
   FOOTER
============================= */

.footer {
    text-align: center;
    margin-top: 4.5rem;
	margin-bottom: 4.5rem;
    font-size: 1rem;
    color: #fff1e2;
    opacity: 0.9;
}


/* =============================
   MOBILE
============================= */

@media (max-width: 900px) {
    .features {
        grid-template-columns: 1fr;
    }

    .nav {
        gap: 1rem;
    }

    .header h1 {
        font-size: 2.6rem;
    }
}


/* =============================
   FALLING EMOJI LEAVES (occasional & small)
============================= */

.leaf {
    position: absolute;
    top: -100px;

    width: var(--size, 80px);
    height: var(--size, 80px);

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    opacity: 0.80;
    pointer-events: none;

    /* drop shadow ALWAYS applied */
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45)) var(--color-filter);

    /* animation: fall 12s linear; */
}

/* =============================
   LEAF COLOR CLASSES
============================= */

.leaf-red {
    filter:
        invert(9%) sepia(93%) saturate(7492%) hue-rotate(-1deg)
        brightness(102%) contrast(105%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.leaf-deep-red {
    filter:
        invert(15%) sepia(87%) saturate(4200%) hue-rotate(4deg)
        brightness(105%) contrast(102%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.leaf-orange {
    filter:
        invert(26%) sepia(72%) saturate(2800%) hue-rotate(12deg)
        brightness(109%) contrast(100%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.leaf-burnt {
    filter:
        invert(32%) sepia(60%) saturate(2400%) hue-rotate(15deg)
        brightness(112%) contrast(98%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.leaf-muted {
    filter:
        invert(40%) sepia(55%) saturate(1800%) hue-rotate(18deg)
        brightness(114%) contrast(96%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

@keyframes fall {
    to {
        transform: translateY(110vh) rotate(360deg);
    }
}

/* =============================
   EVENT ARCHIVE
============================= */

/* =================================
   ARCHIVE ENTRY CARD
================================= */

.archive-entry {
    background: #fff3e6;
    padding: 2rem;
    border: 3px solid #c97a3d;
    border-radius: 16px 20px 18px 22px;
    box-shadow: 6px 8px 0 #c97a3d;
    color: #3b1f10;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 2.5rem;
}


/* =================================
   TITLE ROW (ICON + TEXT)
================================= */

.archive-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 1rem;
}

.archive-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.archive-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-title h3 {
    margin: 0;
}

.archive-meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 4px;
}


/* =================================
   CONTENT STYLING
================================= */

/* =============================
   COLLAPSIBLE ARCHIVE CONTENT
============================= */

/* Collapsible content */
.archive-content {
    overflow: hidden;
    max-height: 0;                /* start closed */
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.35s ease;
}

/* Expanded content will have height set dynamically via JS */
.archive-entry.expanded .archive-content {
    opacity: 1;
}

/* Arrow indicator as a chevron */
.archive-title {
    cursor: pointer;
    position: relative;
    padding-right: 1.5em; /* space for arrow */
}

.archive-title::after {
    content: '';
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    border: solid currentColor;        /* matches the text color automatically */
    border-width: 0 2px 2px 0;        /* right and bottom borders form the chevron */
    display: inline-block;
    padding: 5px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    color: #3b1f10;                    /* default autumn-mode color */
}

/* Rotate chevron when expanded */
.archive-entry.expanded .archive-title::after {
    transform: translateY(-50%) rotate(45deg); /* points up */
}
/* =================================
   IMAGES
================================= */

/* (Only keep this if you still use large top images somewhere) */
.archive-image {
    width: 100%;
    max-width: 700px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.archive-inline {
    width: 100%;
    max-width: 600px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}


/* =================================
   RESPONSIVE
================================= */

@media (min-width: 900px) {
    .archive-inline {
        width: 70%;
        margin: 2rem auto;
    }
}

/* =============================
   GALLERY
============================= */

.archive-gallery {
    position: relative;
    max-width: 600px;
    margin: 1.8rem auto;
    overflow: hidden;

    border-radius: 15px;
	
	background: radial-gradient(circle, #2a160c, #140a05);

    /* subtle frame */
    border: 5px solid #c97a3d;

    /* layered depth */
    box-shadow:
        0 12px 30px rgba(0,0,0,0.45),
        0 0 0 4px rgba(0,0,0,0.15) inset;
}

.gallery-track {
    display: flex;
    transition: transform 0.45s ease;
}

.gallery-img {
	display: block;   /* 👈 THIS fixes the gap */
    width: 100%;
    height: 325px;
    object-fit: contain;   /* 👈 change this */
    background: radial-gradient(circle, #2a160c, #140a05);
    flex-shrink: 0;
}

/* slight glow highlight */
.archive-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0.18),
            transparent 35%
        );

    mix-blend-mode: overlay;
}

/* arrows */

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 8px;
	opacity: 0;
    pointer-events: none;
	
    transition: background 0.2s ease, opacity 0.2s ease;
}

.gallery-btn.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

/* show on hover */
.archive-gallery:hover .gallery-btn {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) and (pointer: coarse) {
    .gallery-btn {
        opacity: 1;
        pointer-events: auto;
    }
}

.gallery-btn:hover {
    background: rgba(0,0,0,0.75);
}

.prev { left: 12px; }
.next { right: 12px; }

/* hidden state */

.gallery-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* =============================
   GALLERY CAPTIONS
============================= */

.gallery-item {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.gallery-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;

    background: rgba(0,0,0,0.6);
    color: #fff;

    font-size: 0.8rem;
    padding: 6px 8px;
    border-radius: 6px;

    line-height: 1.3;

    /* limit size */
    max-width: 70%;
    max-height: 3.2em;

    overflow: hidden;

    pointer-events: auto;
    backdrop-filter: blur(2px);

    transition: max-height 0.2s ease;
	box-shadow: 0 3px 8px rgba(0,0,0,0.35);
}

.gallery-caption:hover {
    max-height: 120px;
    overflow-y: auto;
}

.gallery-caption::-webkit-scrollbar {
    width: 4px;
}

.gallery-caption::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
}

/* =============================
   ARCHIVE PAGINATION
============================= */

.archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 2rem;
}

.archive-pagination button {
    font-family: 'Gelasio', serif;
    font-size: 1rem;

    padding: 0.6rem 1.1rem;

    background: #c87a45;
    color: #fff4e6;

    border: none;
    border-radius: 12px 16px 12px 16px;

    cursor: pointer;

    box-shadow:
        3px 4px 0 #9b5328,
        0 6px 14px rgba(0,0,0,0.25);

    transition: transform 0.15s ease,
                box-shadow 0.15s ease,
                background 0.15s ease;
}

.archive-pagination button:hover {
    transform: translateY(-3px);
    box-shadow:
        3px 4px 0 #9b5328,
        0 10px 18px rgba(0,0,0,0.35);
}

.archive-pagination button:active {
    transform: translateY(1px);
    box-shadow:
        2px 3px 0 #9b5328;
}

/* page text */

#pageInfo {
    font-size: 0.95rem;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.archive-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
    transform: none;
    box-shadow: 2px 3px 0 #9b5328;
}

.link {
    color: #b55000; /* warm burnt orange */
    text-decoration: none;
    font-weight: 600;

    position: relative;
    transition: color 0.2s ease;
}

/* custom underline */
.link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;

    width: 100%;
    height: 2px;

    background: #c97a3d;
    border-radius: 2px;

    transform: scaleX(0.6);
    transform-origin: left;
    transition: transform 0.2s ease;
}

/* hover */
.link:hover {
    color: #8a3f00;
}

.link:hover::after {
    transform: scaleX(1);
}

.archive-video {
    width: 100%;
    max-width: 700px;
    margin: 1.8rem auto;

    border-radius: 14px;
    overflow: hidden;

    border: 4px solid #c97a3d;

    box-shadow:
        0 10px 26px rgba(0,0,0,0.4),
        0 0 0 3px rgba(0,0,0,0.15) inset;
}

.archive-video iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.archive-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.archive-controls input,
.archive-controls select {
    font-family: 'Gelasio', serif;
    padding: 0.6rem 1rem;

    border-radius: 12px;
    border: 2px solid #c97a3d;

    background: #fff3e6;
    color: #3b1f10;

    box-shadow: 3px 4px 0 #c97a3d;
}

.archive-controls input:focus,
.archive-controls select:focus {
    outline: none;
    box-shadow:
        3px 4px 0 #c97a3d,
        0 0 0 3px rgba(200,122,69,0.25);
}

h3 {
    color: #8a3f00; /* deep autumn brown */
    position: relative;
}

h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #c97a3d, #d89455);
    border-radius: 4px;
    margin-top: 6px;
}

.quote {
    color: #b55000;
    font-style: italic;
    background: rgba(255, 200, 120, 0.15);
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
}

/* =============================
   PERCHED BIRD
============================= */
.perched-bird {
    position: absolute;         /* relative to the container */
    top: var(--perch-top, 260px); /* customizable vertical offset */
    width: var(--perch-width, 80px);
    height: auto;
    z-index: 10;
    pointer-events: none;       /* doesn’t block clicks */
    will-change: transform;
    
    /* horizontal positioning handled via variable */
    left: var(--perch-left, auto);
    right: var(--perch-right, auto);
    transform: none;
    will-change: transform;
}

/* Horizontal positions */
.perched-bird.left {
    --perch-left: 20px;
    --perch-right: auto;
    --perch-transform: none;
}

.perched-bird.right {
    --perch-left: auto;
    --perch-right: 60px;
    --perch-transform: none;
}

.perched-bird.center {
    --perch-left: 50%;
    --perch-right: auto;
    --perch-transform: translateX(-50%);
}

/* Flip horizontally */
.perched-bird.flip {
    transform: scaleX(-1) 
               /* keep existing translateX if present */
               translateX(var(--perch-translate, 0));
}

.paratitle h3 {
	font-size: 30px; text-align: center; margin-bottom: 1.5rem;
}

/* =============================
   ACTIVE NAV BUTTON
============================= */

.button.active {
    background: #b86532; /* slightly darker than normal */
    color: #fff4e6;

    transform: rotate(0deg) translateY(2px);

    box-shadow:
        2px 3px 0 #7a3e1d, /* darker shadow = pressed */
        0 6px 12px rgba(0,0,0,0.25);

    border: 2px solid #ff9a5a; /* subtle highlight */

    pointer-events: none;
    cursor: default;
    font-weight: bold;
}

.button.active:hover {
    transform: rotate(0deg) translateY(2px);
    box-shadow:
        2px 3px 0 #7a3e1d,
        0 6px 12px rgba(0,0,0,0.25);
}

/* =============================
   MOBILE FIX (STRONG OVERRIDE)
============================= */

@media (max-width: 768px) {

    /* ===== BODY / BACKGROUND FIX ===== */

	html, body {
		width: 100%;
		overflow-x: hidden;

		background: url("background_noleaf.webp");
		background-repeat: no-repeat;
		background-position: top center;
		background-size: cover;   /* 🔥 key fix */
		background-attachment: scroll;
		background-color: #140a05; /* 🔥 fallback color to match your theme */
	}
	
	.paratitle h3 {
		font-size: 20px; 
		text-align: left; 
	}

    /* ===== CONTAINER ===== */

    .container {
        padding: 1.5rem 1rem 2.5rem;
    }

    /* ===== HEADER ===== */

    .header h1 {
        font-size: 1.8rem; /* smaller */
    }

    .header p {
        font-size: 0.9rem;
    }

    /* ===== NAV FIX (IMPORTANT) ===== */

    .nav {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box; /* prevents overflow */
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    /* REMOVE hover movement on mobile */
    .button:hover {
        transform: none;
        box-shadow:
            4px 6px 0 #9b5328,
            0 10px 22px rgba(0,0,0,0.25);
    }

    /* ===== FEATURES ===== */

    .features,
    .features-nh {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature,
    .feature-nh {
        padding: 1rem;
        font-size: 0.95rem; /* smaller text */
    }

    .feature h3,
    .feature-nh h3 {
        font-size: 1.2rem;
    }

    /* kill hover lift */
    .feature:hover {
        transform: none;
    }

    /* ===== ARCHIVE TEXT ===== */

    .archive-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .archive-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-icon {
		width: 80px;
		height: 80px;
		border-radius: 16px; /* force original */
		flex-shrink: 0;
	}

    /* ===== GALLERY ===== */

    .gallery-img {
        height: 200px;
    }

    .gallery-btn {
        opacity: 1;
        pointer-events: auto;
    }

    /* ===== VIDEO ===== */

    .archive-video iframe {
        height: 200px;
    }

    /* ===== PAGINATION ===== */

    .archive-pagination {
        flex-direction: column;
        gap: 8px;
    }

    /* ===== BIRD (HIDE ON MOBILE) ===== */

    .perched-bird {
        display: none;
    }

    /* ===== LEAVES (REPOSITION + LIGHTEN) ===== */

    .leaf-pin {
		opacity: 1; /* was 0.35 */
		transform: scale(0.75) rotate(var(--rot, 0deg));
		left: clamp(-5%, var(--x), 85%);
		top: clamp(-5%, var(--y), 90%);
	}

    /* reposition major clusters so they don't cover content */

    .leaf-pin[style*="--x: -"] {
        left: -10% !important;
    }

    .leaf-pin[style*="--x: 90%"],
    .leaf-pin[style*="--x: 95%"] {
        left: 75% !important;
    }

    /* push bottom leaves further down */
    .leaf-pin[style*="--y: 70%"],
    .leaf-pin[style*="--y: 80%"],
    .leaf-pin[style*="--y: 85%"] {
        top: auto !important;
        bottom: -5% !important;
    }
	
	/* =============================
	   MOBILE ACTIVE FIX
	============================= */

	@media (max-width: 768px) {
		.button.active {
			transform: none;
		}
	}
}


/* =============================
   AVI MODE (PERSONAL THEME)
============================= */

/* =============================
   AVI MODE - ACTIVE
============================= */

.avi-mode .button.active {
    background: #3a252c;
    color: #ffd6e6;

    border: 2px solid #ff6b9a;

    box-shadow:
        2px 3px 0 #8a2d4a,
        0 6px 14px rgba(255, 100, 150, 0.25);
}

.avi-mode {

    /* optional: slightly softer global text */
    color: #f5e9ef;
}

/* ===== CARDS / PANELS ===== */

.avi-mode .feature,
.avi-mode .feature-nh,
.avi-mode .archive-entry {
    background: #151214; /* deep charcoal */
    color: #f5e9ef;

    border-color: #ff6b9a;
    box-shadow: 6px 8px 0 #b23a5a;
}

/* ===== HEADER ===== */

.avi-mode .header h1 {
    color: #ff9ec4;
    text-shadow: 0 6px 18px rgba(255, 100, 150, 0.25);
}

.avi-mode .header p,
.avi-mode .archive-header,
.avi-mode .footer {
    color: #e8dbe2;
}

.avi-mode .header::after {
    background: linear-gradient(90deg, #ff6b9a, #ff9ec4);
}

/* ===== NAV BUTTONS ===== */

.avi-mode .button {
    background: #2a1f24;

    color: #ffd6e6;

    box-shadow:
        4px 6px 0 #8a2d4a,
        0 10px 24px rgba(0,0,0,0.6);
}

.avi-mode .button:hover {
    box-shadow:
        4px 6px 0 #8a2d4a,
        0 14px 30px rgba(255, 100, 150, 0.2);
}

.avi-mode .button.join {
    background: #3a252c;
}

/* ===== HEADINGS ===== */

.avi-mode h3 {
    color: #ff7aa8;
}

.avi-mode h3::after {
    background: linear-gradient(90deg, #ff6b9a, #ff9ec4);
}

/* ===== LINKS ===== */

.avi-mode .link {
    color: #ff8fb5;
}

.avi-mode .link:hover {
    color: #ffc1d9;
}

.avi-mode .link::after {
    background: #ff6b9a;
}

/* ===== INPUTS ===== */

.avi-mode .archive-controls input,
.avi-mode .archive-controls select {
    background: #1a1417;
    color: #f5e9ef;

    border-color: #ff6b9a;
    box-shadow: 3px 4px 0 #8a2d4a;
}

/* ===== GALLERY ===== */

.avi-mode .archive-gallery {
    background: radial-gradient(circle, #1a1014, #0c0709);
    border-color: #ff6b9a;
}

.avi-mode .gallery-img {
    background: radial-gradient(circle, #1a1014, #0c0709);
}

/* ===== VIDEO ===== */

.avi-mode .archive-video {
    border-color: #ff6b9a;
}

/* ===== PAGINATION ===== */

.avi-mode .archive-pagination button {
    background: #2a1f24;

    color: #ffd6e6;

    box-shadow:
        3px 4px 0 #8a2d4a,
        0 6px 16px rgba(0,0,0,0.6);
}

/* ===== QUOTES ===== */

.avi-mode .quote {
    color: #ff9ec4;
    background: rgba(255, 120, 170, 0.12);
}

/* ===== GALLERY CAPTION (subtle polish) ===== */

.avi-mode .gallery-caption {
    background: rgba(20, 10, 15, 0.75);
    color: #ffd6e6;
}

/* ===== BIRD (your custom one already) ===== */

.avi-mode .perched-bird {
    content: url("avibird.png");
}

/* ===== OPTIONAL: subtle glow accents ===== */

.avi-mode .feature:hover,
.avi-mode .archive-entry:hover {
    box-shadow:
        6px 8px 0 #b23a5a,
        0 0 18px rgba(255, 100, 150, 0.15);
}

/* dark overlay ONLY in avi mode */
.avi-mode body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: rgba(10, 5, 10, 0.65); /* dark purple/black tint */

    pointer-events: none;
    z-index: 0;
}

/* keep content above it */
.avi-mode .container {
    position: relative;
    z-index: 1;
}

.avi-mode .leaf-red {
    filter:
        invert(9%) sepia(93%) saturate(3600%) hue-rotate(310deg)
        brightness(102%) contrast(105%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.avi-mode .leaf-deep-red {
    filter:
        invert(15%) sepia(87%) saturate(3200%) hue-rotate(320deg)
        brightness(105%) contrast(102%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.avi-mode .leaf-orange {
    filter:
        invert(26%) sepia(72%) saturate(1800%) hue-rotate(295deg)
        brightness(109%) contrast(100%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.avi-mode .leaf-burnt {
    filter:
        invert(32%) sepia(60%) saturate(1500%) hue-rotate(305deg)
        brightness(112%) contrast(98%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.avi-mode .leaf-muted {
    filter:
        invert(40%) sepia(55%) saturate(900%) hue-rotate(300deg)
        brightness(114%) contrast(96%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* =============================
   NOT SO AUTUMN LEAVES MODE
============================= */

.not-autumn-mode {
    /* global text color */
    color: #2a2b1f; /* dark forest brown */
    background-color: #e7f0e2; /* soft light green base */
    font-family: 'Gelasio', serif;
    background: url("background_noleaf.webp");
    position: relative;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

/* =============================
   NOT AUTUMN MODE - ACTIVE
============================= */

.not-autumn-mode .button.active {
    background: #edf6e4;
    color: #2a2b1f;

    border: 2px solid #7b9b6e;

    box-shadow:
        2px 3px 0 #a0c38c,
        0 6px 14px rgba(0,0,0,0.2);
}

/* ===== CARDS / PANELS ===== */
.not-autumn-mode .feature,
.not-autumn-mode .feature-nh,
.not-autumn-mode .archive-entry {
    background: #f2f8ed; /* pale green */
    color: #2a2b1f; /* deep brown text */
    border-color: #7b9b6e; /* muted green border */
    box-shadow: 6px 8px 0 #a0c38c; /* subtle green shadow */
}

/* ===== HEADER ===== */
.not-autumn-mode .header h1 {
    color: #ffffff; /* keep white for readability */
    text-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.not-autumn-mode .header::after {
    background: linear-gradient(90deg, #7b9b6e, #a0c38c);
}

/* ===== NAV BUTTONS ===== */
.not-autumn-mode .button {
    background: #7b9b6e; /* muted green */
    color: #f2f8ed; /* light text */
    box-shadow:
        4px 6px 0 #a0c38c,
        0 10px 24px rgba(0,0,0,0.25);
}

.not-autumn-mode .button:hover {
    box-shadow:
        4px 6px 0 #8fc190,
        0 14px 30px rgba(0,0,0,0.15);
}

.not-autumn-mode .button.join {
    background: #6b8b57;
}

/* ===== HEADINGS ===== */
.not-autumn-mode h3 {
    color: #5a7b44;
}

.not-autumn-mode h3::after {
    background: linear-gradient(90deg, #7b9b6e, #a0c38c);
}

/* ===== LINKS ===== */
.not-autumn-mode .link {
    color: #58814f;
}

.not-autumn-mode .link:hover {
    color: #7b9b6e;
}

.not-autumn-mode .link::after {
    background: #7b9b6e;
}

/* ===== INPUTS ===== */
.not-autumn-mode .archive-controls input,
.not-autumn-mode .archive-controls select {
    background: #edf6e4;
    color: #2a2b1f;
    border-color: #7b9b6e;
    box-shadow: 3px 4px 0 #a0c38c;
}

/* ===== GALLERY ===== */
.not-autumn-mode .archive-gallery {
    border-color: #7b9b6e;
}


/* ===== VIDEO ===== */
.not-autumn-mode .archive-video {
    border-color: #7b9b6e;
}

/* ===== PAGINATION ===== */
.not-autumn-mode .archive-pagination button {
    background: #7b9b6e;
    color: #edf6e4;
    box-shadow:
        3px 4px 0 #a0c38c,
        0 6px 16px rgba(0,0,0,0.2);
}

/* ===== QUOTES ===== */
.not-autumn-mode .quote {
    color: #58814f;
    background: rgba(120, 200, 120, 0.12);
}

/* ===== LEAF COLORS ===== */

/* deep mossy green */
.not-autumn-mode .leaf-red {
    filter:
        invert(35%) sepia(45%) saturate(500%) hue-rotate(85deg)
        brightness(95%) contrast(95%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* shadowy pine green */
.not-autumn-mode .leaf-deep-red {
    filter:
        invert(38%) sepia(40%) saturate(480%) hue-rotate(100deg)
        brightness(92%) contrast(94%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* dusty olive green */
.not-autumn-mode .leaf-orange {
    filter:
        invert(36%) sepia(42%) saturate(470%) hue-rotate(90deg)
        brightness(96%) contrast(93%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* muted yellow-green */
.not-autumn-mode .leaf-burnt {
    filter:
        invert(33%) sepia(40%) saturate(450%) hue-rotate(75deg)
        brightness(98%) contrast(95%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

/* soft olive-brown */
.not-autumn-mode .leaf-muted {
    filter:
        invert(37%) sepia(38%) saturate(460%) hue-rotate(95deg)
        brightness(94%) contrast(92%)
        drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}