/* --- CSS VARIABLES FOR CHALKBOARD THEME --- */
:root {
    /* Background: Matte Slate/Charcoal to mimic a clean blackboard */
    --board-bg: #1a1c1a; 
    
    /* Text: Off-white/cream to mimic chalk */
    --chalk-white: #f0f2e6; 
    
    /* Subtle shadow for "chalk dust" effect */
    --chalk-dust: rgba(244, 244, 240, 0.4); 
    
    /* Fonts */
    --font-chalk: 'Caveat', cursive; /* Gives the realistic handwritten feel */
    --font-clean: 'Manrope', sans-serif; /* For small, readable paragraphs */
}

/* --- BASE RESET & SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.chalkboard-theme {
    background-color: var(--board-bg);
    color: var(--chalk-white);
    font-family: var(--font-clean);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    
    /* Optional: A very subtle noise texture can make it look like a real board */
    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.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--chalk-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.wc-wa-sticky {
    position: fixed;
    left: 18px;
    bottom: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 2px dashed rgba(244, 244, 240, 0.55);
    background: rgba(26, 28, 26, 0.88);
    color: var(--chalk-white);
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.wc-wa-sticky:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(244, 244, 240, 0.06);
    border-color: rgba(244, 244, 240, 0.75);
}

.wc-wa-sticky__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-chalk);
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #1a1c1a;
    background: var(--chalk-white);
    box-shadow: 1px 1px 10px rgba(244, 244, 240, 0.18);
}

.wc-wa-sticky__text {
    font-family: var(--font-chalk);
    font-size: 1.55rem;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 1px 1px 2px var(--chalk-dust);
}

@media (max-width: 600px) {
    .wc-wa-sticky {
        left: 12px;
        bottom: 14px;
        padding: 10px 12px;
    }

    .wc-wa-sticky__text {
        font-size: 1.35rem;
    }
}

/* --- THE CHALK EFFECT TYPOGRAPHY --- */
.chalk-heading {
    font-family: var(--font-chalk);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 2px;
    
    /* The magic trick for chalk: a slight blur/shadow */
    text-shadow: 1px 1px 2px var(--chalk-dust);
}

.chalk-text {
    font-family: var(--font-chalk);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.clean-text {
    font-family: var(--font-clean);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(244, 244, 240, 0.8); /* Slightly dimmed so headings pop */
}

/* --- BASIC LAYOUT STRUCTURE --- */
#site-header {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(244, 244, 240, 0.2); /* Dashed line like chalk sectioning */
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.page-section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

#site-footer {
    padding: 80px 0 20px;
    border-top: 1px dashed rgba(244, 244, 240, 0.2);
    text-align: center;
}

.footer-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
/* --- MOBILE NAVIGATION STYLES --- */
.mobile-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block; /* Show on mobile */
    }

    #main-nav {
        display: none; /* Hide standard nav on mobile */
        position: absolute;
        top: 80px; /* Right below the header */
        left: 0;
        width: 100%;
        background-color: var(--board-bg);
        border-bottom: 2px dashed rgba(244, 244, 240, 0.2);
        padding: 30px 0;
        z-index: 999;
    }

    #main-nav.nav-active {
        display: block; /* Show when toggled via JS */
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
/* --- HERO SECTION STYLES --- */
.hero-chalk-board {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Offsets the fixed header */
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeIn 1.2s ease-out forwards;
}

.chalk-tagline {
    font-family: var(--font-chalk);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: rgba(244, 244, 240, 0.7); /* Slightly faded chalk */
    display: block;
    margin-bottom: 20px;
    transform: rotate(-2deg); /* Gives a natural, handwritten tilt */
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 30px;
    line-height: 1.05;
}

.hero-desc {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: rgba(244, 244, 240, 0.85);
}

