/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
    --black: #050505;
    --dark: #0c0c0c;
    --dark-2: #141414;
    --dark-3: #1a1a1a;
    --gold: #c8a44e;
    --gold-light: #dabb6a;
    --gold-dim: rgba(200, 164, 78, 0.15);
    --white: #ffffff;
    --gray-100: #e8e8e8;
    --gray-300: #a0a0a0;
    --gray-500: #666666;
    --gray-700: #333333;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--dark);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
}

h4 {
    font-size: 1.45rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ═══════════════════════════════════════════
   GRAIN TEXTURE OVERLAY
═══════════════════════════════════════════ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════
   PAGE LOADER
═══════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-brand {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.loader-brand span {
    color: var(--gold);
}

.loader-line {
    width: 120px;
    height: 1px;
    background: var(--gray-700);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gold);
    animation: loaderFill 2s var(--ease-out-expo) forwards;
}

@keyframes loaderFill {
    to {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: difference;
    transition: transform 0.1s;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(200, 164, 78, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9997;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out-expo), height 0.35s var(--ease-out-expo), border-color 0.3s;
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: var(--gold);
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════ */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.section-text {
    line-height: 1.85;
    color: var(--gray-300);
}

.gold {
    color: var(--gold);
}

.bg-dark-1 {
    background: var(--black);
}

.bg-dark-2 {
    background: var(--dark);
}

.bg-dark-3 {
    background: var(--dark-2);
}

.section-pad {
    padding: 7rem 0;
}

/* REVEAL ON SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

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

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

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

.reveal-d3 {
    transition-delay: 0.3s;
}

.reveal-d4 {
    transition-delay: 0.4s;
}

.reveal-d5 {
    transition-delay: 0.5s;
}

/* BUTTONS */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--gold);
    border: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s, transform 0.3s;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
}

.btn-gold:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-gold:hover {
    color: var(--black);
}

.btn-gold span,
.btn-gold i {
    position: relative;
    z-index: 1;
}

.btn-gold:hover i {
    transform: translateX(4px);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: transparent;
    border: 1px solid var(--gold);
    position: relative;
    overflow: hidden;
    transition: color 0.4s;
}

.btn-outline-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out-expo);
}

.btn-outline-gold:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline-gold:hover {
    color: var(--black);
}

.btn-outline-gold span,
.btn-outline-gold i {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.4rem 0;
    transition: all 0.5s var(--ease-out-expo);
}

.main-nav.scrolled {
    padding: 0.7rem 0;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--white) !important;
}

.nav-brand-link em {
    font-style: normal;
    color: var(--gold);
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.82rem !important;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-300) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out-expo);
}

.navbar-nav .nav-link:hover {
    color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 2rem);
}

.dropdown-menu {
    background: var(--dark-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 !important;
    backdrop-filter: blur(20px);
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: var(--gray-300) !important;
    font-size: 0.82rem;
    padding: 0.55rem 1.5rem !important;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: transparent !important;
    color: var(--gold) !important;
    padding-left: 2rem !important;
}

.nav-cta-btn {
    padding: 0.55rem 1.4rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold) !important;
    border: 1px solid rgba(200, 164, 78, 0.4) !important;
    border-radius: 0 !important;
    transition: all 0.3s !important;
    margin-left: 0.5rem;
}

.nav-cta-btn:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    border-color: var(--gold) !important;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 0.4rem 0.6rem !important;
}

.navbar-toggler-icon {
    filter: invert(0.8);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
    filter: brightness(0.3) saturate(0.3);
    transform: scale(1.1);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.4) 50%, rgba(5, 5, 5, 0.7) 100%),
        linear-gradient(to top, var(--black) 0%, transparent 40%);
}

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

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) 2.2s forwards;
}

.hero-label::before {
    content: '';
    width: 50px;
    height: 1px;
    background: var(--gold);
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.hero-heading .line {
    display: block;
    overflow: hidden;
}

.hero-heading .line-inner {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    animation: lineReveal 1.2s var(--ease-out-expo) forwards;
}

.hero-heading .line:nth-child(1) .line-inner {
    animation-delay: 2.3s;
}

.hero-heading .line:nth-child(2) .line-inner {
    animation-delay: 2.45s;
}

.hero-heading .line:nth-child(3) .line-inner {
    animation-delay: 2.6s;
}

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

.hero-text {
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) 2.8s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) 3s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-500);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) 3.5s forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: var(--gray-700);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

/* ═══════════════════════════════════════════
   MARQUEE BAR
═══════════════════════════════════════════ */
.marquee-bar {
    background: var(--gold);
    padding: 0.9rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.05em;
}

