@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

@font-face {
    font-family: 'Stack Sans Notch';
    src: url('../FONTS/Stack_Sans_Notch/StackSansNotch-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}
@font-face {
    font-family: 'Sansation';
    src: url('../FONTS/Sansation/Sansation-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Sansation';
    src: url('../FONTS/Sansation/Sansation-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Sansation';
    src: url('../FONTS/Sansation/Sansation-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Sansation';
    src: url('../FONTS/Sansation/Sansation-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Sansation';
    src: url('../FONTS/Sansation/Sansation-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Sansation';
    src: url('../FONTS/Sansation/Sansation-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* ===== DESIGN TOKENS ===== */
:root {
    --color-cream: #F1E8D9;
    --color-cream-light: #FAF6F0;
    --color-brown: #4E392E;
    --color-brown-dark: #2D1F17;
    --color-sand: #C4A882;
    --color-sand-light: #D4C4A8;
    --color-dark: #0F0F0F;
    --color-dark-alt: #1A1A1A;
    --color-white: #FEFEFE;
    --color-grey: #6B6B6B;
    --color-grey-light: #9B9B9B;
    --color-accent-blue: #5B7FA6;
    --color-gradient-start: #C4A882;
    --color-gradient-end: #8B6E4E;

    --font-heading: 'Stack Sans Notch', 'Outfit', sans-serif;
    --font-body: 'Sansation', 'Sansation', 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 100px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --page-gap-top: 50px;
    --page-gap-side: 60px;
}

/* ===== RESET & BASE ===== */

/* App Wrapper */
.app-wrapper {
    display: flex;
    flex-direction: column;
    background-color: var(--color-black);
    margin: 16px;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 32px);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

::selection {
    background: var(--color-sand);
    color: var(--color-brown-dark);
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    /* zoom: 1.1; */
    font-family: var(--font-body);
    background-color: #FFFFFF;
    color: var(--color-brown);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    padding: 0 var(--page-gap-side);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

p {
    font-size: clamp(0.95rem, 1.1vw, 1.125rem);
    line-height: 1.7;
}

.span-gradient {
    background: linear-gradient(135deg, var(--color-sand), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-brown);
}

.btn-primary:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--color-brown);
    color: var(--color-cream);
}

.btn-dark:hover {
    background: var(--color-brown-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(78, 57, 46, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-brown);
    border: 1.5px solid var(--color-brown);
}

.btn-outline:hover {
    background: var(--color-brown);
    color: var(--color-cream) !important;
}

.btn .icon-arrow-dynamic {
    display: inline-flex;
    position: relative;
    width: 20px;
    height: 20px;
    min-width: 20px;
    overflow: hidden;
    vertical-align: middle;
    margin-left: 8px;
}

.btn .icon-arrow-dynamic svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.icon-arrow-dynamic .arrow-current, 
.icon-arrow-dynamic .arrow-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.icon-arrow-dynamic .arrow-next {
    transform: translate(-100%, 100%);
}

.btn:hover .icon-arrow-dynamic .arrow-current {
    transform: translate(100%, -100%);
}

.btn:hover .icon-arrow-dynamic .arrow-next {
    transform: translate(0, 0);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown);
    position: relative;
    padding-bottom: 6px;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-sand), var(--color-brown));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-base);
}

.btn-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===== NAVBAR ===== */





.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(196, 168, 130, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 4px 6px;
}

.btn-nav-pill {
    background: var(--color-white);
    color: var(--color-brown-dark);
    border-radius: 50px;
    padding: 12px 22px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-nav-pill:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 32px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}


/* ===== NAVBAR FIXED STABLE ===== */
.navbar {
    position: fixed;
    top: var(--page-gap-top);
    left: var(--page-gap-side);
    right: var(--page-gap-side);
    width: auto;
    z-index: 1000;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease, background 0.3s ease;
}











.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.navbar-logo .logo-v {
    font-weight: 300;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
}

.navbar-logo .logo-x {
    color: var(--color-sand);
}

.navbar-logo .logo-sub {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    margin-top: -4px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--color-white);
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    font-weight: 400;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: rgba(196, 168, 130, 0.25);
    color: var(--color-cream);
}


.nav-cta .btn {
    padding: 12px 22px;
    font-size: 0.875rem;
}

.mobile-toggles {
    display: none;
    position: relative;
    width: 28px;
    height: 28px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--color-cream);
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: rotate(0deg) scale(1);
    z-index: 2000;
}

body:has(.mobile-menu.open) .mobile-menu-toggle {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
    pointer-events: none;
}

body:has(.mobile-menu.open) .navbar {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--color-dark);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-wrapper {
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px 56px;
    height: 100%;
}

.mobile-menu-wrapper>div:first-child {
    margin: auto 0;
}

.mobile-menu .nav-link-mobile {
    display: block;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color var(--transition-fast);
}

.mobile-menu .nav-link-mobile:hover {
    color: var(--color-sand);
}

.mobile-close {
    position: absolute;
    top: 0;
    left: 0;
    background: none;
    border: none;
    color: var(--color-cream);
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2001;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: rotate(-90deg) scale(0.5);
    pointer-events: none;
    opacity: 0;
}

.mobile-menu.open ~ .navbar .mobile-close, 
body:has(.mobile-menu.open) .mobile-close {
    transform: rotate(0deg) scale(1);
    pointer-events: all;
    opacity: 1;
}



body:has(.mobile-menu.open) .mobile-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--color-sand);
}

.mobile-menu-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.mobile-contact-link svg {
    width: 18px;
    height: 18px;
}

/* ===== HERO SECTION ===== */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 60px 60px 0 0;
}

