/* =========================================
   TORN PAPER & DOODLES
   ========================================= */

/* Torn Divider */
.torn-divider {
    height: 60px;
    width: 100%;
    position: relative;
    background: var(--bg-color);
    margin: -30px 0;
    z-index: 10;
    filter: drop-shadow(0px -5px 0px rgba(0, 0, 0, 0.05));
    overflow: hidden;
}

.divider-top {
    /* CSS Mask for Torn Edge */
    background: var(--text-primary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 60' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L1200,0 L1200,60 L0,60 Z' fill='black'/%3E%3Cpath d='M0,60 Q10,30 20,60 T40,60 T60,60 T80,60 T100,60 T120,60 T140,60 T160,60 T180,60 T200,60 T220,60 T240,60 T260,60 T280,60 T300,60 T320,60 T340,60 T360,60 T380,60 T400,60 T420,60 T440,60 T460,60 T480,60 T500,60 T520,60 T540,60 T560,60 T580,60 T600,60 T620,60 T640,60 T660,60 T680,60 T700,60 T720,60 T740,60 T760,60 T780,60 T800,60 T820,60 T840,60 T860,60 T880,60 T900,60 T920,60 T940,60 T960,60 T980,60 T1000,60 T1020,60 T1040,60 T1060,60 T1080,60 T1100,60 T1120,60 T1140,60 T1160,60 T1180,60 T1200,60' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 60' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L1200,0 L1200,60 L0,60 Z' fill='black'/%3E%3Cpath d='M0,60 Q10,30 20,60 T40,60 T60,60 T80,60 T100,60 T120,60 T140,60 T160,60 T180,60 T200,60 T220,60 T240,60 T260,60 T280,60 T300,60 T320,60 T340,60 T360,60 T380,60 T400,60 T420,60 T440,60 T460,60 T480,60 T500,60 T520,60 T540,60 T560,60 T580,60 T600,60 T620,60 T640,60 T660,60 T680,60 T700,60 T720,60 T740,60 T760,60 T780,60 T800,60 T820,60 T840,60 T860,60 T880,60 T900,60 T920,60 T940,60 T960,60 T980,60 T1000,60 T1020,60 T1040,60 T1060,60 T1080,60 T1100,60 T1120,60 T1140,60 T1160,60 T1180,60 T1200,60' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    transform: rotate(180deg);
}

/* Doodles */
.doodle {
    position: absolute;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.doodle-star-1 {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 20px;
    transform: rotate(15deg);
    filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.2));
}

.work-header-collage {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.doodle-red-circle {
    position: absolute;
    top: -20px;
    left: -30px;
    width: 120%;
    height: 180%;
    border: 4px solid var(--accent-color);
    border-radius: 90% 80% 85% 95% / 90% 95% 80% 90%;
    transform: rotate(-5deg);
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* Enhancements - Scribble Cursor Override */
.cursor-outline {
    border-radius: 50% 60% 50% 70% / 60% 50% 70% 60%;
    border: 2px dashed var(--accent-color);
    background: transparent;
    animation: scribble-spin 10s linear infinite;
}

.cursor-dot {
    background: var(--text-primary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

@keyframes scribble-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Wiggle Hover Effect */
@keyframes wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    75% {
        transform: rotate(-2deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.tape-strip:hover {
    animation: wiggle 0.4s ease-in-out;
}


/* Extra Tape Positions */
.tape-bottom-right {
    top: auto;
    bottom: -15px;
    right: -20px;
    left: auto;
    transform: rotate(-45deg);
}

/* Sticker Burst "NEW!" */
.sticker-burst-new {
    position: absolute;
    top: 50px;
    right: 15%;
    background: var(--accent-color);
    color: #fff;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    transform: rotate(15deg);
    z-index: 5;
    /* Starburst Shape using Conic Gradient */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%,
            50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: pulse-rotate 3s infinite ease-in-out;
}

@keyframes pulse-rotate {
    0% {
        transform: rotate(15deg) scale(1);
    }

    50% {
        transform: rotate(10deg) scale(1.1);
    }

    100% {
        transform: rotate(15deg) scale(1);
    }
}

/* Random Paper Scraps */
/* =========================================
   ABOUT COLLAGE CONSOLIDATION - EXACT MATCH REFINE
   ========================================= */

/* Main Container: Two Columns */
.about-collage-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    /* Ratio similar to reference */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 80px 20px;
    align-items: flex-start;
}

/* Left Column: Bio Text Only */
.about-col-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 5;
    padding-top: 20px;
    order: 0;
}

/* Right Column: The Gray Board & Bottom Strips */
.about-col-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    order: 1;
}

/* --- THE GRAY BOARD (Experience/Education Container) --- */
.gray-board-container {
    background-color: #d1d1d1;
    /* Visible gray */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
    border-radius: 30px;
    padding: 60px 40px 50px 50px;
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.1),
        /* Inner shadow for depth */
        15px 15px 40px rgba(0, 0, 0, 0.2);
    /* Drop shadow */
    position: relative;
    /* Rotation to match the board angle in reference */
    transform: rotate(1.5deg);
    margin-right: 20px;
}

/* Texture overlay for realism */
.gray-board-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.05) 100%);
    border-radius: 30px;
    pointer-events: none;
}

