@import url('https://fonts.cdnfonts.com/css/satoshi');
/* --- 1. Global Resets & Typography --- */

:root {
    --bg-color: #0b0b0b;
    --text-color: #ffffff;
    --nav-bg: rgba(11, 11, 11, 0.8);
    --border-color: #222222;
    --accent-red: #ff0000;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

/* --- Unified Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    /* Use 100vw to ensure it hits the literal glass edges of your Mac */
    width: 100vw; 
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #0b0b0b; /* Pure Velikan Black */
    color: #ffffff;
    font-family: 'Satoshi', sans-serif;
    line-height: 1.5;
    
    /* This is critical: it prevents the giant footer text from causing a side-scroll */
    overflow-x: hidden; 
    
    /* This fixes the tiny white/gap line often seen on the right of MacBooks */
    position: relative;
}

/* --- 2. Navbar Layout --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This keeps nav links centered even if the logo is tall */
    padding: 20px 80px;  /* Reduced vertical padding to compensate for larger logo */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease; /* Smooth transition if you change sizes later */
}

.logo a {
    display: inline-block; /* Keeps the clickable area tight to the logo */
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8; /* Subtle feedback when hovering the logo */
}

.logo img {
    height: 35px; /* Increase this to your desired size */
    width: auto;   /* Maintains aspect ratio */
    display: block;
}

/* --- 3. Desktop Navigation & Hovers --- */
.nav-container {
    display: flex;
    align-items: center;
    background-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

/* Hover Underline Animation */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* "Start a Project" Button Style */
.btn-start {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-start::before {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #000;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-start:hover::before {
    transform: scale(1.3);
    background-color: #444;
}

/* --- 4. Hamburger Menu (Hidden on Desktop) --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* --- 5. Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    padding-top: 100px;
    position: relative;
    background: transparent !important;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 6rem); /* Responsive font sizing */
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em; /* Tight kerning per design */
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.8rem);
    font-style: italic;
    font-weight: 400;
    color: #1a1a1a;
}

/* --- 6. Hero Footer & Scroll Line --- */
.hero-footer {
    position: absolute;
    bottom: 80px;
    right: 80px;
    text-align: right;
    max-width: 320px;
}

.agency-info {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #333;
}

.scroll-line {
    width: 45vw; /* Line extends from right */
    height: 1px;
    background-color: #fff;
    position: absolute;
    right: -80px; 
    bottom: -10px;
}

/* --- 7. Reveal Animations --- */
.reveal-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 8. Responsive Media Queries --- */
@media (max-width: 1024px) {
    .navbar { padding: 30px 40px; }
    .hero { padding: 0 40px; }
    .hero-footer { right: 40px; }
    .scroll-line { right: -40px; }
}

@media (max-width: 768px) {
    /* Mobile Nav Toggle */
    .hamburger { display: flex; }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 40px;
    }

    .nav-links li a {
        font-size: 2rem;
    }

    /* Hamburger to X Animation */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); }

    .hero {
    margin-top: 0px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

    .hero-content {
      margin-top: 180px;
    }
    /* Hero adjustments for mobile */
    .hero-content h1 {
        margin-top: -100px;
    }

    .hero-footer {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 60px;
        text-align: left;
        max-width: 100%;
    }

    .scroll-line {
        width: 100%;
        left: 0;
        right: auto;
    }
}

/* --- About Section Styles --- */
.about {
    padding: 120px 80px;
    background-color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: transparent !important;
}

.about-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Split layout */
    gap: 60px;
    width: 100%;
    align-items: flex-start;
}

/* Red Accent dot */
.section-tag {
    color: #ff0000; /* Vibrant red from your design */
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* Right Column Styling */
.about-body {
    padding-top: 100px; /* Offset to align with the bottom of the title */
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 30px;
    max-width: 400px;
}

.discover-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.discover-link:hover {
    gap: 15px; /* Subtle arrow movement on hover */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 40px;
    }
    
    .about-body {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 30px;
    }
    
    .section-tag {
        font-size: 1.4rem;
    }
}


/* --- Section Header Styling --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px; /* Space between header and logos */
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: #ff0000; /* Velikan Red */
    border-radius: 50%;
    display: inline-block;
}