.section-sub-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: 120px;
    border-radius: 60px 60px 0 0;
}

.section-sub-hero .hero-content {
    padding: 0 var(--page-gap-side) 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-sub-hero .hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(15, 15, 15, 0.3) 0%,
            rgba(15, 15, 15, 0.1) 30%,
            rgba(15, 15, 15, 0.4) 70%,
            rgba(15, 15, 15, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 320px var(--page-gap-side) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content-center-override {
    padding-top: 0 !important;
}

.hero-left {
    max-width: 820px;
}

.hero-text-block-glass-split {
    max-width: 800px;
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 1s 0.2s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text-block-glass-split .hero-title {
    opacity: 1;
    transform: none;
    animation: none;
    font-size: clamp(2.8rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-text-block-glass-split .hero-subtitle {
    opacity: 1;
    transform: none;
    animation: none;
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-text-block-glass-split .hero-btn-flex {
    opacity: 1;
    transform: none;
    animation: none;
}

.hero-text-block-glass {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 60px 50px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 1s 0.2s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-text-block-glass .hero-title {
    opacity: 1;
    transform: none;
    animation: none;
    text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    margin-bottom: 24px;
}

.hero-text-block-glass .hero-subtitle {
    opacity: 1;
    transform: none;
    animation: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 0;
    color: rgba(255,255,255,0.95);
    font-size: clamp(1.15rem, 1.3vw, 1.3rem);
    font-weight: 400;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 1s 0.3s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-subtitle {
    color: var(--color-white);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s 0.6s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn-flex {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.7s 0.9s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-right-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 32px;
}

.hero-stat-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    opacity: 0;
    animation: heroFadeUp 0.8s 0.8s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 40px 36px;
    text-align: left;
    min-width: 280px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.hero-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: baseline;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.hero-stat-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: capitalize;
    letter-spacing: 0.04em;
    font-weight: 400;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--color-white);
}

.scroll-indicator svg {
    width: 16px;
    height: 16px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTION: FAMILY / ABOUT TEASER ===== */
.section-family {
    padding: 60px 0 60px;
    background: var(--color-cream-light);
}

.family-wrap {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.family-left {
    flex: 0 0 48%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 520px;
}

.family-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.family-left:hover img {
    transform: scale(1.05);
}

.family-funds {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.4) 0%, rgba(10, 10, 10, 0.6) 100%);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: 32px 36px;
    color: var(--color-white);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.family-left:hover .family-funds {
    transform: translateY(-5px);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.family-funds-title {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.family-funds-grid {
    display: flex;
    gap: 30px;
}

.fund-item {}

.fund-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.fund-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.family-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    padding: 20px 0;
}

.family-right h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--color-brown);
    font-weight: 700;
    margin-bottom: 24px;
}

.family-right p {
    color: var(--color-grey);
    max-width: 540px;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(78, 57, 46, 0.15);
}

.metric-item {}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-brown) 0%, #8A6E59 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 1;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--color-grey);
    line-height: 1.5;
    font-weight: 500;
}

/* ===== SECTION: ECOSYSTEM BENTO ===== */
.section-ecosystem {
    padding: 80px 0 100px;
    background: var(--color-cream-light);
    border-top: 1px solid rgba(78, 57, 46, 0.08);
    border-bottom: 1px solid rgba(78, 57, 46, 0.08);
}

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

.ecosystem-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-brown);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.15;
}

.ecosystem-subtitle {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-grey);
    max-width: 520px;
}

/* === Bento Grid === */
.ecosystem-bento {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 200px 200px 160px;
    gap: 10px;
}

/* Base card styles */
.eco-card {
    border: 1.5px solid rgba(78, 57, 46, 0.18);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    text-decoration: none;
    background: var(--color-cream-light);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.eco-card:hover {
    background: linear-gradient(145deg, rgba(78, 57, 46, 0.55) 0%, rgba(78, 57, 46, 0.75) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.2); /* Stronger glass edge */
    transform: translateY(-4px);
    box-shadow: 
        0 20px 50px rgba(78, 57, 46, 0.2), /* Softer outer shadow for floating effect */
        inset 0 1px 1px rgba(255, 255, 255, 0.4), /* Sharp top highlight */
        inset 0 0 30px rgba(255, 255, 255, 0.05); /* Internal glass reflection */
}

.eco-card img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.25);
    transition: filter 0.3s ease;
}

.eco-card:hover img {
    filter: grayscale(100%) brightness(10) invert(0);
}

.eco-card__name {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(78, 57, 46, 0.55);
    transition: color 0.3s ease;
}

.eco-card:hover .eco-card__name { color: rgba(255, 255, 255, 0.75); }

.eco-card__label { display: none; }

.eco-card__name--accent {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(78, 57, 46, 0.4);
}

/* === Card grid placement === */
.eco-card--large  { grid-column: 1; grid-row: 1 / 3; }
.eco-card--large img { height: 170px; }

.eco-card--medium { grid-column: 2; grid-row: 1 / 3; }
.eco-card--medium img { height: 150px; }

.eco-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.eco-card:nth-child(3) img { height: 85px; }

.eco-card:nth-child(4) { grid-column: 4; grid-row: 1; }
.eco-card:nth-child(4) img { height: 85px; }

.eco-card:nth-child(5) { grid-column: 5; grid-row: 1; }
.eco-card:nth-child(5) img { height: 85px; }

.eco-card--wide { grid-column: 3 / 5; grid-row: 2; flex-direction: row; gap: 24px; }
.eco-card--wide img { height: 95px; }

.eco-card--tall { grid-column: 5; grid-row: 2; }
.eco-card--tall img { height: 110px; }

.eco-card:nth-child(8)  { grid-column: 1; grid-row: 3; }
.eco-card:nth-child(9)  { grid-column: 2; grid-row: 3; }
.eco-card:nth-child(10) { grid-column: 3; grid-row: 3; }
.eco-card:nth-child(11) { grid-column: 4; grid-row: 3; }
.eco-card:nth-child(12) { grid-column: 5; grid-row: 3; }

.eco-card:nth-child(8) img,
.eco-card:nth-child(9) img,
.eco-card:nth-child(10) img,
.eco-card:nth-child(11) img,
.eco-card:nth-child(12) img { height: 80px; }

/* Responsive */
@media (max-width: 900px) {
    .ecosystem-bento {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: unset;
    }
    .eco-card--large, .eco-card--medium, .eco-card--wide, .eco-card--tall,
    .eco-card:nth-child(3), .eco-card:nth-child(4), .eco-card:nth-child(5),
    .eco-card:nth-child(8), .eco-card:nth-child(9), .eco-card:nth-child(10),
    .eco-card:nth-child(11), .eco-card:nth-child(12) {
        grid-column: auto;
        grid-row: auto;
    }
    .eco-card--wide { flex-direction: column; }
    .eco-card { min-height: 140px; }
}

@media (max-width: 600px) {
    .ecosystem-bento { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .eco-card {
        padding: 16px 12px;
        min-height: 100px;
        gap: 8px;
    }
    .eco-card--large img { height: 90px; }
    .eco-card--medium img { height: 80px; }
    .eco-card:nth-child(n+3) img { height: 50px; }
}

.ticker-wrapper {
    width: 100%;
    /* No animation for static logo cloud */
}

.ticker-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 60px; /* 40px vertical, 60px horizontal */
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.ticker-logo {
    height: 32px;
    width: auto;
    opacity: 0.4;
    filter: grayscale(1);
    transition: all var(--transition-base);
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-brown);
    white-space: nowrap;
    display: flex;
    align-items: center;
    line-height: 32px;
}

.ticker-logo:hover {
    opacity: 0.8;
    filter: grayscale(0);
}

.ticker-reverse {
    animation-direction: reverse;
}

.ticker-img {
    height: 109px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(1) brightness(0.2);
    transition: all var(--transition-base);
    flex-shrink: 0;
    object-fit: contain;
}

.ticker-img:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== SECTION: ALIGNED / VALUES ===== */
.section-aligned {
    padding: 100px 0;
    background: var(--color-cream-light);
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.section-header-left {
    flex: 0 0 55%;
}

.section-header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.section-header-right p {
    color: var(--color-grey);
}

.values-list {
    display: flex;
    flex-direction: column;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(78, 57, 46, 0.1);
    transition: all var(--transition-base);
    cursor: default;
}

.value-item:hover {
    padding-left: 12px;
}

.value-item:hover .value-number {
    color: var(--color-sand);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-accent-blue);
    font-weight: 500;
    min-width: 36px;
    transition: color var(--transition-base);
}

.value-text {
    font-size: 1.1rem;
    font-weight: 400;
}

/* ===== SECTION: PORTFOLIO / GROWING ===== */
.section-portfolio {
    padding: 100px 0 40px;
    background: var(--color-cream-light);
    overflow: hidden;
}

.portfolio-slider-wrapper {
    position: relative;
    overflow: hidden;
    perspective: 1200px;
}

/* 3D Carousel Container */
.portfolio-slider {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    min-height: 560px;
    overflow: visible;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

/* Each card is absolutely positioned and transformed by JS */
.portfolio-card {
    position: absolute;
    width: 520px;
    height: 540px; /* Force uniform height for all cards */
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-cream);
    display: flex;
    flex-direction: column;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.6s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity, filter;
    cursor: pointer;
    top: 0;
}

/* Active center card */
.portfolio-card[data-pos="0"] {
    transform: translateX(-50%) translateZ(0) rotateY(0deg) scale(1);
    left: 50%;
    opacity: 1;
    z-index: 5;
    filter: brightness(1) blur(0px);
    box-shadow: 0 30px 80px rgba(78, 57, 46, 0.18);
    cursor: default;
}

/* First card to the right */
.portfolio-card[data-pos="1"] {
    transform: translateX(30%) translateZ(-120px) rotateY(-12deg) scale(0.88);
    left: 50%;
    opacity: 0.75;
    z-index: 4;
    filter: brightness(0.85) blur(3px);
    box-shadow: 0 15px 40px rgba(78, 57, 46, 0.1);
}

/* Second card to the right */
.portfolio-card[data-pos="2"] {
    transform: translateX(95%) translateZ(-250px) rotateY(-22deg) scale(0.76);
    left: 50%;
    opacity: 0.45;
    z-index: 3;
    filter: brightness(0.7) blur(6px);
    box-shadow: none;
}

/* First card to the left */
.portfolio-card[data-pos="-1"] {
    transform: translateX(-130%) translateZ(-120px) rotateY(12deg) scale(0.88);
    left: 50%;
    opacity: 0.75;
    z-index: 4;
    filter: brightness(0.85) blur(3px);
    box-shadow: 0 15px 40px rgba(78, 57, 46, 0.1);
}

/* Second card to the left */
.portfolio-card[data-pos="-2"] {
    transform: translateX(-195%) translateZ(-250px) rotateY(22deg) scale(0.76);
    left: 50%;
    opacity: 0.45;
    z-index: 3;
    filter: brightness(0.7) blur(6px);
    box-shadow: none;
}

/* Cards further away: hidden */
.portfolio-card[data-pos="3"],
.portfolio-card[data-pos="-3"],
.portfolio-card[data-pos="4"],
.portfolio-card[data-pos="-4"],
.portfolio-card[data-pos="5"],
.portfolio-card[data-pos="-5"],
.portfolio-card[data-pos="6"],
.portfolio-card[data-pos="-6"] {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}
.portfolio-card[data-pos="3"],
.portfolio-card[data-pos="4"],
.portfolio-card[data-pos="5"],
.portfolio-card[data-pos="6"] {
    transform: translateX(160%) translateZ(-350px) rotateY(-30deg) scale(0.65);
    left: 50%;
}
.portfolio-card[data-pos="-3"],
.portfolio-card[data-pos="-4"],
.portfolio-card[data-pos="-5"],
.portfolio-card[data-pos="-6"] {
    transform: translateX(-260%) translateZ(-350px) rotateY(30deg) scale(0.65);
    left: 50%;
}

.portfolio-card-header {
    padding: 32px 32px 24px;
    background: var(--color-brown);
    color: var(--color-cream);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.portfolio-card-header.variant-light {
    background: var(--color-sand-light);
    color: var(--color-brown);
}

.portfolio-card-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.portfolio-card-body {
    padding: 24px 32px 32px;
    flex: 1;
}

.portfolio-card-body p {
    color: var(--color-grey);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Nav controls */
.portfolio-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Dot indicators */
.portfolio-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.portfolio-dot.active {
    background: var(--color-brown);
    width: 28px;
    border-radius: 5px;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-brown);
    background: transparent;
    color: var(--color-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--color-brown);
    color: var(--color-cream);
}

.slider-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.slider-arrow svg {
    width: 18px;
    height: 12px;
}

/* ===== SECTION: KEY STRENGTHS ===== */
.section-key {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    background: var(--color-cream-light);
}

.key-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.key-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.85);
    transition: transform 1s ease;
    border-radius: 40px;
}