/* --- LABELS (Tape style) --- */
.sticker-label {
    display: inline-block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 10;
}

.sticker-label-red {
    background: #FF2E2E;
    /* Bright Red */
    color: #fff;
    transform: rotate(-3deg);
    top: -45px;
    left: 0px;
}

.sticker-label-black {
    background: #000;
    color: #fff;
    padding: 8px 20px;
    font-size: 1.3rem;
    position: absolute;
}

/* Positioning labels on the board */
.gray-board-container .sticker-label-black {
    top: -35px;
    /* Move it higher up */
    left: 20px;
    transform: rotate(-2deg);
    z-index: 20;
    /* Ensure on top of card */
}

/* Wrapper for sections inside the board */
.collage-section-wrapper {
    position: relative;
    margin-bottom: 40px;
    /* More space between sections */
    padding-top: 20px;
    /* Give space for the label */
}

/* --- WHITE PAPER SCRAPS --- */
.scrap-card {
    background: #fff;
    padding: 30px 25px 25px 25px;
    /* More top padding just in case */
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.15);
    position: relative;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #222;
    /* Uneven edges effect via clip-path (subtle) */
    clip-path: polygon(0% 1%, 100% 0%, 99% 99%, 1% 100%);
}

.card-bio {
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scraps on the Gray Board */
.gray-board-container .scrap-card {
    margin-bottom: 25px;
    transform: rotate(-0.5deg);
    background: #fdfdfd;
}

.gray-board-container .scrap-card:nth-child(even) {
    transform: rotate(0.5deg);
}

/* --- TYPOGRAPHY DETAILS --- */
/* The "Pink Highlight" Marker style */
.highlight-pink {
    background-color: #ffcfcf;
    /* Pastel pink */
    padding: 0 4px;
    box-decoration-break: clone;
    font-weight: 500;
}

.collage-role {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.collage-date {
    font-weight: 400;
    font-size: 0.9rem;
    color: #555;
    margin-left: 8px;
}

.typewriter-text {
    font-family: 'Cutive Mono', monospace;
    font-size: 1.05rem;
}

/* --- BOTTOM STRIPS (Skills/Expertise) --- */
.skills-expertise-container {
    padding-left: 40px;
    /* Indent from left */
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.strip-wrapper {
    display: flex;
    align-items: center;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.15));
}

.strip-label {
    background: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 20px;
    /* Boxy */
    font-size: 1.2rem;
    z-index: 2;
    transform: rotate(-1deg);
}

.strip-content {
    background: #fff;
    padding: 12px 25px;
    font-family: 'Cutive Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
    /* Stretch */
    transform: rotate(0.5deg);
    margin-left: -5px;
    /* Visual connection */
    clip-path: polygon(0 0, 100% 2%, 99% 98%, 0 100%);
    /* Paper strip look */
}

/* Sticker Kiss */
.sticker-kiss {
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 100px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10,30 Q30,10 50,25 Q70,10 90,30 Q70,50 50,35 Q30,50 10,30 Z' fill='%23D00000' opacity='0.85'/%3E%3C/svg%3E");
    transform: rotate(-20deg);
    z-index: 10;
}

/* Responsive */
@media (max-width: 900px) {
    .about-collage-container {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }

    .gray-board-container {
        margin-right: 0;
        padding: 50px 20px 40px 20px;
    }

    .skills-expertise-container {
        padding-left: 0;
    }
}

/* =========================================
   NEW SCRAPBOOK SCRAP & STICKER STYLES
   ========================================= */

/* Custom Cover Background Art Collage */
.cover-layout {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    background-color: #F4F1EA;
    background-image: url('../assets/cover_background_art_v5.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Left/Right Torn Cardboard Sidebars */
.torn-sidebar-left,
.torn-sidebar-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15vw;
    min-width: 150px;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.torn-sidebar-left {
    left: 0;
    background-color: #7b6f63;
    /* Craft/cardboard color */
    background-image: var(--paper-texture);
    /* Jagged torn edge on the right side of sidebar */
    clip-path: polygon(0 0, 100% 0, 85% 10%, 95% 20%, 82% 30%, 90% 40%, 80% 50%, 88% 60%, 79% 70%, 92% 80%, 83% 90%, 98% 100%, 0 100%);
}

.torn-sidebar-right {
    right: 0;
    background-color: #4a4540;
    /* Dark grey cardboard */
    background-image: var(--paper-texture);
    /* Jagged torn edge on the left side of sidebar */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 2% 100%, 17% 90%, 8% 80%, 21% 70%, 10% 60%, 18% 50%, 9% 40%, 20% 30%, 5% 20%, 15% 10%);
}

/* Cover Text Elements */
.cover-center {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sticker-red-block {
    background: #E63946;
    color: #fff;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem;
    transform: rotate(-3deg);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: -10px;
    z-index: 12;
    border-radius: 4px;
    text-transform: uppercase;
}

.giant-paper-slip {
    background: #fff;
    padding: 24px 60px;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 4.5rem;
    line-height: 1;
    color: #000;
    transform: rotate(1deg);
    box-shadow: 8px 12px 25px rgba(0, 0, 0, 0.25);
    z-index: 11;
    /* Torn paper slip clip path */
    clip-path: polygon(2% 2%, 98% 1%, 100% 95%, 96% 98%, 60% 96%, 40% 99%, 15% 94%, 0 98%);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.slanted-paper-name {
    background: #fffdf0;
    padding: 8px 30px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: #222;
    transform: rotate(-2deg);
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 12;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.slanted-paper-name span {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-right: 8px;
    vertical-align: middle;
}

/* Floating Small Labels (Mumbai, Email) */
.floating-paper-label {
    position: absolute;
    background: #fff;
    padding: 6px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    box-shadow: 3px 5px 10px rgba(0, 0, 0, 0.15);
    z-index: 15;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.label-top-left {
    top: 40px;
    left: 8vw;
    transform: rotate(-2deg);
    clip-path: polygon(1% 5%, 99% 1%, 98% 95%, 0 100%);
}

.label-top-right {
    top: 40px;
    right: 8vw;
    transform: rotate(3deg);
    clip-path: polygon(0 0, 100% 3%, 97% 97%, 3% 95%);
}

/* Red marker circled year label */
.circled-year-badge {
    position: absolute;
    top: 100px;
    right: 12vw;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    color: #E63946;
    z-index: 15;
    transform: rotate(15deg);
    padding: 5px 15px;
}

.circled-year-badge::before {
    content: '';
    position: absolute;
    inset: -5px -15px;
    border: 3px solid #E63946;
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(-5deg);
    pointer-events: none;
}

/* Stickers on Cover */
.screaming-mouth-sticker,
.funky-laptop-sticker,
.spidey-sticker {
    position: absolute;
    bottom: 110px;
    right: 7vw;
    width: 220px;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    z-index: 16;
    transform: rotate(-6deg);
    filter: drop-shadow(5px 8px 12px rgba(0, 0, 0, 0.22));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.funky-laptop-sticker:hover,
.spidey-sticker:hover {
    transform: rotate(-2deg) scale(1.06);
    filter: drop-shadow(6px 12px 16px rgba(0, 0, 0, 0.28));
}

.paper-star-sticker {
    position: absolute;
    z-index: 15;
    filter: drop-shadow(4px 6px 10px rgba(0, 0, 0, 0.15));
}

.star-1 {
    top: 250px;
    left: 8vw;
    width: 80px;
    height: 80px;
    transform: rotate(20deg);
}

.star-2 {
    bottom: 300px;
    left: 10vw;
    width: 60px;
    height: 60px;
    transform: rotate(-15deg);
}

.star-3 {
    bottom: 220px;
    right: 12vw;
    width: 70px;
    height: 70px;
    transform: rotate(5deg);
}

.star-4 {
    top: 160px;
    right: 9vw;
    width: 90px;
    height: 90px;
    transform: rotate(-25deg);
}

/* Bottom Links Group on Cover */
.cover-links-group {
    position: absolute;
    bottom: 60px;
    left: 8vw;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 15;
}

.cover-link-slip {
    background: #fff;
    padding: 8px 25px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: #222;
    text-transform: uppercase;
    box-shadow: 3px 5px 8px rgba(0, 0, 0, 0.15);
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.cover-link-slip:hover {
    background: #E63946;
    color: #fff;
    transform: scale(1.05) rotate(-3deg);
}

.cover-link-slip:nth-child(1) {
    transform: rotate(-2deg);
}

.cover-link-slip:nth-child(2) {
    transform: rotate(1deg);
    margin-left: 20px;
}

.cover-link-slip:nth-child(3) {
    transform: rotate(-1.5deg);
    margin-left: 10px;
}

/* Floating Zine Details Widget */
.floating-zine-widget {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.floating-zine-widget img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
}

.btn-follow {
    background: #fff;
    color: #000;
    border: none;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-follow:hover {
    background: #E63946;
    color: #fff;
}

.widget-likes {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #aaa;
}

.widget-likes span {
    color: #fff;
    font-weight: 700;
}

/* =========================================
   SUBPAGE HEADER TAB NAVIGATION BAR
   ========================================= */
.scrapbook-nav-header {
    width: 100%;
    padding: 15px 40px 15px 40px;
    display: flex;
    justify-content: flex-end;
    background: rgba(244, 241, 234, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: sticky;
    top: 65px;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.scrapbook-tabs-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.scrapbook-tab {
    background: #fff;
    padding: 8px 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    text-transform: uppercase;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, background-color 0.2s;
    position: relative;
}

.scrapbook-tab:hover {
    transform: translateY(-2px) rotate(-1deg);
    background-color: #fffdf0;
}

.scrapbook-tab.active {
    z-index: 10;
}

.scrapbook-tab.active::before {
    content: '';
    position: absolute;
    inset: -4px -10px;
    border: 2px solid #E63946;
    border-radius: 50% 60% 40% 70% / 40% 50% 60% 50%;
    transform: rotate(-3deg);
    pointer-events: none;
}

.scrapbook-tab:nth-child(even) {
    transform: rotate(1deg);
}

.scrapbook-tab:nth-child(odd) {
    transform: rotate(-1.5deg);
}

/* Profile cutout style */
.profile-grayscale-cutout {
    position: relative;
    transform: rotate(-2deg);
    display: inline-block;
    filter: grayscale(100%) contrast(1.15);
    transition: filter 0.3s ease;
}

.profile-grayscale-cutout:hover {
    filter: grayscale(0%) contrast(1.05);
}

.profile-grayscale-cutout img {
    border: 15px solid #fff;
    box-shadow: 4px 8px 15px rgba(0, 0, 0, 0.2);
    max-width: 280px;
    height: auto;
    object-fit: cover;
    clip-path: polygon(2% 2%, 98% 4%, 100% 96%, 95% 98%, 60% 95%, 40% 99%, 15% 93%, 0 97%);
}

/* Lined notebook paper bio styling */
.lined-paper-card {
    background: #fffdf5;
    background-image: linear-gradient(#e1effa 1px, transparent 1px);
    background-size: 100% 2rem;
    padding: 2rem 2.5rem;
    border: 1px solid #e2ded0;
    box-shadow: 3px 6px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    line-height: 2rem !important;
}

.lined-paper-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.2rem;
    width: 2px;
    background: #ffc9c9;
}

.lined-paper-card p {
    margin: 0;
    text-indent: 1rem;
    color: #333;
}

/* Red pen circle doodle inside Subpages */
.highlight-circle-doodle {
    position: relative;
    display: inline-block;
}

.highlight-circle-doodle::after {
    content: '';
    position: absolute;
    inset: -8px -12px;
    border: 3px solid #E63946;
    border-radius: 70% 30% 60% 40% / 50% 60% 40% 50%;
    transform: rotate(-6deg);
    pointer-events: none;
}

/* Perforated postage stamp frame */
.postage-stamp-frame {
    background: #fff;
    padding: 30px;
    border: 10px solid #fff;
    position: relative;
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.15);
    /* Stamp perforated edge using radial-gradient dots */
    background-image: radial-gradient(circle, #EAE6DE 50%, transparent 50%);
    background-size: 16px 16px;
    background-position: -8px -8px;
    background-repeat: repeat;
    /* We add an inner content box with clean background */
}

.postage-stamp-inner {
    background: #EAE6DE;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stamp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stamp-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

.stamp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Story frames */
.story-frame {
    background: #fff;
    padding: 10px 10px 30px 10px;
    box-shadow: 3px 6px 15px rgba(0, 0, 0, 0.15);
    transform: rotate(var(--rotation, 1deg));
    transition: transform 0.3s;
}

.story-frame:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 5;
}

.story-frame img {
    aspect-ratio: 9 / 16;
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #eee;
}

/* Standard Back Button */
.back-btn-strip {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 150;
}

.back-btn-strip a {
    background: #000;
    color: #fff;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-weight: 700;
    transform: rotate(-2deg);
    display: inline-block;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.back-btn-strip a:hover {
    background: #E63946;
    transform: rotate(0) scale(1.05);
}

/* =========================================
   SOCIAL MEDIA PORTFOLIO SHOWCASE
   ========================================= */

.social-media-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 100px 0;
    align-items: center;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .social-media-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
}

.collage-showcase-card {
    background: #fff;
    padding: 15px;
    box-shadow: 10px 15px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    transform: rotate(var(--rot, 0.5deg));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 100%;
}

.collage-showcase-card:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 10;
}

.collage-showcase-card img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Red Marker Circle around Brand Name */
.circled-brand {
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #111;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.circled-brand::after {
    content: '';
    position: absolute;
    inset: -8px -15px;
    border: 3px solid #E63946;
    border-radius: 70% 30% 60% 40% / 50% 60% 40% 50%;
    transform: rotate(-3deg);
    pointer-events: none;
}

/* Handwritten subtext labels */
.handwritten-arrow-label {
    font-family: 'Caveat', cursive;
    color: #E63946;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

/* Custom tape labels */
.sticker-label-black-mini {
    background: #000;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 6px 14px;
    display: inline-block;
    transform: rotate(-1.5deg);
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

/* Horizontal Scroll Ribbon for Starbucks */
.starbucks-ribbon-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 10px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.starbucks-ribbon-container::-webkit-scrollbar {
    height: 8px;
}

.starbucks-ribbon-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.starbucks-ribbon-container::-webkit-scrollbar-thumb {
    background: rgba(230, 57, 70, 0.3);
    border-radius: 4px;
}

.starbucks-ribbon-container::-webkit-scrollbar-thumb:hover {
    background: rgba(230, 57, 70, 0.6);
}

.starbucks-ribbon-image {
    height: 380px;
    width: auto;
    max-width: none;
    display: block;
    box-shadow: 8px 12px 25px rgba(0, 0, 0, 0.15);
    border: 8px solid #fff;
    transform: rotate(-0.5deg);
    transition: transform 0.3s;
}

.starbucks-ribbon-image:hover {
    transform: rotate(0deg) scale(1.005);
}

/* Responsive 3x4 Grid for Case Studies */
.grid-3x4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 700px;
}

.grid-3x4-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 5px 8px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, z-index 0.3s ease;
    position: relative;
    background-color: #eee;
}

.grid-3x4-item:hover {
    transform: scale(1.05) rotate(1deg);
    z-index: 10;
    box-shadow: 10px 15px 25px rgba(0, 0, 0, 0.35);
}

.grid-3x4-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .grid-3x4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .starbucks-ribbon-image {
        height: 240px;
    }
}

/* =========================================
   COVER PAGE STICKY NAV
   ========================================= */
.cover-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(244, 241, 234, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cover-nav-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    background: #111;
    color: #fff;
    padding: 5px 14px;
    transform: rotate(-2deg);
    display: inline-block;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cover-nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cover-nav-link {
    background: #fff;
    color: #222;
    padding: 7px 18px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s, transform 0.2s, color 0.2s;
    display: inline-block;
}

.cover-nav-link:nth-child(1) {
    transform: rotate(-1.5deg);
}

.cover-nav-link:nth-child(2) {
    transform: rotate(1deg);
}

.cover-nav-link:nth-child(3) {
    transform: rotate(-0.8deg);
}

.cover-nav-link:nth-child(4) {
    transform: rotate(1.5deg);
}

.cover-nav-link:nth-child(5) {
    transform: rotate(-1deg);
}

.cover-nav-link:hover {
    background: #E63946;
    color: #fff;
    transform: scale(1.05) rotate(0deg);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.cover-nav-link.contact-link {
    background: #111;
    color: #fff;
}

.cover-nav-link.contact-link:hover {
    background: #E63946;
}

@media (max-width: 768px) {
    .cover-sticky-nav {
        padding: 14px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .cover-nav-links {
        gap: 8px;
    }

    .cover-nav-link {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* =========================================
   CONSISTENT CONTACT FOOTER
   ========================================= */
.site-contact-footer {
    margin-top: 80px;
    padding: 60px 40px;
    border-top: 2px dashed rgba(0, 0, 0, 0.12);
    background: #fffdf5;
    position: relative;
    overflow: hidden;
}

.site-contact-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-heading em {
    font-weight: 400;
    font-style: italic;
}

.footer-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 36px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.footer-stamp-link {
    display: inline-block;
    padding: 10px 22px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid #222;
    color: #222;
    background: #fff;
    box-shadow: 3px 3px 0 #222;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-stamp-link:nth-child(1) {
    transform: rotate(-1.5deg);
}

.footer-stamp-link:nth-child(2) {
    transform: rotate(1deg);
}

.footer-stamp-link:nth-child(3) {
    transform: rotate(-0.8deg);
}

.footer-stamp-link:nth-child(4) {
    transform: rotate(1.2deg);
}

.footer-stamp-link:hover {
    background: #E63946;
    color: #fff;
    border-color: #E63946;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) rotate(0deg);
}

.footer-rubber-stamp {
    display: inline-block;
    border: 3px double #888;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transform: rotate(-10deg);
    opacity: 0.7;
}

.footer-rubber-stamp-inner {
    text-align: center;
    color: #888;
}

.footer-rubber-stamp-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1.2;
    border-bottom: 2px solid #888;
    padding-bottom: 3px;
    margin-bottom: 3px;
}

.footer-rubber-stamp-year {
    font-family: 'Cutive Mono', monospace;
    font-size: 0.7rem;
    font-weight: bold;
}

/* =========================================
   STARGEMS CASE STUDY SECTION HEADINGS
   ========================================= */
.case-section-block {
    padding: 60px;
    margin-bottom: 60px;
    position: relative;
}

.case-section-label {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    margin-bottom: 12px;
    transform: rotate(-1deg);
}

.case-section-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
    margin-bottom: 20px;
    transform: rotate(-0.5deg);
    display: inline-block;
}

.case-section-divider {
    border: none;
    border-top: 2px dashed rgba(0, 0, 0, 0.15);
    margin: 60px 0 0 0;
}

@media (max-width: 768px) {
    .case-section-block {
        padding: 40px 20px;
    }

    .footer-heading {
        font-size: 2rem;
    }

    .footer-stamp-link {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}