:root {
    --bg-color: #000000;
    --text-main: #FFFFFF;
    --text-muted: #999999;
    --accent: #D69D2A;
    /* Tangram Mustard */
    --border-color: #333333;

    --font-main: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;

    --container-width: 1200px;
    --section-padding: 100px;
    --gap-standard: 4rem;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    border-bottom: 1px solid var(--border-color);
}

.text-secondary {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent);
}

.grid-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--gap-standard);
}

.clean-list {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-cta {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid var(--accent);
    padding: 0.5rem 1.5rem;
    color: var(--accent);
}

.nav-cta:hover {
    background-color: var(--accent);
    color: var(--bg-color);
}

.nav-lang {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    margin-right: 2rem;
    letter-spacing: 0.1em;
}

.nav-lang:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    background-image: url('../assets/images/hero_abstract.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero::after {
    /* Geometric Accent Line */
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 2px;
    background-color: var(--accent);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 3rem;
}

.hero-title strong {
    font-weight: 700;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--accent);
    font-weight: 400;
    max-width: 600px;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
}

/* Typography Scale */
.large-text {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.3;
    font-weight: 300;
}

.medium-text {
    font-size: clamp(1.4rem, 2vw, 2rem);
    line-height: 1.4;
    font-weight: 300;
}

.label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    padding-top: 0.5rem;
    font-weight: 600;
}

/* About Section Specifics */
.about .content .text-secondary {
    font-size: 0.75em;
    /* ~25% smaller than main text */
    line-height: 1.4;
    /* Slightly tightened */
}

/* Services */
.services .grid-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.service-card {
    border: 1px solid var(--border-color);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #050505;
    transition: border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.5s ease;
    z-index: -1;
    mix-blend-mode: luminosity;
}

.service-card:hover::before {
    opacity: 0.5;
}

/* Service Card Backgrounds */
.card-brand-activations::before {
    background-image: url('../assets/capabilities/cap-brandactivation-image.png');
}

.card-events::before {
    background-image: url('../assets/capabilities/cap-event-image.png');
}

.card-audiovisual::before {
    background-image: url('../assets/capabilities/cap-audiovisual-image.png');
}

.card-design::before {
    background-image: url('../assets/capabilities/cap-design-image.png');
}

.card-web::before {
    background-image: url('../assets/capabilities/cap-webexperiences-image.png');
}

.card-merch::before {
    background-image: url('../assets/capabilities/cap-merchnbranding-image.png');
}

.card-consulting::before {
    background-image: url('../assets/capabilities/cap-consulting-image.png');
}

.card-lab::before {
    background-image: url('../assets/capabilities/cap-marketinglab-image.png');
}


.service-card:hover {
    border-color: var(--accent);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.service-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    margin-top: 1rem;
    transition: opacity 0.3s ease;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    margin-top: 0;
}

.service-card:hover p {
    max-height: 150px;
    /* Sufficient height for text */
    opacity: 1;
    margin-top: 1rem;
}

/* Methodology */
.method-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.clean-list li {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 1rem;
}

.clean-list li:last-child {
    border-bottom: none;
}

.process-flow-container {
    position: relative;
    width: 100%;
    height: 1.5rem;
    /* Fixed height to prevent layout shift */
    display: inline-block;
    vertical-align: middle;
}

.process-flow {
    color: var(--accent);
    font-family: monospace;
    font-size: 1rem;
    letter-spacing: 0.05em;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation: flowCycle 12s infinite;
}

.process-flow.step-1 {
    animation-delay: 0s;
}

.process-flow.step-2 {
    animation-delay: 4s;
}

.process-flow.step-3 {
    animation-delay: 8s;
}

@keyframes flowCycle {

    0%,
    25% {
        opacity: 1;
        transform: translateY(0);
    }

    30%,
    100% {
        opacity: 0;
        transform: translateY(5px);
    }
}

/* Team & Global */
.team-grid {
    display: grid;
    gap: 2rem;
}

.geo-graphic {
    width: 50px;
    height: 50px;
    border: 2px solid var(--accent);
    margin-bottom: 2rem;
    position: relative;
}

.geo-graphic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background-color: var(--accent);
    transform: translate(-50%, -50%) rotate(45deg);
}


/* Abstract Visuals */
.team-visual-container {
    width: 100%;
    height: 550px;
    /* Increased for cinematic feel */
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    background-color: #050505;
}

.network-list {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.global-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    /* Slight fade as requested for tech/minimal feel */
}

/* Contact */
.contact {
    min-height: 60vh;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.cta-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    /* Reduced to fit on one line */
    font-weight: 300;
    margin-bottom: 4rem;
}

.btn-primary {
    font-size: 1.2rem;
    padding: 1.2rem 4rem;
    background-color: var(--accent);
    color: var(--bg-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #fff;
    color: #000;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links a {
    margin-left: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --gap-standard: 2rem;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .site-header {
        padding: 1.5rem;
        justify-content: space-between;
    }

    .logo img {
        height: 36px;
        /* Slightly smaller */
    }

    .nav-cta {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .hero {
        padding-top: 7rem;
        /* More space for header */
        min-height: auto;
        padding-bottom: 4rem;
        display: block;
        /* Stack content */
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 60vh;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        border-left: none;
        /* Remove border on mobile for cleaner look or keep it? Plan said adjust width. Let's keep border but adjust padding */
        border-left: 2px solid var(--accent);
        padding-left: 1rem;
        max-width: 100%;
        margin-top: 1rem;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .label {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
        opacity: 0.7;
    }

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

    .service-card {
        padding: 1.5rem;
        min-height: 240px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .clean-list li {
        font-size: 1.4rem;
    }

    /* Method Mobile */
    .process-flow {
        font-size: 0.85rem;
        white-space: normal;
        /* Allow wrapping */
        position: relative;
        line-height: 1.5;
    }

    .process-flow-container {
        height: auto;
        min-height: 5rem;
    }

    /* Team Mobile */
    .team-visual-container {
        height: 280px;
        /* Cinematic but smaller */
        margin-top: 1.5rem;
    }

    .network-list {
        font-size: 0.8rem;
        margin-top: 1rem;
        line-height: 1.6;
    }

    .contact {
        text-align: center;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .btn-primary {
        width: 100%;
        display: block;
        text-align: center;
        padding: 1.2rem;
        margin-top: 1rem;
    }

    .site-footer .container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.8rem;
        display: inline-block;
    }

    img,
    svg {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 550px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 1rem;
    }

    .logo img {
        height: 32px;
    }

    .nav-lang {
        margin-right: 0.5rem;
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }
}

/* Animation Utilities */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}