.key-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 57, 46, 0.08);
    z-index: 1;
}

.key-content {
    position: relative;
    z-index: 2;
}

.key-header {
    text-align: center;
    margin-bottom: 60px;
}

.key-header h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.key-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.key-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.key-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-brown-dark);
}

.key-card p {
    margin: 0;
}

.key-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.key-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
    border-color: rgba(196, 168, 130, 0.3);
}


/* Added staggered cascading effect for key cards */
.key-card.staggered-1 {
    margin-top: 0;
}

.key-card.staggered-2 {
    margin-top: 60px;
}

.key-card.staggered-3 {
    margin-top: 120px;
}

@media (max-width: 768px) {

    .key-card.staggered-1,
    .key-card.staggered-2,
    .key-card.staggered-3 {
        margin-top: 0;
    }
}

/* ===== SECTION: LEADERSHIP TEAM ===== */
.section-team {
    padding: 40px 0 100px;
    background: var(--color-cream-light);
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (min-width: 769px) {
    .team-grid .team-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 16px);
    }
}

.team-card {
    /* Glassmorphism base */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(78, 57, 46, 0.12);
    box-shadow: 
        0 15px 35px rgba(78, 57, 46, 0.04), 
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card:hover {
    box-shadow: 
        0 25px 60px rgba(78, 57, 46, 0.12), 
        inset 0 1px 1px rgba(255, 255, 255, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);
    border-color: rgba(78, 57, 46, 0.22);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.team-top {
    display: flex;
    gap: 28px;
    padding: 36px 36px 24px;
    align-items: flex-start;
}

.team-photo {
    width: 180px;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 10px 28px rgba(78, 57, 46, 0.15);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(1.1);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1.15);
}

.team-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-name-flex h3 {
    font-size: 1.4rem;
    margin-bottom: 2px;
    color: var(--color-brown);
}

.team-role {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-sand);
}

