/* ==========================================================================
   DESIGN TOKENS & SETUP
   ========================================================================== */
:root {
    --color-bg-dark: #0b0c10;
    --color-bg-card: #12131c;
    --color-accent: #c5a880;
    --color-accent-light: #e6c594;
    --color-text-main: #f5f5f7;
    --color-text-sub: #9e9e9e;
    --color-glass-bg: rgba(11, 12, 16, 0.75);
    --color-glass-border: rgba(197, 168, 128, 0.15);
    --color-card-border: rgba(255, 255, 255, 0.03);
    
    --font-headings: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-smooth: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.25s ease;
    
    --header-height: 80px;
    --container-padding: clamp(1.5rem, 5vw, 6rem);
}

/* Base resets & styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Accessibility skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--color-accent);
    color: var(--color-bg-dark);
    padding: 10px 20px;
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 20px;
}

/* Typography styles */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Containers */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-sub);
    margin-bottom: 2rem;
}

.section-desc.max-width {
    max-width: 800px;
    color: var(--color-text-sub);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Glassmorphism card utility */
.glass-card {
    background: var(--color-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-glass-border);
    border-radius: 4px;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 12, 16, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
    z-index: 1000;
    transition: var(--transition-medium);
}

.main-header.scrolled {
    background: var(--color-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px;
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--color-text-main);
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.45em;
    color: var(--color-accent);
    margin-top: 2px;
    text-align: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-list a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-main);
    opacity: 0.75;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a:hover {
    opacity: 1;
    color: var(--color-accent-light);
}

/* Navigation Line Indicator on Hover */
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Language Selector styling */
.lang-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-sub);
    padding: 4px 8px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-weight: 500;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--color-text-main);
    border-color: var(--color-text-sub);
}

.lang-btn.active {
    color: var(--color-bg-dark);
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 600;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: zoomOutHero 12s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(11, 12, 16, 0.5) 0%,
        rgba(11, 12, 16, 0.3) 50%,
        rgba(11, 12, 16, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 40px;
}

.hero-tagline {
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    letter-spacing: 0.4em;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.hero-sub {
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    letter-spacing: 0.3em;
    color: var(--color-text-sub);
    margin-bottom: 4rem;
    text-transform: uppercase;
}

.hero-values {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-values span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: var(--color-text-main);
    opacity: 0.85;
}

.value-dot {
    width: 4px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.scroll-down-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-text-sub);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 2s infinite ease-in-out;
}

.scroll-down-text {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--color-text-sub);
    font-weight: 600;
}

.scroll-down-btn:hover .mouse-icon {
    border-color: var(--color-accent);
}

.scroll-down-btn:hover .scroll-down-text {
    color: var(--color-text-main);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.about-section {
    position: relative;
    background-color: var(--color-bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

.about-info {
    max-width: 600px;
}

.about-desc p {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--color-text-sub);
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

.about-desc p:first-child {
    color: var(--color-text-main);
    font-weight: 400;
}

.about-visual {
    position: relative;
}

.about-visual .image-wrapper {
    padding: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    border-radius: 2px;
    object-fit: cover;
    aspect-ratio: 1/1;
    filter: brightness(0.9);
    transition: var(--transition-smooth);
}

.about-visual:hover img {
    filter: brightness(1.05);
    transform: scale(1.02);
}

/* ==========================================================================
   DESIGN DIVISIONS
   ========================================================================== */
.divisions-section {
    background-color: #0e0f14;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

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

.division-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-card-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}

.division-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 168, 128, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.division-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Aspect ratio portrait as in catalog */
    aspect-ratio: 9/16;
}

.division-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(14, 15, 20, 0) 40%,
        rgba(14, 15, 20, 0.8) 100%
    );
    z-index: 1;
}

.division-card:hover .division-img img {
    transform: scale(1.08);
}

.division-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.division-name {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.division-tagline {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.division-desc {
    color: var(--color-text-sub);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.division-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4px;
}

.division-link:hover {
    color: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

/* ==========================================================================
   SCROLLYTELLING SHOWCASE (BESPOKE FURNITURE)
   ========================================================================== */
.scrollytelling-section {
    background-color: var(--color-bg-dark);
}

.scrolly-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

/* Sticky Left Panel */
.sticky-visual-panel {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    width: 100%;
    overflow: hidden;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #0b0c10;
}

.scrolly-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.scrolly-image.active {
    opacity: 0.8;
    transform: scale(1);
    z-index: 2;
}

.sticky-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(11, 12, 16, 0.2) 60%,
        rgba(11, 12, 16, 0.95) 100%
    ),
    linear-gradient(
        to bottom,
        rgba(11, 12, 16, 0.4) 0%,
        transparent 20%,
        transparent 80%,
        rgba(11, 12, 16, 0.8) 100%
    );
    z-index: 3;
}

.image-indicator {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    display: flex;
    gap: 0.75rem;
    z-index: 4;
}

.image-indicator span {
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.image-indicator span.active {
    background-color: var(--color-accent);
    width: 60px;
}

/* Scrolling Right Panel */
.scroll-content-panel {
    display: flex;
    flex-direction: column;
    padding-left: 10%;
}

.content-slide {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: clamp(1.5rem, 5vw, 6rem);
    padding-bottom: 25vh;
    padding-top: 15vh;
}

.content-slide:first-child {
    padding-top: 25vh;
}

.content-slide:last-child {
    padding-bottom: 25vh;
}

.slide-title {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.slide-desc {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--color-text-sub);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 500px;
}

.slide-highlight {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-accent-light);
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
}

/* Native CSS Scroll-driven animations fallback structure */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    /* If supported, we could configure CSS scroll timelines here, but since browser support is highly limited (Chrome/Edge only, Safari 19+ / future),
       we'll rely on the solid IntersectionObserver fallback for cross-browser reliability and consistent behavior. */
}