.section-label {
    color: #ff0000;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* --- Logo Grid Layout --- */
.logo-grid-section {
    padding: 120px 80px;
    background-color: #0b0b0b;
}

.logo-container {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns desktop */
    gap: 30px;
}

.logo-card {
    text-decoration: none;
    background: transparent !important;
}

.logo-image-inner {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: transparent !important;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Hover: Dim only, No background */
.logo-card:hover .brand-logo {
    opacity: 0.3;
    transform: scale(0.96);
}

/* --- THE MOBILE FIX (2 Columns, 3 Rows) --- */
@media (max-width: 768px) {
    .logo-grid-section {
        padding: 80px 25px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .logo-image-inner {
        padding: 30px;
    }

    .brand-logo {
    width: 140%;
    height: 200%;
    object-fit: contain;
}
    
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 80px;
}

.cta-container {
    background: linear-gradient(135deg, #4F4E3D 0%, #ED1B24 30%, #ff4d4d 70%, #000000 100%);
    background-size: 200% 200%;
    padding: 120px 40px;
    text-align: center;
    border-radius: 4px; /* Subtle rounding to match your image */
    transition: background-position 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Moving gradient effect on hover */
.cta-container:hover {
    background-position: right center;
}

.cta-title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
}

.cta-button {
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-container {
        padding: 80px 20px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 15px 0;
    }
}

/* --- 1. Main Footer Container --- */
.site-footer {
    background-color: #0b0b0b;
    /* Use one consistent padding set */
    padding: 100px 80px 60px 80px; 
    position: relative;
    width: 100%;
}

.footer-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* --- 2. Logo Section --- */
.footer-logo-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.footer-brand-img {
    height: 55px; /* Refined editorial size */
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    margin-left: -80px;
}

.footer-brand-img:hover {
    opacity: 1;
}

/* --- 3. Main Content Row (Links & Copyright) --- */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Keeps copyright aligned with the bottom of the contact list */
}

.footer-col h4.footer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #555;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: #ff0000;
}

.footer-right .copyright {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.4;
    white-space: nowrap;
}

/* --- 4. Unified Responsive Polish (One block only) --- */
@media (max-width: 768px) {
    .site-footer {
        padding: 60px 25px 40px 25px;
    }

    .footer-logo-wrap {
        margin-bottom: 40px;
    }

    .footer-brand-img {
        margin-left: -20px;
        height: 40px;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-right {
        width: 100%;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* --- Global Background Layer --- */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;      /* Change from -1 to -2 (The Bottom Floor) */
    overflow: hidden;
    background-color: #ffffff; 
    pointer-events: none;
}

/* 1. Container keeps the blob in the background */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;      /* Keep as -1 (The Middle Layer) */
    overflow: hidden;
    background: transparent; /* CHANGE THIS: If this is solid, it hides the white background */
    pointer-events: none;
}

/* 2. The Blob itself */
.blob {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #6e8efb, #a777e3); /* Replace with your brand colors */
  border-radius: 50%; /* Start as a circle */
  filter: blur(60px); /* Softens the edges into a "blub" */
  opacity: 0.5;
  animation: float-and-morph 20s ease-in-out infinite;
}

/* 3. The Animation: Moves AND subtly changes shape */
@keyframes float-and-morph {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  33% {
    transform: translate(100px, 50px) scale(1.1);
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  66% {
    transform: translate(-50px, 150px) scale(0.9);
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
  }
}


/* --- Adjusting the FAQ Borders for Dark Mode --- */
.faq-list, 
.faq-item, 
.site-footer {
    border-color: var(--border-color);
}

/* --- Dark Mode Specific Blob Glow (Optional but recommended) --- */
[data-theme="dark"] .blob {
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 0%, rgba(255, 0, 0, 0) 70%);
    opacity: 0.6;
}



/* Force links to use the variable */
.nav-links li a {
    color: var(--text-color) !important; 
    transition: color 0.4s ease;
}

/* Animated Underline color update */
.nav-links li a::after {
    background-color: var(--text-color);
}

/* --- Start a Project Button Fix --- */
.btn-start {
    color: var(--text-color) !important;
}

.btn-start::before {
    /* The dot next to the text */
    background-color: var(--text-color);
    transition: background-color 0.4s ease;
}

/* --- Logo Visibility --- */

/* --- Hamburger Icon Fix --- */
.hamburger span {
    background-color: var(--text-color);
}

/* --- Hero Footer Elements --- */
.agency-info {
    color: var(--text-color);
    transition: color 0.4s ease;
}

.scroll-line {
    background-color: var(--text-color); /* The line is a background-color, not text color */
    transition: background-color 0.4s ease;
}

/* --- Ensuring Hero Subtitle (Italic text) follows --- */
.hero-subtitle {
    color: var(--text-color);
    opacity: 0.8; /* Keeps that slightly muted look from your design */
    transition: color 0.4s ease;
}

/* --- Footer Dark Mode Sync --- */
.site-footer {
    margin-top: 0px;
    transition: border-color 0.4s ease;
}

/* Ensures the headers like 'Company', 'Resources' change */
.footer-col h4 {
    color: var(--text-color);
    opacity: 0.5; /* Keeps them looking like labels */
}

/* Ensures all footer links (Home, About, etc.) change */
.footer-col a {
    color: var(--text-color) !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Social links and copyright text */
.footer-bottom p, 
.copyright, 
.social-links a {
    color: var(--text-color) !important;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

/* Hover state for social links in dark mode */
.social-links a:hover {
    color: var(--accent-red) !important;
    opacity: 1;
}

/* --- Project Intro Fix --- */
/* The text "We support brands in creating unique..." */
.projects-intro {
    color: var(--text-color);
    opacity: 0.8;
}

/* DARK MODE LOGO FIX */
[data-theme="dark"] .footer-logo {
    /* This flips a black logo to white perfectly */
    filter: invert(1) brightness(2);
}

/* Fix for the hamburger icon lines */
[data-theme="dark"] .hamburger span {
    background-color: var(--text-color); /* Turns the 3 lines white */
}

/* Ensure the 'Start a Project' dot is white in mobile dark mode */
[data-theme="dark"] .nav-container .btn-start::before {
    background-color: var(--text-color);
}

html {
    scroll-behavior: smooth;
    /* This ensures that when you click a link, it glides down */
}

/* Offset for the fixed navbar */
/* Because your navbar is fixed, it might cover the top of the section. 
   This fix ensures the section starts below the navbar. */
section {
    scroll-margin-top: 100px; 
}

/* --- Services Glass Grid --- */
.services-glass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.03); /* Very subtle white tint */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 40px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.service-card-glass:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Card Content --- */
.card-number {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.card-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-color);
}

/* --- Overlapping Circles Shape --- */
.card-circles {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

.circle-stroke {
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px); /* Glass effect inside the stroke */
}

/* Overlap logic */
.circle-stroke:last-child {
    margin-left: -60px; /* Adjust this to match the overlap in the image */
}

/* --- Mobile Fix --- */
@media (max-width: 768px) {
    .services-glass-grid {
        grid-template-columns: 1fr;
    }
    .service-card-glass {
        height: 280px;
    }
    .circle-stroke {
        width: 100px;
        height: 100px;
    }
}


/* Smooth drifting animations */
@keyframes ambient-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15vw, 10vh) scale(1.1); }
}

