:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --secondary-color: #888888;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise effect */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: transparent;
    transition: padding 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

header.scrolled {
    padding: 15px 0;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

header.hidden {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 40px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.btn-primary {
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
}

/* Sections */
.section {
    padding: 150px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    overflow: hidden;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -4px;
    line-height: 1;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 0 60px 40px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(60px, 12vw, 160px);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -6px;
    margin-bottom: 40px;
}

.hero-scroll {
    position: absolute;
    bottom: 15px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row-reverse;
}

.hero-scroll span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-color);
    animation: scroll-anim 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scroll-anim {
    0% {
        left: -100%;
    }

    50% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    width: 110%;
    height: 110%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1) brightness(0.7);
    position: absolute;
    top: -5%;
    left: -5%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(13, 13, 13, 0.4) 50%, var(--bg-color) 100%);
    z-index: 2;
}

.hero-fg-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.hero-fg {
    height: 90%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.2);
    position: relative;
    top: 55%;
    transform: translateY(-50%);
}

.hero-content {
    flex: 1;
    z-index: 10;
    position: relative;
    pointer-events: none;
}

.hero-intro {
    pointer-events: auto;
}

.who-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 120px;
    align-items: center;
}

.who-text {
    position: relative;
}

.large-text {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--text-color);
}

.who-text ul {
    list-style: none;
    margin-top: 60px;
}

.who-text li {
    font-size: 24px;
    margin-bottom: 20px;
    opacity: 0.5;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: opacity 0.3s ease, margin-left 0.3s ease;
}

.who-text li:hover {
    opacity: 1;
    margin-left: 10px;
}

.who-text li::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent-color);
}

.who-desc {
    padding: 60px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 4px;
}

.who-desc p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-family: var(--font-secondary);
}

.who-desc ul {
    list-style: none;
    margin-bottom: 30px;
}

.who-desc li {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
}

.who-desc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 1px;
    background: var(--accent-color);
}

.who-desc p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-color);
    font-size: 16px;
}

/* What Section - Advanced Interactive Grid */
.what {
    background: var(--bg-color);
}

.what-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
    /* Grid lines effect */
}

.what-card {
    background: var(--bg-color);
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: none;
    /* Handled by JS magnetic/hover effect if any */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.what-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
}

.what-card:hover::before {
    transform: translateY(0);
}

.what-card span {
    font-size: 14px;
    font-family: var(--font-secondary);
    opacity: 0.4;
    margin-bottom: 40px;
    z-index: 1;
    position: relative;
    transition: color 0.3s ease;
}

.what-card h3 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    z-index: 1;
    position: relative;
    transition: color 0.3s ease;
}

.what-card:hover h3,
.what-card:hover span {
    color: black;
    opacity: 1;
}

.what-tagline {
    margin-top: 150px;
    text-align: left;
    max-width: 800px;
}

.what-tagline p {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}

.highlight {
    font-weight: 900;
    text-transform: uppercase;
}

/* Agency Section - Advanced */
.agency {
    background: #000;
}

.agency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.agency-logo-container {
    width: 100%;
    overflow: hidden;
}

.agency-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin-bottom: 0;
    opacity: 0;
    /* JS will reveal it */
}

.quote-box {
    padding: 80px 60px;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.quote-box::after {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 200px;
    opacity: 0.05;
    font-family: serif;
}

.agency-services h3 {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 100px;
    margin-bottom: 40px;
    color: var(--accent-color);
}

.agency-services-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--border-color);
}

