@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Space+Grotesk&family=Syne:wght@400..800&display=swap');

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

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

main {
    position: relative;
    margin-bottom: 90vh;
    z-index: 2;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/* --- Navigation --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 5px 15px;
            position: fixed;
            top: 0;
            width: 100%;
            height: 85px;
            box-sizing: border-box;
            z-index: 999;
            font-family: "Inter", sans-serif;
            
        }

        .logo { 
            width: 7ch;
            height: 70px;
            display: flex;
            align-items: center;
        }
        .logo img {
            width: 100%;
            height: 100%;
        }
        .logo-badge { 
            padding-left: 0;
            clip-path: inset(0 100% 0 0); 
            transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        }
        .logo-badge.revealed {
            clip-path: inset(0 0% 0 0);
        }
        .logo-badge span {
            display: block;
            font-size: 1.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -0.055em;
            color: #000000;
            line-height: 0.75;
            transition: color 0.3s ease;
        }
        .logo-badge #span2 {
            padding-left: 0.5ch;
        }
        .logo-badge .is-white span {
            color: #ffffff !important;
        }

        .nav-right { display: flex; gap: 20px; align-items: center; }
        .work-btn { background: #ff0000; color: white; padding: 10px 20px; border-radius: 20px; text-decoration: none; font-size: 14px; font-weight: 500; text-transform: uppercase; }
        


.dwk-burger {
    z-index: 999;
    cursor: pointer;
    transform: rotateY(0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}



.dwk-burger__patty {
    width: 38px;
    height: 2px;
    margin: 0 0 5.5px 0;
    background: #000000;
    mix-blend-mode: difference;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.dwk-burger__patty:last-child { margin-bottom: 0;
} 

.dwk-burger--close { transform: rotate(180deg); }
.dwk-burger--close .dwk-burger__patty:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.dwk-burger--close .dwk-burger__patty:nth-child(2) { opacity: 0; }
.dwk-burger--close .dwk-burger__patty:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Menu Overlay */
.dwk-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    visibility: hidden;
}

.dwk-menu--active { visibility: visible; }

