*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --deep-forest:   #1A2E23;
    --forest-green:  #2D4A3E;
    --sage:          #4A6B5A;
    --cream:         #F5F0E6;
    --amber:         #D4943C;
    --earth-brown:   #5C4033;
    --flannel-red:   #C41E3A;
    --misty:         #7A8B8B;
    --campfire:      #FF8C42;
    --golden:        #E8B84B;
    --sunset-pink:   #E85D75;
    --hot-pink:      #FF2E6C;
    --sunshine:      #FFD600;
    --grape:         #8C2EFF;
    --almost-black:  #0A0A0F;
    --warm-gray:     #3A3535;
    --rich-brown:    #C4A882;
    --deep-forest-dark: #111F17;

    --font-title: "Glaser Kitchen", 'Outfit Variable', 'Outfit', sans-serif;
    --font-heading: "Brixton", 'Outfit Variable', 'Outfit', sans-serif;
    --font-display: 'Outfit Variable', 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-display);
    background: var(--deep-forest-dark);
    color: var(--cream);
    overflow-x: hidden;
    min-width: 320px;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    filter: url(#grain);
    opacity: 0.08;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: overlay;
}

/* ======================
   THE STRIP — Scrolling photo marquee
   ====================== */
.hero-zone {
    position: relative;
    padding-bottom: 6rem;
    background: linear-gradient(to bottom, var(--deep-forest) 60%, var(--deep-forest-dark));
}

.photo-strip-container {
    width: 100%;
    height: 380px;
    min-height: 350px;
    overflow: hidden;
    position: relative;
}

.photo-strip-track {
    display: flex;
    height: 100%;
    will-change: transform;
}

.photo-strip {
    flex: 0 0 auto;
    width: 320px;
    height: 100%;
    overflow: hidden;
    position: relative;
    filter: saturate(0.4) brightness(0.65);
    transition: filter 0.5s ease;
}

.photo-strip:hover {
    filter: saturate(0.85) brightness(0.85);
}

.photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.photo-strip + .photo-strip {
    border-left: 1px solid rgba(245,240,230,0.05);
}

/* strip-scroll keyframe removed — now driven by JS requestAnimationFrame */

/* Bottom fade — photos fade into The Wall */
.photo-strip-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to bottom, transparent, var(--deep-forest));
    pointer-events: none;
    z-index: 2;
}

/* ======================
   THE WALL — Title block + tagline
   ====================== */
.hero-title-block {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: -5rem;
    padding: 0 1rem 1.5rem;
}

.title-mega {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(3.5rem, 15vw, 12rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 4px 30px rgba(26,46,35,0.8);
    transform: rotate(-1.5deg);
}

.title-mega .letter {
    display: inline-block;
    transition: opacity 0.08s ease, color 0.2s;
}

.ghost-letter {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.08s ease;
    color: var(--sunset-pink);
}

/* Sprites perched on title letters */
.letter-sprite {
    position: absolute;
    bottom: calc(100% + 13px);
    pointer-events: none;
    opacity: 1;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.letter-sprite-thief {
    height: 0.55em;
    left: calc(50% - 15px);
    transform: translateX(-50%) scaleX(-1);
}

.letter-sprite-lumberjack {
    height: 0.6em;
    left: calc(50% - 35px);
    transform: translateX(-50%);
}

.letter-sprite-bigfoot {
    height: 0.55em;
    left: calc(50% + 15px);
    transform: translateX(-50%) scaleX(-1);
}

.letter-sprite-frog {
    height: 0.5em;
    left: calc(50% - 10px);
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.08s ease;
}

/* THE LINE — single punchy tagline */
.hero-tagline {
    font-family: 'Felt Tip Roman', 'Permanent Marker', cursive;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    color: rgba(245,240,230,0.85);
    margin-top: 1rem;
    letter-spacing: 0.03em;
    transform: rotate(1deg);
}

.hero-tagline span {
    color: var(--sunshine);
}

/* ======================
   THE OBJECTS — floating teasers
   Objects overlap DOWN into the vibe section
   ====================== */
.objects-zone {
    position: relative;
    z-index: 4;
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: -7rem auto -6.5rem;
}

/* Wobble animations */
@keyframes wobble2 {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(0.5deg) translateY(-2px); }
}
@keyframes wobble3 {
    0%, 100% { transform: rotate(2deg) translateY(0); }
    50% { transform: rotate(0.5deg) translateY(-3px); }
}
@keyframes wobble4 {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(0.5deg) translateY(-3px); }
}