.agency-services-list li {
    padding: 25px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-top {
    font-size: 20px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding-left 0.3s ease;
}

.service-top span {
    font-weight: 300;
    opacity: 0.3;
    transition: transform 0.3s ease;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    font-size: 16px;
    color: var(--secondary-color);
    margin-top: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    font-family: var(--font-secondary);
    line-height: 1.6;
}

.agency-services-list li.active .service-details {
    max-height: 100px;
    margin-top: 15px;
    opacity: 1;
}

.agency-services-list li.active .service-top {
    color: white;
    font-weight: 600;
}

.agency-services-list li.active .service-top span {
    transform: rotate(45deg);
    opacity: 1;
}

.agency-services-list li:hover .service-top {
    padding-left: 10px;
}

/* Philosophy Section - Advanced Board Style */
.think-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
}

.think-questions blockquote {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    margin-bottom: 60px;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    border-left: 4px solid var(--accent-color);
    padding-left: 30px;
}

.think-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--border-color);
    margin-bottom: 40px;
}

.think-step {
    padding: 30px;
    border: none;
    background: var(--bg-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.think-desc p {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 300;
}

/* Teachings Section - Professional Board */
.teachings {
    background: #050505;
}

.teach-item {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 600;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: baseline;
    letter-spacing: 0px;
    line-height: 1.2;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.teach-item span {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    opacity: 0.2;
}

.teach-item:hover {
    padding-left: 60px;
    background: #fff;
    color: #000;
    letter-spacing: -2px;
}

.teach-item:hover span {
    opacity: 0.5;
    color: black;
}

/* Different Section - Advanced Grid */
.different {
    background: #0d0d0d;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
}

.diff-card {
    background: #0d0d0d;
    padding: 80px 60px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.diff-card:hover {
    background: #fff;
    color: #000;
}

.diff-card h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Focus Section - Advanced */
.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}

.focus-item {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -1px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.focus-no .no-item {
    font-size: 18px;
    opacity: 0.2;
    margin-bottom: 15px;
    text-decoration: line-through;
    font-weight: 300;
}

/* CTA Section - Advanced Immersive */
.contact {
    text-align: center;
    padding: 250px 0;
    background: white;
    color: black;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: clamp(60px, 12vw, 150px);
    font-weight: 800;
    line-height: 0.8;
    margin-bottom: 60px;
    letter-spacing: -8px;
    text-transform: uppercase;
}

.cta-desc {
    font-size: clamp(20px, 3vw, 28px);
    margin-bottom: 80px;
    opacity: 0.8;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-btn {
    padding: 25px 60px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    background: black;
    color: white;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-btn.secondary {
    background: transparent;
    color: black;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.contact-btn:hover {
    background: #111;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-btn.secondary:hover {
    background: black;
    color: white;
}

.contact-btn.secondary:hover {
    background: black;
    color: white;
}

/* Footer */
footer {
    padding: 80px 0;
    background: var(--bg-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
    font-size: 14px;
}

.footer-logo {
    font-weight: 900;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 1024px) {

    .who-grid,
    .agency-grid,
    .think-grid,
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .what-grid,
    .diff-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 0 30px 40px;
    }

    .hero-bg-wrapper {
        width: 100%;
        height: 100%;
    }

    .hero-bg {
        width: 120%;
        height: 120%;
        left: -10%;
        top: -10%;
    }

    .hero-fg-wrapper {
        max-width: 100%;
    }

    .hero-fg {
        height: 70%;
        top: 65%;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 80px);
        letter-spacing: -3px;
    }

    .hero-scroll {
        right: 30px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.5s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
        padding-top: 100px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 32px;
        font-weight: 800;
        margin-left: 0;
    }

    .container {
        padding: 0 30px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .hero {
        padding: 0 30px 40px;
    }

    .hero h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .hero-scroll {
        display: none;
    }

    .who-grid,
    .what-grid,
    .agency-grid,
    .think-grid,
    .focus-grid,
    .diff-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .large-text {
        font-size: 32px;
    }

    .agency-services-list li h3 {
        font-size: 22px;
    }

    .teach-item {
        font-size: 20px;
        padding: 40px 0;
    }

    .cta-title {
        font-size: 50px;
        letter-spacing: -3px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section {
        padding: 60px 0;
    }
}