:root {
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-background: #ffffff;
    --color-primary: #8D8D8D;
    --header-height: 5rem;
    --container-padding: 1.5rem;
    --container-width: 70rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}
.page-wrapper {
    position: relative;
    z-index: 1;
    overflow: clip;
}
body.nav-open { overflow: hidden; }
main {
    position: relative;
    z-index: 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-text); }
.content-wrapper { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); }
.section-header { text-align: center; max-width: 45rem; margin: 0 auto 4rem auto; }
.section-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--color-text-light); line-height: 1.7; }
.cta-button { display: inline-block; background-color: var(--color-text); color: var(--color-background); padding: 0.875rem 2rem; font-weight: 500; border-radius: 4px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); color: var(--color-background); }
.lumina-masthead { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: transparent; transition: background-color 0.4s ease, box-shadow 0.4s ease; }
.lumina-masthead.scrolled { background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); backdrop-filter: blur(5px); }
.masthead-wrapper { display: flex; justify-content: space-between; align-items: center; max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding); height: var(--header-height); }
.studio-brand svg { display: block; height: 2.375rem; width: auto; }
.primary-navigation ul { list-style: none; display: flex; gap: 1.75rem; }
.primary-navigation a { color: var(--color-text-light); font-weight: 500; position: relative; padding: 0.5rem 0; }
.primary-navigation a.active, .primary-navigation a:hover { color: var(--color-text); }
.primary-navigation a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--color-primary); transition: width 0.3s ease; }
.primary-navigation a:hover::after, .primary-navigation a.active::after { width: 100%; }
.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.mobile-nav-toggle .burger-line { display: block; width: 25px; height: 2px; background-color: var(--color-text); transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-nav-toggle .burger-line:not(:first-child) { margin-top: 5px; }
.mobile-nav-toggle.is-active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-toggle.is-active .burger-line:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.is-active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-navigation-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--color-background); z-index: 999; display: flex; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-navigation-menu.is-open { transform: translateX(0); }
.mobile-navigation-menu ul { list-style: none; text-align: center; }
.mobile-navigation-menu li { margin: 2rem 0; }
.mobile-navigation-menu a { color: var(--color-text); font-size: 1.75rem; font-weight: 500; }
.intro-canvas { padding-top: var(--header-height); min-height: 100vh; display: flex; align-items: center; }
.intro-wrapper { max-width: var(--container-width); margin: 0 auto; padding: 2rem var(--container-padding); display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
.intro-text-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 1.5rem; font-weight: 700; }
.intro-text-content p { font-size: 1.125rem; color: var(--color-text-light); max-width: 30em; margin-bottom: 2rem; }
.intro-visual-content img { border-radius: 8px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); object-fit: cover; width: 100%; height: 100%; }
.core-principles { background-color: #f8f8f8; padding: 6rem 0; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.principle-item { background-color: var(--color-background); padding: 2.5rem 2rem; border: 1px solid #e9e9e9; border-radius: 8px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.principle-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); }
.principle-icon { margin: 0 auto 1.5rem auto; color: var(--color-primary); }
.principle-icon svg { width: 2.5rem; height: 2.5rem; stroke-width: 1.5; }
.principle-title { font-size: 1.375rem; font-weight: 600; margin-bottom: 1rem; }
.principle-description { font-size: 1rem; color: var(--color-text-light); line-height: 1.6; }
.featured-work { background-color: var(--color-background); padding: 6rem 0; }
.featured-work .content-wrapper { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 4rem; }
.featured-work__content .section-subtitle { margin-bottom: 0; }
.featured-work__gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1rem; height: 30rem; }
.gallery-item { position: relative; display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--large { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-item--small-1 { grid-column: 2 / 3; grid-row: 1 / 2; }
.gallery-item--small-2 { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-item__overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; transform: translateY(0); }
.overlay-text { color: #fff; font-weight: 600; font-size: 1.25rem; }
.design-process { background-color: #f8f8f8; padding: 6rem 0; }

/* --- NEW PROCESS DESIGN --- */

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 2.5rem;
    padding-top: 2rem; /* Add space for the connecting line */
}

/* The dashed line connecting the steps */
.process-grid::before {
    content: '';
    position: absolute;
    top: 2.5rem; /* Vertically center with the step markers */
    left: 7%;
    width: 86%;
    height: 2px;
    background-image: linear-gradient(to right, #ccc 50%, transparent 50%);
    background-size: 15px 2px;
    background-repeat: repeat-x;
    z-index: -1;
}

.process-step {
    position: relative;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 2rem 1.5rem;
    text-align: left;
    border-radius: 8px;
    overflow: hidden; /* Important for containing the background number */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Marker circle on the connecting line */
.process-step::before {
    content: '';
    position: absolute;
    top: -2.5rem; /* Position it above the card */
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background-color: var(--color-background);
}

.step-number {
    position: absolute;
    top: -1.5rem;
    right: 1rem;
    font-size: clamp(5rem, 15vw, 8rem); /* Responsive font size */
    font-weight: 800;
    color: #e9e9e9;
    line-height: 1;
    z-index: 1;
    user-select: none; /* Make the number non-selectable */
}

.step-title,
.step-description {
    position: relative;
    z-index: 2; /* Ensure text is above the background number */
}

.step-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.step-description {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

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

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 4rem; /* Increase gap for vertical stacking */
    }

    /* Hide horizontal line on mobile and create a vertical one */
    .process-grid::before {
        top: 5%;
        left: calc(1.5rem + 10px); /* Align with the new vertical markers */
        width: 2px;
        height: 90%;
        background-image: linear-gradient(to bottom, #ccc 50%, transparent 50%);
        background-size: 2px 15px;
    }
    
    .process-step {
       text-align: left;
       padding-left: 3rem; /* Add space for the vertical line markers */
    }

    .process-step::before {
        top: 50%;
        left: -2.5rem; /* Move marker to the left */
        transform: translateY(-50%);
    }
}


.testimonial-slider-section { background-color: var(--color-background); padding: 6rem 0; }
.testimonial-slider { position: relative; max-width: 60rem; margin: 0 auto; overflow: hidden; background-color: var(--color-background); border: 1px solid #e9e9e9; border-radius: 8px; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.slide-item { flex: 0 0 100%; width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 40% 60%; align-items: center; }
.slide-item__image { width: 100%; height: 100%; }
.slide-item__image img { width: 100%; height: 100%; object-fit: cover; }
.slide-item__content { padding: 3rem; }
.star-rating { color: #f39c12; font-size: 1.25rem; margin-bottom: 1.5rem; }
.testimonial-quote { font-size: 1.375rem; font-weight: 500; line-height: 1.6; margin: 0 0 1.5rem 0; }
.testimonial-author { font-size: 1rem; color: var(--color-text-light); font-weight: 500; }
.slider-nav-button { position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--color-background); border: 1px solid #e9e9e9; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.5rem; color: var(--color-text); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.3s ease; z-index: 10; }
.slider-nav-button:hover { background-color: var(--color-text); color: var(--color-background); }
.slider-nav-button:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-nav-button.prev { left: 1rem; }
.slider-nav-button.next { right: 1rem; }
.slider-pagination { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0.75rem; }
.pagination-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); border: none; cursor: pointer; padding: 0; transition: background-color 0.3s ease; }
.pagination-dot:hover { background-color: rgba(255, 255, 255, 0.8); }
.pagination-dot.is-active { background-color: #ffffff; }
.studio-intro { background-color: #f8f8f8; padding: 6rem 0; }
.studio-intro__grid { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 4rem; }
.studio-intro__image img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; }
.studio-intro__content .section-title { margin-bottom: 2rem; }
.studio-intro__text { font-size: 1.25rem; font-style: italic; color: var(--color-text-light); line-height: 1.7; margin-bottom: 2rem; border-left: 3px solid var(--color-primary); padding-left: 1.5rem; }
.journal-preview { background-color: var(--color-background); padding: 6rem 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.journal-card { background-color: var(--color-background); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.journal-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); }
.journal-card__link-wrapper { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.journal-card__image-container { overflow: hidden; height: 15rem; }
.journal-card__image-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.journal-card:hover .journal-card__image-container img { transform: scale(1.05); }
.journal-card__content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.journal-card__category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-primary); margin-bottom: 0.75rem; }
.journal-card__title { font-size: 1.25rem; font-weight: 600; line-height: 1.4; margin-bottom: 1rem; flex-grow: 1; }
.journal-card__read-more { font-weight: 500; color: var(--color-text); transition: color 0.3s ease; }
.journal-card__link-wrapper:hover .journal-card__read-more { color: var(--color-primary); }
.journal-preview__cta { text-align: center; margin-top: 4rem; }
.final-cta { background-color: #f8f8f8; padding: 6rem 0; text-align: center; }
.final-cta .section-header { margin-bottom: 0; }
.final-cta .cta-button { margin-top: 1.5rem; }
.site-footer { background-color: #1a1a1a; color: rgba(255, 255, 255, 0.7); padding: 4rem 0 2rem 0; text-align: center; }
.footer-brand__container { margin-bottom: 2rem; }
.footer-main-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; margin-bottom: 2rem; padding: 0; list-style: none; }
.footer-main-nav a { color: rgba(255, 255, 255, 0.7); font-weight: 500; text-decoration: none; transition: color 0.3s ease; }
.footer-main-nav a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; font-size: 0.875rem; }
.copyright-text { color: rgba(255, 255, 255, 0.5); margin-bottom: 1rem; }
.footer-legal-nav { display: flex; justify-content: center; gap: 1.5rem; }
.footer-legal-nav a { color: rgba(255, 255, 255, 0.5); text-decoration: none; transition: color 0.3s ease; }
.footer-legal-nav a:hover { color: #ffffff; }
.reveal-on-scroll { opacity: 0; visibility: hidden; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
[data-animation="fade-in"] { transform: translateY(20px); }
[data-animation="fade-in-up"] { transform: translateY(30px); }
[data-animation="fade-in-down"] { transform: translateY(-30px); }
[data-animation="fade-in-left"] { transform: translateX(40px); }
[data-animation="fade-in-right"] { transform: translateX(-40px); }
.reveal-on-scroll.is-visible { opacity: 1; transform: none; visibility: visible; }
.page-header-interactive { background-color: #f8f8f8; padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; border-bottom: 1px solid #e9e9e9; }
.page-header-interactive .content-wrapper { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
.page-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; margin: 0; }
.page-subtitle { font-size: 1.125rem; color: var(--color-text-light); max-width: 35em; margin-top: 1rem; }
.portfolio-filters { display: flex; gap: 0.5rem; background-color: var(--color-background); padding: 0.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.filter-button { font-family: var(--font-primary); font-size: 0.875rem; font-weight: 500; padding: 0.625rem 1.25rem; background-color: transparent; color: var(--color-text-light); border: none; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; }
.filter-button:hover { color: var(--color-text); }
.filter-button.is-active { background-color: var(--color-text); color: var(--color-background); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.portfolio-grid-section { padding: 4rem 0 6rem 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 25rem; gap: 1.5rem; }
.portfolio-item { position: relative; display: block; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease; }
.portfolio-item.is-hidden { transform: scale(0.8); opacity: 0; width: 0; height: 0; padding: 0; margin: 0; overflow: hidden; pointer-events: none; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item__overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: #fff; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; height: 100%; }
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; transform: translateY(0); }
.portfolio-item__overlay h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.25rem; }
.portfolio-item__overlay span { font-size: 0.875rem; font-weight: 500; opacity: 0.8; }
.portfolio-item--large { grid-column: span 2; grid-row: span 2; }
.portfolio-item--tall { grid-row: span 2; }
.portfolio-item--wide { grid-column: span 2; }
.process-intro { background-color: #f8f8f8; padding-top: calc(var(--header-height) + 4rem); padding-bottom: 4rem; text-align: center; }
.process-intro .page-title { font-size: clamp(3rem, 6vw, 4rem); }
.page-statement { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 400; color: var(--color-text-light); margin-top: 1rem; margin-bottom: 1.5rem; }
.process-intro .section-subtitle { max-width: 40em; margin-left: auto; margin-right: auto; }



/* --- NEW "SCATTERED POLAROID" TIMELINE DESIGN --- */

.timeline-section {
    padding: 6rem 0;
    background-color: #f7f7f7; /* A soft background to make the "polaroids" pop */
}

.timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 60rem;
    margin: 0 auto;
}

.timeline::after {
    /* We no longer need the central line */
    content: none;
}

.timeline-item {
    width: 100%;
    position: relative;
    padding: 0;
    left: 0; /* Reset the alternating positioning */
}

/* This is a decorative element, we can repurpose it or hide it */
.timeline-dot {
    display: none; 
}

.timeline-content {
    background-color: #ffffff;
    padding: 2rem 2rem 4rem 2rem; /* Increased bottom padding for the polaroid look */
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    border: 1px solid #e9e9e9;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px) rotate(0deg) !important; /* On hover, straighten and lift the card */
    box-shadow: 0 8px 12px rgba(0,0,0,0.1), 0 20px 40px rgba(0,0,0,0.1);
}

/* Apply different rotations and positions to each item */
.timeline-item:nth-child(1) .timeline-content {
    transform: rotate(-2.5deg);
}

.timeline-item:nth-child(2) {
    justify-self: end; /* Align to the right side of the grid column */
    margin-top: -3rem; /* Overlap with the previous item */
}
.timeline-item:nth-child(2) .timeline-content {
    transform: rotate(1.8deg);
}

.timeline-item:nth-child(3) {
    justify-self: start;
    margin-top: -2rem;
}
.timeline-item:nth-child(3) .timeline-content {
    transform: rotate(-1.5deg);
}

.timeline-item:nth-child(4) {
    justify-self: end;
    margin-top: -4rem;
}
.timeline-item:nth-child(4) .timeline-content {
    transform: rotate(2.2deg);
}

/* Redesigned content styles */
.timeline-step-number {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace; /* A typewriter-style font for the polaroid feel */
    color: var(--color-text-light);
}

.timeline-title {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-deliverables strong {
    font-weight: 700;
    color: var(--color-text);
}

.timeline-deliverables ul {
    list-style-type: '✓  '; /* Use a checkmark for the list style */
    padding-left: 1rem;
    margin-top: 0.5rem;
    color: var(--color-text-light);
}

.timeline-deliverables li {
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

/* Responsive adjustments for the scattered layout */
@media (max-width: 768px) {
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(3),
    .timeline-item:nth-child(4) {
        justify-self: start;
        margin-top: 2rem; /* Stack them vertically on smaller screens */
        transform: rotate(0); /* Remove rotation on mobile for readability */
    }

    .timeline-item:hover .timeline-content {
        transform: translateY(-5px) !important;
    }
}


.service-packages { background-color: #f8f8f8; padding: 6rem 0; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; }
.package-card { background-color: var(--color-background); border: 1px solid #e9e9e9; border-radius: 8px; padding: 2.5rem; text-align: center; display: flex; flex-direction: column; height: 100%; }
.package-card__header { border-bottom: 1px solid #f0f0f0; padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.package-card__title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.package-card__subtitle { color: var(--color-text-light); min-height: 2.5em; }
.package-card__features { list-style: none; margin: 0 0 2rem 0; flex-grow: 1; }
.package-card__features li { margin-bottom: 1rem; color: var(--color-text); }
.package-card__features .feature--disabled { color: #bbb; text-decoration: line-through; }
.cta-button--outline { background-color: transparent; color: var(--color-text); border: 1px solid #ddd; }
.cta-button--outline:hover { background-color: var(--color-text); color: var(--color-background); border-color: var(--color-text); }
.package-card--highlighted { transform: scale(1.05); border-width: 2px; border-color: var(--color-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.07); position: relative; z-index: 2; }
.package-card__badge { position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); background-color: var(--color-primary); color: #fff; padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; border-radius: 2rem; }
.faq-section { padding: 6rem 0; }
.faq-accordion { max-width: 50rem; margin: 0 auto; border-top: 1px solid #e9e9e9; }
.faq-item { border-bottom: 1px solid #e9e9e9; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-primary); }
.faq-question span { font-size: 1.25rem; font-weight: 600; color: var(--color-text); }
.faq-icon { position: relative; width: 1rem; height: 1rem; flex-shrink: 0; margin-left: 1rem; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 100%; height: 2px; background-color: var(--color-primary); transition: transform 0.3s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-icon::before { transform: translate(-50%, -50%); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-answer p { padding: 0 0 1.5rem 0; color: var(--color-text-light); line-height: 1.7; max-width: 95%; }
.faq-item.is-active .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item.is-active .faq-answer { max-height: 30rem; }
.team-preview { padding: 6rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-member-card { background-color: #f8f8f8; border-radius: 8px; overflow: hidden; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.team-member-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); }
.team-member-card__image img { width: 100%; height: 20rem; object-fit: cover; object-position: center; }
.team-member-card__info { padding: 1.5rem; }
.team-member-card__name { font-size: 1.375rem; font-weight: 600; margin-bottom: 0.25rem; }
.team-member-card__role { color: var(--color-primary); font-weight: 500; margin-bottom: 1rem; }
.team-member-card__bio { font-size: 0.875rem; color: var(--color-text-light); line-height: 1.6; }
.quality-promise { padding: 6rem 0; }
.quality-promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.quality-promise__image img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; }
.quality-promise__content .section-title { text-align: left; }
.quality-promise__content .section-subtitle { text-align: left; margin: 1rem 0 2.5rem 0; }

/* --- NEW PROMISES TABS DESIGN --- */

.promises-tabs {
    max-width: 60rem;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.promises-nav {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fcfcfc;
    border-radius: 12px 12px 0 0;
    padding: 0.5rem;
}

.promise-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--color-text-light);
    background-color: transparent;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
    justify-content: center;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.promise-tab-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: stroke 0.3s ease;
}

.promise-tab-btn:hover {
    color: var(--color-text);
}

.promise-tab-btn.is-active {
    color: var(--color-primary);
    background-color: #f0f0f0;
}

/* --- Content & Animation --- */

.promises-content-container {
    position: relative;
    padding: 2.5rem;
    min-height: 250px; /* Adjust as needed */
    overflow: hidden; /* Crucial for the animation */
}

.promise-content-panel {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px) scale(0.98);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s;
}

.promise-content-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    transition-delay: 0.1s; /* Slight delay for a smoother feel */
}

/* Animation for the panel sliding out */
.promise-content-panel.is-exiting {
    opacity: 0;
    transform: translateX(-30px) scale(0.98);
}


.promise-content-panel h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.promise-content-panel p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 50ch; /* Improves readability */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .promises-nav {
        flex-direction: column;
    }
    .promise-tab-btn {
        justify-content: flex-start;
    }
    .promises-content-container, .promise-content-panel {
        padding: 1.5rem;
        top: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        min-height: 500px;
    }
}



@media (max-width: 992px) {
    .primary-navigation { display: none; }
    .mobile-nav-toggle { display: block; }
    .principles-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .principle-item:last-child { grid-column: 1 / -1; max-width: calc(50% - 0.75rem); margin: 1.5rem auto 0 auto; }
    .featured-work .content-wrapper { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .process-step:nth-child(2)::after, .process-step:last-child::after { display: none; }
    .studio-intro__grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .studio-intro__text { text-align: left; }
    .journal-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 25rem; }
    .portfolio-item--large, .portfolio-item--tall, .portfolio-item--wide { grid-column: auto; grid-row: auto; }
    .packages-grid { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; gap: 3rem; }
    .package-card--highlighted { transform: scale(1); }
    .team-grid { grid-template-columns: 1fr; max-width: 25rem; margin: 0 auto; }
    .quality-promise__grid { grid-template-columns: 1fr; gap: 3rem; }
    .quality-promise__content .section-title, .quality-promise__content .section-subtitle { text-align: center; }
    .promise-item { text-align: left; }
}
@media (max-width: 768px) {
    .intro-wrapper { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .intro-text-content { order: 2; }
    .intro-visual-content { order: 1; }
    .intro-text-content p { margin: 0 auto 2rem auto; }
    .slide-item { grid-template-columns: 1fr; }
    .slide-item__image { height: 20rem; }
    .slide-item__content { padding: 2rem 1.5rem; text-align: center; }
    .testimonial-quote { font-size: 1.125rem; }
    .slider-pagination { position: static; transform: none; margin-top: 2rem; justify-content: center; }
    .pagination-dot { background-color: #ddd; }
    .pagination-dot.is-active { background-color: var(--color-primary); }
    .page-header-interactive .content-wrapper { flex-direction: column; align-items: center; gap: 2.5rem; }
    .page-header__text { text-align: center; }
    .page-subtitle { margin-left: auto; margin-right: auto; }
    .timeline::after { left: 0.75rem; transform: translateX(-50%); }
    .timeline-item { width: 100%; padding-left: 3rem; padding-right: 0; left: 0 !important; }
    .timeline-dot { left: 0.75rem; transform: translateX(-50%); }
    .timeline-dot {
    display: none;
    }
}
@media (max-width: 600px) {
    .principles-grid, .process-grid, .journal-grid { grid-template-columns: 1fr; }
    .principle-item:last-child { max-width: 100%; margin-top: 0; }
    .process-grid { gap: 2.5rem; }
    .process-step { padding-bottom: 2rem; border-bottom: 1px solid #eee; }
    .process-step:last-child { border-bottom: none; padding-bottom: 0; }
    .featured-work__gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; gap: 1.5rem; }
    .gallery-item--large, .gallery-item--small-1, .gallery-item--small-2 { grid-column: auto; grid-row: auto; height: 20rem; }
    .gallery-item__overlay { opacity: 1; transform: translateY(0); padding: 1.5rem 1rem; }
    .overlay-text { font-size: 1.125rem; }
    .journal-grid { max-width: 25rem; margin: 0 auto; }
    .footer-bottom { flex-direction: column; gap: 1rem; }
    .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 20rem; }
}
@media (max-width: 480px) {
    :root { --container-padding: 1rem; --header-height: 4.5rem; }
    .studio-brand svg { height: 2rem; }
    .intro-text-content h1 { font-size: 2rem; line-height: 1.2; }
    .intro-text-content p { font-size: 1rem; }
    .core-principles, .featured-work, .design-process, .testimonial-slider-section, .studio-intro, .journal-preview, .final-cta { padding: 4rem 0; }
    .section-header { margin-bottom: 3rem; }
    .principle-item { padding: 2rem 1.5rem; }
    .slider-nav-button { display: none; }
    .journal-card__title { font-size: 1.125rem; }
    .journal-preview__cta { margin-top: 3rem; }
    .page-header-interactive { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; }
    .portfolio-filters { width: 100%; }
    .filter-button { flex-grow: 1; padding: 0.75rem 0.5rem; }
    .final-cta { padding: 4rem 1rem; }
    .process-intro { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; }
    .timeline-section { padding: 4rem 0; }
    .timeline-title { font-size: 1.5rem; }
    .service-packages { padding: 4rem 0; }
    .faq-section { padding: 4rem 0; }
    .faq-question span { font-size: 1.125rem; }
    .team-preview { padding: 4rem 0; }
    .quality-promise { padding: 4rem 0; }
}
.studio-hero { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 6rem; }
.studio-hero__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 4rem; }
.studio-hero__image img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; }
.studio-hero__content { position: relative; }
.content-quote-mark { position: absolute; top: -3rem; left: -2rem; font-size: 12rem; font-family: serif; color: #f0f0f0; line-height: 1; z-index: 1; user-select: none; }
.studio-hero__content .page-title { position: relative; z-index: 2; margin-bottom: 2rem; }
.studio-hero__content p { position: relative; z-index: 2; font-size: 1.125rem; line-height: 1.8; color: var(--color-text-light); }
.founder-signature { margin-top: 2rem; font-weight: 500; font-style: italic; color: var(--color-text); }
.studio-values { background-color: #f8f8f8; padding: 6rem 0; }

/* --- NEW VALUES SLIDER DESIGN --- */

.values-slider {
    position: relative;
    max-width: 70rem; /* Or your preferred max-width */
    margin: 4rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden; /* This is crucial for the animation */
}

.values-slider__track {
    position: relative;
    min-height: 400px; /* Adjust based on your content length */
}

.value-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth, elegant transition */
}

/* --- Animation States --- */

/* The active slide in the center */
.value-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

/* The previous slide, exiting to the left */
.value-slide.is-exiting-prev {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50px) scale(0.9);
}

/* --- Slide Content Styling --- */

.value-slide__number {
    font-size: clamp(8rem, 20vw, 12rem); /* Responsive font size */
    font-weight: 800;
    color: #e9e9e9;
    line-height: 1;
    user-select: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.is-active .value-slide__number {
    transform: translateX(-10px); /* Subtle parallax effect */
}

.value-slide__content {
    max-width: 60ch; /* For better readability */
}

.value-slide__content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.value-slide__content p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* --- Navigation Styling --- */

.values-slider__nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
}

.slider-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: scale(1.1);
}

.slider-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
    background-color: #f0f0f0;
}

.slider-nav-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .value-slide {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .value-slide__number {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.1;
        font-size: 15rem;
        z-index: 0;
    }
    .value-slide__content {
        position: relative;
        z-index: 1;
    }
    .values-slider__nav {
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
    }
}


.studio-gallery { padding: 6rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 20rem); gap: 1.5rem; }
.gallery-grid__item { border-radius: 8px; overflow: hidden; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid__item:hover img { transform: scale(1.05); }
.gallery-grid__item.item-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-grid__item.item-2 { grid-column: 2 / 4; grid-row: 1 / 2; }
.gallery-grid__item.item-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-grid__item.item-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.data-count { background-color: #f8f8f8; padding: 6rem 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.counter-number-wrapper { display: flex; justify-content: center; align-items: baseline; font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 700; color: var(--color-primary); line-height: 1; }
.counter-plus { font-size: 2.5rem; margin-left: 0.25rem; }
.counter-label { font-size: 1.125rem; font-weight: 500; color: var(--color-text-light); margin-top: 1rem; }
.design-approach { padding: 6rem 0; }
.design-approach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.design-approach__image img { border-radius: 8px; width: 100%; height: 100%; object-fit: cover; }
.design-approach__content .section-title { text-align: left; }
.design-approach__content .section-subtitle { text-align: left; margin: 1rem 0 2.5rem 0; }
.approach-list { display: flex; flex-direction: column; gap: 2rem; }
.approach-item { display: flex; align-items: flex-start; gap: 1.5rem; }
.approach-item__icon { flex-shrink: 0; color: var(--color-primary); background-color: #f8f8f8; border-radius: 50%; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; }
.approach-item__icon svg { width: 1.5rem; height: 1.5rem; }
.approach-item__text h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.approach-item__text p { color: var(--color-text-light); line-height: 1.6; }
.sketch-to-reality { background-color: #f8f8f8; padding: 6rem 0; }
.stages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: center; }
.stage-card { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.stage-card:hover { transform: translateY(-10px); }
.stage-card__image img { width: 100%; height: 100%; object-fit: cover; }
.stage-card__label { position: absolute; bottom: 0; left: 0; width: 100%; background-color: rgba(26, 26, 26, 0.8); color: #ffffff; padding: 1rem 1.5rem; display: flex; align-items: baseline; gap: 0.75rem; }
.stage-card__label span { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.stage-card__label p { font-weight: 500; }

/* --- NEW COMMITMENT VERTICAL TABS DESIGN --- */

.commitment-section {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.commitment-tabs-container {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Ratio for nav vs content */
    gap: 5rem;
    align-items: flex-start;
}

/* --- Left Navigation Column --- */
.commitment-nav-wrapper {
    position: sticky;
    top: calc(var(--header-height) + 2rem); /* Sticky positioning */
}

.commitment-nav-wrapper .section-title {
    text-align: left;
    margin-bottom: 2.5rem;
}

.commitment-nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

/* The gliding indicator bar */
.commitment-nav__indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 60px; /* Should match the height of a nav link */
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth ease-out animation */
    z-index: 2;
}

.commitment-nav__link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    height: 60px;
    color: var(--color-text-light);
    font-size: 1.125rem;
    font-weight: 600;
    border-left: 3px solid #f0f0f0;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.commitment-nav__link:hover {
    color: var(--color-text);
}

.commitment-nav__link.is-active {
    color: var(--color-text);
}

.commitment-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
}

.commitment-nav__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* --- Right Content Column --- */
.commitment-content-wrapper {
    position: relative;
    min-height: 300px; /* Ensures container has height */
}

.commitment-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s;
}

/* Active and exiting states for animation */
.commitment-content.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.commitment-content.is-exiting {
    opacity: 0;
    transform: translateY(-20px);
}

.commitment-content h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.commitment-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    max-width: 65ch;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .commitment-tabs-container {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 3rem;
    }
    .commitment-nav-wrapper {
        position: static; /* Remove sticky behavior on mobile */
    }
    .commitment-nav {
        flex-direction: row; /* Horizontal nav on mobile */
        border-bottom: 3px solid #f0f0f0;
    }
    .commitment-nav__link {
        flex-direction: column;
        height: auto;
        border-left: none;
        padding: 0.5rem;
        flex-grow: 1;
        justify-content: center;
        text-align: center;
    }
    .commitment-nav__indicator {
        width: auto;
        height: 3px;
        bottom: -3px; /* Position under the nav bar */
        top: auto;
        left: 0;
    }
    .commitment-content-wrapper {
        min-height: 250px;
    }
}


@media (max-width: 992px) {
    .studio-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .studio-hero__content { text-align: center; }
    .studio-hero__image { max-width: 25rem; margin: 0 auto; }
    .values-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 35rem; margin: 0 auto; }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-auto-rows: 20rem; }
    .gallery-grid__item.item-1, .gallery-grid__item.item-2, .gallery-grid__item.item-3, .gallery-grid__item.item-4 { grid-column: auto; grid-row: auto; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .design-approach__grid { grid-template-columns: 1fr; gap: 3rem; }
    .design-approach__content .section-title, .design-approach__content .section-subtitle { text-align: center; }
    .approach-item { text-align: left; }
    .stages-grid { grid-template-columns: 1fr; gap: 2rem; max-width: 30rem; margin: 0 auto; }
    .commitment-grid { grid-template-columns: 1fr; gap: 3rem; }
    .commitment-title-wrapper .section-title { text-align: center; position: static; }
}
@media (max-width: 480px) {
    .studio-hero { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
    .content-quote-mark { display: none; }
    .studio-values { padding: 4rem 0; }
    .value-item__content h3 { font-size: 1.375rem; }
    .studio-gallery { padding: 4rem 0; }
    .data-count { padding: 4rem 0; }
    .counters-grid { grid-template-columns: 1fr; }
    .design-approach { padding: 4rem 0; }
    .sketch-to-reality { padding: 4rem 0; }
    .commitment-section { padding: 4rem 0; }
}
.featured-article { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 6rem; }
.featured-article__grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 4rem; }
.featured-article__image a { display: block; border-radius: 8px; overflow: hidden; }
.featured-article__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.featured-article__image a:hover img { transform: scale(1.05); }
.article-category { display: inline-block; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-primary); margin-bottom: 1rem; }
.featured-article__content .page-title { font-size: clamp(2rem, 4vw, 3rem); }
.article-excerpt { font-size: 1.125rem; line-height: 1.7; color: var(--color-text-light); margin: 1.5rem 0 2rem 0; }
.all-articles { background-color: #f8f8f8; padding: 6rem 0; }
.section-subheader { text-align: center; margin-bottom: 4rem; }
.section-subheader h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; }
.divider-line { width: 4rem; height: 3px; background-color: var(--color-primary); margin: 0 auto; }

/* --- NEW ARTICLES VERTICAL SLIDER DESIGN --- */

.articles-slider-section {
    height: 90vh; /* Make the section take up most of the viewport height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.articles-slider {
    position: relative;
    width: 100%;
    max-width: 50rem; /* Adjust as needed */
    height: 100%;
    background-color: var(--color-background);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* Absolutely crucial for the animations */
}

.articles-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.article-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease-out; /* Bouncy but smooth transition */
}

/* --- Animation States --- */

/* The active slide in the center */
.article-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 2;
}

/* The previous slide, exiting upwards */
.article-slide.is-exiting-up {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.6s ease-in;
    z-index: 1;
}

/* The next slide, which will also be exiting upwards */
.article-slide.is-exiting-down {
    transform: translateY(100%);
    opacity: 0;
    transition: none; /* Hide it immediately as the new one comes from below */
    z-index: 1;
}

/* --- Slide Content Styling --- */

.article-slide__image {
    height: 60%;
    overflow: hidden;
}

.article-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.article-slide.is-active .article-slide__image img {
    transform: scale(1.05); /* Subtle zoom in on active slide */
}

.article-slide__content {
    padding: 2rem;
    position: relative;
    z-index: 3;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-slide__title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0.75rem 0;
    color: var(--color-text);
}

.article-slide__meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: auto; /* Push to the bottom */
}

/* --- Slider Controls --- */

.articles-slider__controls {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.slider-control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.slider-control-btn:hover {
    background-color: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.slider-control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: scale(1);
}

.slider-pagination {
    display: flex;
    gap: 0.75rem;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.is-active {
    background-color: var(--color-primary);
    transform: scale(1.3);
}

/* 
    File: style.css (REPLACE .inspiration-gallery styles and ADD lightbox styles)
*/
.inspiration-gallery {
    padding: 6rem 0;
}
.gallery-moodboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 15rem;
    gap: 1.5rem; /* Added gap for better separation */
}
.moodboard-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}
.moodboard-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.moodboard-item:hover img {
    transform: scale(1.05);
}
.moodboard-item::after {
    content: '🔍';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.moodboard-item:hover::after {
    opacity: 1;
}
.moodboard-item.item-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.moodboard-item.item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.moodboard-item.item-3 { grid-column: 3 / 4; grid-row: 2 / 3; }
.moodboard-item.item-4 { grid-column: 4 / 5; grid-row: 1 / 3; }
.moodboard-item.item-5 { grid-column: 1 / 2; grid-row: 3 / 4; }
.moodboard-item.item-6 { grid-column: 2 / 4; grid-row: 3 / 4; }
.moodboard-item.item-7 { grid-column: 4 / 5; grid-row: 3 / 5; }
.moodboard-item.item-8 { grid-column: 1 / 3; grid-row: 4 / 5; }
.moodboard-item.item-9 { grid-column: 3 / 4; grid-row: 4 / 5; }
.moodboard-item.item-10 { display: none; } /* Hide 10th item for a cleaner grid */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.is-visible {
    opacity: 1;
    visibility: visible;
}
.lightbox__content {
    position: relative;
    max-width: 60rem; 
    max-height: 80vh; 
    width: 90%; 
}
.lightbox__image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
.lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 992px) {
    .gallery-moodboard { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 20rem; }
    .moodboard-item.item-1, .moodboard-item.item-2, .moodboard-item.item-3,
    .moodboard-item.item-4, .moodboard-item.item-5, .moodboard-item.item-6,
    .moodboard-item.item-7, .moodboard-item.item-8, .moodboard-item.item-9 {
        grid-column: auto;
        grid-row: auto;
    }
}
@media (max-width: 600px) {
    .gallery-moodboard { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .inspiration-gallery { padding: 4rem 0; }
}
@media (max-width: 992px) {
    .featured-article__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .featured-article__content { text-align: center; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-moodboard { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 20rem; }
    .moodboard-item.item-1, .moodboard-item.item-2, .moodboard-item.item-3, .moodboard-item.item-4, .moodboard-item.item-5, .moodboard-item.item-6, .moodboard-item.item-7, .moodboard-item.item-8, .moodboard-item.item-9, .moodboard-item.item-10 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; max-width: 25rem; margin: 0 auto; }
    .gallery-moodboard { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .featured-article { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
    .all-articles { padding: 4rem 0; }
    .article-card__title { font-size: 1.125rem; }
    .category-accordion-section { padding: 4rem 0; }
}
.page-header-interactive .page-header__text { width: 100%; max-width: 45rem; text-align: center; margin: 0 auto; }
.testimonials-grid-section { padding: 4rem 0 6rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.testimonial-card-full { background-color: var(--color-background); border: 1px solid #e9e9e9; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card-full:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); }
.testimonial-card-full__image { height: 20rem; }
.testimonial-card-full__image img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card-full__content { padding: 2rem; }
.testimonial-card-full__content .star-rating { margin-bottom: 1rem; }
.testimonial-card-full__content .testimonial-quote { font-size: 1.125rem; font-weight: 500; line-height: 1.7; margin: 0 0 1.5rem 0; color: var(--color-text); }
.testimonial-card-full__content .testimonial-author { font-size: 0.875rem; font-weight: 600; }
.success-stats { background-color: #f8f8f8; padding: 6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-circle { position: relative; width: 10rem; height: 10rem; margin: 0 auto 1.5rem auto; }
.stat-circle__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.stat-circle__bg, .stat-circle__fg { fill: none; stroke-width: 2; }
.stat-circle__bg { stroke: #e6e6e6; }
.stat-circle__fg { stroke: var(--color-primary); stroke-dasharray: 100, 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.5s ease-out; }
.stat-circle__number { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2rem; font-weight: 600; }
.stat-label { font-size: 1.125rem; font-weight: 500; color: var(--color-text-light); }
.feedback-process { padding: 6rem 0; }
.feedback-steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: flex-start; gap: 2rem; }
.feedback-step { text-align: center; }
.feedback-step__icon { width: 4rem; height: 4rem; border-radius: 50%; background-color: #f8f8f8; color: var(--color-primary); display: flex; justify-content: center; align-items: center; margin: 0 auto 1.5rem auto; }
.feedback-step__icon svg { width: 2rem; height: 2rem; }
.feedback-step__title { font-size: 1.375rem; font-weight: 600; margin-bottom: 1rem; }
.feedback-step__description { color: var(--color-text-light); line-height: 1.6; }
.feedback-step__arrow { display: flex; align-items: center; justify-content: center; height: 100%; margin-top: 1.5rem; color: #ddd; }
@media (max-width: 992px) {
    .testimonials-grid { grid-template-columns: 1fr; max-width: 35rem; margin: 0 auto; }
    .stats-grid { grid-template-columns: 1fr; gap: 3rem; max-width: 20rem; margin: 0 auto; }
    .feedback-steps-grid { grid-template-columns: 1fr; gap: 2.5rem; max-width: 25rem; margin: 0 auto; }
    .feedback-step__arrow { transform: rotate(90deg); margin: 0; }
}
@media (max-width: 480px) {
    .testimonials-grid-section { padding: 2rem 0 4rem 0; }
    .testimonial-card-full__content { padding: 1.5rem; }
    .success-stats { padding: 4rem 0; }
    .feedback-process { padding: 4rem 0; }
}

.text-page-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
}

.text-content-container {
    max-width: 50rem; 
    margin: 0 auto;
}

.text-content-container .page-title {
    margin-bottom: 0.5rem;
}

.text-meta {
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 0.875rem;
}

.text-content-container h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 0.5rem;
}

.text-content-container p,
.text-content-container li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.text-content-container ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.text-content-container ul li {
    margin-bottom: 0.75rem;
}

 @media (max-width: 480px){
.text-page-section {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
}
.text-content-container h2 {
    font-size: 1.5rem;
}
    }

.thank-you-page main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f8f8f8;
}

.thank-you-card {
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    text-align: center;
    max-width: 30rem;
}

.thank-you-card__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #27ae60; 
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
}

.thank-you-card__icon svg {
    width: 2rem;
    height: 2rem;
}

.thank-you-card__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.thank-you-card__message {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

 @media (max-width: 480px){
.thank-you-card {
    padding: 2rem;
}
.thank-you-card__title {
    font-size: 2rem;
}
    }