:root {
    --bg-white: #FFFFFF;
    --text-dark: #0A0A0A;
    --accent-color: #E6FF00; /* Neon yellow/green for the color jump */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow: hidden;
    cursor: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   GLOBAL EFFECTS (GRAIN & CURSOR)
   ========================================================================== */
.grain-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.08;
    mix-blend-mode: overlay;
    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)"/%3E%3C/svg%3E');
}

.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    background-color: var(--bg-white);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.25rem;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease, mix-blend-mode 0.3s ease;
}

.cursor-text {
    opacity: 0;
    color: var(--text-dark);
    transition: opacity 0.3s ease;
}

.custom-cursor.is-logo-mode {
    mix-blend-mode: normal;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.custom-cursor.is-view-mode {
    mix-blend-mode: normal;
    background-color: var(--accent-color);
}

.custom-cursor.is-view-mode .cursor-text {
    opacity: 1;
}

/* ==========================================================================
   GRID SCROLL LAYOUT
   ========================================================================== */
#grid-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#grid-content {
    display: grid;
    grid-template-columns: 100vw 100vw;
    grid-template-rows: 100vh 100vh;
    width: 200vw;
    height: 200vh;
}

.slide {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-white);
    padding: 4rem;
    transition: background-color 0.5s ease;
}

/* ==========================================================================
   HERO CREDENTIALS — Stars + Awwwards, top-left
   ========================================================================== */
.hero-credentials {
    position: absolute;
    top: 4rem;
    left: 4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 10;
    /* Fade in with the hero */
    opacity: 0;
    transform: translateY(12px);
    animation: cred-enter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}

@keyframes cred-enter {
    to { opacity: 1; transform: translateY(0); }
}

.cred-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cred-badge:first-child {
    border-radius: unset;
}

.cred-badge:last-child {
    border-radius: unset;
}

.cred-divider {
    width: 100%;
    height: 1px;
    background: rgba(10,10,10,0.12);
    margin: 0.4rem 0;
}

.cred-stars {
    display: flex;
    gap: 1px;
    line-height: 1;
}

.cred-stars span {
    font-size: 0.6rem;
    color: var(--text-dark);
    /* Staggered shimmer animation */
    animation: star-pulse 2.5s ease-in-out infinite;
}

.cred-stars span:nth-child(1) { animation-delay: 0s; }
.cred-stars span:nth-child(2) { animation-delay: 0.1s; }
.cred-stars span:nth-child(3) { animation-delay: 0.2s; }
.cred-stars span:nth-child(4) { animation-delay: 0.3s; }
.cred-stars span:nth-child(5) { animation-delay: 0.4s; }

@keyframes star-pulse {
    0%, 80%, 100% { opacity: 1; }
    40% { opacity: 0.5; }
}

.cred-icon {
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1;
}

.cred-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.cred-title {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    line-height: 1.2;
}

.cred-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    opacity: 0.38;
    line-height: 1;
}

/* In dark hero hover mode, flip to white text */
.hero.is-hovered .cred-title,
.hero.is-hovered .cred-sub,
.hero.is-hovered .cred-icon {
    color: var(--bg-white);
}
.hero.is-hovered .cred-stars span {
    color: var(--accent-color);
}
.hero.is-hovered .cred-divider {
    background: rgba(255,255,255,0.15);
}


.hero-logo-wrapper {
    position: absolute;
    top: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    z-index: 10;
    cursor: none;
    /* Hidden — only the circle under the cursor is revealed via JS clip-path */
    clip-path: circle(0px at 50% 50%);
    /* clip-path also blocks pointer-events, so we use a separate hit-area */
    pointer-events: none;
}

/* Invisible overlay that catches mouse events for the logo */
.hero-logo-hitarea {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 160px;
    z-index: 11;
    cursor: none;
}

.hero-logo {
    width: 100%;
    display: block;
    /* Strip the black background so only the logo art shows */
    mix-blend-mode: screen;
    filter: brightness(1.1);
    user-select: none;
    -webkit-user-drag: none;
}

/* When hero is in dark-mode (is-hovered), logo blends differently */
.hero.is-hovered .hero-logo {
    mix-blend-mode: normal;
}

.hero-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 60%;
}

.sub-heading {
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.8rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}

