body {
    margin: 0;
    font-family: DejaVuSansMono, monospace;
    position: relative;
    opacity: 1;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        radial-gradient(circle at 20% 10%, rgba(255, 214, 102, 0.18), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 35%);    /* shared sunburst */
    opacity: 1;
}

body.theme-transition {
    opacity: 0.98;
}



/* SITE SKELETON STYLES */

.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 12px;
    position: relative;
}

.frame {
    border: 2px solid;
}

header {
    position: relative;
    padding: 14px 12px;
    border-bottom: 2px solid rgba(215, 179, 93, 0.7);
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2s ease;
   z-index: 0;      /* behind content */
}

header > *{
  position: relative;
  z-index: 1;      /* above gradient */
}

/* when new theme is active, keep it on */
body.theme-y-active header::before{
  opacity: 1;
}


#last-updated {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    color: rgba(245, 241, 230, 0.6);
    font-style: italic;
}

#secretLink {
    position: absolute;
    bottom: 0;
    right: 0;

    width: 10px;     /* clickable area size */
    height: 10px;

    display: block;
    background: transparent;
}

.banner {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(245, 241, 230, 0.45);
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 1.5s ease;
}

h1 {
    margin: 0;
    font-size: 24px;
    color: #ffd666;
    text-shadow: 0 1px 0 rgba(0,0,0,0.8);
}

.tagline {
    margin: 4px 0 0;
    color: rgba(245, 241, 230, 0.85);
    font-size: 13px;
}

.marquee {
    border: 1px solid rgba(255, 214, 102, 0.35);
    background: rgba(0, 0, 0, 0.35);
    margin: 10px 12px 0;
    padding: 6px;
    font-size: 12px;
}

nav {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid rgba(215, 179, 93, 0.45);
    background: rgba(255, 214, 102, 0.08);
    padding: 6px;
    margin-top: 11px;
}

nav ul {
    margin: 0;
    padding: 8px 10px;
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    color: #f5f1e6;
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid rgba(245, 241, 230, 0.25);
    background: rgba(0, 0, 0, 0.25);
    font-size: 13px;
}

    /* "NEW!" badge for Odd Days in Nav */
#odd-days-link {
    position: relative; /* anchor for badge */
}   

#tea-time-link {
    position: relative; /* anchor for badge */
}   

#top-bunk-link {
    position: relative;
}

.new-badge {
    position: absolute;
    top: -6px;
    right: -6px;

    width: 15px;  
    height: 11px;


    display: flex;     
    
    padding: 1px 5px;
    font-size: 9px;
    font-weight: bold;
    color: #000;
    background: #ffd666;
    border: 1px solid #d7b35d;

    text-transform: uppercase;
    pointer-events: none; /* click still goes to link */
    animation: glow 1.8s ease-in-out infinite alternate;
}

.tea-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    
    align-items: center;
    justify-content: center;

    width: 15px;  
    height: 11px;
    
    display: flex;
    
    padding: 1px 5px;
    font-size: 9px;
    font-weight: bold;
    color: #000;
    background: #ffd666;
    border: 1px solid #d7b35d;

    text-transform: uppercase;
    pointer-events: none; /* click still goes to link */
    animation: glow 1.8s ease-in-out infinite alternate;
}

.tea-badge img {
    max-width: 110%;
    max-height: 110%;
    object-fit: contain;
    display: block;
    transform: translatex(-1px);
    z-index: 1;
    filter: drop-shadow(0px 0.5px 1px rgba(0, 0, 0, 0.9));
}


.bunk-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    
    align-items: center;
    justify-content: center;

    width: 15px;  
    height: 11px;
    
    display: flex;
    
    padding: 1px 5px;
    font-size: 9px;
    font-weight: bold;
    color: #000;
    background: #ffd666;
    border: 1px solid #d7b35d;

    text-transform: uppercase;
    pointer-events: none; /* click still goes to link */
    animation: glow 1.8s ease-in-out infinite alternate;
}

.bunk-badge img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transform: translateX(-1px);
    z-index: 1;
    filter: drop-shadow(-0.5px 1px 1px rgba(92, 64, 28, 0.9));
}