.team-quote {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-grey);
    border-left: 2px solid rgba(78, 57, 46, 0.15);
    margin: 12px 0;
    background: linear-gradient(90deg, rgba(78, 57, 46, 0.03) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-brown);
    padding: 8px 18px;
    border: 1.5px solid rgba(78, 57, 46, 0.15);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.4);
}

.team-linkedin:hover {
    background: var(--color-brown);
    color: var(--color-cream);
    border-color: var(--color-brown);
    box-shadow: 0 4px 12px rgba(78, 57, 46, 0.15);
}

.team-bottom {
    padding: 24px 36px 36px;
    border-top: 1px solid rgba(78, 57, 46, 0.08);
    margin-top: auto;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(78,57,46,0.02) 100%);
}

.team-points li {
    position: relative;
    padding-left: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-grey);
    margin-bottom: 8px;
}

.team-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-sand);
    font-weight: 700;
}

.team-more-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-grey);
    cursor: pointer;
    padding: 8px 0;
    border: none;
    background: none;
}

.team-more-toggle svg {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-fast);
}

.team-more-toggle.open svg {
    transform: rotate(180deg);
}

/* ===== SECTION: CTA ===== */
.section-cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    border-radius: 40px;
    margin: 16px 0;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
}

/* ===== FOOTER ===== */
.footer {
    margin-top: auto;
    background: var(--color-dark);
    color: var(--color-cream);
    padding: 80px 0 0;
    border-radius: 0 0 60px 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-description {
    font-size: 1rem;
    color: rgba(241, 232, 217, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 340px;
}

.footer-col-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(241, 232, 217, 0.7);
    margin-bottom: 20px;
}

.footer-link-item {
    display: block;
    color: rgba(241, 232, 217, 0.7);
    font-size: 0.95rem;
    padding: 6px 0;
    transition: all var(--transition-fast);
}

.footer-link-item:hover {
    color: var(--color-cream);
    transform: translateX(4px);
}


.footer-giant-logo-container {
    width: 100%;
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.footer-giant-logo {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    /* To make it look like a seamless background element */
    pointer-events: none;
    user-select: none;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

@media (min-width: 769px) {
    .footer .container {
        position: relative;
    }
    .footer-socials {
        position: absolute;
        bottom: 38px;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
    }
}

.footer-socials .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    transition: all 0.3s ease;
}

.footer-socials .social-icon:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    padding-bottom: 40px;
    border-top: 1px solid rgba(241, 232, 217, 0.08);
}

.footer-full-width-logo {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.footer-full-width-logo img {
    width: 106%;
    height: auto;
    display: block;
    object-fit: cover;
    /* transform: translateX(-3%); */
}

.footer-bottom-left {
    font-size: 0.85rem;
    color: rgba(241, 232, 217, 0.7);
}

.footer-logo-bottom {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    color: var(--color-cream);
    text-transform: uppercase;
}

.footer-logo-bottom .logo-x {
    color: var(--color-sand);
}

.btn-back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(241, 232, 217, 0.5);
    font-size: 0.85rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.btn-back-to-top:hover {
    color: var(--color-cream);
}

.btn-back-to-top svg {
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.05s;
}

.reveal-delay-2 {
    transition-delay: 0.1s;
}

.reveal-delay-3 {
    transition-delay: 0.15s;
}

.reveal-delay-4 {
    transition-delay: 0.2s;
}

/* ===== METHODOLOGY SECTION (PRO MAX) ===== */
.section-methodology {
    padding: 120px 0 60px 0;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
    z-index: 2;
}

.methodology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.methodology-title-col h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-brown);
    letter-spacing: -0.03em;
}