.main-heading {
    font-family: var(--font-heading);
    font-weight: 600; /* Adjusted for Playfair */
    font-size: clamp(3rem, 6vw, 8rem);
    line-height: 1;
    letter-spacing: -0.02em;
    /* Removing uppercase makes serif fonts look much more elegant */
}

.line {
    display: block;
    /* Hide initially for GSAP animation */
    opacity: 0; 
    transform: translateY(30px);
    transition: color 0.5s ease;
}

.line-3 {
    font-family: 'Caveat', cursive;
    font-size: clamp(4rem, 10vw, 12rem); /* Massive script font */
    color: var(--text-dark); /* Solid black */
    font-style: normal;
    font-weight: 600;
    cursor: none; /* Replaced default pointer */
    display: inline-block;
    position: relative;
    /* Pull it slightly closer to the heading above */
    margin-top: -10px;
}

.about-blurb {
    position: absolute;
    top: 0;
    right: 0;
    font-family: var(--font-body);
    font-size: 0.75rem; /* Made smaller */
    font-weight: 500;
    line-height: 1.5;
    max-width: 200px; /* Tighter column */
    color: var(--text-dark);
    opacity: 0.6; /* Slightly more muted */
    text-align: right;
}

/* We don't need the underline for a handwriting font, the font itself is the statement */

/* Folder Stack on the right */
.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 10vw;
}

.folder-stack {
    position: relative;
    width: 250px;
    height: 220px;
}

.folder-widget {
    position: absolute;
    width: 250px;
    height: 180px;
    cursor: none; /* Replaced default pointer */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Stacking Order and Initial Offset */
.folder-1 {
    top: 0;
    left: 0;
    z-index: 3;
    --folder-color: var(--text-dark); /* #0A0A0A */
}

.folder-2 {
    top: 15px;
    left: 15px;
    z-index: 2;
    transform: scale(0.95);
    --folder-color: #1F1F1F;
}

.folder-3 {
    top: 30px;
    left: 30px;
    z-index: 1;
    transform: scale(0.9);
    --folder-color: #2E2E2E;
}

/* Hover spreading effect */
.folder-stack:hover .folder-1 {
    transform: translateY(-90px) translateX(-10px) rotate(-4deg);
}

.folder-stack:hover .folder-2 {
    transform: translateY(10px) translateX(30px) rotate(2deg) scale(1);
}

.folder-stack:hover .folder-3 {
    transform: translateY(110px) translateX(60px) rotate(8deg) scale(1);
}

.folder-tab {
    width: 80px;
    height: 25px;
    background-color: var(--folder-color);
    border-radius: 8px 8px 0 0;
    transition: background-color 0.5s ease, border-color 0.5s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.folder-body {
    width: 100%;
    height: 100%;
    background-color: var(--folder-color);
    border-radius: 0 8px 8px 8px;
    padding: 1.5rem;
    color: var(--bg-white);
    display: flex;
    align-items: flex-end;
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -5px 5px 20px rgba(0,0,0,0.1);
}

.folder-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* The immersive hover effect: screen turns black */
.hero.is-hovered {
    background-color: var(--text-dark) !important;
}

/* Rest of the text turns white to stay visible */
.hero.is-hovered .sub-heading,
.hero.is-hovered .about-blurb {
    color: var(--bg-white) !important;
}

/* Folders invert to white */
.hero.is-hovered .folder-tab,
.hero.is-hovered .folder-body {
    background-color: var(--bg-white) !important;
    color: var(--text-dark) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* "we tell stories" fills in with solid white or neon color */
.hero.is-hovered .line-3 {
    color: var(--accent-color) !important;
}

/* Marquee also turns white on hover */
.hero.is-hovered .marquee-content span {
    color: var(--bg-white) !important;
    opacity: 1;
}

/* Infinite Marquee */
.marquee-wrapper {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    width: 100vw;
    overflow: hidden;
    /* Ensure it spans full width regardless of padding */
    margin-left: -4rem; 
    padding-left: 4rem;
    padding-right: 4rem;
    pointer-events: none; /* Let clicks pass through if needed */
}

.marquee {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    padding-right: 3rem;
}

.marquee-content span {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   NEXT SECTION DEFAULT
   ========================================================================== */
.next-section {
    width: 100vw;
    height: 100vh;
    background-color: var(--text-dark);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 5rem);
}

/* ==========================================================================
   PROJECTS SLIDE (N˚ 001) — Video Grid + Expandable Panel
   ========================================================================== */
.projects-slide {
    background-color: var(--text-dark);
    display: flex;
    flex-direction: column;
    padding: 2.2rem 2.8rem 2rem;
    gap: 1.2rem;
    overflow: hidden;
}

/* Top bar */
.proj-ui {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    gap: 1.2rem;
}

.proj-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.proj-section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bg-white);
    opacity: 0.4;
}

.proj-section-count {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    opacity: 0.6;
}

/* 3×2 card grid */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.8rem;
    flex: 1;
    min-height: 0;
}