@keyframes glow {
    from { box-shadow: 0 0 4px rgba(255, 214, 102, 0.4); }
    to   { box-shadow: 0 0 8px rgba(255, 214, 102, 0.9); }
}


footer {
    padding: 10px 12px;
    border-top: 2px solid rgba(215, 179, 93, 0.45);
    background: rgba(0, 0, 0, 0.25);
    font-size: 12px;
    opacity: 0.9;
}

a { color: #b7e4ff; }

a:hover { color: #ffffff; }    






/* TEA TIME STYLING */

.tea-body {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 1rem;
    color: #3b2f2f;
}

    /* FIRST ROW */

.row-top {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch; /* same height */
    padding: 0 1.25rem;
}

.row-top > div {
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.row-top > .featured {
    padding: 0rem;
}

.about {
    flex: 1 1 0; /* smaller but flexible */
    min-width: 150px;
    max-width: 200px;
    min-height: 500px;
    background: #ffe4e1; /* soft pink */
    background: 0;
    position: relative;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about p {

    transform: translateY(-30px);
    line-height: 1;
    font-size: 14px;
    margin: 4px 18px;
}

.about .def {
    font-size: 12px;
    margin: 6px 19px;
}

.quote p {
    line-height: 2.0;
    font-style: italic;
    margin: 0px 15px;
    transform: translateY(-10px)
}

.quote .picture{
    transform: translateX(-25px);
}

.quote .thousand {
    transform: translateX(30px);
}

.tea-title {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(10px, 11px) scaleX(1) scaleY(1);
    font-family: "IM Fell English", "Georgia", "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.5;

    font-size: 30px;
    color: rgba(100, 30, 60, 0.95);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25), 0 0 2px rgba(255,255,255,0.6);

    padding: 5px calc(20px - 0.15em) 2px 23px;
    border-radius: 14px;

    border: 1px solid rgba(210, 170, 170, 0.45);

    box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 -1px 1px rgba(160, 120, 120, 0.2),
    0 2px 6px rgba(160, 120, 120, 0.15);

    z-index: 10;

    transition:
        transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1.2s ease,
        background-color 1.2s ease,
        color 1.2s ease,
        border-color 1.2s ease,
        box-shadow 1.2s ease,
        text-shadow 1.2s ease,
        opacity 1.2s ease;

    backdrop-filter: blur(2px);

    -webkit-backdrop-filter: blur(0.7px);
}

.featured {
    flex: 2 1 0; /* larger */
    display: flex;
    flex-direction: column;
    padding: 0rem;
    box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.12),
    0 6px 14px rgba(183, 228, 255, 0.12);
    transition:
    box-shadow 0.8s ease,
    opacity 0.6s ease;
    max-width: 400px;
    }
    .featured:hover {
    opacity: 1;
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}    

.featured img {
    width: 100%; /* scales naturally */
    aspect-ratio: 3/4;
    border-radius: 10px;
    margin-bottom: 0.2rem;
    cursor: pointer;
}

.quote {
    flex: 1 1 0; /* smaller but flexible */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
    max-width: 200px;
    min-height: 500px;
    background: #ffe4e1;
    background: 0;/* soft pink */
    position: relative;
    justify-content: center;
}

.flower {
    position: absolute;
    pointer-events: none;
    user-select: none;
    width: auto;
    height: 60%;
    transform-origin: center;
    opacity: 0.95;
    filter:
    drop-shadow(0 0 6px rgba(255, 235, 200, 0.45))
    drop-shadow(0 0 12px rgba(255, 214, 150, 0.25));
    transition:
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.6s ease;
    z-index: 9;
}

.flower-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.flower1 {
    top:0;
    left:0;
    transform: translate(-10%) rotate(33deg);
}    

.flower2 {
    bottom:0;
    right:0;
    transform: translate(10%) rotate(213deg);
}


.flower3 {
    top:0;
    right:0;
    transform: translate(10%) rotate(-33deg) scaleX(-1);

}

.flower4 {
    bottom: 0;
    left: 0;
    transform: translate(-15%, 5%) rotate(-213deg) scaleX(-0.95) scaleY(0.95);

}

        /* SIGN-OFFS */

.post-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.sign-off {
    display: flex;
    align-items: center;
    margin-left: 24px;
    margin-top: 12px;
    margin-bottom: 8px;
    font-family: DejaVuSansMono, monospace;
    font-size: 0.85rem;
    color: #9fc3d9;
    gap: 10px;
}

.sign-off .profile-img {
    width: 24px;
    height: 24px;
    border: 1.5px solid #FFD2BA;
    border-radius: 5px;
    object-fit: cover;
    pointer-events: none;
}

.sign-off .name {
    display: inline-block;
    transform: translateY(-4px);
    font-weight: bold;
    font-size: 0.9rem;
    color: #ffc9a8;
}
.reactions-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reactions {
    display: flex;
    align-items: center;
    gap: 4px;
}


.reactions .plus-btn {
    font-size: 0.8rem;
    line-height: 1;
    padding: 2px 4px;
    margin-right: 16px; /* space between plus and container edge */
}    

.reactions .plus-char {
    transform: translateY(-1px);
}

.reaction-popup {
    display: none;              /* align items neatly */
    grid-auto-flow: column;     /* lay out in a row */
    gap: 4px;                   /* space between emojis */
    padding: 5px;               /* same as buttons */
    border: 1px solid #ffd666;
    border-radius: 3px;
    background: rgba(0,0,0,0.25);
    position: absolute;
    bottom: 29px;
    right: 16px;;
    max-width: fit-content;     /* shrink to content */
}

.reaction-popup .reaction-option {
    padding: 1px 3px;           /* same as .reaction-btn */
    border: 1px dashed #9fc3d9;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.reaction-popup .reaction-option:hover {
    background: rgba(255,214,102,0.15);
}


.reaction-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 4px;
    border: 1px dashed #9fc3d9;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.7rem;
}

.reaction-btn span.count {
    font-size: 0.7rem;
    color: #ffd666;
}






/* BOTTOM ROW */

.row-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;
    padding-top: 1rem;
    padding-left: 10rem;
    padding-right: 10rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

    /* PREVIOUS */

.previous {
    flex: 1 1 26%;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgba(255, 214, 102, 0.1);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0.9;
    transition: box-shadow 0.5s ease, opacity 0.5s ease;
}

.previous img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.6s ease;
}


