/* --- SATURDAY MORNING CLUBHOUSE STUDIO STYLESHEET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    scrollbar-width: thin;
    scrollbar-color: #3a4440 #1a1f1d;
}

/* For Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1f1d;
}

::-webkit-scrollbar-thumb {
    background: #3a4440;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4e5a55;
}

html, body {
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #232927;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 70%),
        linear-gradient(110deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.01) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px);
    background-attachment: fixed;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #e0e0e0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%),
                linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 100% 100%, 60px 60px;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

body {
    position: relative;
    padding-top: 100vh; 
}

img {
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
}

/* --- Top Navigation Bar --- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(35, 41, 39, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.nav-content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 0 30px 0 0;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.nav-logo img:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #e63946;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-logo {
        margin-right: 0;
    }
    .top-nav {
        justify-content: flex-start;
        padding-left: 20px;
        display: none;
    }
}

.covers-scroll-container,
.portfolio-grid,
.cover-card,
.portfolio-card {
    transform: translateZ(0);
    will-change: transform;
}

.main-content-wrapper {
    position: relative;
    z-index: 2;
}

/* Fixed Hero Section */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 100%, rgba(0,0,0,0) 100%);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 1;
    position: relative;
    width: 90%;
    max-width: 500px;
}

.logo-wrapper {
    cursor: default;
    display: inline-block;
    position: relative;
}

.logo-wrapper img {
    width: 100%;
    max-width: 380px;
    height: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    transition: transform 0.1s ease;
}

.speech-bubble {
    position: absolute;
    top: -60px;       
    left: 350px;
    transform: scale(0.8);
    background: #ffffff;
    color: #000000;
    padding: 12px 20px; 
    border-radius: 20px;
    font-weight: 800;
    font-size: 1.05rem; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 20%;
    width: 22px;
    height: 32px;
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transform: rotate(90deg) scaleY(-1);
    z-index: 2;
}

.speech-bubble.show {
    opacity: 1;
    transform: scale(1);
}