.proj-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: none;
    background: #111;
    z-index: 10;
    /* Ken Burns shimmer to simulate "live" video placeholder */
}

.proj-card.is-tall {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.proj-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.proj-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    display: block;
}

.proj-card:hover .proj-card-img {
    filter: none;
}

.proj-card-overlay {
    position: absolute;
    inset: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
}

.proj-card-num {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--accent-color);
    opacity: 0.9;
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
}

.proj-card-title {
    font-family: var(--font-heading);
    font-size: clamp(0.9rem, 1.4vw, 1.5rem);
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.proj-card-cat {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg-white);
    opacity: 0.45;
    margin-top: 0.25rem;
}

/* ==========================================================================
   EXPANDED VIEW — 70 / 30 split
   ========================================================================== */
.proj-expanded-view {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
}

.proj-expanded-view.is-open {
    pointer-events: auto;
}

/* Left: 70% video */
.proj-expanded-video {
    width: 70%;
    height: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.proj-expanded-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0a0a0a;
    display: block;
}

/* Mini strip at bottom of video panel */
.proj-mini-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 96px;
    display: flex;
    gap: 0.5rem;
    padding: 0 0.75rem 0.75rem;
    background: transparent;
    align-items: flex-end;
}

.proj-mini-card {
    flex: 1;
    height: 68px;
    border-radius: 5px;
    overflow: hidden;
    cursor: none;
    opacity: 0.45;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid transparent;
    flex-shrink: 0;
}

.proj-mini-card:hover,
.proj-mini-card.is-active {
    opacity: 1;
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.proj-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right: 30% description */
.proj-expanded-desc {
    width: 30%;
    height: 100%;
    background-color: var(--text-dark);
    padding: 2.8rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-left: 1px solid rgba(255,255,255,0.07);
    overflow-y: auto;
}

.proj-desc-num {
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-color);
    opacity: 0.75;
}

.proj-desc-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: -0.03em;
    line-height: 1;
}

.proj-desc-category {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bg-white);
    opacity: 0.38;
    margin-top: -0.3rem;
}

.proj-desc-body {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--bg-white);
    opacity: 0.6;
    flex: 1;
    margin-top: 0.5rem;
}

.proj-desc-cta {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    background-color: var(--accent-color);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    display: inline-block;
    align-self: flex-start;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: none;
}

.proj-desc-cta:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.proj-close-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: none;
    align-self: flex-start;
    transition: border-color 0.3s ease;
    margin-top: auto;
}

.proj-close-btn:hover {
    border-color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   SERVICES SLIDE (N˚ 002)
   ========================================================================== */
.services-slide {
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5rem;
    gap: 3rem;
}

.services-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.services-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.4;
    color: var(--text-dark);
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1;
}

.services-title em {
    font-style: italic;
    color: var(--text-dark);
    opacity: 0.35;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.package-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: #FAFAFA;
    transition: border-color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: none;
}

.package-card:hover {
    border-color: var(--text-dark);
    transform: translateY(-6px);
}

.package-card.featured {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
}

.package-card.featured .pkg-index,
.package-card.featured .pkg-name,
.package-card.featured .pkg-tagline,
.package-card.featured .pkg-features li,
.package-card.featured .pkg-price {
    color: var(--bg-white) !important;
}

.package-card.featured .pkg-features li::before {
    background-color: var(--accent-color) !important;
    opacity: 1 !important;
}

.package-card.featured .pkg-cta {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border-color: var(--accent-color);
}

.pkg-top {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    position: relative;
}

.pkg-index {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.35;
    color: var(--text-dark);
}

.pkg-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.pkg-badge {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    position: absolute;
    right: 0;
    top: 0;
}

.pkg-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dark);
    opacity: 0.6;
    line-height: 1.4;
    margin-top: -0.5rem;
}

