html, body {
    overflow-x: clip !important;
}

/* Custom Artist Pencil / Pen Cursor (Valid XML, Sized 22x22, Full Browser Support) */
html, body, div, section, p, span, h1, h2, h3, h4, h5, h6, canvas, header, footer, nav, label, img {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2722%27%20height%3D%2722%27%20viewBox%3D%270%200%2032%2032%27%20fill%3D%27none%27%3E%20%3Cpolygon%20points%3D%271%2C1%202%2C7%207%2C2%27%20fill%3D%27%23111111%27%20stroke%3D%27%23111111%27%20stroke-width%3D%270.5%27/%3E%20%3Cpolygon%20points%3D%272%2C7%207%2C2%2010%2C5%205%2C10%27%20fill%3D%27%23FFFBF3%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271%27/%3E%20%3Cpolygon%20points%3D%275%2C10%2010%2C5%2023%2C18%2018%2C23%27%20fill%3D%27%23FFE780%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271.2%27/%3E%20%3Cline%20x1%3D%277.5%27%20y1%3D%277.5%27%20x2%3D%2720.5%27%20y2%3D%2720.5%27%20stroke%3D%27%23F59E0B%27%20stroke-width%3D%271%27/%3E%20%3Cpolygon%20points%3D%2718%2C23%2023%2C18%2026%2C21%2021%2C26%27%20fill%3D%27%23D7F3FF%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271.2%27/%3E%20%3Cline%20x1%3D%2719.5%27%20y1%3D%2724.5%27%20x2%3D%2724.5%27%20y2%3D%2719.5%27%20stroke%3D%27%2323648C%27%20stroke-width%3D%270.75%27/%3E%20%3Cpolygon%20points%3D%2721%2C26%2026%2C21%2029%2C24%2024%2C29%27%20fill%3D%27%23FFC0C3%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271.2%27/%3E%20%3C/svg%3E") 1 1, auto;
}

a, button, [role="button"], .cursor-pointer, .brutal-btn, .editable-media-slot, .draw-tool-btn, .brush-size-btn, select, summary {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2722%27%20height%3D%2722%27%20viewBox%3D%270%200%2032%2032%27%20fill%3D%27none%27%3E%20%3Cpolygon%20points%3D%271%2C1%202%2C7%207%2C2%27%20fill%3D%27%23F77279%27%20stroke%3D%27%23111111%27%20stroke-width%3D%270.5%27/%3E%20%3Cpolygon%20points%3D%272%2C7%207%2C2%2010%2C5%205%2C10%27%20fill%3D%27%23FFFBF3%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271%27/%3E%20%3Cpolygon%20points%3D%275%2C10%2010%2C5%2023%2C18%2018%2C23%27%20fill%3D%27%23FFE780%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271.2%27/%3E%20%3Cline%20x1%3D%277.5%27%20y1%3D%277.5%27%20x2%3D%2720.5%27%20y2%3D%2720.5%27%20stroke%3D%27%23F59E0B%27%20stroke-width%3D%271%27/%3E%20%3Cpolygon%20points%3D%2718%2C23%2023%2C18%2026%2C21%2021%2C26%27%20fill%3D%27%23D7F3FF%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271.2%27/%3E%20%3Cline%20x1%3D%2719.5%27%20y1%3D%2724.5%27%20x2%3D%2724.5%27%20y2%3D%2719.5%27%20stroke%3D%27%2323648C%27%20stroke-width%3D%270.75%27/%3E%20%3Cpolygon%20points%3D%2721%2C26%2026%2C21%2029%2C24%2024%2C29%27%20fill%3D%27%23FFC0C3%27%20stroke%3D%27%23111111%27%20stroke-width%3D%271.2%27/%3E%20%3Cpolygon%20points%3D%275%2C1%206%2C3%208%2C4%206%2C5%205%2C7%204%2C5%202%2C4%204%2C3%27%20fill%3D%27%23F77279%27%20stroke%3D%27%23111111%27%20stroke-width%3D%270.5%27/%3E%20%3C/svg%3E") 1 1, pointer !important;
}

input, textarea, [contenteditable="true"] {
    cursor: text !important;
}

/* Light Notebook Paper Texture & Dark Grain */
.bg-cream-dots {
    background-color: #FFFBF3;
    background-image: 
        linear-gradient(90deg, transparent 48px, rgba(247, 114, 121, 0.22) 48px, rgba(247, 114, 121, 0.22) 50px, transparent 50px),
        repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(215, 243, 255, 0.5) 31px, rgba(215, 243, 255, 0.5) 32px);
    background-attachment: local;
}