/* ==========================================================================
   CONTRACT PROJECTS (SINGAPORE DESIGN STUDIO)
   ========================================================================== */
.contract-section {
    background-color: #0e0f14;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.portfolio-info {
    max-width: 800px;
}

.portfolio-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.portfolio-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.portfolio-desc {
    color: var(--color-text-sub);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Gallery layout */
.portfolio-gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.gallery-main {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-main:hover img {
    transform: scale(1.04);
}

.img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    font-family: var(--font-headings);
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition-smooth);
}

.gallery-item-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 12, 16, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 1;
}

.gallery-item-hover span {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--color-accent);
    padding: 8px 16px;
    color: var(--color-accent-light);
    transform: translateY(10px);
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-item-hover {
    opacity: 1;
}

.gallery-item:hover .gallery-item-hover span {
    transform: translateY(0);
}

/* ==========================================================================
   CATALOGUES & PARTNERS
   ========================================================================== */
.catalogues-section {
    background-color: var(--color-bg-dark);
    position: relative;
}

.catalogues-content-centered {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalogue-desc {
    color: var(--color-text-sub);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.download-btn-premium {
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--color-accent);
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-accent);
    border-radius: 2px;
    background: transparent;
    transition: var(--transition-medium);
}

.download-btn-premium:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.2);
    transform: translateY(-2px);
}

.download-icon {
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.download-btn-premium:hover .download-icon {
    transform: scale(1.1);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: #0e0f14;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: flex-start;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3.5rem;
}

.info-block {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-top: 3px;
}

.info-text h4 {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-text-sub);
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-main);
    font-weight: 300;
}

.info-text p a:hover {
    color: var(--color-accent);
}

/* Form Styles */
.contact-form-panel .form-wrapper {
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-sub);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    padding: 1rem 1.25rem;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.04);
}

/* Invalid inputs */
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ff5252;
}

.error-msg {
    display: none;
    color: #ff5252;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Form submission button */
.submit-btn {
    width: 100%;
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    border: none;
    padding: 1.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.submit-btn:hover {
    background-color: var(--color-accent-light);
}

.btn-spinner {
    display: none;
    position: absolute;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-spinner {
    display: block;
}

/* Success Message */
.form-success-msg {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(197, 168, 128, 0.08);
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    color: var(--color-accent-light);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 5rem 0 3rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-tagline {
    max-width: 400px;
    color: var(--color-text-sub);
    font-size: 0.9rem;
    text-align: right;
    line-height: 1.6;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.04);
    margin-bottom: 2.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-sub);
    font-size: 0.85rem;
}

.footer-founders {
    font-size: 0.9rem;
}

.footer-founders strong {
    color: var(--color-text-main);
    margin-left: 5px;
    font-weight: 500;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (JS-driven)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes zoomOutHero {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes scrollMouse {
    0% {
        top: 6px;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        top: 24px;
        opacity: 0;
    }
    100% {
        top: 6px;
        opacity: 0;
    }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Large Tablets & Desktop adjustments */
@media (max-width: 1200px) {
    .about-grid {
        gap: 3rem;
    }
    
    .divisions-grid {
        gap: 1.5rem;
    }
    
    .contact-grid {
        gap: 3rem;
    }
}

/* Tablets (landscape and portrait) */
@media (max-width: 992px) {
    .nav-list {
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-info {
        max-width: 100%;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
        gap: 3rem;
    }
    
    .division-img {
        aspect-ratio: 16/10;
    }
    
    .scrolly-container {
        grid-template-columns: 1fr;
    }
    
    /* Modify sticky layout for medium devices */
    .sticky-visual-panel {
        position: sticky;
        top: var(--header-height);
        height: 50vh;
        z-index: 10;
    }
    
    .sticky-overlay {
        background: linear-gradient(
            to bottom,
            rgba(11, 12, 16, 0.1) 60%,
            rgba(11, 12, 16, 0.95) 100%
        );
    }
    
    .scroll-content-panel {
        padding-left: 0;
        z-index: 5;
    }
    
    .content-slide {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 8rem;
        padding-right: 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .slide-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .slide-highlight {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--color-accent);
        padding-top: 1rem;
        display: inline-block;
    }
    
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    /* Header menu */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg-dark);
        padding: 3rem 10%;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-list a {
        font-size: 1.25rem;
    }
    
    /* Hamburger Menu Animation */
    .mobile-nav-toggle.open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-values {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .footer-tagline {
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .contact-form-panel .form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Very Small Mobile Screens */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .partners-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .image-indicator {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .image-indicator span {
        width: 20px;
    }
    
    .image-indicator span.active {
        width: 30px;
    }
}

/* ==========================================================================
   PREFERS REDUCED MOTION (ACCESSIBILITY)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    
    .hero-bg {
        animation: none !important;
    }
    
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .scrolly-image {
        transition: none !important;
    }
    
    .division-card:hover,
    .division-img img,
    .gallery-main img,
    .gallery-item img {
        transform: none !important;
        transition: none !important;
    }
    
    .scroll-wheel {
        animation: none !important;
    }
}