/* --- CHALK BUTTONS --- */
.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.chalk-btn {
    font-family: var(--font-chalk);
    font-size: 2rem;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Primary Button: Looks like a solid chalk block */
.primary-chalk-btn {
    background-color: var(--chalk-white);
    color: var(--board-bg);
    border: 2px solid var(--chalk-white);
    /* Subtle rough edge effect using box-shadow */
    box-shadow: 2px 2px 5px rgba(244, 244, 240, 0.3), 
                -1px -1px 3px rgba(244, 244, 240, 0.2);
}

.primary-chalk-btn:hover {
    background-color: transparent;
    color: var(--chalk-white);
    transform: translateY(-3px);
}

/* Secondary Button: Looks like a chalk outline */
.secondary-chalk-btn {
    background-color: transparent;
    color: var(--chalk-white);
    border: 2px dashed rgba(244, 244, 240, 0.6); /* Dashed to look hand-drawn */
}

.secondary-chalk-btn:hover {
    border-style: solid;
    border-color: var(--chalk-white);
    background-color: rgba(244, 244, 240, 0.05);
    transform: translateY(-3px);
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: -125px;
    left: 44%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.chalk-arrow-down {
    font-family: var(--font-chalk);
    font-size: 2.5rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .chalk-btn {
        width: 100%;
        justify-content: center;
    }
}
/* --- ABOUT THE COLLECTIVE STYLES --- */
.collective-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.collective-text {
    padding-right: 20px;
}

/* The Tilted Chalk Box */
.chalk-box {
    padding: 40px;
    border: 2px dashed var(--chalk-white);
    border-radius: 8px;
    background-color: rgba(244, 244, 240, 0.02); /* Faint chalk dust background */
    transform: rotate(2deg); /* Handwritten tilt */
    margin-bottom: 40px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.chalk-box:hover {
    transform: rotate(0deg) scale(1.02); /* Straightens out and pops forward on hover */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: rgba(244, 244, 240, 0.05);
}

/* ARCITE Credibility Badge */
.arcite-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px dashed rgba(244, 244, 240, 0.2);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .collective-grid {
        grid-template-columns: 1fr; /* Stacks vertically on tablets and phones */
        gap: 40px;
    }
    .collective-text {
        padding-right: 0;
    }
    .chalk-box {
        transform: rotate(1deg); /* Less tilt on small screens to save space */
    }
}
/* --- CAPABILITIES GRID STYLES --- */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columns by default */
    gap: 30px;
}

/* The Individual Card */
.chalk-service-card {
    border: 2px solid rgba(244, 244, 240, 0.05); /* Very faint solid line initially */
    padding: 40px;
    border-radius: 8px;
    position: relative;
    background: transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Hover State: Looks like it's actively being drawn/highlighted */
.chalk-service-card:hover {
    border-color: rgba(244, 244, 240, 0.6);
    border-style: dashed;
    background: rgba(244, 244, 240, 0.02);
    transform: translateY(-5px);
}

/* Large Background Number */
.chalk-number {
    font-family: var(--font-chalk);
    font-size: 6rem;
    line-height: 1;
    color: rgba(244, 244, 240, 0.03); /* Barely visible */
    position: absolute;
    top: 20px;
    right: 30px;
    pointer-events: none;
    transition: all 0.4s ease;
}

.chalk-service-card:hover .chalk-number {
    color: rgba(244, 244, 240, 0.15); /* Lights up slightly on hover */
    transform: scale(1.1) rotate(5deg);
}

/* Custom Bullet Points for Lists */
.chalk-list {
    list-style: none;
    padding-left: 0;
}

.chalk-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.chalk-list li::before {
    content: '-';
    font-family: var(--font-chalk);
    position: absolute;
    left: 0;
    color: var(--chalk-white);
    font-size: 1.2rem;
    line-height: 1;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .capabilities-grid {
        grid-template-columns: 1fr; /* Stack into 1 column on smaller screens */
        gap: 20px;
    }
    .chalk-service-card {
        padding: 30px 20px;
    }
}
/* --- HOME WORK / PORTFOLIO STYLES --- */
.home-work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Individual Work Card */
.chalk-work-card {
    display: block;
    border: 1px dashed rgba(244, 244, 240, 0.3);
    padding: 15px;
    border-radius: 6px;
    background: transparent;
    transition: all 0.4s ease;
    text-decoration: none;
}

.chalk-work-card:hover {
    border-color: var(--chalk-white);
    background: rgba(244, 244, 240, 0.02);
    transform: translateY(-5px);
}

/* Image Wrapper & Hover Zoom */
.work-img-wrapper {
    width: 100%;
    height: 300px; /* Fixed height for uniformity */
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(244, 244, 240, 0.1);
    position: relative;
    margin-bottom: 20px;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.chalk-work-card:hover .work-img {
    transform: scale(1.05);
    opacity: 1;
}

/* Play Button Overlay (For Video Projects) */
.chalk-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--chalk-white);
    background: rgba(26, 28, 26, 0.6);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px dashed rgba(244, 244, 240, 0.6);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.chalk-work-card:hover .chalk-play-btn {
    opacity: 1;
    border-style: solid;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Text Information */
.work-category {
    font-size: 1.2rem;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
}

.work-title {
    font-size: 2.5rem;
    color: var(--chalk-white);
    margin: 0 0 10px 0;
}

.work-desc {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .home-work-grid {
        grid-template-columns: 1fr; /* Stack vertically on small screens */
    }
    .work-img-wrapper {
        height: 250px;
    }
}
/* --- WHY CHOOSE US / PHILOSOPHY STYLES --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 26px;
}

/* --- HOME WHY US (REWORKED) --- */
.why-us-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: 50px;
    align-items: start;
}

.why-us-intro {
    position: relative;
    padding: 34px;
    border-radius: 16px;
    border: 1px dashed rgba(244, 244, 240, 0.22);
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(244, 244, 240, 0.05), transparent 60%),
        linear-gradient(180deg, rgba(244, 244, 240, 0.025), rgba(244, 244, 240, 0.01));
    box-shadow: 0 14px 45px rgba(0,0,0,0.42);
    overflow: hidden;
}

.why-us-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -25deg,
            rgba(244, 244, 240, 0.035) 0px,
            rgba(244, 244, 240, 0.035) 1px,
            rgba(0, 0, 0, 0) 10px,
            rgba(0, 0, 0, 0) 16px
        );
    opacity: 0.18;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.why-us-kicker {
    display: inline-block;
    font-size: 1.35rem;
    color: rgba(244, 244, 240, 0.75);
    border-bottom: 1px dashed rgba(244, 244, 240, 0.25);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.why-us-title {
    font-size: clamp(3rem, 6vw, 4.6rem);
    margin: 10px 0 12px 0;
    line-height: 1.05;
}

.why-us-desc {
    max-width: 42ch;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(244, 244, 240, 0.78);
    margin-bottom: 24px;
}

.why-us-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.why-us-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    border-top: 1px dashed rgba(244, 244, 240, 0.18);
    padding-top: 18px;
}