.marquee-dot {
    width: 5px;
    height: 5px;
    background: var(--black);
    border-radius: 50%;
    opacity: 0.4;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

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

/* ═══════════════════════════════════════════
   FEATURES - Editorial Typography + Glassmorphism
═══════════════════════════════════════════ */
.features {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-card {
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 2px;
    transition: all 0.6s var(--ease-out-expo);
    position: relative;
    height: 100%;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.6s var(--ease-out-expo);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%,
            rgba(200, 164, 78, 0.06) 0%,
            transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.feature-card:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(200, 164, 78, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(200, 164, 78, 0.05);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1;
    color: rgba(200, 164, 78, 0.12);
    margin-bottom: 1.5rem;
    transition: color 0.5s ease;
}

.feature-card:hover .feature-number {
    color: rgba(200, 164, 78, 0.25);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--gray-300);
    line-height: 1.8;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    z-index: 2;
}

.feature-link i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-link {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover .feature-link:hover i {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-img-wrap {
    position: relative;
    overflow: visible;
}

.about-img-wrap img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8);
    transition: filter 0.8s;
}

.about-img-wrap:hover img {
    filter: grayscale(0%) brightness(1);
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 55%;
    height: 55%;
    border: 1px solid var(--gold);
    z-index: -1;
    transition: all 0.5s var(--ease-out-expo);
}

.about-img-wrap:hover::before {
    top: -12px;
    right: -12px;
}

.about-img-wrap::after {
    content: 'EST. 2014';
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.12;
    line-height: 1;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat h3 {
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat span {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ═══════════════════════════════════════════
   INTERACTIVE PORTFOLIO SLIDER
═══════════════════════════════════════════ */
.portfolio-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.ps-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ps-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    filter: brightness(0.3) saturate(0.5);
    transition: opacity 1.2s var(--ease-out-expo), transform 10s linear;
    transform: scale(1.08);
}

.ps-bg-img.active {
    opacity: 1;
    transform: scale(1);
}

.ps-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.35) 55%, rgba(5, 5, 5, 0.65) 100%),
        linear-gradient(to top, rgba(5, 5, 5, 0.85) 0%, transparent 35%);
}

.ps-grid-lines {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    display: flex;
}

.ps-grid-line {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.035);
}

.ps-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.ps-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ps-item {
    padding: 1.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.ps-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.6s var(--ease-out-expo);
}

.ps-item.active::before,
.ps-item:hover::before {
    width: 100%;
}

.ps-item-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.4rem;
    transition: color 0.3s;
}

.ps-item.active .ps-item-tag {
    color: var(--gold);
}

.ps-item-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    color: var(--gray-500);
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ps-item.active .ps-item-title {
    color: var(--white);
}

.ps-item:hover .ps-item-title {
    color: var(--gray-100);
}

.ps-item-arrow {
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-out-expo);
    color: var(--gold);
}

.ps-item.active .ps-item-arrow {
    opacity: 1;
    transform: translateX(0);
}

.ps-item-desc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease-out-expo), opacity 0.4s, margin 0.4s;
    opacity: 0;
    margin-top: 0;
    font-size: 0.92rem;
    color: var(--gray-300);
    line-height: 1.7;
    font-weight: 300;
}

.ps-item.active .ps-item-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.8rem;
}

.ps-counter-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
}

.ps-counter {
    font-family: var(--font-display);
    font-size: clamp(10rem, 18vw, 18rem);
    font-weight: 300;
    color: var(--gold);
    opacity: 0.07;
    line-height: 1;
    user-select: none;
    transition: all 0.6s var(--ease-out-expo);
}

.ps-active-label {
    position: absolute;
    bottom: 15%;
    right: 10%;
    text-align: right;
}

.ps-active-label small {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.3rem;
}

.ps-active-label strong {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
.stats-section {
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1200&q=80') center/cover;
    opacity: 0.05;
}

.stat-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ═══════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════ */
.process-line {
    position: absolute;
    top: 38px;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
    opacity: 0.3;
}

.process-step-num {
    width: 64px;
    height: 64px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 1.8rem;
    background: var(--dark);
    position: relative;
    z-index: 2;
    transition: all 0.4s;
}

.process-step:hover .process-step-num {
    background: var(--gold);
    color: var(--black);
}

.process-step h4 {
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--gray-300);
}

/* ═══════════════════════════════════════════
   VALUES - Editorial Ledger Layout
═══════════════════════════════════════════ */
.values-ledger {
    padding-top: 1rem;
}

.value-row {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    padding: 2.2rem 0;
    border-top: 1px solid rgba(200, 164, 78, 0.15);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    cursor: default;
}

.value-row:last-child {
    border-bottom: 1px solid rgba(200, 164, 78, 0.15);
}

.value-row::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.8s var(--ease-out-expo);
}

.value-row:hover::before {
    width: 100%;
}

.value-row:hover {
    padding-left: 1rem;
}

.value-row-left {
    display: flex;
    align-items: baseline;
    gap: 1.8rem;
    flex-shrink: 0;
    width: 42%;
    min-width: 42%;
}

.value-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--gold);
    opacity: 0.18;
    transition: opacity 0.5s ease;
    flex-shrink: 0;
    min-width: 65px;
}

.value-row:hover .value-num {
    opacity: 0.45;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.value-row:hover .value-title {
    color: var(--gold-light);
}

.value-row-right {
    flex: 1;
    padding-top: 0.2rem;
}

.value-desc {
    color: var(--gray-500);
    line-height: 1.8;
    font-weight: 300;
    transition: color 0.4s ease;
    max-width: 500px;
}

.value-row:hover .value-desc {
    color: var(--gray-300);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 5%;
    font-family: var(--font-display);
    font-size: 28rem;
    color: var(--gold);
    opacity: 0.03;
    line-height: 1;
}

.testimonial-card {
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeUp 0.6s var(--ease-out-expo);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--gray-100);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.15rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.6rem;
    margin-top: 2.5rem;
}

.testimonial-dot-btn {
    width: 40px;
    height: 3px;
    background: var(--gray-700);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
}