@keyframes shake {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-4px, 2px) rotate(-3deg); }
    40% { transform: translate(4px, -2px) rotate(3deg); }
    60% { transform: translate(-3px, 1px) rotate(-2deg); }
    80% { transform: translate(3px, -1px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.shake {
    animation: shake 0.4s ease-in-out;
}

.icons-row {
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: center;
}

.icons-row a {
    color: #e0e0e0;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}

.icons-row a:hover {
    color: #e63946;
    transform: scale(1.1);
}

.scroll-cue {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    z-index: 1;
}

.scroll-cue:hover {
    color: #ffffff;
}

.scroll-cue i {
    margin-top: 6px;
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

.icon-model-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin: auto;
    padding: 30px 0 0 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-item i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.icon-item span {
    font-size: 1rem;
    font-weight: 600;
    color: #cccccc;
    letter-spacing: 0.5px;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: system-ui, sans-serif;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

/* About Section */
.about-section {
    padding: 40px 20px;
    background: transparent;
    color: #ffffff;
    margin: 0 auto 50px auto;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image-wrapper {
    flex-shrink: 0;
}

.about-profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.about-text-content {
    flex-grow: 1;
}

.about-text-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-text-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cccccc;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .about-profile-img {
        width: 180px;
        height: 180px;
    }
}

/* Portfolio Section */
.portfolio-section {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.studio-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.studio-intro h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.studio-intro p {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 40px;
}

.portfolio-header h3 {
    print-color-adjust: exact;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 10px;
}

.portfolio-header p {
    color: #a0a0a0;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 45px;
    margin-top: 40px;
}

.portfolio-card {
    background-color: #fcfcfc;
    border: 5px solid #000000;
    border-radius: 0px;
    box-shadow: 10px 10px 0px #000000;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    box-shadow: 10px 10px 0px #e63946;
}

.card-image-container {
    width: 100%;
    height: 185px; 
    overflow: hidden;
    position: relative;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid #000000;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) saturate(1.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-image-container img {
    transform: scale(1.1);
}

.card-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

.card-image-container .card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    background: #ffff00;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    border-radius: 0px;
    margin-bottom: 0;
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #f4f4f0;
    position: relative;
}

.card-tag {
    display: inline-block;
    background: #ffff00;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    margin-bottom: 12px;
    align-self: flex-start;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    border-radius: 0px;
}

.portfolio-card h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.15;
    text-transform: uppercase;
}

.portfolio-card p {
    color: #333333;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 500;
}

.card-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    border: 2px solid #000000;
    font-size: 0.7rem;
    color: #555555;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
    white-space: nowrap;
}

.card-meta-strip > div {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta-strip span {
    color: #000000;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 0.85rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    transition: color 0.15s ease;
}

.card-link:hover {
    color: #e63946;
}

.card-link i.fa-expand {
    position: relative;
    top: 2px;
}

.content-block-white {
    background: #f4f4f0;
    color: #1a1a1a;
    padding: 80px 20px;
    border-top: 4px solid #1a1a1a;
    border-bottom: 4px solid #1a1a1a;
    position: relative;
    z-index: 2;
}

.content-block-white h2, 
.content-block-white h3 {
    color: #1a1a1a;
}

.content-block-white p {
    color: #444444;
}

.highlight-red {
    color: #e63946;
    font-weight: 900;
}

.impact-header {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.impact-header .tiny-label {
    display: block;
    font-size: 0.75rem;
    color: #e63946;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
    
.content-block-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 100px 20px;
    border-top: 4px solid #000000;
    border-bottom: 4px solid #000000;
    z-index: 2;
    margin-bottom: 60px;
    text-align: center;
    overflow: hidden;
}

.content-block-fullwidth::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://blasekstudios.com/_images/halftone.png');
    background-repeat: repeat-y;
    background-size: contain;
    background-position: left top;
    background-attachment: fixed;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.content-block-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.content-block-fullwidth h2, 
.content-block-fullwidth h3 {
    color: #ffffff;
}

.content-block-fullwidth p {
    color: #d0d0d0;
}

.sharpie-highlight {
    position: relative;
    background-color: rgba(230, 57, 70, 0.9);
    color: #ffffff !important;
    padding: 3px 20px;
    top: -5px;
    display: inline-block;
    transform: rotate(-1.5deg);
    border-radius: 2px;
    clip-path: polygon(6% 10%, 100% 0%, 90% 105%, 2% 100%);
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
}

.sharpie-highlight::before {
    content: "";
    position: absolute;
    inset: -3px -6px;
    background: rgba(230, 57, 70, 0.85);
    box-shadow: 
        2px 1px 0px rgba(230, 57, 70, 0.7),
        -2px -1px 0px rgba(230, 57, 70, 0.7),
        1px 3px 0px rgba(230, 57, 70, 0.5),
        -1px -3px 0px rgba(230, 57, 70, 0.5);
    transform: rotate(-1.5deg);
    border-radius: 4px / 8px;
    z-index: -1;
    pointer-events: none;
}

.gallery-container-wrapper {
    position: relative;
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.covers-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px 4px;
    width: 100%;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

.covers-scroll-container::-webkit-scrollbar {
    display: none; 
}

.cover-card {
    flex: 0 0 auto;
    width: auto;
    background: transparent;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.cover-card:hover {
    transform: translateY(-5px);
}

.cover-placeholder {
    width: 100%;
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 0;
}

.cover-placeholder .card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cover-placeholder img {
    display: block;
    height: 330px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.cover-card:hover .cover-placeholder img {
    transform: scale(1.03);
}

.cover-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-60%) scale(1.05);
}

.scroll-btn.prev {
    left: -22px;
}

.scroll-btn.next {
    right: -22px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none; 
    }
}

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-modal.cover-mode .lightbox-content {
    overflow: visible;
    max-height: none;
    background: transparent;
    border: none;
    box-shadow: none;
    width: auto;
    max-width: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-modal.cover-mode .lightbox-close {
    top: 50px;
    right: 20px;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.lightbox-image-container {
    width: 100%;
    height: 380px;
    max-height: 100dvh;
    background: #181d1b;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lightbox-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) brightness(0.5);
    transform: scale(1.1);
    z-index: 1;
}

.lightbox-image-container img.lightbox-main-img {
    position: relative;
    z-index: 2;
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-image-container i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.lightbox-modal.cover-mode .lightbox-content {
    width: auto;
    max-width: 90vw;
    background: transparent;
    border: none;
    box-shadow: none;
}

.lightbox-modal.cover-mode .lightbox-image-container {
    height: auto;
    max-height: 88vh;
    background: transparent;
    overflow: visible;
}

.lightbox-modal.cover-mode .lightbox-main-img {
    max-height: 88vh !important;
    object-fit: contain !important;
    border-radius: 12px;
}

.lightbox-modal.cover-mode .lightbox-body {
    display: none !important;
}

.lightbox-body {
    background-color: #f4f4f0;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.lightbox-body h3 {
    font-size: 1.6rem;
    color: #000000;
    margin-bottom: 0;
}

.lightbox-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0px 0 8px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lightbox-meta-item strong {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e63946;
}

.lightbox-meta-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000000;
}

.lightbox-synopsis p {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 30;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.lightbox-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-nav-btn.prev {
    left: 20px;
}

.lightbox-nav-btn.next {
    right: 20px;
}

.lightbox-modal.cover-mode .lightbox-nav-btn {
    display: flex;
}

.portfolio-card p,
.lightbox-synopsis p {
    font-family: 'Architects Daughter', cursive, sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.swipe-hint {
    display: none;
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: #707070;
    font-size: 0.85rem;
    margin-top: 70px;
}

.comic-contact-section {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 70px auto 0 auto;
    padding: 40px 20px;
    background: transparent;
    text-align: center;
}

.comic-contact-section h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comic-contact-section p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.comic-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.comic-email-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.comic-contact-section .icons-row {
    margin-top: 25px;
    gap: 25px;
}

.comic-contact-section .icons-row a {
    font-size: 1.3rem; 
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(4px);
}

.scroll-top-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        height: 100dvh;
    }
    
    .scroll-cue {
        bottom: 40px;
    }

    .container {
        gap: 25px;
        width: 85%;
    }

    .logo-wrapper img {
        max-width: 260px;
    }

    .speech-bubble {
        top: -85px;
        left: 10%;
        transform: translateX(-50%) scale(0.75);
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .speech-bubble.show {
        transform: translateX(-50%) scale(1);
    }

    .speech-bubble::after {
        bottom: -22px;
        left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }

    .icons-row {
        gap: 25px;
    }

    .icons-row a {
        font-size: 1.6rem;
    }

    .portfolio-section {
        padding: 60px 50px;
    }

    .swipe-hint {
        display: block;
    }

    .cover-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .cover-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .lightbox-modal.cover-mode .lightbox-close {
        top: 0px;
        right: 0px;
        width: 50px;
        height: 50px;
        font-size: 2.0rem;
    }
    
    .card-image-container {
        height: 180px;
    }

    .content-block-fullwidth::before {
        background-position: 30% center;
    }
}

.bp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bp-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.bp-modal-card {
  background: rgba(26, 26, 26, 0.85);
  border: 2px solid #333;
  color: #fff;
  width: 90%;
  max-width: 440px;
  padding: 32px 40px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bp-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
}

.bp-modal-close:hover {
  color: #fff;
}

.bp-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.bp-modal-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 8px 0;
  color: #fff;
}

.bp-modal-header p {
  font-size: 1.0rem;
  color: #aaa;
  margin: 0;
  line-height: 1.4;
}

/* Button & Layout Styling */
.bp-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bp-pay-btn {
  display: block;
  width: 100%;
  padding: 16px 20px; /* Taller height */
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.bp-pay-btn {
  position: relative;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.bp-pay-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: transform 0.5s ease;
}

.bp-pay-btn:hover {
  opacity: 0.95;
}

.bp-pay-btn:hover::after {
  transform: translateX(200%);
}

/* Service Colors */
.bp-venmo { background-color: #010101; }
.bp-paypal { background-color: #1c4c8c; }
.bp-square { background-color: #4089c3; }
.bp-shop { background-color: #84a3bd; }

/* Flexbox Row alignment: Text centered, Icon on right */
.bp-btn-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 30px;
}

.bp-text-group {
  flex-grow: 1;
  text-align: center;
  margin-right: 34px; 
}

.bp-brand {
  display: block;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.8px;
}

.bp-handle {
  display: block;
  font-size: 13px;
  opacity: 0.85;
  margin-top: 2px;
}

.bp-pay-icon {
  flex-shrink: 0;
  margin-left: 12px;
}

/* --- UPCOMING EVENTS STYLES --- */
.events-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 30px auto 0 auto;
}

.event-card {
    background-color: #fcfcfc;
    border: 4px solid #000000;
    box-shadow: 8px 8px 0px #000000;
    display: flex;
    align-items: stretch;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    overflow: hidden;
    height: 120px
}

.event-card:hover {
    box-shadow: 8px 8px 0px #e63946;
    transform: translateY(-2px);
}

.event-date-badge {
    background-color: #0d0d0d;
    color: #ffffff;
    min-width: 110px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 4px solid #000000;
    text-align: center;
    flex-shrink: 0;
}

.event-date-badge .day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: #ffff00;
}

.event-date-badge .month {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-top: 4px;
}

.event-date-badge .year {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 700;
    margin-top: 2px;
}

/* Update padding on the details container */
.event-details {
    padding: 10px 16px; /* Reduced top/bottom padding from 20px */
    background-color: #f4f4f0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Reduce tag margin so it doesn't push down into the top border */
.event-tag {
    align-self: flex-start;
    margin-bottom: 5px; /* Reduced from 8px */
}

/* Tighter title margins */
.event-title {
    font-size: 1.25rem; /* Reduced slightly from 1.4rem */
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 2px; /* Reduced from 6px */
    line-height: 1.1;
}

/* Reduce metadata margin */
.event-meta-info {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #555555;
    margin-bottom: 4px; /* Reduced from 10px */
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Match description line-height */
.event-description {
    display: none;
    font-family: 'Architects Daughter', cursive, sans-serif;
    font-size: 0.95rem;
    color: #222222;
    margin: 0;
    line-height: 1.2;
}
.event-meta-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.event-meta-info i {
    color: #e63946;
}

.no-events-msg {
    text-align: center;
    color: #a0a0a0;
    font-size: 1.05rem;
    padding: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
    .event-card {
        flex-direction: column;
        height: 150px;
        padding-bottom: 20px;
    }
    .event-date-badge {
        width: 100%;
        min-width: auto;
        flex-direction: row;
        gap: 8px;
        padding: 10px 15px;
        border-right: none;
        border-bottom: 4px solid #000000;
    }
    .event-date-badge .day,
    .event-date-badge .month,
    .event-date-badge .year {
        margin-top: 0;
    }
}