/* --- TICKET STUB --- */
.obj-ticket {
    background: var(--cream);
    color: var(--almost-black);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    position: relative;
    box-shadow:
        4px 6px 0 var(--earth-brown),
        0 8px 24px rgba(0,0,0,0.3);
    animation: wobble4 4s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
    min-width: 240px;
    max-width: 300px;
    flex: 1 1 240px;
}

.obj-ticket:hover {
    animation: none;
    transform: rotate(0deg) translateY(-4px);
    box-shadow:
        6px 10px 0 var(--flannel-red),
        0 12px 32px rgba(0,0,0,0.4);
}

.obj-ticket::before, .obj-ticket::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: var(--deep-forest-dark);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.obj-ticket::before { left: -14px; }
.obj-ticket::after { right: -14px; }

.ticket-tear {
    border-top: 2px dashed var(--earth-brown);
    margin: 0.75rem 0;
    opacity: 0.4;
}

.obj-ticket .t-label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-gray);
    text-align: center;
}

.obj-ticket .t-date {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.1;
    margin: 0.3rem 0 0.1rem;
    text-align: center;
}

.obj-ticket .t-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--sage);
    text-align: center;
    letter-spacing: 0.05em;
}

.obj-ticket .t-details {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--warm-gray);
    line-height: 1.6;
    text-align: center;
}

.obj-ticket .t-cta {
    display: block;
    margin-top: 1rem;
    background: var(--flannel-red);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-align: center;
    border: 2px solid var(--earth-brown);
    box-shadow: 2px 2px 0 var(--earth-brown);
}

.sprite-ticket-bagpipes {
    position: absolute;
    bottom: calc(100% - 10px);
    left: -10px;
    height: 130px;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

@media (max-width: 768px) {
    .sprite-ticket-bagpipes { height: 90px; left: -6px; }
}

@media (max-width: 480px) {
    .sprite-ticket-bagpipes { height: 70px; left: -4px; bottom: calc(100% - 6px); }
}

/* --- PHOTO CLUSTER (overlapping pile) --- */
.obj-photos {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    justify-content: center;
    animation: wobble2 3.5s ease-in-out infinite;
    padding: 10px 20px;
}

.polaroid {
    background: var(--cream);
    padding: 6px 6px 24px;
    box-shadow: 3px 4px 12px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, z-index 0s;
    flex-shrink: 0;
    position: relative;
}

.polaroid:hover {
    cursor: pointer;
}

.polaroid + .polaroid {
    margin-left: -25px;
}

.polaroid img {
    width: 120px;
    height: 144px;
    object-fit: cover;
    display: block;
    filter: saturate(0.6);
    transition: filter 0.3s;
}

.polaroid:hover img { filter: saturate(1); }

.polaroid:nth-child(1) { transform: rotate(-8deg); z-index: 1; }
.polaroid:nth-child(2) { transform: rotate(4deg) translateY(-10px); z-index: 2; }
.polaroid:nth-child(3) { transform: rotate(-3deg) translateY(5px); z-index: 1; }
.polaroid:nth-child(4) { transform: rotate(4deg) translateY(-5px); z-index: 2; }

.polaroid:nth-child(1):hover { transform: rotate(-2deg) scale(1.08); z-index: 5; }
.polaroid:nth-child(2):hover { transform: rotate(0deg) translateY(-14px) scale(1.08); z-index: 5; }
.polaroid:nth-child(3):hover { transform: rotate(1deg) translateY(0) scale(1.08); z-index: 5; }
.polaroid:nth-child(4):hover { transform: rotate(1deg) translateY(-8px) scale(1.08); z-index: 5; }

/* --- SOCIAL CARD --- */
.obj-social {
    background: var(--cream);
    color: var(--almost-black);
    padding: 1.25rem 2rem;
    border-radius: 8px;
    position: relative;
    box-shadow:
        4px 6px 0 var(--earth-brown),
        0 8px 24px rgba(0,0,0,0.3);
    animation: wobble3 5s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
    max-width: 260px;
    flex: 1 1 200px;
}

.obj-social:hover {
    animation: none;
    transform: rotate(0deg) translateY(-4px);
    box-shadow:
        6px 10px 0 var(--grape),
        0 12px 32px rgba(0,0,0,0.4);
}

.obj-social .s-qr {
    width: 90px;
    height: auto;
    border-radius: 4px;
}

.obj-social .s-handle {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--almost-black);
}