.testimonial-dot-btn.active {
    background: var(--gold);
    width: 60px;
}

/* ═══════════════════════════════════════════
   ESG
═══════════════════════════════════════════ */
.esg-visual {
    position: relative;
}

.esg-visual img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: brightness(0.7) saturate(0.8);
}

.esg-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 110px;
    height: 110px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.esg-badge i {
    font-size: 1.6rem;
    color: var(--black);
    margin-bottom: 0.2rem;
}

.esg-badge span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--black);
}

.esg-list {
    list-style: none;
    padding: 0;
    margin-top: 2.5rem;
}

.esg-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--gray-300);
    line-height: 1.6;
    transition: all 0.3s;
}

.esg-list li:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.esg-list li i {
    color: var(--gold);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   STRATEGIC CROSSHAIR LAYOUT
═══════════════════════════════════════════ */
.crosshair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    border: 1px solid rgba(200, 164, 78, 0.15);
}

.crosshair-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 20px var(--gold);
}

.crosshair-center::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.crosshair-item {
    padding: 4rem 3rem;
    position: relative;
    transition: background 0.4s ease;
    border-right: 1px solid rgba(200, 164, 78, 0.15);
    border-bottom: 1px solid rgba(200, 164, 78, 0.15);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
}

.crosshair-item:nth-child(3),
.crosshair-item:nth-child(5) {
    border-right: none;
}

.crosshair-item:nth-child(4),
.crosshair-item:nth-child(5) {
    border-bottom: none;
}

.crosshair-item:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.ch-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.crosshair-item:hover .ch-icon {
    transform: translateY(-8px) scale(1.1);
}

.ch-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.ch-desc {
    color: var(--gray-500);
    max-width: 90%;
    transition: color 0.3s;
}

.crosshair-item:hover .ch-desc {
    color: var(--gray-300);
}

/* ═══════════════════════════════════════════
   NEWS
═══════════════════════════════════════════ */
.news-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    height: 100%;
}

.news-card:hover {
    border-color: rgba(200, 164, 78, 0.2);
    transform: translateY(-6px);
}

.news-card-img {
    height: 220px;
    overflow: hidden;
    background: var(--dark-3);
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

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

.news-card-body {
    padding: 1.8rem;
}

.news-date {
    font-size: 0.72rem;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.news-card h4 {
    line-height: 1.4;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.news-card:hover h4 {
    color: var(--gold);
}

.news-card p {
    color: var(--gray-500);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 78, 0.07) 0%, transparent 70%);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-item i {
    color: var(--gold);
    margin-top: 0.25rem;
    width: 20px;
    text-align: center;
}

.contact-info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-info-item p {
    color: var(--gray-300);
}

.contact-form .form-label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    background: var(--dark-2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--white) !important;
    border-radius: 0 !important;
    padding: 0.9rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--gold) !important;
    box-shadow: none !important;
}

.contact-form .form-control::placeholder {
    color: var(--gray-700);
}

.contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-brand-text em {
    font-style: normal;
    color: var(--gold);
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.82rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.footer-heading {
    font-family: var(--font-body) !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem !important;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-newsletter-form {
    display: flex;
    gap: 0;
}

.footer-newsletter-form input {
    flex: 1;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 0.7rem 1rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    outline: none;
}

.footer-newsletter-form input:focus {
    border-color: var(--gold);
}

.footer-newsletter-form button {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-newsletter-form button:hover {
    background: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    font-size: 0.78rem;
    color: var(--gray-700);
}

.footer-bottom a {
    color: var(--gray-700);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ═══════════════════════════════════════════
   SUBPAGE HERO BANNER
═══════════════════════════════════════════ */
.page-hero {
    min-height: 45vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 3rem;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.25) saturate(0.4);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black) 0%, transparent 60%);
}

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

.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.page-hero-breadcrumb a {
    color: var(--gold);
    transition: color 0.3s;
}

.page-hero-breadcrumb a:hover {
    color: var(--gold-light);
}

.page-hero-breadcrumb .sep {
    color: var(--gray-700);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════
   SUBPAGE CONTENT BLOCKS
═══════════════════════════════════════════ */
.content-block {
    padding: 6rem 0;
}

.content-block p {
    color: var(--gray-300);
    line-height: 1.85;
}

.content-block p+p {
    margin-top: 1.25rem;
}

/* Vision / Mission cards */
.vm-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: all 0.5s var(--ease-out-expo);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    border-color: rgba(200, 164, 78, 0.15);
}

.vm-card-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--gray-300);
}

/* Pillar rows - ledger style for subpages */
.pillar-row {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s var(--ease-out-expo);
}

.pillar-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pillar-row:hover {
    padding-left: 0.5rem;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(200, 164, 78, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.4s;
}

.pillar-row:hover .pillar-icon {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.pillar-content h4 {
    margin-bottom: 0.5rem;
}

.pillar-content p {
    color: var(--gray-500);
    transition: color 0.3s;
}

.pillar-row:hover .pillar-content p {
    color: var(--gray-300);
}

/* Process steps for strategy page */
.strategy-step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s var(--ease-out-expo);
}

.strategy-step:hover {
    padding-left: 0.5rem;
}

.strategy-step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    min-width: 55px;
    transition: opacity 0.4s;
}

.strategy-step:hover .strategy-step-num {
    opacity: 0.5;
}