@keyframes ambient-drift-reverse {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-15vw, -10vh) scale(1); }
}



/* --- Massive Marquee Section --- */
.marquee-text-section {
    padding: 120px 0; /* Slightly more breathing room */
    overflow: hidden; 
    background: transparent;
    width: 100%;
    min-height: 40vh; 
}

/* SECTION */
.marquee-text-section {
    height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Reduce height on mobile */
@media (max-width: 768px) {
    .marquee-text-section {
        height: 40vh;
    }
      .line-2 {
        margin-top: -2rem; /* remove overlap */
    }
}

.marquee-wrapper {
    width: 100%;
}

.reveal-mask {
    overflow: hidden;
    width: 100%;
}

/* TEXT */
.massive-text {
    font-size: clamp(4rem, 12vw, 14rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.05em;
    white-space: nowrap;
    opacity: 0;
    transition: transform 1.2s cubic-bezier(.77,0,.18,1),
                opacity 1s ease;
}

/* Start positions (overflowed but still visible inside mask) */
.slide-right {
    transform: translateX(-40%);
}

.slide-left {
    transform: translateX(40%);
}

.massive-text.active {
    transform: translateX(0);
    opacity: 1;
}

/* Slight overlap */
.line-2 {
    margin-top: -1.5rem;
}

/* Better mobile scaling */
@media (max-width: 600px) {
    .massive-text {
        font-size: clamp(2.5rem, 14vw, 6rem);
        white-space: nowrap;
    }
        .line-2 {
        margin-top: -.3rem; /* remove overlap */
        color: #ff0000;
    }
  }

/* --- Featured Services Section --- */
.services {
    padding: 160px 80px;
    position: relative;
    z-index: 5;
    background: transparent !important;
}

/* The Grid: 2 columns for Desktop */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 80px;
    row-gap: 100px; /* Large vertical spacing as seen in the design */
    margin-top: 60px;
}

/* --- BBDO-Style Reveal Mask --- */
.reveal-mask {
    overflow: hidden; /* Clips the content as it slides up */
    display: block;
}

.service-list-item {
    display: flex;
    flex-direction: column;
    gap: 25px;
    
    /* Initial State: Hidden and Moved Down */
    opacity: 0;
    transform: translateY(80px);
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1), 
                opacity 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Triggered State via JavaScript */
.service-list-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Typography --- */
.service-heading {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.service-lead {
    font-size: 1.1rem;
    line-height: 1.5; /* Matches the clean, readable leading in the design */
    color: var(--text-color);
    opacity: 0.85;
    max-width: 420px;
}

/* --- The Service List --- */
.service-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.service-details li {
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    padding-left: 22px;
    color: var(--text-color);
    opacity: 0.9;
}

/* Red Dot Bullet styling */
.service-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

/* --- Staggered Entry Delays --- */
.reveal-mask:nth-child(1) .service-list-item { transition-delay: 0.1s; }
.reveal-mask:nth-child(2) .service-list-item { transition-delay: 0.2s; }
.reveal-mask:nth-child(3) .service-list-item { transition-delay: 0.3s; }
.reveal-mask:nth-child(4) .service-list-item { transition-delay: 0.4s; }

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .services {
        padding: 100px 40px;
    }
    .services-list-grid {
        column-gap: 40px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 80px 20px;
    }
    .services-list-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        row-gap: 60px;
    }
    .service-heading {
        font-size: 1.8rem;
    }
    .service-lead {
        font-size: 1rem;
    }
}