.why-meta-item {
    padding: 14px 14px 12px 14px;
    border-radius: 12px;
    border: 1px dashed rgba(244, 244, 240, 0.16);
    background: rgba(244, 244, 240, 0.02);
}

.why-meta-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(244, 244, 240, 0.55);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.why-meta-value {
    display: block;
    font-weight: 600;
    color: rgba(244, 244, 240, 0.9);
    font-size: 1.05rem;
}

.why-us-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.why-card {
    border: 1px dashed rgba(244, 244, 240, 0.18);
    border-radius: 16px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 20% 10%, rgba(244, 244, 240, 0.04), transparent 60%),
        linear-gradient(180deg, rgba(244, 244, 240, 0.02), rgba(244, 244, 240, 0.01));
    box-shadow: 0 10px 30px rgba(0,0,0,0.32);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -25deg,
            rgba(244, 244, 240, 0.03) 0px,
            rgba(244, 244, 240, 0.03) 1px,
            rgba(0, 0, 0, 0) 11px,
            rgba(0, 0, 0, 0) 18px
        );
    opacity: 0.16;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 244, 240, 0.34);
    background-color: rgba(244, 244, 240, 0.04);
    box-shadow: 0 16px 45px rgba(0,0,0,0.45);
}

.why-card-top {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.why-card-number {
    font-size: 3.4rem;
    color: rgba(244, 244, 240, 0.14);
    line-height: 1;
    letter-spacing: 1px;
}

.why-card-title {
    font-size: 2.2rem;
    margin: 0;
}

.why-card-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(244, 244, 240, 0.78);
    margin: 0;
}

.chalk-note-card {
    border: 1px dashed rgba(244, 244, 240, 0.18);
    border-left: 3px solid rgba(244, 244, 240, 0.32);
    padding: 26px 26px 24px 26px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(244, 244, 240, 0.04), transparent 60%),
        linear-gradient(180deg, rgba(244, 244, 240, 0.03), rgba(244, 244, 240, 0.01));
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.chalk-note-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -25deg,
            rgba(244, 244, 240, 0.035) 0px,
            rgba(244, 244, 240, 0.035) 1px,
            rgba(0, 0, 0, 0) 10px,
            rgba(0, 0, 0, 0) 16px
        );
    opacity: 0.22;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.chalk-note-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(244, 244, 240, 0.06);
}