.strategy-step h4 {
    margin-bottom: 0.4rem;
}

.strategy-step p {
    color: var(--gray-500);
}

.strategy-step:hover p {
    color: var(--gray-300);
}

/* CTA banner */
.cta-banner {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(200, 164, 78, 0.08) 0%, transparent 70%);
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 2rem;
    position: relative;
}

@media (max-width: 767px) {
    .pillar-row {
        flex-direction: column;
        gap: 1rem;
    }

    .strategy-step {
        flex-direction: column;
        gap: 0.5rem;
    }

    .strategy-step-num {
        font-size: 2.2rem;
    }
}

/* ═══════════════════════════════════════════
   CENTRAL CIRCUIT TIMELINE
═══════════════════════════════════════════ */
.timeline-section {
    position: relative;
}

.timeline-section>.container {
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    min-height: 70vh;
    position: relative;
}

.timeline-row:last-child {
    min-height: auto;
    padding-bottom: 3rem;
}

.timeline-node {
    display: none;
}

.timeline-content {
    position: sticky;
    top: 40vh;
    align-self: start;
    padding-top: 0.5rem;
}

/* Circle drawn as pseudo-element so it moves with sticky content */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--black);
    border: 1px solid var(--gold);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(200, 164, 78, 0.2);
    transition: all 0.5s ease;
}

.timeline-row:hover .timeline-content::before,
.timeline-row.active .timeline-content::before {
    background: var(--gold);
    box-shadow: 0 0 25px rgba(200, 164, 78, 0.6);
}

.timeline-row:nth-child(odd) .timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 3rem;
}

.timeline-row:nth-child(odd) .timeline-content::before {
    right: -16px;
}

.timeline-row:nth-child(even) .timeline-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-left: 3rem;
}

.timeline-row:nth-child(even) .timeline-content::before {
    left: -16px;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 8px;
    width: 3rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.3;
    transition: width 0.4s, opacity 0.4s;
}

.timeline-row:nth-child(odd) .timeline-content::after {
    right: 0;
}

.timeline-row:nth-child(even) .timeline-content::after {
    left: 0;
}

.timeline-row:hover .timeline-content::after,
.timeline-row.active .timeline-content::after {
    width: 4rem;
    opacity: 1;
}

.tl-step {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: -1.5rem;
    display: block;
    transition: opacity 0.4s;
}

.timeline-row:hover .tl-step,
.timeline-row.active .tl-step {
    opacity: 0.25;
}

.tl-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.tl-desc {
    color: var(--gray-500);
    transition: color 0.4s;
}

.timeline-row:hover .tl-desc,
.timeline-row.active .tl-desc {
    color: var(--gray-300);
}

/* ═══════════════════════════════════════════
   DEI CINEMATIC EXPANSION
═══════════════════════════════════════════ */
.dei-section {
    padding: 0;
    background: var(--black);
}

.dei-container {
    display: flex;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.dei-card {
    position: relative;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dei-card:last-child {
    border-right: none;
}

.dei-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.4);
    transition: transform 0.7s, filter 0.5s;
    transform: scale(1.05);
}

.dei-card:hover {
    flex: 3;
}

.dei-card:hover .dei-bg {
    filter: grayscale(0%) brightness(0.6);
    transform: scale(1);
}

.dei-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 2;
}

.dei-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.dei-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    transition: all 0.5s;
}

.dei-desc {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    height: 0;
}

.dei-card:hover .dei-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1rem;
}

.dei-card:hover .dei-title {
    color: var(--gold);
    font-size: 2.2rem;
}

/* ═══════════════════════════════════════════
   ESG PAGE — GREEN-GOLD THEME OVERRIDES
═══════════════════════════════════════════ */

/* Feature cards (E, S, G framework) */
.esg-features .feature-card::before {
    background: #8aad5e;
}

.esg-features .feature-card::after {
    background: radial-gradient(ellipse at 30% 0%,
            rgba(138, 173, 94, 0.06) 0%,
            transparent 70%);
}

.esg-features .feature-card:hover {
    border-color: rgba(138, 173, 94, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(138, 173, 94, 0.05);
}

.esg-features .feature-number {
    color: rgba(138, 173, 94, 0.12);
}

.esg-features .feature-card:hover .feature-number {
    color: rgba(138, 173, 94, 0.25);
}

.esg-features .feature-link {
    color: #8aad5e;
}

/* Commitment cinematic slider */
.esg-commit-section {
    padding: 0;
    background: var(--black);
}

.esg-commit-container {
    display: flex;
    height: 550px;
    width: 100%;
    overflow: hidden;
}

.esg-commit-card {
    position: relative;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border-right: 1px solid rgba(138, 173, 94, 0.08);
}

.esg-commit-card:last-child {
    border-right: none;
}

.esg-commit-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.35);
    transition: transform 0.7s, filter 0.5s;
    transform: scale(1.05);
}

.esg-commit-card:hover {
    flex: 3;
}

.esg-commit-card:hover .esg-commit-bg {
    filter: grayscale(30%) brightness(0.5) saturate(1.2);
    transform: scale(1);
}

.esg-commit-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 2;
}

.esg-commit-icon {
    font-size: 1.6rem;
    color: #8aad5e;
    margin-bottom: 1rem;
    display: block;
}

.esg-commit-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    transition: all 0.5s;
}

