:root {
    /* Luxury Dark Palette */
    --black: #0A0A0A;
    --charcoal: #141414;
    --obsidian: #1A1A1A;
    --graphite: #2A2A2A;
    --smoke: #3A3A3A;
    --silver: #8A8A8A;
    --platinum: #B8B8B8;
    --ivory: #F5F5F5;
    --white: #FFFFFF;

    /* Accent Colors */
    --gold: #C9A962;
    --gold-dim: rgba(201, 169, 98, 0.15);
    --blue-accent: #4A7BF7;

    /* Typography Scale */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 15vh, 150px);
    --container-width: min(1400px, 90vw);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 800ms var(--ease-out-expo);
    --transition-medium: 500ms var(--ease-out-expo);
    --transition-fast: 300ms var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background: var(--black);
}

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

::selection {
    background: var(--gold);
    color: var(--black);
}

/* Typography */
.display-xl {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.display-lg {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

.display-md {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
}

.heading-lg {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.body-lg {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--platinum);
}

.body-sm {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--silver);
}

.label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

/* Layout */
.container {
    width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    transform: scale(2.5);
    background: var(--gold);
    opacity: 0.3;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    padding: 20px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ivory);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-logo:hover {
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-links a {
    color: var(--platinum);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition-medium);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

.nav-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-menu-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ivory);
    margin: 6px 0;
    transition: all var(--transition-fast);
}

/* Hero Section - Full Immersive */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-image-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(10%) contrast(1.2) brightness(1.1);
    transition: transform 8s ease;
}

.hero:hover .hero-image {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, var(--black) 0%, rgba(10, 10, 10, 0.85) 25%, rgba(10, 10, 10, 0.4) 50%, transparent 75%),
        linear-gradient(180deg, transparent 60%, var(--black) 100%);
}

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

.hero-eyebrow {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-title {
    max-width: 850px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    max-width: 500px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-cta {
    display: flex;
    gap: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--ivory);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: transparent;
    border: 1px solid rgba(245, 245, 245, 0.3);
    color: var(--ivory);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--ivory);
    background: rgba(245, 245, 245, 0.05);
}

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

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

/* Marquee */
.marquee-section {
    padding: 30px 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    white-space: nowrap;
}

.marquee-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.marquee-divider {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

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

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

/* Impact Numbers */
.impact {
    background: var(--black);
    padding: var(--section-padding) 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.impact-item {
    background: var(--black);
    padding: 60px 40px;
    text-align: center;
    transition: background var(--transition-medium);
}

.impact-item:hover {
    background: var(--charcoal);
}

.impact-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.impact-label {
    font-size: 0.85rem;
    color: var(--platinum);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Story Section - Editorial */
.story {
    background: var(--charcoal);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
}

.story-image {
    position: relative;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.story-image:hover img {
    transform: scale(1.03);
}

.story-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
}

.story-number {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--graphite);
    line-height: 1;
    margin-bottom: -20px;
}

.story-title {
    margin-bottom: 32px;
}

.story-text {
    margin-bottom: 40px;
}

.story-list {
    list-style: none;
    margin-bottom: 40px;
}

.story-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.story-list li::before {
    content: '→';
    color: var(--gold);
    font-size: 1.2rem;
}

/* Services - Horizontal Scroll */
.services {
    background: var(--black);
}

.services-header {
    padding: var(--section-padding) 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.services-scroll {
    display: flex;
    gap: 24px;
    padding-bottom: 60px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 450px;
    min-height: 550px;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 48px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-medium);
}

.service-card:hover {
    background: var(--obsidian);
    border-color: rgba(201, 169, 98, 0.3);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 32px;
    opacity: 0.8;
}

.service-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--graphite);
    line-height: 1;
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-desc {
    flex: 1;
    margin-bottom: 32px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--platinum);
}

/* Case Study - Full Width */
.case {
    background: var(--black);
    position: relative;
}

.case-hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
}

