:root {
    --bg-color: #fcfcfc;
    --text-dark: #222222;
    --text-muted: #666666;
    --accent-color: #bfae9c;
    /* Soft sand/beige */
    --border-color: #dddddd;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #e5e5e5;
    /* grey background behind the white 'paper' container */
    color: var(--text-dark);
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
}

.container {
    background-color: var(--bg-color);
    width: 100%;
    max-width: 1300px;
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

/* Typography Helpers */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

p {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.micro-title {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 5px;
}

.section-header {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Buttons */
.outline-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 15px;
}

.outline-btn:hover {
    background: #a99988;
}

.solid-btn {
    display: inline-block;
    padding: 15px 35px;
    border: none;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.solid-btn:hover {
    background: var(--accent-color);
}


/* -- HERO SECTION -- */
.hero-box {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
    height: 70vh;
    min-height: 500px;
}

.hero-image {
    flex: 2;
    background: #fdfdfd;
    /* Soft white background for the canvas to sit on */
    position: relative;
    border-radius: 4px;
    /* subtle softness */
    overflow: hidden;
    border: 1px solid var(--border-color);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Canvas sits above the background but below text */
}

.hero-overlay-text {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: var(--text-dark);
    /* Changed to dark text for light theme */
    max-width: 500px;
    z-index: 2;
    /* Text sits above canvas */
    pointer-events: none;
    /* Let mouse interact with canvas below */
}

.hero-overlay-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-overlay-text p {
    color: var(--text-muted);
    /* Muted gray for light theme */
    font-size: 1rem;
    letter-spacing: 1px;
}

.ig-handle {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-dark);
    font-size: 0.8rem;
    letter-spacing: 1px;
    z-index: 2;
}

.hero-side-image {
    flex: 1;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.hero-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

/* -- IT GIRL SECTION -- */
.it-girl-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.it-girl-text h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.it-girl-text p {
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-icons .icon {
    width: 35px;
    height: 35px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
}

.it-girl-image {
    height: 500px;
    background: #eee;
}

.it-girl-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.it-girl-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.it-girl-stats .small-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
    background: #eee;
}

.micro-copy {
    font-size: 0.75rem;
    margin-bottom: 20px;
    max-width: 200px;
}

.quick-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.qs {
    display: flex;
    flex-direction: column;
}

.qs .num {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
}

.qs .lbl {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.qs.divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* -- FEATURED LOGOS -- */
.featured-logos {
    text-align: center;
    margin-bottom: 100px;
}

.logo-list {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.logo-list h2 {
    font-size: 2rem;
    color: #000;
    font-family: var(--font-heading);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 2px;
    display: block;
    color: #999;
}


/* -- DETAILED STATS -- */
.stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 100px;
    align-items: stretch;
}

.stat-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.stat-block {
    text-align: center;
    padding: 20px 0;
}

.stat-block h3 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-block p {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.horizontal-divider {
    height: 1px;
    background: var(--border-color);
    width: 100%;
}

.center-stat-image {
    position: relative;
    height: 600px;
}

.section-title-line {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.section-title-line .line {
    height: 1px;
    flex: 1;
    background: var(--text-dark);
}

.section-title-line h2 {
    font-size: 2.5rem;
    background: var(--bg-color);
    padding: 0 15px;
    white-space: nowrap;
}

.center-stat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

/* -- PORTFOLIO (VIDEO GRID) -- */
.portfolio-section {
    margin-bottom: 100px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    text-align: center;
}

.video-card img {
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    border-radius: 20px;
    /* TikTok phone style */
    border: 2px solid #000;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.video-card:hover img {
    transform: translateY(-10px);
}

.card-caption {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-dark);
}

/* -- PHOTO CONTENT -- */
.photo-hero {
    display: flex;
    gap: 20px;
    height: 600px;
}

.photo-hero>img {
    flex: 2;
    height: 100%;
    object-fit: cover;
}

.photo-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-side img {
    height: calc(50% - 10px);
    width: 100%;
    object-fit: cover;
}

/* -- TESTIMONIALS -- */
.testimonials {
    margin-bottom: 60px;
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.test-card {
    padding: 40px;
    border: 1px solid var(--border-color);
    background: #fff;
    text-align: center;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.test-card p {
    font-size: 1rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 20px;
}

.brand-name {
    font-size: 0.75rem !important;
    text-transform: uppercase;
    font-weight: 600;
    font-style: normal !important;
    letter-spacing: 2px;
}

.cta-banner {
    background: #111;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-content p {
    color: #ccc;
}

.cta-banner .solid-btn {
    background: var(--bg-color);
    color: #000;
}

.cta-banner .solid-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

/* -- FOOTER -- */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

/* -- ANIMATIONS -- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .hero-box {
        flex-direction: column;
        height: auto;
    }

    .hero-side-image {
        display: none;
    }

    .hero-overlay-text h1 {
        font-size: 3rem;
    }

    .it-girl-section,
    .stats-section,
    .photo-hero {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .video-grid,
    .test-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media(max-width: 500px) {

    .video-grid,
    .test-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 20px;
    }
}