.esg-commit-desc {
    font-size: 0.9rem;
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    height: 0;
}

.esg-commit-card:hover .esg-commit-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1rem;
}

.esg-commit-card:hover .esg-commit-title {
    color: #8aad5e;
    font-size: 2rem;
}

/* Transparency vm-cards — green-gold tint */
.esg-features~section .vm-card::before,
section#esg-transparency .vm-card::before {
    background: #8aad5e;
}

.esg-features~section .vm-card:hover,
section#esg-transparency .vm-card:hover {
    border-color: rgba(138, 173, 94, 0.15);
}

.esg-features~section .vm-card-icon,
section#esg-transparency .vm-card-icon {
    border-color: #8aad5e;
    color: #8aad5e;
}

.esg-features~section .esg-list li i,
section#esg-transparency .esg-list li i {
    color: #8aad5e;
}

/* CTA banner — green-gold */
.esg-cta-wrap .cta-banner::before {
    background: radial-gradient(ellipse at center, rgba(138, 173, 94, 0.08) 0%, transparent 70%);
}

.esg-cta-wrap .btn-gold {
    border-color: #8aad5e;
    background: #8aad5e;
    color: var(--black);
}

.esg-cta-wrap .btn-gold::before {
    background: var(--white);
}

.esg-cta-wrap .btn-gold:hover {
    color: var(--black);
}

/* Section labels — green-gold across ESG page */
.esg-features .section-label,
.esg-commit-section .section-label,
#esg-transparency .section-label {
    color: #8aad5e;
}

.esg-features .section-label::before,
.esg-commit-section .section-label::before,
#esg-transparency .section-label::before {
    background: #8aad5e;
}

/* ═══════════════════════════════════════════
   SUSTAINABILITY PAGE — GREEN-GOLD THEME
═══════════════════════════════════════════ */

/* Section labels */
.page-sustainability .section-label {
    color: #8aad5e;
}

.page-sustainability .section-label::before {
    background: #8aad5e;
}

/* Gold accent overrides → green */
.page-sustainability .gold {
    color: #8aad5e;
}

/* Feature cards (Strategy section) */
.page-sustainability .feature-card::before {
    background: #8aad5e;
}

.page-sustainability .feature-card::after {
    background: radial-gradient(ellipse at 30% 0%,
            rgba(138, 173, 94, 0.06) 0%,
            transparent 70%);
}

.page-sustainability .feature-card:hover {
    border-color: rgba(138, 173, 94, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(138, 173, 94, 0.05);
}

.page-sustainability .feature-number {
    color: rgba(138, 173, 94, 0.12);
}

.page-sustainability .feature-card:hover .feature-number {
    color: rgba(138, 173, 94, 0.25);
}

.page-sustainability .feature-link {
    color: #8aad5e;
}

/* Pillar rows (Strategic Benefits) */
.page-sustainability .pillar-icon {
    border-color: #8aad5e;
    color: #8aad5e;
}

.page-sustainability .pillar-row:hover .pillar-icon {
    background: rgba(138, 173, 94, 0.08);
}

/* VM cards (Flagship Projects & Global Footprint) */
.page-sustainability .vm-card::before {
    background: #8aad5e;
}

.page-sustainability .vm-card:hover {
    border-color: rgba(138, 173, 94, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(138, 173, 94, 0.05);
}

.page-sustainability .vm-card-icon {
    border-color: #8aad5e;
    color: #8aad5e;
}

/* Stat section — trend lines & accents */
.page-sustainability .stat-trend-line {
    stroke: #8aad5e;
}

.page-sustainability .stat-trend-line path {
    stroke: #8aad5e;
}

.page-sustainability .stat-main-num {
    color: #8aad5e;
}

.page-sustainability .stat-ghost {
    color: #8aad5e;
}

.page-sustainability .stat-ledger-box:hover {
    border-color: rgba(138, 173, 94, 0.1);
}

/* CTA banner */
.page-sustainability .cta-banner::before {
    background: radial-gradient(ellipse at center, rgba(138, 173, 94, 0.08) 0%, transparent 70%);
}

.page-sustainability .btn-gold {
    border-color: #8aad5e;
    color: #8aad5e;
}

.page-sustainability .btn-gold::before {
    background: #8aad5e;
}

.page-sustainability .btn-gold:hover {
    color: var(--black);
}

/* Page hero overlay — subtle green tint */
.page-sustainability .page-hero-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(10, 30, 10, 0.7) 100%);
}

/* ════════ SUSTAINABILITY MOSAIC (Bento Grid) ════════ */
.mosaic-section {
    padding: 6rem 0;
    background: var(--dark-2);
}

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

/* Base Tile Style */
.mosaic-tile {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Tile Sizing Logic (The "Bento" Look) */
.tile-large { grid-column: span 2; grid-row: span 2; }
.tile-tall  { grid-column: span 1; grid-row: span 2; }
.tile-wide  { grid-column: span 2; grid-row: span 1; }
.tile-std   { grid-column: span 1; grid-row: span 1; }

/* The Background Image */
.mosaic-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.4);
    transition: transform 0.8s, filter 0.5s;
    transform: scale(1.05);
}

.mosaic-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* Hover Effects */
.mosaic-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(200,164,78,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
}