.bg-dark-grain {
    background-color: #172B3C;
    background-image: radial-gradient(#23648C 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* Neo-Brutalist Borders & Hard Shadows (Slightly Thinned & Refined) */
.brutal-border {
    border: 1.5px solid #111111;
}
.brutal-shadow {
    box-shadow: 3.5px 3.5px 0px #111111;
}
.brutal-shadow-sm {
    box-shadow: 2px 2px 0px #111111;
}
.brutal-shadow-lg {
    box-shadow: 5px 5px 0px #111111;
}
.brutal-btn {
    border: 1.5px solid #111111;
    box-shadow: 3px 3px 0px #111111;
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.brutal-btn:hover {
    transform: translate(-1.5px, -1.5px);
    box-shadow: 4.5px 4.5px 0px #111111;
}
.brutal-btn:active {
    transform: translate(1.5px, 1.5px);
    box-shadow: 1px 1px 0px #111111;
}

/* Thinned Structural Borders */
.border-4 {
    border-width: 2px !important;
}
.border-b-4 {
    border-bottom-width: 2px !important;
}
.border-t-4 {
    border-top-width: 2px !important;
}
.border-b-2 {
    border-bottom-width: 1.5px !important;
}
.border-2 {
    border-width: 1.5px !important;
}

/* Thinned SVG Strokes */
svg [stroke-width="4"] {
    stroke-width: 2px;
}
svg [stroke-width="3.5"] {
    stroke-width: 1.75px;
}
svg [stroke-width="3"] {
    stroke-width: 1.5px;
}
svg [stroke-width="2.5"] {
    stroke-width: 1.5px;
}

/* Splash Display Letters (Solid Colors, No Outlines) */
.splash-letter {
    font-family: 'Anton', sans-serif;
    -webkit-text-stroke: 0 !important;
    color: #23648C;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    line-height: 0.95;
}
.splash-letter:hover {
    transform: translateY(-4px) scale(1.03);
}

/* 3D Hero Title Letters (No Heavy Outline) */
.hero-3d-letter {
    font-family: 'Anton', sans-serif;
    -webkit-text-stroke: 0;
    text-shadow: 
        1px 1px 0 #111,
        2px 2px 0 #111,
        3px 3px 0 #111,
        4px 4px 0 #111,
        5px 5px 0 #111,
        6px 6px 0 #111,
        7px 7px 0 #111,
        8px 8px 0 #111;
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}
.hero-3d-letter:hover {
    transform: translateY(-8px) rotate(-3deg);
}

/* Custom Scrollbar for Horizontal Showcases */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Vertical Card Ratio for Artwork & Brand Photos */
.card-aspect-vertical {
    aspect-ratio: 4 / 5;
}

/* Draggable Sticker Cursor */
.draggable-sticker {
    cursor: grab;
    user-select: none;
    touch-action: none;
    transition: transform 0.1s ease;
}
.draggable-sticker:active {
    cursor: grabbing;
    z-index: 40 !important;
    transform: scale(1.08) !important;
}

/* Static 2-Line Manifesto Headline & Popping Surrounding Stickers */
.manifesto-headline {
    font-size: clamp(1.95rem, 7.6vw, 4rem);
    text-shadow: 4px 4px 0px #111111;
}

.manifesto-stage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 1.5rem 0.5rem;
    padding: 0.5rem 0;
}

#sticker-playground {
    display: contents;
}

.sticker-slot-1 { grid-row: 1; grid-column: 1; }
.sticker-slot-3 { grid-row: 1; grid-column: 2; }
.sticker-slot-2 { grid-row: 1; grid-column: 3; }
.manifesto-headline-wrap { grid-row: 2; grid-column: 1 / -1; padding: 0.75rem 0.25rem; }
.sticker-slot-5 { grid-row: 3; grid-column: 1; }
.sticker-slot-4 { grid-row: 3; grid-column: 2; }
.sticker-slot-6 { grid-row: 3; grid-column: 3; }

.sticker-pop {
    opacity: 0;
    transform: translate3d(var(--pop-x, 0px), var(--pop-y, 48px), 0) scale(0.22) rotate(var(--pop-rot, 0deg));
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes stickerPopFromSide {
    0% {
        opacity: 0;
        transform: translate3d(var(--pop-x, 0px), var(--pop-y, 48px), 0) scale(0.22) rotate(var(--pop-rot, 0deg));
    }
    62% {
        opacity: 1;
        transform: translate3d(calc(var(--pop-x, 0px) * -0.14), calc(var(--pop-y, 48px) * -0.14), 0) scale(1.13) rotate(calc(var(--pop-rot, 0deg) * -0.2));
    }
    100% {
        opacity: 1;
        transform: translate3d(0px, 0px, 0) scale(1) rotate(0deg);
    }
}

#manifesto-hero-subpanel.stickers-popped .sticker-pop,
body.edit-mode-active #manifesto-hero-subpanel .sticker-pop {
    pointer-events: auto;
    animation: stickerPopFromSide 0.72s cubic-bezier(0.34, 1.56, 0.64, 1) var(--pop-delay, 0ms) both;
}

/* Smooth Non-Glitching Scroll Reveal for Manifesto Intro & Enlarged Process Heading */
.manifesto-para-reveal {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

#manifesto-cards-subpanel.para-in .manifesto-para-reveal,
body.edit-mode-active .manifesto-para-reveal {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.process-section-title {
    font-size: clamp(1.85rem, 3.8vw, 3.25rem);
    line-height: 1.05;
}

@media (min-width: 1024px) {
    #manifesto-hero-subpanel {
        height: 100vh;
        padding-top: 70px;
        padding-bottom: 16px;
    }
    .manifesto-headline {
        font-size: clamp(2.85rem, min(5.4vw, 8.6vh), 5.5rem);
    }
    .manifesto-stage {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1240px;
        height: 100%;
        max-height: 760px;
        padding: 0;
    }
    .manifesto-headline-wrap {
        padding: 0 1rem;
    }
    #sticker-playground {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
    }
    .sticker-slot {
        position: absolute;
        pointer-events: auto;
    }
    .sticker-slot-1 { top: 3%; left: 3.5%; }
    .sticker-slot-3 { top: 1.5%; left: 50%; transform: translateX(-50%); }
    .sticker-slot-2 { top: 10%; right: 3%; }
    .sticker-slot-5 { bottom: 11%; left: 3%; }
    .sticker-slot-4 { bottom: 3%; left: 50%; transform: translateX(-50%); }
    .sticker-slot-6 { bottom: 3.5%; right: 4%; }

    .sticker-slot-1 svg { width: clamp(8.5rem, 13vw, 10.75rem); height: auto; }
    .sticker-slot-2 svg { width: clamp(7.5rem, 11.6vw, 9.5rem); height: auto; }
    .sticker-slot-4 svg { width: clamp(7.25rem, 10.8vw, 9rem); height: auto; }
    .sticker-slot-6 svg { width: clamp(7rem, 10.6vw, 8.75rem); height: auto; }
    .sticker-slot-3 .draggable-sticker { padding: 0.85rem 1.25rem; }
    .sticker-slot-3 [data-edit-id="text-auto-14"] { font-size: clamp(1.3rem, 1.85vw, 1.6rem); }
    .sticker-slot-3 [data-edit-id="text-auto-15"] { font-size: 0.72rem; }
    .sticker-slot-5 .draggable-sticker { padding: 0.85rem 1.15rem; }
    .sticker-slot-5 [data-edit-id="text-auto-17"] { font-size: clamp(1.4rem, 2vw, 1.75rem); }
    .sticker-slot-5 [data-edit-id="text-auto-16"],
    .sticker-slot-5 [data-edit-id="text-auto-18"] { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    #manifesto-hero-subpanel .sticker-pop,
    .manifesto-para-reveal {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }
}

/* Floating Animation */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-7px) rotate(2deg); }
}
.animate-float {
    animation: floatSlow 4s ease-in-out infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spinSlow 16s linear infinite;
}