/* Hide the extra text initially */
.more-text {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show state */
.more-text.is-visible {
    display: inline; /* Keeps it part of the same paragraph flow */
    opacity: 1;
}

/* Button Styling */
.read-more-btn {
    background: none;
    border: none;
    color: #ff0000; /* Red accent */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 10px 0 30px 0; /* Space before the list starts */
    display: block;
    transition: opacity 0.3s ease;
}

.read-more-btn:hover {
    opacity: 0.6;
}

/* --- Insights Section --- */
.insights {
    padding: 120px 80px;
    background: transparent;
}

.insights-header {
    margin-bottom: 60px;
}

.insights-lead {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 450px;
    margin-top: 15px;
    line-height: 1.4;
}

/* Grid Layout */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card Styling */
.insight-card {
    height: 420px; /* Tall editorial ratio */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02); /* Very subtle tint */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.4s ease, background 0.4s ease;
}

.insight-card:hover {
    border-color: rgba(255, 0, 0, 0.3); /* Subtle red glow on hover */
    background: rgba(255, 255, 255, 0.04);
}

.card-index {
    font-size: 2rem;
    font-weight: 500;
    opacity: 1;
}

.card-headline {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 10px;
    font-weight: 500;
}

.card-subtext {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* --- Responsive Fixes --- */
@media (max-width: 1100px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .insights { padding: 80px 25px; }
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .insight-card {
        height: 350px;
    }
}

/* --- How We Work Section --- */
.how-work {
    padding: 160px 80px;
    background: transparent;
}

.how-work-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.how-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 500;
}