.mosaic-tile:hover .mosaic-bg {
    filter: grayscale(0%) brightness(0.6) sepia(20%) hue-rotate(5deg);
    transform: scale(1);
}

/* Content Layout */
.mosaic-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 2.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.m-icon {
    font-size: 1.8rem; color: var(--gold);
    margin-bottom: auto;
    padding-top: 1rem;
    opacity: 0.8;
    transition: transform 0.5s;
}

.mosaic-tile:hover .m-icon { transform: scale(1.1); opacity: 1; }

.m-title {
    font-family: var(--font-display);
    font-size: 1.8rem; color: var(--white);
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.tile-large .m-title { font-size: 3rem; }

.m-desc {
    font-size: 0.95rem; color: var(--gray-300);
    line-height: 1.6;
    max-width: 90%;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tile-large .m-desc { -webkit-line-clamp: 6; font-size: 1.1rem; }

/* Reveal Text on Hover */
.mosaic-tile:hover .m-desc {
    opacity: 1; transform: translateY(0);
}

/* Green-gold overrides for sustainability page */
.page-sustainability .mosaic-tile:hover {
    border-color: rgba(138, 173, 94, 0.3);
}

.page-sustainability .m-icon {
    color: #8aad5e;
}

/* ════════ ENERGY SPECIFIC STYLES ════════ */
.energy-icon {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid rgba(200,164,78,0.3);
    padding: 0.8rem;
    border-radius: 50%;
}

.energy-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.3rem;
    display: block;
}

.energy-stat-val {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
}

/* Green-gold overrides for sustainability energy icons */
.page-sustainability .energy-icon {
    color: #8aad5e;
    border-color: rgba(138, 173, 94, 0.3);
}

.page-sustainability .project-number {
    -webkit-text-stroke-color: #8aad5e;
}

.page-sustainability .energy-stat-val {
    color: #8aad5e;
}

/* ════════ GLOBAL PRESENCE — CINEMATIC EXPANSION ════════ */
.gp-section {
    padding: 0;
    background: var(--black);
}

.gp-container {
    display: flex;
    height: 600px;
    width: 100%;
    overflow: hidden;
}

.gp-card {
    position: relative;
    flex: 1;
    height: 100%;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.gp-card:last-child {
    border-right: none;
}

.gp-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.4);
    transition: transform 0.7s, filter 0.5s;
    transform: scale(1.05);
}

.gp-card:hover {
    flex: 3;
}

.gp-card:hover .gp-bg {
    filter: grayscale(0%) brightness(0.6);
    transform: scale(1);
}

.gp-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    z-index: 2;
}

.gp-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.gp-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    transition: all 0.5s;
}

.gp-desc {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.7;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    height: 0;
}

.gp-card:hover .gp-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-top: 1rem;
}

.gp-card:hover .gp-title {
    color: var(--gold);
    font-size: 2.2rem;
}

/* Green-gold overrides for sustainability */
.page-sustainability .gp-icon {
    color: #8aad5e;
}

.page-sustainability .gp-card:hover .gp-title {
    color: #8aad5e;
}

/* ═══════════════════════════════════════════
   REAL ESTATE PROJECT SHOWCASE
═══════════════════════════════════════════ */
.project-showcase {
    position: relative;
    padding: 4rem 0;
}

.project-row {
    display: flex;
    align-items: center;
    margin-bottom: 8rem;
    position: relative;
}

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

.project-visual {
    flex: 1;
    height: 600px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.8) grayscale(20%);
}

.project-row:hover .project-img {
    transform: scale(1.05);
    filter: brightness(1) grayscale(0%);
}

.project-info {
    flex: 1;
    padding: 0 5rem;
    position: relative;
    z-index: 2;
}

.project-row:nth-child(even) {
    flex-direction: row-reverse;
}

.project-number {
    font-family: var(--font-display);
    font-size: 6rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -1rem;
    display: block;
}

.project-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.project-location {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.project-desc {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.p-stat h6 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 0.2rem;
}

.p-stat span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
}

/* ═══════════════════════════════════════════
   PERFORMANCE CHART
═══════════════════════════════════════════ */
.chart-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.chart-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* Kill ApexCharts white crosshair/highlight bar */
.apexcharts-xcrosshairs,
.apexcharts-ycrosshairs {
    fill: transparent !important;
    stroke: transparent !important;
}

/* Gold bar hover — boost opacity on hover */
.apexcharts-bar-area {
    transition: fill-opacity 0.25s ease, filter 0.25s ease;
    cursor: pointer;
}

.apexcharts-series[seriesName="Finaux\\sEquity"] .apexcharts-bar-area:hover {
    fill-opacity: 0.9 !important;
    filter: brightness(1.2);
}

.apexcharts-series[seriesName="Industry\\sAvg"] .apexcharts-bar-area:hover {
    fill-opacity: 1 !important;
    filter: brightness(1.4);
}

.chart-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chart-box-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
}

.chart-box-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
    animation: chartPulse 2s ease-in-out infinite;
}

@keyframes chartPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.chart-box-legend {
    display: flex;
    gap: 1.2rem;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 500;
}

.chart-legend-color {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
}

.chart-checklist {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s var(--ease-out-expo);
}

.check-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.check-item:hover {
    padding-left: 0.5rem;
}

.check-icon {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: all 0.3s;
}

.check-icon i {
    font-size: 0.65rem;
    color: var(--gold);
}