/* Hover effect: The dashed line becomes a solid chalk stroke and pushes the card right */
.chalk-note-card:hover {
    border-color: rgba(244, 244, 240, 0.32);
    border-left-color: var(--chalk-white);
    background-color: rgba(244, 244, 240, 0.04);
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.45);
}

.chalk-note-card:focus-within {
    border-color: rgba(244, 244, 240, 0.34);
    border-left-color: var(--chalk-white);
    box-shadow: 0 16px 45px rgba(0,0,0,0.45);
}

.note-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.note-number {
    font-size: 3.2rem;
    color: rgba(244, 244, 240, 0.14);
    line-height: 1;
    letter-spacing: 1px;
}

.note-title {
    font-size: 2.2rem;
    margin: 0;
}

.chalk-note-card .clean-text {
    color: rgba(244, 244, 240, 0.78);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .why-us-grid {
        gap: 22px;
    }

    .why-us-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-us-desc {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .why-us-grid {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
    .chalk-note-card:hover {
        transform: translateY(-3px);
    }
    .chalk-note-card {
        padding: 22px 20px 20px 20px;
    }

    .why-us-intro {
        padding: 24px 20px;
    }

    .why-us-meta {
        grid-template-columns: 1fr;
    }

    .why-us-cards {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 22px 20px;
    }
}
/* --- CLIENT LOGOS STYLES --- */
.client-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px dashed rgba(244, 244, 240, 0.1);
}

.chalk-logo {
    opacity: 0.4; /* Faded like erased chalk */
    filter: grayscale(100%) contrast(120%);
    transition: all 0.4s ease;
    max-width: 160px;
    height: auto;
}

.chalk-logo:hover {
    opacity: 1; /* Brightens up on hover */
    transform: scale(1.05);
}

/* --- TESTIMONIALS STYLES --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.chalk-testimonial-card {
    border: 1px solid rgba(244, 244, 240, 0.1);
    padding: 40px 30px 30px 30px;
    border-radius: 8px;
    position: relative;
    background: transparent;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chalk-testimonial-card:hover {
    border-color: rgba(244, 244, 240, 0.4);
    background: rgba(244, 244, 240, 0.02);
    transform: translateY(-5px);
}

/* Big Decorative Quote Mark */
.quote-mark {
    font-family: var(--font-chalk);
    font-size: 6rem;
    color: rgba(244, 244, 240, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
}

.chalk-testimonial-card:hover .quote-mark {
    color: rgba(244, 244, 240, 0.3);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #ccc;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    border-top: 1px dashed rgba(244, 244, 240, 0.2);
    padding-top: 15px;
}

.author-name {
    display: block;
    font-size: 2rem;
    color: var(--chalk-white);
    margin-bottom: 2px;
}

.author-title {
    display: block;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .client-logo-grid {
        gap: 20px;
    }
    .chalk-logo {
        max-width: 120px;
    }
}
/* --- LATEST INSIGHTS / BLOG GRID STYLES --- */
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Individual Article Card */
.chalk-article-card {
    display: flex;
    flex-direction: column;
    border: 1px dashed rgba(244, 244, 240, 0.2);
    border-radius: 6px;
    background: transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    overflow: hidden;
}

.chalk-article-card:hover {
    border-color: rgba(244, 244, 240, 0.6);
    background: rgba(244, 244, 240, 0.02);
    transform: translateY(-5px);
}

/* Article Image */
.article-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px dashed rgba(244, 244, 240, 0.2);
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.chalk-article-card:hover .article-img {
    transform: scale(1.05);
    opacity: 1;
}

/* Article Info */
.article-info {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-category {
    font-size: 1.1rem;
    color: #aaa;
}

.article-title {
    font-size: 2.2rem;
    color: var(--chalk-white);
    line-height: 1.1;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.chalk-article-card:hover .article-title {
    color: #fff; /* Brightens slightly on hover */
}

.article-excerpt {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the 'Read More' link to the bottom */
}

.read-more {
    font-size: 1.4rem;
    color: rgba(244, 244, 240, 0.6);
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.chalk-article-card:hover .read-more {
    color: var(--chalk-white);
    border-bottom: 1px solid var(--chalk-white);
    padding-bottom: 2px;
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .home-blog-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* --- GLOBAL FOOTER STYLES --- */
.main-footer {
    background-color: var(--board-bg);
    position: relative;
    z-index: 10;
}

/* Massive Email Link */
.chalk-email-link {
    font-family: var(--font-chalk);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--chalk-white);
    border-bottom: 3px dashed rgba(244, 244, 240, 0.4);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.chalk-email-link:hover {
    color: #fff;
    border-bottom: 3px solid var(--chalk-white);
    transform: translateY(-3px);
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding: 60px 0;
}

/* Footer Navigation Links */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: #ccc;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links ul a:hover {
    color: var(--chalk-white);
    padding-left: 8px; /* Slides right slightly on hover */
}

/* Social Link Button */
.social-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--chalk-white);
    color: var(--board-bg) !important;
}

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px dashed rgba(244, 244, 240, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: #888;
}

.legal-links a:hover {
    color: var(--chalk-white);
}

.back-to-top {
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--chalk-white) !important;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
    }
    .footer-brand {
        grid-column: 1 / -1; /* Brand info spans full width on tablet */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on phones */
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* --- ABOUT PAGE: HERO STYLES --- */
.about-hero-section {
    padding: 120px 0 80px 0; /* Extra top padding to clear the fixed header */
    border-bottom: 1px dashed rgba(244, 244, 240, 0.2);
    position: relative;
}

/* "Pinned Photo" Effect */
.about-hero-image {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border: 2px dashed rgba(244, 244, 240, 0.4);
    padding: 15px;
    border-radius: 4px;
    background: rgba(244, 244, 240, 0.02); /* Slight chalk dust background behind the photo */
    transform: rotate(-1deg); /* Imperfect, handwritten tilt */
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover: Straightens out, pops up, and regains full color */
.about-hero-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--chalk-white);
}

.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(80%) contrast(110%); /* Moody, desaturated agency look */
    border-radius: 2px;
    transition: filter 0.5s ease;
}

.about-hero-image:hover img {
    filter: grayscale(0%) contrast(100%); /* Full color on hover */
}

/* Handwritten Caption below the image */
.chalk-photo-caption {
    font-family: var(--font-chalk);
    font-size: 1.5rem;
    color: rgba(244, 244, 240, 0.6);
    text-align: right;
    margin-top: 15px;
    padding-right: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .about-hero-image {
        padding: 10px;
        transform: rotate(0deg); /* Remove tilt on small screens for better fit */
    }
    .chalk-photo-caption {
        font-size: 1.2rem;
        text-align: center;
        padding-right: 0;
    }
}
/* --- ABOUT PAGE: STORY & ACCREDITATION STYLES --- */
.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Gives slightly more room to the text */
    gap: 80px;
    align-items: center;
    padding: 40px 0;
}