/* ==========================================
   HORIZONTAL SCROLL & SECTION ANIMATIONS
   ========================================== */
.justify-last-center {
    text-align: justify;
    text-align-last: center;
}
.reveal-on-scroll {
    opacity: 1;
    transform: none;
}
.fanned-card-item {
    opacity: 1;
    transform: translateY(0) rotate(var(--fan-rot, 0deg)) scale(1);
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.45s ease;
}
.fanned-card-item.fan-in {
    opacity: 1;
    transform: translateY(0) rotate(var(--fan-rot, 0deg)) scale(1);
}
/* Clean Non-Clashing Section Layout so all cards, Drawing Wall & Footer are 100% visible */
.stack-section {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.14);
}
.section-anim-title {
    opacity: 0;
    transform: translateY(36px) scale(0.96);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-anim-line {
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.section-anim-sub {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.16s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.16s;
}
.section-anim-card {
    opacity: 0;
    transform: translateY(48px) rotate(var(--card-init-rot, 0deg)) scale(0.95);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-on-scroll.is-visible .section-anim-title,
.reveal-on-scroll.is-visible .section-anim-sub {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.reveal-on-scroll.is-visible .section-anim-line {
    transform: scaleX(1);
}
.reveal-on-scroll.is-visible .section-anim-card {
    opacity: 1;
    transform: translateY(0) rotate(var(--card-final-rot, 0deg)) scale(1);
}
/* Keep prompt box text uniform small size even if edited with line breaks */
#doodle-prompt-box,
#doodle-prompt-box p,
#doodle-prompt-box div,
#doodle-prompt-box span {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
    font-weight: 600;
}

/* ==========================================
   VISUAL EDIT MODE STYLES
   ========================================== */
body.edit-mode-active [data-editable-text="true"] {
    outline: 2px dashed #FFE780;
    outline-offset: 4px;
    cursor: text !important;
    border-radius: 4px;
    transition: background-color 0.15s ease, outline-color 0.15s ease;
}
body.edit-mode-active [data-editable-text="true"]:hover,
body.edit-mode-active [data-editable-text="true"]:focus {
    background-color: rgba(214, 159, 42, 0.18);
    outline: 2.5px solid #F77279;
}
body.edit-mode-active .editable-media-slot {
    position: relative;
    cursor: pointer !important;
}
body.edit-mode-active .editable-media-slot::after {
    content: "📷/🎬 Click to Upload Photo or Video";
    position: absolute;
    inset: 8px;
    background: rgba(17, 17, 17, 0.82);
    color: #FFFBF3;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px dashed #FFE780;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 30;
    text-align: center;
    padding: 8px;
}
body.edit-mode-active .editable-media-slot:hover::after {
    opacity: 1;
}
    
/* Reels & UGC Video Hover Play & Overlay */
.reel-card-item {
    position: relative;
}
.reel-card-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}
.reel-card-item .reel-play-overlay {
    transition: opacity 0.25s ease;
}
.section-anim-card.reel-playing .reel-play-overlay, .reel-card-item.reel-playing .reel-play-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
}

    
.section-anim-card.reel-playing .reel-hover-badge,
.section-anim-card:hover .reel-hover-badge {
    opacity: 0 !important;
    pointer-events: none !important;
}

    
/* Full-Bleed Card & Modal Gallery Slots (Zero White Borders) */
.modal-gallery-slot-item img,
.modal-gallery-slot-item video,
.editable-media-slot img,
.editable-media-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.modal-gallery-slot-item img,
.modal-gallery-slot-item video {
    border-radius: 0.65rem;
    transition: transform 0.25s ease;
}
.modal-gallery-slot-item.is-landscape {
    width: 220px !important;
    aspect-ratio: 4 / 3 !important;
    padding: 0;
}
@media (min-width: 640px) {
    .modal-gallery-slot-item.is-landscape {
        width: 245px !important;
    }
}
.event-media-slot {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #FFFBF3;
    position: relative;
    overflow: hidden;
}
.event-media-slot img,
.event-media-slot video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.event-media-slot[data-media-id="media-11"] img {
    object-position: center 45%;
}
.modal-gallery-slot-item:hover img,
.modal-gallery-slot-item:hover video {
    transform: scale(1.02);
}

/* Accessibility: Keyboard Focus Ring */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #FFE780;
    outline-offset: 2px;
}