.obj-social .s-cta {
    display: inline-block;
    margin-top: 0.25rem;
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    padding: 0.45rem 1.2rem;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    border: 2px solid var(--earth-brown);
    box-shadow: 2px 2px 0 var(--earth-brown);
}

/* ======================
   THE VIBE — "What is this?"
   ====================== */
.section-vibe {
    background: var(--rich-brown);
    color: var(--almost-black);
    padding: clamp(7.25rem, 13vh, 11rem) 2rem clamp(3rem, 8vh, 6rem);
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.vibe-container {
    max-width: 650px;
    text-align: center;
}

.vibe-q {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #3B2317, var(--flannel-red), #5C4033, #2A1810, var(--earth-brown), #3B2317);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-cycle 6s ease infinite;
}

@keyframes gradient-cycle {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.vibe-a {
    font-size: clamp(1.1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: rgba(30,20,15,0.8);
    max-width: 550px;
    font-weight: 300;
    margin: 0 auto 2rem;
}

.vibe-a em {
    color: #3B2317;
    font-style: normal;
    font-weight: 700;
}

.ticket {
    background: var(--cream);
    color: var(--almost-black);
    background-image: radial-gradient(circle at 20% 30%, rgba(92,64,51,0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(92,64,51,0.03) 0%, transparent 50%);
    border: 3px solid var(--earth-brown);
    border-radius: 12px;
    padding: clamp(2rem, 4vw, 3rem);
    max-width: 550px;
    width: 90%;
    position: relative;
    box-shadow: 6px 8px 0 var(--earth-brown);
}

.ticket::before, .ticket::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(10, 10, 15, 0.95);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}
.ticket::before { left: -24px; }
.ticket::after  { right: -24px; }

.ticket-header {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 0.75rem;
    text-align: center;
}

.ticket-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 0.4rem;
    text-align: center;
}

.ticket-fest {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(0.8rem, 1.3vw, 1rem);
    color: var(--forest-green);
    margin-bottom: 1.25rem;
    text-align: center;
}

.ticket-deets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-top: 2px dashed var(--earth-brown);
    padding-top: 1.25rem;
}

.ticket-deet { text-align: center; }

.ticket-deet .label {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.ticket-deet .val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.ticket-cta {
    display: block;
    text-align: center;
    background: var(--flannel-red);
    color: white;
    padding: 0.9rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-radius: 6px;
    border: 2px solid var(--earth-brown);
    box-shadow: 3px 3px 0 var(--earth-brown);
    transition: transform 0.15s, box-shadow 0.15s;
}

.ticket-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--earth-brown);
}

.ticket-cobill {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--warm-gray);
    margin-top: 0.75rem;
    letter-spacing: 0.05em;
}

/* ======================
   THE MARQUEE — 3 color-striped rows, sprite dividers
   ====================== */
.section-marquee {
    color: var(--cream);
    padding: 0;
    overflow: hidden;
}

.marquee-row {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    padding: 0.4rem 0;
}

.marquee-inner {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Row backgrounds, speeds, and directions now set by marquee.js */

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-row:hover .marquee-inner { animation-play-state: paused; }
.marquee-accent { color: var(--golden); }

/* ======================
   THE DADS — about section
   ====================== */
.section-about {
    background: #F0E8D8;
    color: var(--almost-black);
    padding: clamp(4rem, 10vh, 7rem) 2rem clamp(8rem, 14vh, 12rem);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-heading {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--flannel-red), var(--sunset-pink), var(--hot-pink), var(--flannel-red), var(--sunset-pink));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-cycle 6s ease infinite;
}

.sprite-about-roses {
    display: inline-block;
    height: 3.8rem;
    width: auto;
    vertical-align: top;
    margin-left: 0.3rem;
    margin-top: -1.2rem;
    transform: rotate(-12deg);
}