.case-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.case-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--black) 100%);
}

.case-hero-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
}

.case-content {
    padding: var(--section-padding) 0;
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.case-challenge {
    padding: 40px;
    background: var(--charcoal);
    border-left: 3px solid var(--gold);
    margin-bottom: 40px;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-result {
    padding: 32px;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all var(--transition-fast);
}

.case-result:hover {
    border-color: var(--gold);
}

.case-result-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.case-timeline {
    padding: 40px;
    background: var(--charcoal);
}

.timeline-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Photo Gallery Placeholder */
.gallery {
    background: var(--charcoal);
    padding: var(--section-padding) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--obsidian);
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 6;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item.medium {
    grid-column: span 4;
}

.gallery-item.small {
    grid-column: span 3;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--smoke);
    gap: 16px;
    border: 1px dashed var(--smoke);
    transition: all var(--transition-fast);
}

.gallery-placeholder:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.gallery-placeholder-icon {
    font-size: 2rem;
    opacity: 0.5;
}

.gallery-placeholder-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-image.focus-top {
    object-position: center 25%;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Tools Section */
.tools {
    background: var(--black);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tool-card {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gold-dim), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.tool-card:hover {
    border-color: var(--gold);
}

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

.tool-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.tool-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.tool-desc {
    margin-bottom: 32px;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap var(--transition-fast);
}

.tool-link:hover {
    gap: 20px;
}

/* Tool Showcase - Centered Single Card */
.tool-showcase {
    display: flex;
    justify-content: center;
}

.tool-showcase .tool-card {
    max-width: 560px;
    width: 100%;
}

.tool-features-list {
    list-style: none;
    margin-bottom: 32px;
}

.tool-features-list li {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--platinum);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-features-list li::before {
    content: '→';
    color: var(--gold);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--gold-dim), transparent 60%);
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.cta-title {
    margin-bottom: 24px;
}

.cta-subtitle {
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--ivory);
    margin-bottom: 24px;
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--platinum);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

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

.footer-copy {
    color: var(--silver);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--platinum);
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

/* AI Chat - Refined */
.chat-widget {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--black);
    transition: all var(--transition-fast);
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.open {
    display: flex;
    animation: chatSlideUp 0.4s var(--ease-out-expo);
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.chat-header {
    padding: 24px;
    background: var(--obsidian);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    filter: grayscale(20%);
}

.chat-header-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.chat-header-info span {
    font-size: 0.8rem;
    color: var(--gold);
}

.chat-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    max-width: 85%;
    padding: 16px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.bot {
    background: var(--obsidian);
    align-self: flex-start;
    border-left: 2px solid var(--gold);
}

.message.user {
    background: var(--gold);
    color: var(--black);
    align-self: flex-end;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 24px 16px;
}

.suggestion-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--platinum);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.chat-input-container {
    padding: 20px 24px;
    background: var(--obsidian);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
}

.chat-input {
    flex: 1;
    padding: 14px 18px;
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ivory);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input:focus {
    border-color: var(--gold);
}

.chat-input::placeholder {
    color: var(--silver);
}

.chat-send {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.chat-send:hover {
    background: var(--ivory);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s var(--ease-out-expo);
}

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

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-stagger.visible>*:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible>*:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible>*:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.visible>*:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: block;
    }

    .hero-image-container {
        width: 100%;
        opacity: 0.4;
    }

    .hero-overlay {
        background: linear-gradient(to top, var(--black) 0%, rgba(10, 10, 10, 0.7) 50%, var(--black) 100%);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 50vh;
    }

    .story-content {
        padding: 60px 24px;
    }

    .service-card {
        flex: 0 0 340px;
        min-height: 480px;
        padding: 36px;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: span 6;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* ============================================
       MOBILE SOTA 2025 - LinkedIn First Experience
       ============================================ */

    /* Safe Area Support for iOS Notch */
    :root {
        --safe-area-top: env(safe-area-inset-top, 0px);
        --safe-area-bottom: env(safe-area-inset-bottom, 0px);
        --safe-area-left: env(safe-area-inset-left, 0px);
        --safe-area-right: env(safe-area-inset-right, 0px);
    }

    /* Base Mobile Adjustments */
    html {
        font-size: 15px;
        -webkit-tap-highlight-color: transparent;
    }

    body {
        padding-top: var(--safe-area-top);
        padding-bottom: var(--safe-area-bottom);
        overscroll-behavior-y: contain;
    }

    /* Hide custom cursor on touch devices */
    .cursor {
        display: none !important;
    }

    /* Container Mobile Padding */
    .container {
        width: calc(100% - 48px);
        padding-left: var(--safe-area-left);
        padding-right: var(--safe-area-right);
    }

    /* Section Padding Mobile */
    .section {
        padding: clamp(60px, 10vh, 100px) 0;
    }

    /* Typography Mobile Optimization */
    .display-xl {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        letter-spacing: -0.02em;
    }

    .display-lg {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .display-md {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
    }

    .body-lg {
        font-size: 1rem;
        line-height: 1.65;
    }

    /* ============================================
       NAVIGATION - Mobile Bottom Bar Option
       ============================================ */
    .nav {
        padding: 16px 0;
        padding-top: calc(16px + var(--safe-area-top));
    }

    .nav.scrolled {
        padding: 12px 0;
        padding-top: calc(12px + var(--safe-area-top));
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-cta {
        padding: 14px 20px;
        font-size: 0.75rem;
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-btn {
        min-width: 48px;
        min-height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px;
    }

    .nav-menu-btn span {
        width: 28px;
        height: 2px;
        margin: 4px 0;
    }

    /* ============================================
       HERO - Mobile Immersive
       ============================================ */
    .hero {
        min-height: calc(100vh - var(--safe-area-top));
        min-height: calc(100dvh - var(--safe-area-top));
        padding-bottom: calc(40px + var(--safe-area-bottom));
    }

    .hero-image-container {
        width: 100%;
        height: 100%;
        opacity: 0.35;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.2) 30%, var(--black) 85%);
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 16px;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-bottom: 32px;
        font-size: 1rem;
    }

    /* Hero CTAs - Touch Friendly */
    .hero-cta {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-height: 56px;
        padding: 18px 24px;
        font-size: 0.85rem;
        justify-content: center;
        border-radius: 4px;
    }

    .hero-scroll {
        display: none;
    }

    /* ============================================
       MARQUEE - Mobile Optimized
       ============================================ */
    .marquee-section {
        padding: 20px 0;
    }

    .marquee-content {
        gap: 40px;
        padding-right: 40px;
    }

    .marquee-item {
        font-size: 0.7rem;
    }

    /* ============================================
       IMPACT NUMBERS - Vertical Stack
       ============================================ */
    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
    }

    .impact-item {
        padding: 32px 20px;
    }

    .impact-number {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .impact-label {
        font-size: 0.7rem;
    }

    /* ============================================
       STORY SECTION - Mobile Stack
       ============================================ */
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 45vh;
        max-height: 50vh;
    }

    .story-content {
        padding: 48px 24px;
    }

    .story-number {
        font-size: 4rem;
        margin-bottom: -8px;
    }

    .story-list li {
        padding: 14px 0;
        font-size: 0.95rem;
    }

    /* ============================================
       SERVICES - Mobile Scroll
       ============================================ */
    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 48px 0 32px;
    }

    .services-header .body-lg {
        text-align: left;
        max-width: 100%;
    }

    .services-scroll {
        padding: 0 24px 48px;
        gap: 16px;
        scroll-padding-left: 24px;
        -webkit-overflow-scrolling: touch;
    }

    .service-card {
        flex: 0 0 calc(100vw - 72px);
        min-height: auto;
        padding: 32px 24px;
    }

    .service-number {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-features li {
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* ============================================
       CASE STUDY - Mobile Layout
       ============================================ */
    .case-hero {
        height: 50vh;
        min-height: 300px;
    }

    .case-content {
        padding: 48px 0;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-challenge {
        padding: 24px;
        margin-bottom: 24px;
    }

    .case-results {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .case-result {
        padding: 20px 16px;
    }

    .case-result-value {
        font-size: 1.8rem;
    }

    .case-timeline {
        padding: 24px;
    }

    .timeline-step {
        padding: 16px 0;
        gap: 16px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* ============================================
       GALLERY - Mobile Grid
       ============================================ */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .gallery-item.large {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }

    .gallery-placeholder {
        gap: 8px;
    }

    .gallery-placeholder-icon {
        font-size: 1.5rem;
    }

    .gallery-placeholder-text {
        font-size: 0.65rem;
    }

    /* ============================================
       TOOLS - Mobile Stack
       ============================================ */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tool-card {
        padding: 32px 24px;
    }

    .tool-title {
        font-size: 1.4rem;
    }

    .tool-link {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
    }

    /* ============================================
       CTA SECTION - Mobile
       ============================================ */
    .cta {
        min-height: 70vh;
        padding: 48px 24px;
    }

    .cta-content {
        padding: 0;
    }

    .cta-title {
        margin-bottom: 16px;
    }

    .cta-subtitle {
        margin-bottom: 32px;
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        min-height: 56px;
    }

    /* ============================================
       FOOTER - Mobile Layout
       ============================================ */
    .footer {
        padding: 48px 0 calc(32px + var(--safe-area-bottom));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 8px 4px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-top: 32px;
    }

    .footer-social {
        gap: 8px;
    }

    .footer-social a {
        width: 48px;
        height: 48px;
    }

    /* ============================================
       CHAT WIDGET - Fullscreen Mobile Experience
       ============================================ */
    .chat-widget {
        bottom: calc(24px + var(--safe-area-bottom));
        right: 24px;
    }

    .chat-toggle {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        box-shadow: 0 8px 32px rgba(201, 169, 98, 0.4);
    }

    /* Fullscreen Chat on Mobile */
    .chat-window {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
        z-index: 10000;
    }

    .chat-window.open {
        animation: chatSlideUpMobile 0.3s var(--ease-out-expo);
    }

    @keyframes chatSlideUpMobile {
        from {
            opacity: 0;
            transform: translateY(100%);
        }

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

    .chat-header {
        padding: 20px 24px;
        padding-top: calc(20px + var(--safe-area-top));
        position: relative;
    }

    /* Close button for mobile chat */
    .chat-header::after {
        content: '✕';
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: var(--silver);
        cursor: pointer;
        margin-top: calc(var(--safe-area-top) / 2);
    }

    .chat-messages {
        padding: 20px 24px;
        padding-bottom: 16px;
    }

    .message {
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .chat-suggestions {
        padding: 0 24px 12px;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .chat-suggestions::-webkit-scrollbar {
        display: none;
    }

    .suggestion-btn {
        padding: 12px 18px;
        min-height: 48px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .chat-input-container {
        padding: 16px 24px;
        padding-bottom: calc(16px + var(--safe-area-bottom));
        gap: 12px;
    }

    .chat-input {
        padding: 16px 20px;
        min-height: 52px;
        font-size: 1rem;
        border-radius: 26px;
    }

    .chat-send {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        border-radius: 50%;
    }

    /* ============================================
       REVEAL ANIMATIONS - Reduced Motion
       ============================================ */
    @media (prefers-reduced-motion: reduce) {

        .reveal,
        .reveal-stagger>* {
            opacity: 1;
            transform: none;
            transition: none;
        }

        .marquee {
            animation: none;
        }

        .hero-eyebrow,
        .hero-title,
        .hero-subtitle,
        .hero-cta,
        .hero-scroll {
            opacity: 1;
            transform: none;
            animation: none;
        }
    }

    /* Smooth scrolling optimization for performance */
    .services-scroll,
    .chat-suggestions {
        will-change: scroll-position;
    }

    /* Touch action hints */
    .service-card,
    .tool-card,
    .gallery-item,
    .btn-primary,
    .btn-secondary,
    .nav-cta,
    .chat-toggle,
    .suggestion-btn {
        touch-action: manipulation;
    }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */

/* Privacy Hero */
.privacy-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 180px 0 80px;
    background: var(--charcoal);
    position: relative;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--gold-dim), transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.privacy-hero .display-lg {
    margin-bottom: 24px;
}

.privacy-hero .display-lg em {
    font-style: italic;
    color: var(--gold);
}

.privacy-hero-subtitle {
    max-width: 600px;
    margin-bottom: 16px;
}

.privacy-update {
    font-size: 0.85rem;
    color: var(--silver);
    font-weight: 500;
}

/* Privacy Content */
.privacy-content {
    background: var(--black);
}

.privacy-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
}

/* Privacy Navigation Sidebar */
.privacy-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.privacy-nav .label {
    margin-bottom: 24px;
}

.privacy-nav-list {
    list-style: none;
}

.privacy-nav-list li {
    margin-bottom: 0;
}

.privacy-nav-list a {
    display: block;
    padding: 12px 0;
    color: var(--platinum);
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 2px solid transparent;
    padding-left: 16px;
    margin-left: -16px;
    transition: all var(--transition-fast);
}

.privacy-nav-list a:hover {
    color: var(--gold);
    border-left-color: var(--gold);
}

/* Privacy Sections */
.privacy-main {
    max-width: 800px;
}

.privacy-section {
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section-number {
    position: absolute;
    top: 0;
    right: 0;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--graphite);
    line-height: 1;
    opacity: 0.5;
}

.privacy-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--ivory);
}

.privacy-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 32px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.privacy-section p {
    color: var(--platinum);
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-section ul {
    list-style: none;
    margin-bottom: 24px;
}

.privacy-section ul li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--platinum);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-section ul li:last-child {
    border-bottom: none;
}

.privacy-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.privacy-section ul li strong {
    color: var(--ivory);
}

/* Privacy Info Box */
.privacy-info-box {
    background: var(--charcoal);
    border-left: 3px solid var(--gold);
    padding: 24px;
    margin: 24px 0;
}

.privacy-info-box p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.privacy-info-box p:last-child {
    margin-bottom: 0;
}

/* Privacy Contact Box */
.privacy-contact-box {
    background: var(--charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    margin-top: 24px;
}

.privacy-contact-box p {
    margin-bottom: 12px;
}

.privacy-contact-box a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.privacy-contact-box a:hover {
    color: var(--ivory);
}

/* Privacy CTA */
.privacy-cta {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-section-final {
    border-bottom: none;
}

/* Footer Privacy Link */
.footer-privacy-link {
    color: var(--silver);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-privacy-link:hover {
    color: var(--gold);
}

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

/* Privacy Page Responsive */
@media (max-width: 1024px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .privacy-nav {
        position: static;
        padding: 24px;
        background: var(--charcoal);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .privacy-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .privacy-nav-list a {
        padding: 8px 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        margin-left: 0;
        padding-left: 16px;
        font-size: 0.8rem;
    }

    .privacy-nav-list a:hover {
        border-color: var(--gold);
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        min-height: 40vh;
        padding: 140px 24px 60px;
    }

    .privacy-hero .display-lg {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .privacy-content .container {
        padding: 0 24px;
    }

    .privacy-section {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .privacy-section-number {
        font-size: 2.5rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
        padding-right: 60px;
    }

    .privacy-info-box,
    .privacy-contact-box {
        padding: 20px;
    }

    .privacy-cta {
        flex-direction: column;
        gap: 16px;
    }

    .privacy-cta .btn-primary,
    .privacy-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-privacy-link {
        order: -1;
    }
}