/* Scenarios Grid */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.scenario-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.scenario-label {
    display: block;
    color: var(--accent-red);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.scenario-item p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.8;
}

.closing-statement {
    font-size: 1.8rem;
    max-width: 800px;
    line-height: 1.3;
    color: var(--text-color);
    border-left: 2px solid var(--accent-red);
    padding-left: 30px;
    margin-top: 60px;
}

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    .how-work {
        padding: 80px 25px;
    }
}

/* --- Philosophy Section --- */
.philosophy {
    padding: 160px 80px;
    position: relative;
}

.philosophy-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr; /* 1:1.8 ratio for editorial look */
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sticky Left Column */
.philosophy-sticky {
    position: sticky;
    top: 150px;
    height: fit-content;
}

/* Right Content Column */
.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.philosophy-main-text {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
    font-weight: 500;
}

.philosophy-sub-text {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 600px;
}

/* Bottom Grid for the 'Attributes' */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.item-accent {
    color: var(--accent-red);
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.philosophy-conclusion {
    font-size: 2rem;
    color: var(--accent-red);
    margin-top: 40px;
    line-height: 1.2;
}

/* --- Mobile Fixes --- */
@media (max-width: 1024px) {
    .philosophy-container {
        grid-template-columns: 1fr;
    }
    .philosophy-sticky {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }
    .philosophy { padding: 80px 40px; }
}

/* --- Hero Editorial Layout --- */
.hero-editorial {
    min-height: 100vh;
    padding: 140px 80px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    position: relative;
    z-index: 2;
}

.hero-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    flex-grow: 1;
}