.story-content {
    padding-right: 20px;
}

/* The ARCITE "Chalk Seal" */
.story-accreditation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chalk-seal {
    border: 2px dashed rgba(244, 244, 240, 0.4);
    border-radius: 50%; /* Makes it a circle */
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    position: relative;
    background: rgba(244, 244, 240, 0.02);
    transition: all 0.5s ease;
    transform: rotate(2deg); /* Slight handwritten tilt */
}

/* Add an inner ring for that stamp/seal look */
.seal-inner {
    border: 1px solid rgba(244, 244, 240, 0.1);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: border-color 0.5s ease;
}

/* Hover Effects */
.chalk-seal:hover {
    transform: rotate(0deg) scale(1.05);
    border-color: var(--chalk-white);
    box-shadow: 0 0 30px rgba(244, 244, 240, 0.05);
}

.chalk-seal:hover .seal-inner {
    border-color: rgba(244, 244, 240, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr; /* Stack vertically on tablets and phones */
        gap: 50px;
    }
    .story-content {
        padding-right: 0;
    }
    .chalk-seal {
        width: 320px;
        height: 320px;
        transform: rotate(0deg); /* Remove tilt on smaller screens */
    }
}

/* --- ABOUT PAGE: PHILOSOPHY (REWORKED) --- */
.about-philosophy-section {
    border-bottom: 1px dashed rgba(244, 244, 240, 0.2);
    background-color: rgba(244, 244, 240, 0.01);
}