/* ==========================================
   UNIFIED TOP BAR & RESPONSIVE NAV TABS
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 85;
    background: rgba(255, 251, 243, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid #111111;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

@media (min-width: 640px) {
    .site-header {
        padding: 9px 24px;
    }
}

.desktop-nav-tabs {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 4px;
    border-top: 1px dashed rgba(17, 17, 17, 0.16);
}

@media (min-width: 768px) {
    .desktop-nav-tabs {
        order: 0;
        width: auto;
        padding-top: 0;
        border-top: none;
        gap: 8px;
    }
    .site-header {
        flex-wrap: nowrap;
    }
}

.header-replay-label {
    display: none;
}

@media (min-width: 1200px) {
    .header-replay-label {
        display: inline;
    }
}

.mobile-nav-dock {
    display: none !important;
}

.nav-tab-pill {
    font-family: 'Anton', sans-serif;
    letter-spacing: 0.04em;
    font-size: 12px;
    padding: 4px 11px;
    border-radius: 7px;
    white-space: nowrap;
    text-decoration: none;
}

@media (min-width: 1024px) {
    .nav-tab-pill {
        font-size: 13px;
        padding: 5px 13px;
    }
}

/* ==========================================
   UNCROPPED SHOWCASE CAROUSELS (1 / 2 / 3 COMPLETE CARDS)
   ========================================== */