.dwk-menu__brand,
.dwk-menu__list {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    float: left;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

/* Blue to Pink Gradient for Menu */
.dwk-menu__list {
    margin: 0;
    padding: 0;
    background: #ffffff;
    list-style-type: none;
    transform: translate3d(0, -100%, 0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dwk-menu__list--active {
    transform: translate3d(0, 0, 0);
}

.dwk-menu__brand {
    background: #888888;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate3d(0, 100%, 0);
}



.dwk-menu__brand--active {
    transform: translate3d(0, 0, 0);
}

.dwk-menu__item {
    transform: translate3d(500px, 0, 0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-transform: uppercase;
}

.dwk-menu__item--active {
    transform: translate3d(0, 0, 0);
}

.dwk-menu__link {
    display: inline-block;
    position: relative;
    font-size: 42px;
    padding: 15px 0;
    font-weight: 300;
    text-decoration: none;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dwk-menu__link span {
    font-weight: 300;
    opacity: 0.8;
    margin-right: 15px;
    font-size: 14px;
}

.dwk-menu__link:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0px;
    height: 2px;
    background: #000000;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.dwk-menu__link:hover:before {
    width: 100%;
}

.dwk-menu a.dwk-menu__link:hover {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

/* Staggered Delay */
.dwk-menu .dwk-menu__item:nth-child(1) { transition-delay: 0.1s; }
.dwk-menu .dwk-menu__item:nth-child(2) { transition-delay: 0.2s; }
.dwk-menu .dwk-menu__item:nth-child(3) { transition-delay: 0.3s; }
.dwk-menu .dwk-menu__item:nth-child(4) { transition-delay: 0.4s; }
.dwk-menu .dwk-menu__item:nth-child(5) { transition-delay: 0.5s; }
.dwk-menu .dwk-menu__item:nth-child(6) { transition-delay: 0.6s; }


/* Ensure the elements smoothly fade between colors */
.logo-badge span,
.dwk-burger__patty,
.logo img {
    transition: all 0.4s ease; 
}

/* --- LIGHT THEME OVERRIDES --- */
/* Makes the logo image pure white */
header.theme-light .logo img {
    filter: brightness(0) invert(1);
}

/* Makes the logo text pure white */
header.theme-light .logo-badge span {
    color: #ffffff !important;
    mix-blend-mode: normal; /* Prevents blending conflicts over photos */
}

/* Makes all 3 burger patties pure white */
header.theme-light .dwk-burger__patty {
    background: #ffffff !important;
    mix-blend-mode: normal; /* Prevents blending conflicts over photos */
}

@media screen and (max-width: 768px) {

    header {
        padding: 15px 10px;
        height: 70px;
    }
    .logo {
        width: 60px;
        height: 60px;
    }
    ul.dwk-menu__list,
    div.dwk-menu__brand {
        float: none;
        width: 100%;
        min-height: 0;
    }

    ul.dwk-menu__list--active,
    div.dwk-menu__brand--active {
        transform: translate3d(0, 0, 0);
    }

    .dwk-menu__list {
        height: 70vh;
        transform: translate3d(-100%, 0, 0);
    }

    .dwk-menu__link {
        font-size: 24px;
    }

    .dwk-menu__brand {
        height: 30vh;
        transform: translate3d(100%, 0, 0);
    }
    .dwk-burger--close .dwk-burger__patty {
        color: #ffffff;
    }

    .dwk-menu__brand .dwk-logo {
        width: 200px;
        height: 200px;
    }
    .nav-right .work-btn {
        display: none;
    }
    .logo-badge {
        clip-path: inset(0 0% 0 0);
    }
    .logo-badge.hidden-mobile {
        clip-path: inset(0 100% 0 0);
    }
}


@media screen and (max-width: 480px) {
    .header {
        padding: 5px 10px;
        height: 60px;
    }
    .logo-badge span {
        font-size: 1.25rem;
        line-height: 0.85;
    }
}

.images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center !important;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.revealers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 999;
    /*   opacity: 0; */
}

.revealer {
    flex: 1;
    width: 100%;
    background-color: #fff;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.images {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transform-origin: center center;
    will-change: transform;
}

.img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.5);
    width: 100%;
    height: 100%;
    visibility: visible;
    will-change: transform;
    opacity: 0;
}

.img:first-child {
    opacity: 1;
}

.images.stacked-container {
    position: absolute;
    left: 2em;
    bottom: 2em;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1em;
    transform: none;
    will-change: transform;
}

.img.stacked {
    position: relative;
    width: 225px;
    height: 125px;
    transform: none;
    top: auto;
    left: auto;
    opacity: 1;
    border-radius: 28px;
    will-change: transform;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.site-logo {
  position: absolute;
  top: 12em;
  left: 2em;
  display: flex;
  gap: 1em;
}

.site-logo h1 {
  color:#000000;
  font-family: "Inter";
  font-size: 5vw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.site-logo h1 sup {
  color:#000000;
  position: absolute;
  top: -0.125em;
  width: 2rem;
  height: 2rem;

}

.cover-img {
    position: absolute;
    right: 2em;
    bottom: 2em;
    height: 50%;
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

.cover-img img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center !important;
}

.site-info {
    position: absolute;
    bottom: 2em;
    left: 2em;
    width: 50%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.site-info .row {
    display: flex;
    gap: 2em;
}

.site-info .row .col {
    flex: 1;
}

.site-info h2 {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
}

.site-info p {
    text-transform: uppercase;
    font-family: "Inter";
    font-size: 11px;
    font-weight: 500;
    color: #000;
}

.site-info .row:nth-child(2) .col:nth-child(2) {
    display: flex;
}

.address,
.socials {
    flex: 1;
}

.address p,
.socials p {
    line-height: 1.25;
}

.word,
.nav-item,
.line {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.word h1,
.nav-item p,
.site-info h2 .line span,
.line p {
    position: relative;
    will-change: transform;
}

.site-info h2 .line span {
    display: flex;
    transform: translateY(100%);
}

.word h1,
.nav-item p,
.line p {
    transform: translateY(100%);
}

/* Hero Responsive styles */
@media screen and (max-width: 1024px) {
    .site-logo h1 {
        font-size: 8vw; /* Scale up slightly as screen narrows for impact */
    }
    .site-info {
        width: 60%; /* Give text more room */
    }
}

@media screen and (max-width: 768px) {
    .site-info .row:nth-child(2) {
        display: none;
    }

    /* 2. Adjust Layout Spacing */
    .site-logo {
        top: 8em; /* Bring logo up to avoid center overlap */
    }

    .site-info {
        width: 90%; /* Expand to nearly full width */
        height: auto;
        bottom: 15%; /* Lift it off the very bottom */
    }

    .site-info h2 {
        font-size: 20px; /* Smaller heading for smaller screens */
    }

    /* 3. Adjust Cover Image */
    .cover-img {
        width: 50%;
        height: 40%;
        right: 1em;
        bottom: 1em;
    }
    
    /* 4. Adjust Stacked Image Thumbnails (Bottom Left) */
    .images.stacked-container {
        left: 1em;
        bottom: 1em;
        gap: 0.5em;
    }
    
    .img.stacked {
        width: 120px; /* Scale down the thumbnails significantly */
        height: 70px;
        border-radius: 12px;
    }
}

@media screen and (max-width: 480px) {
    .site-logo {
        top: 6em;
        left: 1em;
        flex-direction: column; /* Stack "Casa" and "Designs" */
        gap: 0;
    }

    .site-logo h1 {
        font-size: 12vw;
        line-height: 1;
    }

    /* 2. Reposition Site Info */
    .site-info {
        left: 1em;
        bottom: 1.5em;
        width: calc(100% - 2em);
    }

    .site-info h2 {
        font-size: 18px;
        line-height: 1.3;
    }

    .site-info .row {
        flex-direction: column; /* Stack "Featured Works" above the H2 */
        gap: 0.5em;
    }

    /* 3. Hero Image - Move to Background/Subtle position */
    .cover-img {
        width: 80%; /* Make it a prominent background element */
        height: 35%;
        opacity: 0.8;
        z-index: -1; /* Place behind text if necessary for legibility */
    }

    /* 4. Thumbnails - Hide or minimize to prevent clutter */
    .images.stacked-container {
        display: none; /* Recommended: Hide thumbnails on mobile to focus on the story */
    }
}

/* Section header styles */
.header-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 25vh;
    height: auto;
    border-bottom: 1px solid #ddd;
}


.header-row .header-left {
    width: 70%;
    padding: 3rem 0 1.5rem 10rem;
}

.header-left h2 {
    font-size: 4vw;
    font-weight: 600;
    text-transform: uppercase;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 0.85;
    letter-spacing: -0.25vw;
}

.header-row .header-right {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.badge-container {
    position: relative;
    width: 175px; /* Large enough to fit the text circle */
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The spinning text SVG */
.spinning-text-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 12s linear infinite;
    pointer-events: none; /* Allows clicks to pass through to the button */
}

.spinning-text {
    fill: black;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3.25px;
}

/* The static central button */
.btn-red-static {
    background: #ff0000;
    width: 120px; /* Controlled size for the button */
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn-red-static:hover {
    transform: scale(0.95);
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.header-left p {
    font-size: 1.2vw;
    line-height: 1.1;
    color: #000000;
    max-width: 80%;
}

@media (max-width: 1024px) {
    .header-row .header-left {
        padding: 3rem 0 1.5rem 5rem;
    }
    .header-left h2 {
        font-size: 6vw;
    }
    .header-left p {
        font-size: 2vw;
    }
}

@media (max-width: 768px) {
    .header-row .header-left {
        padding: 3rem 0 1.5rem 3rem;
        border-right: none;
    }
    .header-left h2 {
        font-size: 6vw;
    }
    .header-left p {
        font-size: 3vw;
        max-width: 90%;
    }
    .badge-container {
        width: 150px;
        height: 150px;
    }
    .btn-red-static {
        width: 100px;
        height: 100px;
    }
    .spinning-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header-row {
        flex-direction: column;
        gap: 20px;
    }
    .header-row .header-left {
        padding: 2rem 0;
        border-right: none;
        width: 90%;
    }
    .header-left p {
        max-width: 100%;
        font-size: 3.5vw;
    }
    .header-row .header-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding: 0 10px 10px 0;
    }

    .header-left h2 {
        font-size: 6vw;
        line-height: 1;
    }
    .header-right {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }
}

.face-grain {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 40px 0;
    margin: 10% 0;
}

.face-grain-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 40px;
    border-bottom: 1px solid #d4cdc3;
    margin-bottom: 40px;
    padding-left: 2rem;
    padding-right: 2rem;
}

.board-heading {
    font-size: 6vw;
    font-weight: 600;
    letter-spacing: -2px;
    text-transform: uppercase;
    line-height: 0.9;
    flex: 1;
}

.hero-description {
    max-width: 320px;
    padding-left: 20px;
    padding-top: 20px;
    text-align: right;
}

.description-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.highlight-timber {
    color: #ff0000;
    /* Earthy saddle brown */
}

.description-text {
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.5;
}

/* --- Board Showcase Grid --- */
.board-showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Asymmetrical roughly 2/3 and 1/3 */
    gap: 20px;
    min-height: 70vh;
    max-height: 100vh;
    border-bottom: 1px solid #d4cdc3;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 40px;
}

/* Card General Styling */
.board-card {
    border-radius: 8px;
    /* Slightly sharper corners for a crafted look */
    overflow: hidden;
    background-color: #eae6df;
    display: flex;
}

.board-card .image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d1cbc1;
    width: 100%;
    height: 100%;
}

.board-card .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center !important;
}

/* Large Card (Left Feature) */
.feature-card .card-inner {
    display: flex;
    width: 100%;
}

.split-display .main-board-img {
    flex: 1;
    background-color: #c4bcb0;
}

/* Stacked Column (Right Details) */
.stacked-details-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-card {
    flex: 1;
    /* Distributes height evenly */
}

.grain-texture-img {
    background-color: #b5a999;
}

.about-closing {
    padding: 15.5rem 0 12.2rem 0;
}


.closing-header {
    font-size: clamp(2rem, 6rem, 2.25vw);
    font-weight: 300;
    line-height: 0.98;
    letter-spacing: -0.1vw;
    margin: 0 auto;
    max-width: 80%;
    color: #ccc; /* Initial light gray color */
    background: linear-gradient(to right, #000, #000) no-repeat;
    background-size: 0% 100%; /* Start with 0% fill */
    background-clip: text;
    -webkit-background-clip: text;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .face-grain-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hero-description {
        max-width: 85%;
        padding-left: 0;
        text-align: left;
    }

    .board-showcase-grid {
        grid-template-columns: 1fr;
        /* Stack grid vertically on smaller screens */
    }
    .stacked-details-column {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

    .feature-card .card-inner {
        flex-direction: column;
    }

    .main-board-img {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .face-grain {
        margin-top: 12.5vh;
    }
}

@media (max-width: 480px) {
    .face-grain-hero {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }
    .hero-description {
        max-width: 100%;
    }
    .board-showcase-grid {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }
    .stacked-details-column {
        gap: 10px;
    }
}

/* --- Split Slider Section --- */
.split-slider-section {
  display: flex;
  min-height: 80vh;
  background-color: #ffffff;
  border-bottom: 1px solid #d4cdc3;
}

/* Left Column (Slider) */
.split-left-col {
  flex: 1;
  border-right: 1px solid #d4cdc3; /* Subtle center divider line */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* Slider Architecture */
.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px; /* Adjust based on your preferred image width */
  aspect-ratio: 4 / 5; /* Keeps images uniform */
  border-radius: 8px; /* Requested border radius */
  overflow: hidden; /* Hides off-screen slides */
  background: #f4f4f4;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.slider-track {
  display: flex;
  height: 100%;
  width: 1000%; /* 10 slides = 1000% width */
  transition: none !important;
  will-change: transform;
}

.slide {
  position: relative;
  width: 10%; /* 1/10th of the track */
  height: 100%;
  overflow: hidden;
}

/* Image Placeholders */
.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  color: #fff;
  padding: 0;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center !important;
}

/* Slide Caption */
.slide-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  /* The Y position is handled natively by GSAP below */
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}
.slider-btn:hover { 
    background: #ffffff;
    cursor: pointer;
}
.slider-btn svg { width: 20px; height: 20px; color: #000; }
.prev-btn { left: 5px; }
.next-btn { right: 5px; }

/* Right Column (Text) */
.split-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 10% 10%; /* Lots of whitespace breathing room */
}

.split-right-col .header-row {
    border-bottom: none;
}

.split-right-col .header-row .header-left {
    width: 100%;
    padding: 0px 0px 1.5rem 0px;
}

.agency-description {
  font-size: 1.25rem;
  line-height: 1.2;
  color: #000000;
}

section.face-grain.slicer-section {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .split-slider-section {
        min-height: 50vh
    }
}

/* Responsiveness */
@media (max-width: 768px) {
  .split-slider-section {
    flex-direction: column-reverse;
  }
  .split-left-col {
    border-right: none;
  }
}

@media (max-width: 480px) {
    .split-left-col {
        padding: 10px;
    }
    .split-right-col {
        padding: 40px 20px;
    }
    .split-right-col .header-row {
        min-height: auto;
    }
}





/* Accordio styles */
.accordion-container {
    max-width: 80%;
    margin: 0 auto;
    min-height: 60vh; /* Achieves the 70vh requirement */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the accordion inside the 70vh space */
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Thin dividing line */
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.accordion-title {
    font-size: 2vw;
    font-weight: 400;
    letter-spacing: -0.2vw;
    text-transform: uppercase;
}

.accordion-icon {
    color: #ff0000;
    font-size: 3rem;
    font-weight: 100;
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Smooth rotation */
}

/* Active State: Rotates the + icon counter-clockwise to form an x */
.accordion-header.active .accordion-icon {
    transform: rotate(-225deg); 
}

/* The Content Panel */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr; /* Collapses the container */
    transition: grid-template-rows 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

/* When the header is active, expand the row to its natural auto height (1fr) */
.accordion-header.active + .accordion-content {
    grid-template-rows: 1fr; 
}

/* The Inner Wrapper */
.accordion-inner {
    overflow: hidden; /* Crucial: Hides content when the grid row is 0fr */
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 0 2rem;
}

/* We use a pseudo-element for bottom padding so it doesn't break the 0fr collapse */
.accordion-inner::after {
    content: '';
    display: block;
    height: 2rem; 
}

.accordion-inner p {
    font-size: 1.2vw;
    line-height: 1.1;
    max-width: 100%;
}

.accordion-grid {
    display: grid;
    grid-template-columns: 6fr 5fr 4fr;
    gap: 2rem;
}

.accordion-grid-item {
    overflow: hidden;
    height: auto;
    max-height: 500px;
    width: 100%;
}

.accordion-grid-item img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 6px;
}

.accordion-grid-item video {
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.accordion-grid-item p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    color: #ffffff;
    text-align: center;
}

.faq {
    width: 100%;
    min-height: 90vh;
    height: auto;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.faq .header-row {
    border-bottom: none;
    height: auto;

}

.faq .header-row .header-left {
    padding: 3rem 0 1.5rem 8rem;
    width: 100%;
}

.faq .accordion-container {
    width: auto;
    max-width: 50%;
    margin-left: 20%;
    margin-right: 10vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3rem;
}

.faq .accordion-item {
    border-bottom: 1px solid rgb(221, 221, 221);
    width: auto;
}

.faq .accordion-header {
    width: 100%;
    background: none;
    border: none;
    color: #000000;
    padding: 1rem 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5vw;
    cursor: pointer;
}

.faq .accordion-title {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.05vw;
    text-transform: none;
}

.faq .accordion-icon {
    line-height: 1;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); /* Smooth rotation */
}

.faq .accordion-content {
    padding-left: 2rem;
}

/* The Inner Wrapper */
.faq .accordion-inner {
    overflow: hidden; /* Crucial: Hides content when the grid row is 0fr */
    color: #000000;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0 2.25rem;
}

/* We use a pseudo-element for bottom padding so it doesn't break the 0fr collapse */
.faq .accordion-inner::after {
    content: '';
    display: block;
    height: 2rem; 
}

.faq .accordion-inner p {
    font-size: 1.05rem;
    line-height: 1.2;
    max-width: 95%;
}

@media screen and (max-width: 1024px) {
    .faq {
        display: flex;
        flex-direction: column;
    }
    .faq .accordion-container {
        max-width: 90%;
        min-height: 50vh;
        margin-left: 0;
        margin: 0 auto;
    }
    .faq .header-row {
        min-height: 0;
    }
    .faq .header-row .header-left {
        padding: 3rem 0 1.5rem 5rem;
    }
}

@media screen and (max-width: 768px) {
    .faq .header-row .header-left {
        padding: 3rem 0 1.5rem 3rem;
    }
    .faq .accordion-inner p {
    font-size: 1.05rem;
    line-height: 1.1;
    max-width: 100%;
}
}

@media screen and (max-width: 480px) {
    .faq .header-row .header-left {
        padding: 2rem 0;
        width: 90%;
    }
    .faq .accordion-icon svg {
        width: 2.5rem;
        height: 2.5rem;
    }
}



.contact {
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    min-height: 80vh;
    margin-top: 2.5%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact .header-row {
    display: flex;
    justify-content: center; /* This centers the container horizontally */
    align-items: center;
    width: 100%;
    border-bottom: none;
}

.contact .header-row .header-left {
    width: auto;
    padding: 0 20px;
    border: none;
}

.conversion-footer {
    width: 100%;
    min-height: 70vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 1rem;
    box-sizing: border-box;
    gap: 10rem;
    overflow: hidden;
    margin: 0;
    border-top: 0.5px solid #999;
}

/* Top Header Area */
.conversion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex: 0 0 auto;
    padding: 0 1.2rem;
}

.conversion-title {
    font-size: 4vw;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.15vw;
    line-height: 1;
    padding-top: 4rem;
    text-transform: uppercase;
}

.conversion-cta {
    background-color: #ff0000;
    height: 100%;
    color: #fff;
    text-decoration: none;
    padding: 6rem 12rem;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 4px;
    display: flex;
    align-items: center;
}



/* Mosaic Grid Area */
.conversion-mosaic {
    display: grid;
    /* Create 24 equal micro-columns instead of 6 specific ones */
    grid-template-columns: repeat(24, 1fr); 
    grid-auto-rows: 250px; 
    gap: 0.75rem;
    flex: 1; 
    min-height: 0; 
    height: 100%;
}

.mosaic-item {
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    position: relative;
}

.conversion-mosaic {
    display: grid;
    /* Create 24 equal micro-columns instead of 6 specific ones */
    grid-template-columns: repeat(24, 1fr); 
    grid-auto-rows: 250px; 
    gap: 0.75rem;
    flex: 1; 
    min-height: 0; 
    height: 100%;
}

/* Base item styles remain exactly the same */
.mosaic-item {
    border-radius: 6px;
    overflow: hidden;
    background: #f4f4f4;
    position: relative;
}

.mosaic-item img,
.mosaic-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ROW 1 (Items 1 through 6) --- */
/* These values add up to 24, mimicking your original fractional widths */
.mosaic-item:nth-child(1) { grid-column: span 3; }  /* roughly 1fr */
.mosaic-item:nth-child(2) { grid-column: span 4; }  /* roughly 1.2fr */
.mosaic-item:nth-child(3) { grid-column: span 7; }  /* roughly 2.5fr */
.mosaic-item:nth-child(4) { grid-column: span 3; }  /* roughly 1fr */
.mosaic-item:nth-child(5) { grid-column: span 3; }  /* roughly 1fr */
.mosaic-item:nth-child(6) { grid-column: span 4; }  /* roughly 1.2fr */

/* --- ROW 2 (Items 7 through 12) --- */
/* Completely different widths! Just ensure these also add up to 24 */
.mosaic-item:nth-child(7) { grid-column: span 5; }  
.mosaic-item:nth-child(8) { grid-column: span 4; }  
.mosaic-item:nth-child(9) { grid-column: span 8; }  /* Makes the video nicely wide! */
.mosaic-item:nth-child(10) { grid-column: span 3; } 
.mosaic-item:nth-child(11) { grid-column: span 4; }

@media (max-width: 1024px) {
    .conversion-title {
        font-size: 6vw;
    }
    .conversion-cta {
        padding: 1.5rem 6rem;
    }
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .conversion-footer {
        height: auto; /* Allow growth on small screens */
        min-height: 40vh;
    }
    .conversion-title {
        font-size: 8vw;
        padding-top: 2rem;
    }
    .conversion-mosaic {
        grid-auto-rows: 200px; /* Reduce row height for smaller screens */
    }
    .conversion-cta {
        padding: 3rem 5rem;
        font-size: 1rem;
    }
    /* Row 1 */
    .mosaic-item:nth-child(1) { grid-column: span 10; }
    .mosaic-item:nth-child(2) { grid-column: span 6; }
    .mosaic-item:nth-child(3) { grid-column: span 8; }
    
    /* Row 2 */
    .mosaic-item:nth-child(4) { grid-column: span 8; }
    .mosaic-item:nth-child(5) { grid-column: span 8; }
    .mosaic-item:nth-child(6) { grid-column: span 8; }
    
    /* Row 3 */
    .mosaic-item:nth-child(7) { grid-column: span 14; }
    .mosaic-item:nth-child(8) { grid-column: span 10; }
    
    /* Row 4 (Make the video take up the full width for impact!) */
    .mosaic-item:nth-child(9) { grid-column: span 24; } 
    
    /* Row 5 */
    .mosaic-item:nth-child(10) { grid-column: span 12; }
    .mosaic-item:nth-child(11) { grid-column: span 12; }
}

@media (max-width: 480px) {
    .conversion-header {
        padding: 0;
    }
    .conversion-title {
        font-size: 8vw;
        padding-top: 2rem;
    }
    .conversion-cta {
        padding: 2rem 1rem;
        font-size: 1rem;
    }
    .conversion-mosaic {
        /* Reduce row height again for smaller screens */
        grid-auto-rows: 160px; 
        gap: 0.5rem; /* Slightly smaller gap to save space */
    }

    /* Switch to a mix of full-width (span 24) and half-width (span 12) items */
    /* A crucial rule for CSS Grid: To avoid empty gaps, sequential items 
       that share a row must perfectly add up to 24! */
    
    .mosaic-item:nth-child(1) { grid-column: span 24; } /* Full width */
    
    .mosaic-item:nth-child(2) { grid-column: span 12; } /* Half width */
    .mosaic-item:nth-child(3) { grid-column: span 12; } /* Half width */
    
    .mosaic-item:nth-child(4) { grid-column: span 24; } /* Full width */
    
    .mosaic-item:nth-child(5) { grid-column: span 12; } /* Half width */
    .mosaic-item:nth-child(6) { grid-column: span 12; } /* Half width */
    
    .mosaic-item:nth-child(7) { grid-column: span 24; } /* Full width */
    .mosaic-item:nth-child(8) { grid-column: span 24; } /* Full width */
    .mosaic-item:nth-child(9) { grid-column: span 24; } /* Video Full width */
    
    .mosaic-item:nth-child(10) { grid-column: span 12; } /* Half width */
    .mosaic-item:nth-child(11) { grid-column: span 12; } /* Half width */
    
    .mosaic-item:nth-child(12) { grid-column: span 24; }
}






/*-- Footer Section styles --*/
.main-footer {
    width: 100%;
    height: 90vh;
    background-color: #ff0000; /* Vibrant red from reference */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    z-index: 0;
}


.footer-top {
    padding-top: 5vh;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-col {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
}

.subscribe,
.footer-branding {
    padding-left: 4rem;
}


.label {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    width: 100%;
}

.navigation .label,
.services .label,
.info .label {
    padding-left: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Subscribe Input */
.input-wrap {
    display: flex;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    max-width: 75%;
}

.input-wrap input {
    background: none;
    border: none;
    color: #fff;
    flex-grow: 1;
    font-size: 0.9rem;
}

.input-wrap input::placeholder { color: rgba(255, 255, 255, 0.7); }

.input-wrap button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Links & Nav */
.social-links a, .nav-grid a, .info-content p {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.info-content {
    padding-left: 4rem;
}

.nav-grid {
    display: flex;
    gap: 4rem;
    padding-left: 4rem;
}

.sub-label {
    font-size:1rem;
    opacity: 0.6;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Legal Bar */
.footer-legal {
    display: flex;
    gap: 2rem;
    padding-left: 4rem;
}

.footer-legal a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
}

/* Massive Branding Text */
.footer-branding {
    margin: 0 -4rem; /* Overflows padding to touch edges */
}

.footer-branding h1 {
    font-size: 14.5vw; /* Massive responsive size */
    line-height: 0.75;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.06em;
    white-space: nowrap;
}

/* --- 1024px Viewport (Tablets/Laptops) --- */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr; /* 2x2 Grid */
    }

    .footer-col {
        padding: 3rem 0;
    }
    .footer-col.subscribe {
        padding-left: 3rem;
    }

    /* Remove right border on the second and fourth items to maintain grid look */
    .footer-col.navigation, 
    .footer-col.info {
        border-right: none;
    }

    .footer-col.services, 
    .footer-col.info {
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .footer-branding h1 {
        font-size: 15vw;
    }
}

/* --- 768px Viewport (Tablets Portrait) --- */
@media (max-width: 768px) {
    .main-footer {
        height: auto;
        min-height: 100vh;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr; /* Single column stack */
    }

    .footer-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 3rem 2rem;
    }

    .subscribe, .navigation .label, .services .label, .info .label, .nav-grid, .info-content {
        padding-left: 0; /* Reset desktop indent */
    }

    .input-wrap {
        max-width: 100%; /* Full width input for mobile thumbs */
    }

    .footer-legal {
        gap: 1rem;
        padding: 2rem;
    }

    .footer-branding {
        padding-left: 0;
        margin: 0;
    }
}

/* --- 480px Viewport (Mobile) --- */
@media (max-width: 480px) {
    main {
        margin-bottom: 0;
    }
    .main-footer {
        height: auto; /* Allow footer to grow */
        position: relative;
    }
    .label {
        font-size: 1rem;
    }
    .footer-top {
        grid-template-columns: 1fr; /* Single column stack */
    }

    .footer-col {
        padding: 2rem 1.5rem;
    }

    .footer-legal a {
        font-size: 0.9rem;
    }


    .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .social-links a {
        margin-bottom: 0;
        background: rgba(255,255,255,0.1);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }
}
/* ============================================
Text Reveal - Scroll Animation Styles
   ============================================ */

/* Base element styles */
[data-anm-scroll-text-reveal] {
    /* Hide initially to prevent FOUC - GSAP will set visibility when ready */
    visibility: hidden;
    /* GPU acceleration */
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Ensure text wrapping is preserved */
[data-anm-scroll-text-reveal] {
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Split text word/char containers */
[data-anm-scroll-text-reveal] .split-line {
    display: block;
    overflow: hidden;
}

[data-anm-scroll-text-reveal] .split-word,
[data-anm-scroll-text-reveal] .split-char {
    display: inline-block;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Preserve whitespace between words */
[data-anm-scroll-text-reveal] .split-word {
    margin-right: 0.25em;
}

[data-anm-scroll-text-reveal] .split-word:last-child {
    margin-right: 0;
}

/* ============================================
TYPE-SPECIFIC STYLES
   ============================================ */

/* Words type - default spacing */
[data-anm-scroll-text-reveal][data-anm-type="words"] .split-word {
    /* Animation handled by JS */
}

/* Characters type - tighter control */
[data-anm-scroll-text-reveal][data-anm-type="chars"] .split-char {
    /* Animation handled by JS */
}

/* ============================================
ACCESSIBILITY
   ============================================ */

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-anm-scroll-text-reveal] {
        /* Disable animations */
        animation: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    /* Ensure content is visible */
    [data-anm-scroll-text-reveal] .split-word,
    [data-anm-scroll-text-reveal] .split-char {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Contain paint for better performance */
[data-anm-scroll-text-reveal] {
    contain: layout style paint;
}

/* Ensure smooth rendering */
[data-anm-scroll-text-reveal] .split-word,
[data-anm-scroll-text-reveal] .split-char {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
DEBUG MODE (markers enabled)
   ============================================ */

[data-anm-markers="true"] {
    /* Visual indicator when markers are enabled */
    outline: 1px dashed rgba(164, 251, 129, 0.5);
    outline-offset: 4px;
}

/* ============================================
VISUAL STYLING - Light Theme
   ============================================ */

/* Container styling */
.text_reveal_wrap {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

/* Text element visual styling - Light theme */
.text_reveal_text {
    letter-spacing: -0.02em;
}

/* Strong/emphasized text - full opacity */
.text_reveal_text strong {
    color: #0a0a0a;
    font-weight: 500;
}

/* ============================================
RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Mobile optimizations */
@media (max-width: 767px) {
    [data-anm-scroll-text-reveal] {
        /* Reduce will-change on mobile for performance */
        will-change: transform;
    }

    [data-anm-scroll-text-reveal] .split-word,
    [data-anm-scroll-text-reveal] .split-char {
        will-change: transform;
    }

    .text_reveal_wrap {
        gap: 4rem;
    }
}

/* Print styles */
@media print {
    [data-anm-scroll-text-reveal] {
        /* Ensure content is visible when printing */
        opacity: 1 !important;
    }

    [data-anm-scroll-text-reveal] .split-word,
    [data-anm-scroll-text-reveal] .split-char {
        opacity: 1 !important;
        transform: none !important;
    }
}