.about-philosophy-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
    gap: 50px;
    align-items: start;
}

.about-philosophy-intro {
    position: relative;
    padding: 34px;
    border-radius: 16px;
    border: 1px dashed rgba(244, 244, 240, 0.22);
    background:
        radial-gradient(1200px 600px at 20% 10%, rgba(244, 244, 240, 0.05), transparent 60%),
        linear-gradient(180deg, rgba(244, 244, 240, 0.025), rgba(244, 244, 240, 0.01));
    box-shadow: 0 14px 45px rgba(0,0,0,0.42);
    overflow: hidden;
}

.about-philosophy-intro::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            -25deg,
            rgba(244, 244, 240, 0.035) 0px,
            rgba(244, 244, 240, 0.035) 1px,
            rgba(0, 0, 0, 0) 10px,
            rgba(0, 0, 0, 0) 16px
        );
    opacity: 0.18;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.about-philosophy-kicker {
    display: inline-block;
    font-size: 1.35rem;
    color: rgba(244, 244, 240, 0.75);
    border-bottom: 1px dashed rgba(244, 244, 240, 0.25);
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.about-philosophy-title {
    font-size: clamp(3rem, 6vw, 4.6rem);
    margin: 10px 0 12px 0;
    line-height: 1.05;
}

.about-philosophy-desc {
    max-width: 44ch;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(244, 244, 240, 0.78);
    margin-bottom: 24px;
}

.about-philosophy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-philosophy-content {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.about-philosophy-rail {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    border: 1px dashed rgba(244, 244, 240, 0.16);
    background: rgba(244, 244, 240, 0.015);
}

.philo-rail-item {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px dashed rgba(244, 244, 240, 0.14);
    transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.philo-rail-item:hover {
    transform: translateY(-2px);
    border-color: rgba(244, 244, 240, 0.3);
    background: rgba(244, 244, 240, 0.03);
}

.philo-rail-number {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    border-radius: 999px;
    border: 1px dashed rgba(244, 244, 240, 0.25);
    background: rgba(26, 28, 26, 0.6);
    color: rgba(244, 244, 240, 0.85);
    line-height: 1;
}

.philo-rail-title {
    font-size: 1.02rem;
    line-height: 1.35;
    color: rgba(244, 244, 240, 0.78);
}

.about-philosophy-panels {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.philo-panel {
    border: 1px dashed rgba(244, 244, 240, 0.18);
    border-radius: 16px;
    padding: 26px;
    background:
        radial-gradient(900px 480px at 20% 10%, rgba(244, 244, 240, 0.035), transparent 60%),
        linear-gradient(180deg, rgba(244, 244, 240, 0.018), rgba(244, 244, 240, 0.008));
    box-shadow: 0 10px 30px rgba(0,0,0,0.32);
}

.philo-panel:hover {
    border-color: rgba(244, 244, 240, 0.34);
    background-color: rgba(244, 244, 240, 0.04);
    box-shadow: 0 16px 45px rgba(0,0,0,0.45);
    transform: translateY(-3px);
}

.philo-panel-top {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.philo-panel-number {
    font-size: 3.2rem;
    color: rgba(244, 244, 240, 0.14);
    line-height: 1;
}

.philo-panel-title {
    font-size: 2.2rem;
    margin: 0;
    line-height: 1.1;
}

.philo-panel-desc {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(244, 244, 240, 0.78);
}

@media (max-width: 1024px) {
    .about-philosophy-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-philosophy-desc {
        max-width: none;
    }

    .about-philosophy-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-philosophy-rail {
        position: relative;
        top: auto;
    }
}

@media (max-width: 600px) {
    .about-philosophy-intro {
        padding: 24px 20px;
    }

    .about-philosophy-rail {
        padding: 14px;
    }

    .philo-rail-title {
        font-size: 0.98rem;
    }

    .philo-panel {
        padding: 22px 20px;
    }
}

/* --- ABOUT PAGE: PHILOSOPHY GRID STYLES --- */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.pillar-card {
    border: 1px dashed rgba(244, 244, 240, 0.2);
    padding: 40px 30px;
    border-radius: 6px;
    position: relative;
    background: transparent;
    transition: all 0.4s ease;
    overflow: hidden;
}

.pillar-card:hover {
    border-color: var(--chalk-white);
    background: rgba(244, 244, 240, 0.02);
    transform: translateY(-5px);
}

.pillar-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 5rem;
    color: rgba(244, 244, 240, 0.05);
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-number {
    color: rgba(244, 244, 240, 0.15);
    transform: scale(1.1) rotate(5deg);
}

.pillar-title {
    font-size: 2.2rem;
    color: var(--chalk-white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.pillar-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ccc;
    position: relative;
    z-index: 2;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .philosophy-grid {
        gap: 20px;
    }
    .pillar-card:nth-child(5) {
        /* Reset the 5th pillar to behave like the others on mobile */
        grid-column: auto;
        text-align: left;
        border-style: dashed;
    }
    .pillar-card:nth-child(5) .pillar-number {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 5rem;
        margin-bottom: 0;
    }
}
/* --- ABOUT PAGE: TEAM / COLLECTIVE STYLES --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    text-align: center;
    transition: transform 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps images perfectly square */
    border-radius: 50%; /* Circles look more cohesive for team/avatar grids */
    overflow: hidden;
    margin: 0 auto 25px auto;
    border: 2px dashed rgba(244, 244, 240, 0.2);
    padding: 10px;
    background: transparent;
    transition: all 0.4s ease;
}

.team-card:hover .team-img-wrapper {
    border-color: var(--chalk-white);
    border-style: solid;
    background: rgba(244, 244, 240, 0.05);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(80%) contrast(120%);
    transition: filter 0.4s ease, transform 0.6s ease;
}

.team-card:hover .team-img-wrapper img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.team-title {
    font-size: 2.5rem;
    color: var(--chalk-white);
    margin-bottom: 15px;
}

.team-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ccc;
}

.join-team-banner {
    transition: all 0.4s ease;
}

.join-team-banner:hover {
    border-color: var(--chalk-white);
    background: rgba(244, 244, 240, 0.05);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .team-img-wrapper {
        max-width: 250px; /* Prevent images from getting too huge on phones */
    }
}
/* --- CAPABILITIES PAGE: HERO & QUICK LINKS STYLES --- */
.services-quick-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.chalk-pill {
    font-family: var(--font-clean); /* Using the clean font for readability here */
    font-weight: 600;
    font-size: 0.95rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px dashed rgba(244, 244, 240, 0.3);
    border-radius: 50px; /* Makes it a pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

/* Hover: The chalk stroke thickens and brightens */
.chalk-pill:hover {
    color: var(--board-bg);
    background-color: var(--chalk-white);
    border-style: solid;
    border-color: var(--chalk-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 244, 240, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .services-quick-links {
        flex-direction: column;
        gap: 10px;
    }
    .services-quick-links span {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .chalk-pill {
        width: 100%;
        max-width: 300px; /* Prevents them from stretching too wide on phones */
    }
}
/* --- CAPABILITIES PAGE: INDIVIDUAL PILLAR STYLES --- */
.service-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-description {
    padding-right: 20px;
}

/* Checklist Box for Deliverables */
.chalk-checklist-box {
    border: 2px dashed rgba(244, 244, 240, 0.3);
    padding: 40px;
    border-radius: 8px;
    background: rgba(244, 244, 240, 0.02);
    position: relative;
    transition: all 0.4s ease;
}

.chalk-checklist-box:hover {
    border-color: var(--chalk-white);
    background: rgba(244, 244, 240, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* Custom Checklist Bullet Points */
.custom-chalk-list {
    list-style: none;
    padding-left: 0;
}

.custom-chalk-list li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.custom-chalk-list li:hover {
    color: var(--chalk-white);
}

/* Drawing a chalk checkmark for the list items */
.custom-chalk-list li::before {
    content: '✓';
    font-family: var(--font-chalk);
    font-size: 1.5rem;
    color: rgba(244, 244, 240, 0.5);
    position: absolute;
    left: 0;
    top: -2px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.custom-chalk-list li:hover::before {
    color: var(--chalk-white);
    transform: scale(1.2) rotate(-5deg);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .service-split-layout {
        grid-template-columns: 1fr; /* Stacks the description on top of the checklist */
        gap: 40px;
    }
    .service-description {
        padding-right: 0;
    }
    .chalk-checklist-box {
        padding: 30px 20px;
    }
}
/* --- WORK PAGE: HERO & FILTERS STYLES --- */
.work-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.chalk-filter-btn {
    font-family: var(--font-chalk);
    font-size: 1.6rem;
    color: #aaa;
    background: transparent;
    border: 2px dashed rgba(244, 244, 240, 0.3);
    padding: 8px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover State */
.chalk-filter-btn:hover {
    color: var(--chalk-white);
    border-color: rgba(244, 244, 240, 0.6);
    transform: translateY(-2px);
}

/* Active State (The currently selected category) */
.chalk-filter-btn.active {
    color: var(--board-bg);
    background-color: var(--chalk-white);
    border-style: solid;
    border-color: var(--chalk-white);
    box-shadow: 2px 2px 5px rgba(244, 244, 240, 0.3), 
                -1px -1px 3px rgba(244, 244, 240, 0.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .work-filters {
        gap: 10px;
    }
    .chalk-filter-btn {
        font-size: 1.4rem;
        padding: 6px 15px;
        flex-grow: 1; /* Allows buttons to stretch and fill the space on mobile */
    }
}
/* --- PORTFOLIO PAGE GRID STYLES --- */
.portfolio-grid {
    display: grid;
    /* This creates a fluid grid that automatically adjusts column count based on screen width */
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    transition: all 0.5s ease;
}

/* Class added by JavaScript when filtering */
.portfolio-item.hide {
    display: none;
    animation: fadeOut 0.4s ease;
}

/* Animation to smoothly bring filtered items into view */
.portfolio-item.show {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.95); }
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* 1 column on small phones */
    }
}
/* --- CONTACT PAGE STYLES --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Left Side: Contact Card */
.chalk-contact-card {
    border: 2px dashed rgba(244, 244, 240, 0.3);
    padding: 40px;
    border-radius: 8px;
    background: rgba(244, 244, 240, 0.02);
    height: 100%;
}

.info-block {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(244, 244, 240, 0.1);
}

.info-label {
    display: block;
    font-size: 1.4rem;
    color: #888;
    margin-bottom: 5px;
}

.info-link, .info-text {
    font-size: 1.1rem;
    color: var(--chalk-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(244, 244, 240, 0.4);
}

/* Right Side: The Form */
.chalk-form {
    padding: 20px 0;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 1.6rem;
    color: rgba(244, 244, 240, 0.8);
    margin-bottom: 10px;
}

/* Styling inputs to look like chalk lines */
.chalk-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px dashed rgba(244, 244, 240, 0.4);
    color: var(--chalk-white);
    font-family: var(--font-clean);
    font-size: 1.1rem;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.chalk-input::placeholder {
    color: rgba(244, 244, 240, 0.2);
    font-family: var(--font-clean);
}

.chalk-input:focus {
    outline: none;
    border-bottom: 2px solid var(--chalk-white);
    background: rgba(244, 244, 240, 0.03);
    padding-left: 10px; /* Slight indent when typing */
}

/* Specific fix for dropdown select menu in dark mode */
select.chalk-input option {
    background-color: var(--board-bg);
    color: var(--chalk-white);
}

textarea.chalk-input {
    resize: vertical;
    min-height: 100px;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack on tablets and phones */
        gap: 40px;
    }
    .chalk-contact-card {
        padding: 30px;
    }
}
/* --- BLOG PAGE: FEED GRID & PAGINATION STYLES --- */
.blog-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Pagination Container */
.chalk-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 40px;
    border-top: 1px dashed rgba(244, 244, 240, 0.2);
}

/* Pagination Buttons */
.chalk-page-btn {
    font-family: var(--font-chalk);
    font-size: 1.8rem;
    color: #aaa;
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed rgba(244, 244, 240, 0.3);
    border-radius: 50%; /* Circle shape like a circled grade on a board */
    transition: all 0.3s ease;
}

.chalk-page-btn:hover {
    color: var(--chalk-white);
    border-color: rgba(244, 244, 240, 0.6);
    transform: translateY(-3px);
}

/* Active Page */
.chalk-page-btn.active {
    color: var(--board-bg);
    background-color: var(--chalk-white);
    border-style: solid;
    pointer-events: none;
}

/* The 'Next' Button (Wider than a circle) */
.chalk-page-btn.next-btn {
    width: auto;
    border-radius: 25px;
    padding: 0 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .blog-feed-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 30px;
    }
}