.methodology-divider {
    width: 80px;
    height: 4px;
    background: var(--color-brown);
    border-radius: 4px;
    margin-bottom: 0;
}

.methodology-text-col {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.methodology-text-col p:first-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-brown);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.methodology-text-col p:last-child {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* ===== VISION & PHILOSOPHY (ABOUT PAGE) ===== */
.section-vision {
    padding: 120px 0;
    position: relative;
    background: var(--color-cream);
}

.vision-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: start;
}

.vision-title-col h2 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    color: var(--color-brown);
    margin-bottom: 30px;
}

.vision-divider {
    width: 80px;
    height: 4px;
    background: var(--color-brown);
    border-radius: 2px;
}

.vision-text-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vision-text-col .lead-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.vision-text-col p:not(.lead-text) {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.vision-bento-section {
    margin-bottom: 120px;
}

.bento-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-brown);
    text-align: center;
    margin-bottom: 20px;
}

.bento-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.vision-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vision-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-brown);
    color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

.vision-card h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.vision-card p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.vision-conclusion {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
    background: linear-gradient(145deg, var(--color-brown) 0%, #30221a 100%);
    border-radius: 40px;
    color: var(--color-cream);
    box-shadow: 0 30px 60px rgba(78, 57, 46, 0.3);
}

.vision-conclusion h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 30px;
}