.previous:hover .image-wrap::before {
    opacity: 0;
}


        /* PREVIOUS SIGILS */

.presence-sigil {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 36px;
    height: 36px;
    top: 10%;
    bottom: auto;
    border-radius: 50%;

    /* Moonlight silver stroke */
    border: 4px solid rgba(235, 240, 245);

    /* Cool lunar core */
    background: none;

    /* Inner glow + outer moon aura */
    box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.35),
    0 0 10px rgba(200, 215, 230, 0.45);

    backdrop-filter: blur(1px);

    pointer-events: none;
    opacity: 0.7;
    transition:
    opacity 0.6s ease,
    filter 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.6s ease,
    border-color 2s ease;

    z-index: 2;
}

.presence-sigil::before {
    content: "";
    position: absolute;
    inset: -2px;              /* controls fill diameter */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: -1;

    box-shadow:
    0 0 3px rgba(255, 255, 255, 0.6),  /* tight halo hugging the ring */
    0 0 8px rgba(200, 215, 230, 0.4); /* subtle outer diffusion */
    transition:
    background-color 2s ease,
    border-color 2s ease,
    box-shadow 2s ease,
    opacity 2s ease,
    filter 2s ease;
}

.previous.recent .presence-sigil::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;

    /* Pale moon corona */
    border: 4px solid rgba(210, 225, 245, 0.6);

    transform: translate(-50%, -50%);
    pointer-events: none;

    background: rgba(255, 255, 255, 0.04);
    transition:
    background-color 2s ease,
    border-color 2s ease,
    box-shadow 2s ease,
    opacity 2s ease,
    filter 2s ease;
}

.previous.old .presence-sigil {
    border-style: dashed;
    border-width: 5px; /* slightly heavier dots */
    border-color: rgba(235, 240, 245, 1);
    opacity: 0.8;
    /* subtle contrast assist */
    box-shadow:
    inset 0 0 4px rgba(255, 255, 255, 0.25),
    0 0 6px rgba(210, 225, 245, 0.35);
}

