/* ==========================================================================
   Base Styles, Font Overrides and Paper Textures
   ========================================================================== */

body {
    font-family: 'Inter', sans-serif !important;
}

.font-sans {
    font-family: 'Inter', sans-serif !important;
}

.font-marker {
    font-family: 'Permanent Marker', cursive !important;
}

.font-caveat {
    font-family: 'Caveat', cursive !important;
}

.font-kalam {
    font-family: 'Kalam', cursive !important;
}

.font-typewriter {
    font-family: 'Special Elite', monospace !important;
}

body {
    background-color: #F7F4EE;
    background-image: 
        radial-gradient(#111111 0.75px, transparent 0.75px), 
        radial-gradient(#111111 0.75px, #F7F4EE 0.75px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.96;
}

@media (max-width: 767px) {
    body {
        background-image: 
            radial-gradient(rgba(17, 17, 17, 0.2) 0.75px, transparent 0.75px), 
            radial-gradient(rgba(17, 17, 17, 0.2) 0.75px, #F7F4EE 0.75px);
    }
}

/* Custom rough brush textures or scrapbook elements */
.paper-texture {
    background-color: #ffffff;
    position: relative;
}
.paper-texture::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 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.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: multiply;
}

.dark-paper-texture {
    background-color: #111111;
    position: relative;
}
.dark-paper-texture::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Brush strokes & hand-drawn outlines */
.brush-border {
    border: 3px solid #111111;
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
}

.marker-highlight {
    position: relative;
    z-index: 1;
}
.marker-highlight::after {
    content: '';
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: 2px;
    height: 45%;
    background-color: #C7F240;
    z-index: -1;
    transform: rotate(-1deg);
    border-radius: 4px;
    opacity: 0.85;
}

.yellow-marker-highlight::after {
    background-color: #FFE600;
}

/* Torn edges / imperfect look */
.torn-edge-bottom {
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 98% 93%, 95% 89%, 92% 94%, 88% 91%, 85% 95%, 82% 90%, 78% 93%, 75% 89%, 71% 94%, 67% 91%, 63% 95%, 60% 89%, 57% 93%, 53% 90%, 50% 94%, 46% 91%, 42% 95%, 39% 89%, 36% 93%, 32% 90%, 28% 94%, 25% 91%, 21% 95%, 18% 89%, 14% 93%, 10% 90%, 7% 94%, 3% 91%, 0% 95%);
}

.torn-edge-top {
    clip-path: polygon(0% 10%, 3% 5%, 7% 9%, 10% 4%, 14% 8%, 18% 3%, 21% 9%, 25% 4%, 28% 8%, 32% 3%, 36% 9%, 39% 4%, 42% 8%, 46% 3%, 50% 9%, 53% 4%, 57% 8%, 60% 3%, 63% 9%, 67% 4%, 71% 8%, 75% 3%, 78% 9%, 82% 4%, 85% 8%, 88% 3%, 92% 9%, 95% 4%, 98% 8%, 100% 3%, 100% 100%, 0% 100%);
}

.torn-paper {
    clip-path: polygon(
        2% 2%, 25% 1%, 50% 3%, 75% 1%, 98% 2%, 
        97% 15%, 99% 30%, 97% 45%, 100% 60%, 98% 75%, 99% 90%, 97% 98%, 
        75% 97%, 50% 99%, 25% 97%, 3% 98%, 
        1% 90%, 3% 75%, 0% 60%, 2% 45%, 0% 30%, 3% 15%, 1% 2%
    );
}

/* Hand drawn orbit animation */
@keyframes orbit {
    0% { transform: rotate(0deg) scaleY(0.4) rotate(0deg); }
    100% { transform: rotate(360deg) scaleY(0.4) rotate(-360deg); }
}


/* ==========================================================================
   Global Site Footer
   ========================================================================== */

/* Blue grid paper background */
.footer-grid-bg {
    background-color: #0d3ab0;
    position: relative;
}

.footer-grid-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    filter: url(#footer-brush-filter);
    transform: rotate(-2.5deg) scale(1.06);
    transform-origin: center center;
    pointer-events: none;
    z-index: 0;
}

/* Instagram post card */
.insta-card {
    position: relative;
    border: 2.5px solid #fff;
    border-radius: 8px 14px 10px 12px / 12px 10px 14px 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.insta-card:hover {
    transform: translateY(-4px) rotate(0.5deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.insta-card-icon {
    position: absolute;
    top: 8px; right: 8px;
    opacity: 0.85;
    z-index: 10;
}

/* Footer link hover */
.footer-link {
    transition: color 0.15s ease;
    font-size: 0.875rem;
    line-height: 1.9;
}
.footer-link:hover { color: #ffde59; }

/* Subscribe button */
.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffde59;
    color: #111111;
    font-family: 'Permanent Marker', cursive;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border: 3px solid #111;
    border-radius: 255px 8px 235px 8px / 8px 235px 8px 255px;
    box-shadow: 4px 4px 0 0 rgba(0,0,0,0.5);
    filter: url(#brush-button);
    transition: all 0.15s ease;
    cursor: pointer;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
}
.subscribe-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.5);
}

/* Email input footer */
.footer-email-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Special Elite', monospace;
    font-size: 0.85rem;
    padding: 6px 2px;
    outline: none;
    transition: border-color 0.2s;
}
.footer-email-input::placeholder { color: rgba(255,255,255,0.5); }
.footer-email-input:focus { border-color: #ffde59; }

/* Social icon buttons */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 2.5px solid rgba(255,255,255,0.7);
    border-radius: 8px 14px 10px 12px / 12px 10px 14px 8px;
    transition: all 0.2s ease;
    color: #fff;
}
.social-icon-btn:hover {
    background-color: #ffde59;
    color: #111;
    border-color: #111;
    transform: rotate(-3deg) scale(1.1);
}

/* Sticker circle */
.footer-sticker {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 2.5px solid rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
}

/* Footer tagline marquee */
@keyframes footer-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.footer-marquee-track {
    display: flex;
    width: max-content;
    animation: footer-marquee 20s linear infinite;
}


/* ==========================================================================
   Extracted Inline Styles
   ========================================================================== */

.footer-top-border-container {
    top: -38px;
    height: 50px;
}

.footer-top-border-svg {
    fill: currentColor;
    filter: url(#footer-brush-filter);
}

.stalk-arrow-svg {
    margin-top: 4px;
}

.insta-cards-row {
    scroll-snap-type: x mandatory;
}

.insta-card-hiring {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    min-width: 155px;
    max-width: 200px;
}

.insta-card-story {
    min-width: 155px;
    max-width: 200px;
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 40%, #1a2c10 100%);
}

.insta-square-brown {
    background: #8B4513;
}

.insta-square-green {
    background: #228B22;
}

.insta-square-gold {
    background: #DAA520;
}

.insta-square-blue {
    background: #4169E1;
}

.insta-card-showcase {
    min-width: 155px;
    max-width: 200px;
    background: linear-gradient(160deg, #2a3d1a 0%, #1a2d12 100%);
}

.insta-card-agencies {
    min-width: 155px;
    max-width: 200px;
    background: linear-gradient(160deg, #0b1a3a 0%, #0d2255 100%);
}

.insta-card-growth {
    min-width: 155px;
    max-width: 200px;
    background: #f8f7f4;
    border: 2.5px solid rgba(255,255,255,0.5);
}

.footer-sticker-smiley {
    border-color: rgba(0,0,0,0.6);
    transform: rotate(15deg);
}

.footer-divider-svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    filter: url(#footer-brush-filter);
    stroke-linecap: round;
}

.footer-logo-container {
    transition: filter 0.3s ease;
}

.footer-logo-img {
    /* Logo scaling and alignment are handled via max-height/max-width and object-contain/object-left classes in HTML */
}

.footer-newsletter-underline-svg {
    fill: none;
    stroke-linecap: round;
    filter: url(#footer-brush-filter);
}