.showcase-carousel-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2.25rem;
}

@media (min-width: 640px) {
    .showcase-carousel-row {
        gap: 14px;
        margin-top: 2.75rem;
    }
}

.showcase-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: #FFFBF3;
    color: #111111;
    border: 1.5px solid #111111;
    box-shadow: 3px 3px 0px #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease;
    z-index: 15;
}

@media (min-width: 640px) {
    .showcase-arrow-btn {
        width: 44px;
        height: 44px;
    }
}

.showcase-arrow-btn:hover {
    background: #FFE780;
    transform: scale(1.06);
}

.showcase-arrow-btn:active {
    transform: scale(0.95);
}

.showcase-arrow-btn.is-hidden-arrow {
    opacity: 0;
    pointer-events: none;
}

.showcase-track {
    flex: 1;
    min-width: 0;
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 12px 6px 18px 6px;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 6px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.showcase-track.showcase-track--fit {
    justify-content: center;
}

.showcase-track::-webkit-scrollbar {
    display: none;
}

.showcase-card {
    box-sizing: border-box;
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .showcase-track {
        gap: 20px;
    }
    .showcase-card {
        flex: 0 0 calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (min-width: 900px) {
    .showcase-card {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media (min-width: 1200px) {
    .showcase-card {
        flex: 0 0 calc((100% - 60px) / 4);
        max-width: calc((100% - 60px) / 4);
    }
}

/* Ensure anchor scroll never gets tucked under fixed header */
section[id], footer[id] {
    scroll-margin-top: 68px;
}

/* Desktop Hero Fit & Sticky Panel 2B Clearance */
@media (min-width: 1024px) {
    #hero {
        height: 100vh;
        min-height: 0;
        padding-top: 66px;
        padding-bottom: 16px;
    }
    #hero .hero-inner-wrap {
        justify-content: space-evenly;
    }
    #hero .hero-headline-block {
        margin-top: 0;
        margin-bottom: 0.25rem;
    }
    #hero .hero-star-icon {
        width: clamp(20px, 3vh, 30px);
        height: clamp(20px, 3vh, 30px);
        margin-bottom: 2px;
    }
    #hero h1[data-edit-id="text-0"] {
        font-size: clamp(2.1rem, min(4.6vw, 7.2vh), 4.6rem) !important;
        line-height: 0.98;
    }
    #hero .hero-main-cluster {
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        max-width: min(70rem, 128vh);
    }
    #hero #about-me {
        padding: clamp(0.65rem, 1.4vh, 1.15rem) clamp(1rem, 2vw, 1.5rem);
        margin-bottom: clamp(0.65rem, 1.9vh, 1.35rem);
        gap: clamp(0.75rem, 1.8vw, 1.5rem);
    }
    #hero #about-me .editable-media-slot {
        width: clamp(4.25rem, 9.2vh, 6rem);
        height: clamp(4.25rem, 9.2vh, 6rem);
    }
    #hero .hero-cards-grid {
        gap: clamp(0.85rem, 1.6vw, 1.5rem);
        align-items: center;
    }
    #hero .hero-cards-grid > div {
        aspect-ratio: 4 / 3.85;
        max-height: 30vh;
    }
    #hero .hero-card-label {
        font-size: clamp(0.68rem, 0.95vw, 0.875rem);
    }
    #hero .hero-bottom-spacer {
        display: none;
    }
    #manifesto-cards-subpanel {
        padding-top: 5rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-bottom: 5.5rem !important;
    }
}

@media (max-width: 767px) {
    .nav-tab-pill {
        font-size: 11px;
        padding: 3px 8px;
    }
    #hero,
    #art-illustration,
    #brand-collabs,
    #art-events,
    #content-creation {
        padding-top: 7.25rem !important;
    }
    section[id],
    footer[id] {
        scroll-margin-top: 106px;
    }
}