.vision-conclusion p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(245, 243, 238, 0.85);
    margin-bottom: 20px;
}

.vision-conclusion .highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 30px;
}

/* ===== STANDARDS SECTION (PRO MAX) ===== */
.section-standards {
    padding: 60px 0 120px 0;
    position: relative;
    background: #f9f9f9;
    z-index: 2;
}

.standards-title {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-brown);
    margin-bottom: 80px;
    letter-spacing: -0.02em;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.standard-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.standard-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.standard-icon {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    background: var(--color-brown);
    color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(78, 57, 46, 0.2);
}

.standard-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

.standard-card h3 {
    font-size: 1.5rem;
    color: var(--color-brown);
    margin-bottom: 16px;
    line-height: 1.3;
}

.standard-card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ===== SERVICE SHOWCASE (PRO MAX) ===== */
.section-service-showcase {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 140px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-img-wrapper {
    flex: 1;
    width: 50%;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.service-img-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.service-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    object-fit: cover;
}

.service-content {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-content h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    background: linear-gradient(180deg, #111111 0%, #444444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.svc-lead {
    font-size: 1.25rem;
    color: #222222;
    font-weight: 500;
    margin-bottom: 20px;
}

.svc-desc {
    font-size: 1.1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.svc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.svc-list li {
    position: relative;
    padding-left: 32px;
    font-size: 1.05rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.6;
}

.svc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23111111" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.svc-btn {
    margin-top: auto;
}

/* ===== CONTACT PAGE (PRO MAX) ===== */
.section-contact-split {
    padding: 120px 40px;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 60px auto 0;
    border-radius: 60px 60px 0 0;
    overflow: hidden;
}

.contact-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: 100%;
    min-height: 700px;
    align-items: stretch;
}

.contact-poster {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.contact-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.contact-poster:hover .contact-poster-img {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.contact-poster-title {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.contact-poster-title h1 {
    color: #ffffff;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.contact-info-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
}

.contact-info-link, .contact-info-text {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-link:hover {
    opacity: 0.8;
}

.contact-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.contact-form-container {
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 40px;
    padding: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
    justify-content: space-between;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    gap: 16px;
}

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

/* ==========================================================================
   RESPONSIVE OVERHAUL (MOBILE-FIRST GRACEFUL DEGRADATION)
   ========================================================================== */

@media (max-width: 1024px) {
    :root {
        --page-gap-top: 28px;
        --page-gap-side: 28px;
    }
    .container {
        padding: 0 var(--page-gap-side);
    }
    
    /* Restore hero alignment for mobile */
    .section-hero {
        align-items: flex-end;
    }
    
    /* Hero Adjustments */
    .hero-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 120px 20px 40px;
        gap: 30px;
    }
    
    .hero-content-center-override {
        padding-top: 120px !important;
    }

    .hero-right-container {
        align-items: center;
    }

    .hero-text-block-glass-split, .hero-text-block-glass {
        max-width: 100%;
        text-align: center;
        padding: 30px 20px;
    }
    .hero-text-block-glass-split .hero-title, .hero-text-block-glass .hero-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    .hero-stat-block {
        align-items: center;
        width: 100%;
    }
    .hero-stat-card {
        width: 100%;
        min-width: unset;
        text-align: center;
    }
    .hero-stat-value {
        justify-content: center;
    }
    .hero-btn-flex {
        justify-content: center;
    }

    /* Grids & Flex containers */
    .family-wrap, .section-header, .team-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .section-header-left {
        margin-bottom: 24px;
        flex: unset;
    }
    .key-cards, .team-grid, .methodology-grid, .standards-grid, .vision-intro, .vision-bento-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }.footer-grid, .metrics-grid, .pf-cards-grid, .ecosystem-bento {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Contact */
    .section-contact-split {
        margin-top: 40px;
        padding: 100px 20px 40px;
        border-radius: 40px 40px 0 0;
        height: auto;
        display: block; /* Fix flex min-width overflow */
    }
    .contact-section-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: unset;
        min-width: 0;
    }
    .contact-poster, .contact-form-container {
        min-width: 0; /* Prevent grid items from stretching past viewport */
    }
    .contact-poster {
        height: 400px;
        border-radius: 30px;
    }
    .contact-info-card {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 24px;
        border-radius: 20px;
        gap: 20px;
    }
    .contact-info-icon {
        width: 44px;
        height: 44px;
    }
    .contact-form-container {
        padding: 30px 20px;
        border-radius: 30px;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Services */
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    .service-img-wrapper {
        width: 100%;
        flex: none;
        max-height: 400px;
    }
    .service-content {
        width: 100%;
    }
}


@media (max-width: 950px) {
    /* Navbar */
    .navbar-links, .nav-cta {
        display: none;
    }
    .mobile-toggles {
        display: block;
    }
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --page-gap-top: 20px;
        --page-gap-side: 20px;
    }

    /* Typography */
    h1 { font-size: clamp(2rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.8rem, 6vw, 2.2rem); }
    
    /* Force smaller paddings on all major sections */
    .section-hero { min-height: 100vh; }
    .section-sub-hero { min-height: 100vh; }
    .section-family, .section-methodology, .section-vision, .section-portfolio, .section-team, .section-cta, .section-key, .section-service-showcase {
        padding: 60px 0 !important;
    }
    
    /* Collapse grids to 1 column */
    .metrics-grid, .pf-cards-grid, .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .metric-value {
        justify-content: center;
    }
    .metric-item {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px 20px !important;
    }
    
    .footer-grid > div:first-child,
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
    
    .portfolio-card {
        flex: unset;
        width: 100%;
    }

    /* Miscellaneous Fixes */
    .family-left {
        min-height: 420px;
    }
    .family-funds {
        padding: 24px;
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
    .family-funds-grid {
        flex-direction: column;
        gap: 16px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .footer-socials {
        justify-content: center;
        padding-top: 20px;
    }
    .vision-conclusion {
        padding: 40px 20px;
        border-radius: 20px;
    }
    .team-photo {
        width: 220px;
        height: 270px;
        max-width: 100%;
    }
    .service-content h2 {
        font-size: 2rem;
    }
}
/* ==========================================================================
   CONTACT OPTIMIZATIONS (<600px)
   ========================================================================== */
@media (max-width: 600px) {
    .section-contact-split {
        margin-top: 20px;
        padding: 80px 16px 30px;
        border-radius: 30px 30px 0 0;
    }
    .contact-poster {
        height: 320px;
        border-radius: 24px;
    }
    .contact-poster-title h1 {
        font-size: 2.5rem !important;
    }
    .contact-info-card {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 16px;
        border-radius: 16px;
        gap: 12px;
    }
    .contact-info-link, .contact-info-text {
        font-size: 0.9rem;
        gap: 12px;
        word-break: break-word;
    }
    .contact-info-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    .contact-info-icon svg {
        width: 16px;
        height: 16px;
    }
    .contact-form-container {
        padding: 24px 16px;
        border-radius: 24px;
    }
    .contact-form-row {
        gap: 20px;
    }
    .company-input {
        height: 56px !important; /* Forces 2 lines to be visible */
    }
    .email-input-row {
        flex-wrap: wrap;
    }
    #domainPickerWrapper {
        min-width: 100px !important;
    }
    #btnSendOtp {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 480px) {
    .hero-btn-flex {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .hero-btn-flex .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-stat-value {
        font-size: clamp(1.5rem, 11vw, 3rem);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