.about-content {
    font-size: clamp(1.1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    font-weight: 300;
    color: var(--warm-gray);
    text-align: left;
}

.about-content p {
    margin-bottom: 1.2rem;
}

.about-content strong {
    font-weight: 700;
    color: var(--almost-black);
}

.about-photo {
    width: 140px;
    background: var(--cream);
    padding: 6px;
    padding-bottom: 28px;
    box-shadow: 4px 6px 16px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

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

.about-photo-right {
    float: right;
    margin: 0.5rem 0 0.5rem 1.5rem;
    transform: rotate(2.5deg);
    transition: transform 0.3s ease;
}

.about-photo-right:hover {
    transform: rotate(-1.5deg) scale(1.04);
}

/* ======================
   FOREST SKYLINE — bottom of about section
   ====================== */
.forest-skyline {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 2%;
    pointer-events: none;
    z-index: 2;
}

.forest-cluster {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.forest-cluster img {
    height: 80px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* Objects nestled among trees */
.forest-obj {
    height: auto;
}

.forest-cart       { height: 22px; margin-left: 4px; margin-bottom: 1px; }
.forest-lumberjack { height: 32px; margin-left: 2px; margin-right: -4px; }
.forest-dad        { height: 35px; margin-left: 2px; margin-right: -4px; }

/* Left cluster: tree, tree, tree, food cart tucked at edge */
.forest-cluster-left img:nth-child(1) { height: 70px; }
.forest-cluster-left img:nth-child(2) { height: 55px; margin-left: -6px; }
.forest-cluster-left img:nth-child(3) { height: 85px; margin-left: -8px; }

/* Center cluster: tree, lumberjack, tree, bridge, tree, tree */
.forest-cluster-center img:nth-child(1) { height: 95px; }
.forest-cluster-center img:nth-child(3) { height: 70px; margin-left: -4px; margin-right: 6px; }
.forest-cluster-center .forest-bridge   { height: 90px; margin-left: 4px; margin-right: 4px; margin-bottom: 2px; }
.forest-cluster-center img:nth-child(5) { height: 90px; margin-left: 6px; }
.forest-cluster-center img:nth-child(6) { height: 65px; margin-left: -6px; }

/* Right cluster: tree, tree, dad lurking, tree */
.forest-cluster-right img:nth-child(1) { height: 85px; }
.forest-cluster-right img:nth-child(2) { height: 60px; margin-left: -5px; }
.forest-cluster-right img:nth-child(4) { height: 75px; margin-left: -6px; }

/* ======================
   THE GALLERY — photos grid + video
   ====================== */
.section-gallery {
    background: linear-gradient(180deg, var(--deep-forest) 0%, #1A2E23 40%, #1F3829 100%);
    margin-top: -1px;
    color: var(--cream);
    padding: clamp(3rem, 8vh, 5rem) 2rem;
    position: relative;
    overflow: hidden;
}

/* Faint forest noise texture */
.section-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.section-gallery > * {
    position: relative;
    z-index: 1;
}

.gallery-header {
    text-align: center;
}

.gallery-header h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--golden), var(--campfire), var(--sunset-pink), var(--amber), var(--golden));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-cycle 6s ease infinite;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    position: relative;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border: 10px solid white;
    border-radius: 0;
    box-shadow: 2px 3px 8px rgba(0,0,0,0.25);
    filter: saturate(0.5);
    transition: filter 0.4s, transform 0.4s;
}

.gallery-item:hover img {
    filter: saturate(1);
    transform: scale(1.03);
}

.gallery-item:nth-child(odd) { transform: rotate(-0.5deg); }
.gallery-item:nth-child(even) { transform: rotate(0.5deg); }

/* "Plus N more" CTA below gallery grid */
.gallery-more {
    text-align: center;
    margin-top: 0.5rem;
}

.gallery-more-btn {
    background: rgba(245,240,230,0.08);
    border: 2px solid rgba(245,240,230,0.25);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245,240,230,0.6);
    cursor: pointer;
    padding: 0.6rem 1.8rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.gallery-more-btn:hover {
    background: rgba(245,240,230,0.15);
    border-color: rgba(245,240,230,0.5);
    color: var(--cream);
}

.gallery-video-tile {
    position: relative;
}

.gallery-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    pointer-events: none;
    transition: background 0.2s ease, transform 0.2s ease;
    padding-left: 4px;
}

.gallery-video-tile:hover .gallery-play-btn {
    background: rgba(0,0,0,0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ======================
   TRANSITION — sprites on cream, sitting on red edge
   ====================== */
.section-transition {
    background: #F0E8D8;
    padding: clamp(4rem, 8vh, 6rem) 2rem clamp(3rem, 6vh, 5rem);
    position: relative;
    overflow: visible;
}

.transition-social {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: clamp(1rem, 2vh, 1.5rem) 0 clamp(3rem, 6vh, 5rem);
}

.trans-sprite {
    position: absolute;
    bottom: -1px;
    width: auto;
    pointer-events: none;
    z-index: 1;
}

.trans-bike       { height: 35px;  left: 8%; }
.trans-donut      { height: 100px;  left: 28%; }
.trans-unicyclist { height: 55px;  right: 38%; }
.trans-bigfoot    { height: 50px;  right: 14%; }
.trans-dad        { height: 48px;  right: 5%; transform: scaleX(-1); }

/* ======================
   THE FOOTER
   ====================== */
.section-bottom {
    background: linear-gradient(180deg, var(--flannel-red) 0%, #7A1A1A 100%);
    color: var(--cream);
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ig-link {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    text-decoration: none;
    position: relative;
    background: linear-gradient(90deg, var(--flannel-red), var(--sunset-pink), var(--campfire), var(--flannel-red));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: footer-gradient 4s ease infinite;
}

@keyframes footer-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ig-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--flannel-red), var(--sunset-pink), var(--campfire));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ig-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.bottom-links {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.bottom-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--earth-brown);
    text-decoration: none;
    transition: color 0.2s;
    opacity: 0.6;
}

.bottom-links a:hover { opacity: 1; }

.bottom-copy {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(245,240,230,0.4);
    letter-spacing: 0.1em;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 768px) {
    .photo-strip-container {
        height: 45vh;
        height: 45dvh;
    }

    .photo-strip {
        width: 280px;
    }

    .photo-strip-track {
    }

    .hero-title-block {
        margin-top: -3.5rem;
    }

    .objects-zone {
        gap: 2rem;
        padding: 1rem 1rem 2rem;
        margin: -3rem auto -6rem;
    }

    .obj-ticket {
        min-width: 200px;
        padding: 1.25rem 1.5rem;
    }

    .obj-photos {
        width: 100%;
        justify-content: center;
        padding: 10px 8px;
    }

    .polaroid img {
        width: 22vw;
        height: 28vw;
    }

    .polaroid + .polaroid {
        margin-left: -20px;
    }

    .obj-social {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .vibe-q,
    .about-heading,
    .gallery-header h2 {
        font-size: 2.5rem;
    }

    .about-photo {
        width: 110px;
    }

    .about-photo img {
        height: 135px;
    }

}

@media (max-width: 480px) {
    .photo-strip-container {
        height: 40vh;
        height: 40dvh;
    }

    .photo-strip {
        width: 55vw;
    }

    .photo-strip-track {
    }

    .hero-title-block {
        margin-top: -3rem;
    }

    .objects-zone {
        gap: 1.75rem;
        margin-bottom: -5rem;
    }

    .obj-ticket {
        flex: 1 1 100%;
        max-width: none;
        animation-name: wobble2;
    }

    .obj-social {
        display: none;
    }

    .obj-photos {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        padding: 10px 8px;
    }

    .polaroid img {
        width: 22vw;
        height: 28vw;
    }

    .polaroid + .polaroid {
        margin-left: -18px;
    }


    .trans-bike { height: 25px; }
    .trans-donut { height: 66px; }
    .trans-unicyclist { height: 38px; }
    .trans-bigfoot { height: 35px; }
    .trans-dad { height: 34px; }
    .section-transition { padding: clamp(2rem, 4vh, 3rem) 1rem clamp(2rem, 4vh, 3rem); }
}

@media (min-width: 769px) {
    .photo-strip-container {
        min-height: 550px;
    }
}

@media (min-width: 1200px) {
    .photo-strip-container {
        height: 520px;
    }

    .hero-title-block {
        margin-top: -5.5rem;
    }

    .objects-zone {
        gap: 3.5rem;
        padding: 1.5rem 3rem 3rem;
        max-width: 1200px;
    }
}

/* ======================
   THE SPRITES — hidden Portland illustrations
   Grouped, hiding, offering subtle commentary.
   Density builds as you scroll — quiet up top, a hidden world at the bottom.
   ====================== */

/* --- Base sprite --- */
.sprite {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    transition: opacity 0.4s ease;
}

/* --- Marquee inline sprites (scroll with text) --- */
.marquee-sprite {
    height: 1.3em;
    width: auto;
    vertical-align: middle;
    margin: 0 0.3em;
}

/* --- Vibe section: haunted house, frog, magnifying glass --- */
.sprite-vibe-haunted {
    bottom: -3px;
    left: 3%;
    height: 100px;
    width: auto;
}

.sprite-vibe-frog {
    bottom: -3px;
    right: 6%;
    height: 65px;
    width: auto;
    transform: scaleX(-1);
}

/* --- Gallery section: bigfoot climbing a photo --- */
.sprite-wild-bigfoot {
    display: inline-block;
    height: 60px;
    width: auto;
    vertical-align: middle;
    position: relative;
    z-index: 10;
    margin: -15px 0 -2px 65%;
}



/* --- Sprite responsive --- */
@media (max-width: 768px) {
    .letter-sprite {
        display: none;
    }

    .letter-sprite-frog {
        display: block;
    }

    .sprite-vibe-frog { height: 45px; }
    .sprite-vibe-haunted { height: 70px; }
    .trans-bike { height: 28px; }
    .trans-donut { height: 73px; }
    .trans-unicyclist { height: 42px; }
    .trans-bigfoot { height: 38px; }
    .trans-dad { height: 36px; }
    .marquee-sprite { height: 1.1em; }

    /* Scale down forest skyline */
    .forest-cluster img { height: 55px !important; }
    .forest-cluster-left img:nth-child(1) { height: 48px !important; }
    .forest-cluster-left img:nth-child(3) { height: 60px !important; }
    .forest-cluster-center img:nth-child(1) { height: 65px !important; }
    .forest-cluster-center img:nth-child(5) { height: 62px !important; }
    .forest-cluster-center .forest-bridge { height: 38px !important; }
    .forest-cluster-right img:nth-child(1) { height: 58px !important; }
    .forest-cart { height: 16px !important; }
    .forest-lumberjack { height: 24px !important; }
    .forest-dad { height: 26px !important; }
    .section-about { padding-bottom: clamp(6rem, 10vh, 9rem); }
}

@media (max-width: 480px) {
    .sprite-wild-bigfoot { height: 35px; margin-left: 50px; }
    .forest-skyline { display: none; }
    .section-about { padding-bottom: clamp(3rem, 8vh, 6rem); }
}

/* ======================
   THE LIGHTBOX — full-screen photo/video viewer
   ====================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-img,
.lightbox-video {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 10;
    line-height: 1;
    padding: 0.5rem;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--cream);
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 10;
    padding: 1rem;
    line-height: 1;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--misty);
    opacity: 0.6;
}

/* Make photos clickable */
.photo-strip,
.polaroid,
.gallery-item,
.about-photo {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 1.5rem 0.75rem;
    }

    .lightbox-close {
        font-size: 2rem;
        top: 0.5rem;
        right: 0.75rem;
    }
}

/* ======================
   THE TICKET MODAL — full show details overlay
   ====================== */
.ticket-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 10, 15, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ticket-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ticket-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 10;
    line-height: 1;
    padding: 0.5rem;
}

.ticket-modal-close:hover { opacity: 1; }

.ticket-modal-content {
    max-width: 460px;
    width: 90%;
}

/* ======================
   FOCUS — keyboard navigation visibility
   ====================== */
:focus-visible {
    outline: 2px solid var(--golden);
    outline-offset: 2px;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible,
.ticket-modal-close:focus-visible {
    opacity: 1;
    outline-color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .photo-strip { filter: saturate(0.7) brightness(0.6); }
    .lightbox-overlay { transition: none; }
}