.previous.middle .presence-sigil {
    border-style: solid;
    border-color: rgba(235, 240, 245, 0.95);
    opacity: 0.65;
}

.previous:hover {
    opacity: 1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}   

.previous:hover .presence-sigil {
    opacity: 0;
    filter: blur(2px);
}

        /* PREVIOUS FOOTERS */

.previous .post-footer {
    display: flex;           /* use flex layout */
    align-items: center;
    width: 100%;
}

.previous .sign-off {
    display: flex;
    align-items: center;
    margin-left: 13px;
    margin-top: 3px;
    margin-bottom: 8px;
    gap: 4px;
}

.previous .sign-off .profile-img {
    width: 16px;
    height: 16px;
    border: 1px solid #ffd666; /* keep gold border */
    border-radius: 4px;  /* slightly rounded */
    object-fit: cover;
    pointer-events: none;
}

.previous .sign-off .name {
    display: none;
}

.previous .reactions-container {
    margin-left: auto;       /* push reactions to the right */
    transform: translateY(-1px);
}    

.previous .reactions {
    gap: 2.5px;
}        

.previous .reaction-btn {
    padding: 2px 3px;
    gap: 2px;
    border-width: 1px;
    font-size: 0.5rem;
}

.previous .reactions .plus-btn {
    font-size: 0.5rem;
    line-height: 1.2;
    padding: 2px 4px;
    margin-right: 10px; /* space between plus and container edge */
}    

.previous .reactions .plus-btn .plus-char {
    transform: translateX(0.25px);
}

.previous .reaction-btn span.count {
    color: #ffd666;
    font-size: 0.5rem;
}

.previous .reaction-popup {
    padding: 4px 4px;
    border-width: 1px;
    margin-right: -6px; /* space between plus and container edge */
    transform: translateY(7px);
}

.previous .reaction-popup .reaction-option {
    padding: 2px 2px;           /* same as .reaction-btn */
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem;
}

.previous .reaction-popup .reaction-option:hover {
    background: rgba(255,214,102,0.15);
}






/* ARCHIVE */

.teatimearchive {
    align-self: relative;
    width: 75px;
    height: 119px;
    text-align: center;
    margin-top: -4.5rem;
    margin-left: auto;
    margin-right: 2.2rem;
    opacity: 0.7;
    background-color: rgba(255, 214, 102, 0.1);
    border-radius: 10px;
    box-shadow:
    0 3px 10px rgba(47,95,156,0.12),
    inset 0 0 10px rgba(183,228,255,0.12);
    transition: box-shadow 0.5s ease, opacity 0.5s ease;
    transform: translateZ(0); /* same for glyph */
    perspective: 800px;
    cursor: pointer;
    overflow: visible;
    position: relative;
}

.teatimearchive:hover {
    opacity: 1;
    box-shadow:
    0 6px 16px rgba(47,95,156,0.16),
    inset 0 0 10px rgba(183,228,255,0.12);
}

.teatimearchive .archive-fan img {
    position: absolute; /* CHANGE: needed for stacking and fanning */
    left: 50%;
    width: 75px;                   /* CHANGE: main image slightly smaller than container */
    border-radius: 6px;
    transform: translateX(-50%) rotate(0deg);
    transform-origin: bottom center;   /* ROTATION pivot at bottom */
}    

.teatimearchive .archive-fan {
    position: absolute; /* NEW */
    left: 50%;                    /* NEW */
    transform: translateX(-50%);
    width: 100%;                  /* NEW */
    height: 100%;                 /* NEW */
    pointer-events: none;         /* NEW: don't interfere with clicks */
    transition: transform 0.6s ease-in-out; /* NEW: smooth, slow movement */
    cursor: pointer;
}

.teatimearchive .archive-fan img.main { z-index: 10; }
.teatimearchive .archive-fan img.fan1 { z-index: 9; }
.teatimearchive .archive-fan img.fan2 { z-index: 8; }
.teatimearchive .archive-fan img.fan3 { z-index: 7; }
.teatimearchive .archive-fan img.fan4 { z-index: 6; }

.teatimearchive.hovered .archive-fan img.main {
    transform: translateX(-50%) translateY(-12px) scale(1.05); /* main rises */
}