.check-item:hover .check-icon {
    background: var(--gold);
}

.check-item:hover .check-icon i {
    color: var(--black);
}

.check-item h5 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.check-item p {
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}


/* ════════ ALPHA LEDGER STATS ════════ */
.alpha-stats-section {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-grid-row {
    --border-color: rgba(200, 164, 78, 0.15);
}

/* Individual Stat Box */
.stat-ledger-box {
    padding: 4rem 2.5rem;
    position: relative;
    height: 100%;
    transition: background 0.4s ease;
    border-right: 1px solid var(--border-color);
    overflow: hidden;
}

.stat-ledger-box:hover {
    background: radial-gradient(circle at top right, rgba(200, 164, 78, 0.08), transparent 70%);
}

/* The "Ghost" Number Background */
.stat-ghost {
    position: absolute;
    top: -1rem;
    right: -1rem;
    font-family: var(--font-display);
    font-size: 10rem;
    color: var(--white);
    opacity: 0.02;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.stat-ledger-box:hover .stat-ghost {
    transform: translateY(-10px) scale(1.05);
    opacity: 0.04;
}

/* The Main Content */
.stat-content-wrap {
    position: relative;
    z-index: 2;
}

.stat-icon-sm {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.stat-main-num {
    font-family: var(--font-display);
    font-size: 3.8rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.stat-main-num span {
    color: var(--gold);
    /* The number itself is gold */
}

.stat-main-num small {
    font-size: 1.5rem;
    color: var(--gray-500);
    font-weight: 300;
}

.stat-label-lg {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.stat-desc-sm {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    transition: color 0.3s;
}

.stat-ledger-box:hover .stat-desc-sm {
    color: var(--gray-300);
    border-color: var(--gold);
}

/* SVG Trend Line */
.stat-trend-line {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 30px;
    opacity: 0.3;
    transition: opacity 0.4s;
}

.stat-ledger-box:hover .stat-trend-line {
    opacity: 0.8;
}

/* Responsive Borders */
@media (max-width: 991px) {
    .stat-ledger-box {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 3rem 1.5rem;
    }

    .stat-ghost {
        font-size: 8rem;
    }
}

/* ════════ INSTRUMENTS TOOLKIT (Tactical Selector) ════════ */
.toolkit-section {
    background: var(--dark-2);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.toolkit-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--black);
}

.toolkit-menu {
    flex: 0 0 40%;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
}

.toolkit-btn {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.toolkit-btn:last-child {
    border-bottom: none;
}

.toolkit-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gold);
    transition: width 0.4s ease;
}

.toolkit-btn:hover,
.toolkit-btn.active {
    background: var(--dark-3);
    padding-left: 3.5rem;
}

.toolkit-btn.active::before {
    width: 4px;
}

.tk-btn-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-500);
    margin: 0;
    transition: color 0.3s;
}

.toolkit-btn.active .tk-btn-title {
    color: var(--white);
}

.tk-arrow {
    opacity: 0;
    transform: translateX(-10px);
    color: var(--gold);
    transition: all 0.4s;
}

.toolkit-btn.active .tk-arrow {
    opacity: 1;
    transform: translateX(0);
}

.toolkit-display {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: var(--black);
    display: flex;
    align-items: center;
    padding: 4rem 5rem;
}

.tk-content-panel {
    position: absolute;
    inset: 0;
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2;
}

.tk-content-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tk-bg-icon {
    position: absolute;
    bottom: -10%;
    right: -5%;
    font-size: 20rem;
    color: var(--white);
    opacity: 0.02;
    z-index: 1;
    pointer-events: none;
    transform: rotate(-15deg);
}

.tk-main-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
}

.tk-display-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.tk-display-desc {
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.8;
    font-weight: 300;
    max-width: 600px;
}

@media (max-width: 991px) {
    .toolkit-container {
        flex-direction: column;
    }

    .toolkit-menu {
        flex: auto;
        border-right: none;
    }

    .toolkit-display {
        min-height: 400px;
        padding: 2rem;
    }

    .tk-content-panel {
        padding: 2rem;
    }

    .tk-bg-icon {
        font-size: 10rem;
    }
}

/* ════════ RISK COMMAND CENTER ════════ */
.risk-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.risk-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.risk-interface {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 2;
    min-height: 500px;
}

.risk-menu {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.risk-btn {
    padding: 2rem;
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.risk-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gray-700);
    transition: background 0.4s;
}

.risk-btn:hover {
    background: var(--dark-3);
    transform: translateX(10px);
}

.risk-btn.active {
    background: linear-gradient(90deg, rgba(200, 164, 78, 0.1), transparent);
    border-color: rgba(200, 164, 78, 0.3);
}

.risk-btn.active::before {
    background: var(--gold);
}

.risk-btn-icon {
    font-size: 1.5rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.3s;
}

.risk-btn.active .risk-btn-icon {
    color: var(--gold);
}

.risk-btn-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin: 0;
}

.risk-status-dot {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-700);
    transition: background 0.3s;
}