.pkg-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.pkg-features li {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pkg-features li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-dark);
    opacity: 0.4;
    flex-shrink: 0;
}

.pkg-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1.2rem;
    margin-top: auto;
}

.package-card.featured .pkg-bottom {
    border-top-color: rgba(255,255,255,0.1);
}

.pkg-price-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pkg-price {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.pkg-recurring {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.55;
}

.package-card.featured .pkg-recurring {
    color: var(--bg-white) !important;
}

.services-note {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dark);
    opacity: 0.6;
    text-align: center;
    max-width: 700px;
    margin: 2.5rem auto 0;
    line-height: 1.6;
}

.pkg-cta {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pkg-cta:hover {
    background-color: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

/* ==========================================================================
   PIPELINE VIEW (SERVICES)
   ========================================================================== */
.services-content-layout {
    display: flex;
    gap: 4rem;
    width: 100%;
    align-items: flex-start;
}

.packages-grid {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    flex-shrink: 0;
}

.package-card {
    flex: 1;
    min-width: 0;
}

.pipeline-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 1rem;
}

.pipeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 1rem;
}

.pipeline-back-btn {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.pipeline-back-btn:hover {
    opacity: 1;
}

.pipeline-main-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.pipeline-track {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
}

.pipeline-step {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.pipeline-step:not(:last-of-type)::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: -2.5rem;
    left: 13.5px;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
    z-index: 0;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-dark);
    flex-shrink: 0;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.2rem;
}

.step-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.step-content p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dark);
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
}

.pipeline-footer {
    margin-top: 1rem;
    margin-left: calc(28px + 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pipeline-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.pipeline-cta-primary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bg-white);
    background-color: var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pipeline-cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-whatsapp {
    background-color: #25D366 !important;
}

.btn-whatsapp:hover {
    background-color: #128C7E !important;
}

.pipeline-cta-secondary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark);
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.pipeline-cta-secondary:hover {
    transform: translateY(-4px);
    border-color: var(--text-dark);
    background-color: rgba(0,0,0,0.02);
}

.pipeline-helper-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dark);
    opacity: 0.5;
    margin: 0;
}

/* ==========================================================================
   ABOUT SLIDE (N˚ 003)
   ========================================================================== */
.about-slide {
    background-color: var(--text-dark);
    display: flex;
    align-items: center;
    padding: 4rem 5rem;
    gap: 6rem;
}

/* Left column */
.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bg-white);
    opacity: 0.4;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 6rem);
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.about-heading em {
    font-style: italic;
    color: var(--accent-color);
}

.about-body {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--bg-white);
    opacity: 0.65;
    max-width: 420px;
}

/* Stats */
.about-stats {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bg-white);
    opacity: 0.45;
}

/* CTA */
.about-cta {
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    background-color: var(--accent-color);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    display: inline-block;
    align-self: flex-start;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-cta:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Right column — team photo */
.about-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


.about-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(40%) contrast(1.1);
    display: block;
}

/* ==========================================================================
   ABOUT IMAGE — HUMAN FACE REVEAL EFFECT
   ========================================================================== */

/* The wrapper must be position:relative so the reveal layer sits on top */
.about-img-wrapper {
    width: 100%;
    max-width: 500px;
    position: relative;
    cursor: none;
}

/* The gorilla image sits as the primary layer */
#gorilla-img {
    position: relative;
    z-index: 1;
    display: block;
}

/* The human reveal layer: an absolutely positioned container 
   that sits exactly over the gorilla image. 
   clip-path is driven by JS to create the circular reveal lens. */
.human-reveal-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Start fully hidden — 0px radius circle at center */
    clip-path: circle(0px at 50% 50%);
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    pointer-events: none;
    transition: clip-path 0.05s linear;
}

.human-reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* The key effect: invert the human faces for the eerie reveal */
    filter: invert(1) grayscale(20%) contrast(1.15);
    border-radius: 12px;
}

/* Small floating hint that fades out on first hover */
.reveal-hint {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(10,10,10,0.75);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    border: 1px solid rgba(230,255,0,0.3);
    pointer-events: none;
    z-index: 5;
    opacity: 1;
    transition: opacity 0.6s ease;
    white-space: nowrap;
}

.reveal-hint.hidden {
    opacity: 0;
}

.about-img-caption {
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--bg-white);
    opacity: 0.35;
    letter-spacing: 0.05em;
    text-align: right;
}