.teatimearchive.hovered .archive-fan img.fan1,
.teatimearchive.hovered .archive-fan img.fan2,
.teatimearchive.hovered .archive-fan img.fan3,
.teatimearchive.hovered .archive-fan img.fan4 {
    transform-origin: bottom center; /* ensure rotation pivots from bottom */
}

.teatimearchive:hover .arch-image-wrap::before {
    opacity: 0;
}    

.teatimearchive a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1px;
    text-decoration: none;
}

.archive-glyph {
    position: absolute;
    width: 1.25em;
    height: 1.25em;
    display: grid;
    place-items: center;
    color: rgba(215, 179, 93, 0.9);
    transition: transform 0.4s ease;
    transform: translate3d(0,0,0) scale(1);
}

.archive-glyph::before,
.archive-glyph::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    transition: opacity 0.6s ease, transform 0.4s ease;
    transform: translate3d(0,0,0) scale(1);  /* baseline transform */
    transform: translateY(490%);
}

/* empty glyph */
.archive-glyph::before {
    content: "⟡";
    opacity: 1;
}

/* filled glyph */
.archive-glyph::after {
    content: "✦";
    opacity: 0;
    transform: translateY(472%);
}

/* hover cross-fade */
.teatimearchive:hover .archive-glyph::before {
    opacity: 0;
}

.teatimearchive:hover .archive-glyph::after {
    opacity: 1;
}

.teatimearchive:hover .archive-glyph {
    transform: translateY(-2px) scale(1.05);
    transition: transform 0.4s ease;
}






/* INFLATED IMAGES */

#image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

#inflated-image {
    position: fixed;
    z-index: 1001;
    display: none;
    cursor: pointer;
    transition: all 0.6s ease;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}  


#close-hint {
    position: fixed;
    z-index: 1002;

    font-size: 18px;              /* slightly smaller */
    font-weight: 700;             /* thicker */
    line-height: 1;

    color: rgba(255, 255, 255, 0.65);

    text-shadow:
    0 0 3px rgba(255, 255, 255, 0.25);

    opacity: 0;
    pointer-events: auto;

    transition:
    opacity 0.4s ease,
    transform 0.6s ease,
    text-shadow 0.4s ease;

    transform-origin: center;
    cursor: pointer;
}

#close-hint:hover {
    text-shadow:
    0 0 6px rgba(255, 255, 255, 0.6),
    0 0 12px rgba(255, 214, 102, 0.35);
}


.image-wrap {
    position: relative;
    display: block;
    line-height: 0;
    margin-bottom: 0.3rem;
}

.image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px; /* match your image rounding */
    background: rgba(0, 0, 0, 0.14);  /* film density */
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.6s ease;
}






/* RESPONSIVE */

@media (max-width: 900px) {
    .row-top {
        flex-direction: column;
        align-items: center;
    }

    .row-top > div {
        flex: 1 1 100%;
    }

    .row-bottom {
        justify-content: center;
    }

    .previous {
        flex: 1 1 45%;
    }

    .teatimearchive {
        margin: 2rem auto 0;
        align-self: center;
    }
}

/* theme transition only (not hover) */
body.theme-transition html,
body.theme-transition,
body.theme-transition .tea-body,
body.theme-transition .tea-body::before,
body.theme-transition .tea-body::after,
body.theme-transition::before,
body.theme-transition::after,
body.theme-transition .featured,
body.theme-transition .previous,
body.theme-transition .teatimearchive {
    transition: 
        background-color 2s ease,
        color 2s ease,
        border-color 2s ease,
        box-shadow 2s ease,
        text-shadow 2s ease,
        opacity 2s ease;
}

body.theme-transition header::before {
  opacity: 1;
}


html { min-height: 100%; }
body { min-height: 100vh; }

body { position: relative; }

.wrap { position: relative; z-index: 1; }


/* normal behavior: hover on/off is instant */
/* default: no fades on nav interactions */
nav a { transition: none; }
nav a:hover { transition: none; }

/* during theme swap: nav colors fade slowly, even if hovered */
body.theme-transition nav a,
body.theme-transition nav a:hover {
  transition: background-color 3s ease, border-color 3s ease, color 3s ease !important;
}