.risk-btn.active .risk-status-dot {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.risk-screen {
    flex: 1;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.risk-screen::after {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    background:
        linear-gradient(to right, var(--gold) 2px, transparent 2px) 0 0,
        linear-gradient(to bottom, var(--gold) 2px, transparent 2px) 0 0,
        linear-gradient(to left, var(--gold) 2px, transparent 2px) 100% 0,
        linear-gradient(to bottom, var(--gold) 2px, transparent 2px) 100% 0,
        linear-gradient(to right, var(--gold) 2px, transparent 2px) 0 100%,
        linear-gradient(to top, var(--gold) 2px, transparent 2px) 0 100%,
        linear-gradient(to left, var(--gold) 2px, transparent 2px) 100% 100%,
        linear-gradient(to top, var(--gold) 2px, transparent 2px) 100% 100%;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.risk-content-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.risk-content-item.active {
    display: block;
}

.risk-content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.risk-big-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--gold);
    margin: 0;
}

.risk-id {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gray-500);
}

.risk-desc {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.8;
    font-weight: 300;
}

.risk-radar {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.3;
}

.risk-radar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
    transform-origin: left;
    animation: radarSpin 2s linear infinite;
}

@keyframes radarSpin {
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .risk-interface {
        flex-direction: column;
    }

    .risk-menu {
        flex: auto;
    }

    .risk-screen {
        min-height: 400px;
        padding: 2rem;
    }
}


/* ════════ HEALTHCARE STACKING CARDS ════════ */
.hc-stack-section {
    padding: 4rem 0 8rem;
    background: var(--black);
}

.hc-card-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* The Card Itself */
.hc-card {
    position: sticky;
    top: 120px;
    /* The stickiness point */
    margin-bottom: 4rem;
    /* Spacing for the scroll effect */
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    transform-origin: center top;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Creating the "Stack" depth */
.hc-card:nth-child(1) {
    top: 120px;
}

.hc-card:nth-child(2) {
    top: 140px;
}

.hc-card:nth-child(3) {
    top: 160px;
}

.hc-card:nth-child(4) {
    top: 180px;
}

.hc-card:nth-child(5) {
    top: 200px;
}

.hc-card-inner {
    display: flex;
    min-height: 450px;
}

/* Left Side: Visual */
.hc-visual {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: var(--dark-3);
}

.hc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.8s;
    filter: grayscale(100%) contrast(1.2);
}

.hc-card:hover .hc-img {
    transform: scale(1.1);
    opacity: 0.8;
    filter: grayscale(0%) contrast(1);
}

/* The "ECG" Pulse Animation */
.hc-pulse-line {
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.hc-pulse-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: ecgPulse 3s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes ecgPulse {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Right Side: Content */
.hc-content {
    flex: 1;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Medical Crosshair Decor */
.hc-content::before {
    content: '';
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    opacity: 0.5;
}

.hc-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hc-category {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hc-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hc-desc {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.8;
    font-weight: 300;
}

/* Data Tags */
.hc-tags {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hc-tag {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--gold);
    border: 1px solid rgba(200, 164, 78, 0.3);
    padding: 0.3rem 0.8rem;
    background: rgba(200, 164, 78, 0.05);
}

/* Mobile Stack */
@media (max-width: 991px) {
    .hc-card-inner {
        flex-direction: column;
        min-height: auto;
    }

    .hc-visual {
        height: 200px;
    }

    .hc-content {
        padding: 2rem;
    }

    .hc-card {
        top: 80px !important;
        margin-bottom: 2rem;
    }
}

/* ════════ IMPACT ACCORDION (Cinematic) ════════ */
.impact-accordion {
    display: flex;
    height: 700px;
    overflow: hidden;
    background: var(--black);
}

.impact-panel {
    position: relative;
    flex: 1;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    border-right: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    cursor: pointer;
}

.impact-panel:last-child { border-right: none; }

/* Background Image */
.impact-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.3);
    transition: transform 1.2s, filter 0.8s;
    transform: scale(1.05);
}

/* Hover Interaction */
.impact-panel:hover {
    flex: 2.5;
}

.impact-panel:hover .impact-bg {
    filter: grayscale(0%) brightness(0.5);
    transform: scale(1);
}

/* Content Layout */
.impact-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    transform: translateY(20px);
    transition: transform 0.8s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.impact-panel:hover .impact-content {
    transform: translateY(0);
}

/* The Big Stat Number */
.impact-stat-big {
    font-family: var(--font-display);
    font-size: 6rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    line-height: 0.9;
    margin-bottom: 1rem;
    transition: all 0.6s;
}

.impact-panel:hover .impact-stat-big {
    color: var(--gold);
    -webkit-text-stroke: 0;
}

.impact-icon {
    font-size: 2rem; color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.impact-title {
    font-family: var(--font-display);
    font-size: 2.2rem; color: var(--white);
    margin-bottom: 1rem;
    white-space: nowrap;
}

.impact-desc {
    font-size: 1rem; color: var(--gray-300);
    line-height: 1.8;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    height: 0;
}

/* Reveal Text on Hover */
.impact-panel:hover .impact-desc {
    opacity: 1;
    transform: translateY(0);
    height: auto;
    margin-bottom: 1rem;
}

/* Mobile Stack */
@media (max-width: 991px) {
    .impact-accordion { flex-direction: column; height: auto; }
    .impact-panel { height: 400px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .impact-panel:hover { flex: 1; }
    .impact-desc { opacity: 1; height: auto; transform: translateY(0); }
    .impact-bg { filter: brightness(0.4); }
    .impact-stat-big { font-size: 4rem; color: var(--gold); -webkit-text-stroke: 0; }
}