/* Typography Scaling */
.hero-brand {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    opacity: 0.8;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-services {
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-services .dot {
    color: var(--accent-red);
    margin: 0 10px;
}

/* Bottom Content Alignment */
.hero-bottom {
    display: flex;
    justify-content: flex-end; /* Pushes text to the right */
    margin-top: 60px;
}

.hero-description {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-description p {
    font-size: 1.15rem;
    line-height: 1.5;
    opacity: 0.85;
}

/* --- Responsive Fixes --- */
@media (max-width: 1024px) {
    .hero-editorial { padding: 120px 40px 60px; }
}

@media (max-width: 768px) {
    .hero-editorial { padding: 100px 25px 40px; }
    .hero-bottom { justify-content: flex-start; }
    .hero-title { font-size: 3rem; }
}

/* --- iPad & Tablet Optimization --- */
@media (min-width: 769px) and (max-width: 1024px) {
    
    /* headline section */
    .hero-headline-section {
        padding-top: 160px; /* Adjusted for iPad status bar/nav */
        padding-bottom: 40px;
        min-height: 60vh; /* Takes up most of the initial view */
    }

    .hero-title {
        font-size: 5rem; /* Large but fits without excessive wrapping */
        max-width: 90%;
    }

    /* Supporting Copy section */
    .hero-copy-section {
        padding-top: 20px;
        padding-bottom: 100px;
    }

    .hero-container {
        padding: 0 50px; /* Slightly tighter margins than desktop */
    }

    .hero-description {
        max-width: 80%; /* Takes up more width to prevent awkward thin columns */
        margin-right: 0; /* Ensures it stays anchored to the right edge of the container */
    }

    .hero-description p {
        font-size: 1.2rem;
        line-height: 1.5;
    }
}

/* --- Mobile Phone Polish (Standard) --- */
@media (max-width: 768px) {
    .hero-headline-section {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-description {
        max-width: 100%;
        margin-top: 40px;
    }
}

/* --- Minimal Logo Grid --- */
.projects-minimal {
    padding: 100px 80px;
    background: transparent;
}

.projects-grid-minimal {
    display: grid;
    /* Forces exactly 3 columns on desktop and iPad */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px; /* Buffer to keep logos 'raw' and centered */
    overflow: hidden;
    transition: background 0.4s ease;
}

.project-image-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
}

.raw-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents zooming */
    filter: brightness(1);
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card:hover .raw-logo {
    transform: scale(1.08);
}

/* --- Responsive Polish --- */

/* --- Desktop & iPad (3 Columns) --- */
.projects-grid-minimal {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; 
}

/* --- Mobile Responsive Fix (2 Columns, 3 Rows) --- */
@media (max-width: 768px) {
    .projects-minimal {
        padding: 60px 25px;
    }

    .projects-grid-minimal {
        /* FIX: Change from 3 columns to 2 columns */
        grid-template-columns: repeat(2, 1fr); 
        /* This will naturally create 3 rows if you have 6 logos */
        gap: 20px; 
    }

    .project-image-wrapper {
        /* Increase padding slightly or keep it tight to let the logo be BIG */
        padding: 25px; 
        aspect-ratio: 1 / 1; /* Keeps them as clean squares */
    }

    .raw-logo {
        /* Now that the box is bigger, we can let the logo grow */
        max-height: 300px; 
        width: 85%;
    }
}

/* Extra small screens fix */
@media (max-width: 400px) {
    .projects-grid-minimal {
        gap: 15px;
    }
    .project-image-wrapper {
        padding: 20px;
    }
}

* --- Article Page Specifics --- */
.article-page {
    padding-top: 180px;
    padding-bottom: 60px; /* Reduced from 150px to prevent huge gaps */
    background-color: #0b0b0b;
}

.article-container {
    max-width: 800px; /* Optimal reading width for serious text */
    margin: 0 auto;
    padding: 0 30px;
}

/* Header Styling */
.article-header {
    margin-bottom: 80px;
    margin-top: 120px;
}

.article-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--accent-red);
    display: block;
    margin-bottom: 20px;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Body Typography */
.article-body {
    display: flex;
    flex-direction: column;
    gap: 32px; /* Professional spacing between thoughts */
}

.article-para {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #ffffff;
    opacity: 0.85;
}

.article-subhead {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 10px;
    font-weight: 500;
    color: #ffffff;
}

/* --- Smooth Scrolling Hooks --- */
.reveal-mask {
    overflow: hidden;
    display: block;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.slide-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* iPad / Mobile Adjustments */
@media (max-width: 768px) {
    .article-page { padding-top: 140px; }
    .article-title { font-size: 2.8rem; }
    .article-para { font-size: 1.05rem; }
}

/* Reset Link Defaults */
.card-link {
    text-decoration: none; /* Removes the underline */
    color: inherit;        /* Forces text to stay white/grey as defined in the card */
    display: block;        /* Ensures the link fills the whole card area */
}

/* Ensure no purple color even after the link is clicked */
.card-link:visited {
    color: inherit;
}

/* Optional: Subtle hover state to indicate it is clickable */
.insight-card:hover .card-headline {
    color: var(--accent-red); /* Or stay white, depending on your preference */
    transition: color 0.3s ease;
}

.onboarding-page {
    background-color: #0b0b0b;
    padding: 160px 80px;
    color: #fff;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.form-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 40px 0 20px 0;
    letter-spacing: -0.03em;
}

.form-subtext {
    font-size: 1.2rem;
    opacity: 0.6;
    margin-bottom: 80px;
    max-width: 600px;
    line-height: 1.6;
}

/* Section Transitions */
.form-section {
    margin-bottom: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.form-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ff0000;
    margin-bottom: 40px;
}

/* Inputs */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-grid .full-width { grid-column: span 2; }

input, textarea, select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    color: #fff;
    font-size: 1.1rem;
    outline: none;
    width: 100%;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #ff0000;
}

/* Checkboxes */
.label-hint {
    margin: 30px 0 20px 0;
    font-size: 0.9rem;
    opacity: 0.5;
}

.checkbox-group, .checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.custom-check {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.custom-check input { width: auto; margin-right: 15px; cursor: pointer; }
.custom-check:hover { opacity: 1; }

/* Submit Button */
.submit-brief-btn {
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 25px 50px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    width: 100%;
    transition: background 0.4s;
}

.submit-brief-btn:hover {
    background: #cc0000;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .onboarding-page { padding: 80px 25px; }
    .input-grid { grid-template-columns: 1fr; }
    .input-grid .full-width { grid-column: span 1; }
}
