@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Instrument+Serif:ital,wght@0,400;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-color: #0a0a0a;
    --surface-color: #121212;
    --text-color: #a1a1aa; /* zinc-400 */
    --heading-color: #ffffff;
    --accent-color: #d4d4d8; /* zinc-300 */
    --border-color: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Instrument Serif', serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

selection {
    background-color: #ffffff;
    color: #000000;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--heading-color);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    opacity: 0.5;
    display: block;
}

.italic {
    font-style: italic;
}

/* Hero Section */
.hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: brightness(0.7) contrast(1.1);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
    z-index: 2;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    z-index: 100;
    padding: 0 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-box {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
}

.logo-text {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1.1rem;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

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

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    padding-top: 80px;
    position: relative;
    z-index: 3;
}

.hero-content .hero-label-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-content .hero-line {
    height: 1px;
    width: 32px;
    background: #3f3f46;
}

h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.95;
    margin-bottom: 3rem;
    max-width: 1000px;
}

h1 span.dim {
    color: #52525b;
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    flex-wrap: wrap;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    max-width: 650px;
    font-weight: 300;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    color: #000;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.125rem;
    transition: all 0.3s;
}

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

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header .mono-label {
    margin-bottom: 1.5rem;
}

.section-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    max-width: 800px;
    line-height: 1.1;
}

.section-subtitle {
    max-width: 350px;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #52525b;
}

/* Services */
.services-list {
    border-top: 1px solid var(--border-color);
}

.service-item {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    transition: background 0.5s;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.01);
}

.service-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #52525b;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.5s;
}

.service-item:hover .service-content h3 {
    transform: translateX(10px);
}

.service-content p {
    max-width: 450px;
    font-weight: 300;
}

.service-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52525b;
    transition: all 0.3s;
}

.service-item:hover .service-icon {
    border-color: #fff;
    color: #fff;
}

/* Approach / Split Section */
.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
}

.approach-items {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.approach-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.approach-item h4::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #3f3f46;
    transition: background 0.3s;
}

.approach-item:hover h4::before {
    background: #fff;
}

.approach-item p {
    color: #52525b;
    font-weight: 300;
    max-width: 500px;
}

.feature-card {
    background: #121212;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 2;
}

.feature-card > * {
    position: relative;
    z-index: 3;
}

.feature-card .mono-label {
    margin-bottom: 1rem;
    letter-spacing: 0.5em;
}

.feature-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item .stat-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

/* Philosophy Section */
.philosophy-section {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 12rem 2rem;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.philosophy-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.philosophy-section .mono-label {
    margin-bottom: 4rem;
    opacity: 0.5;
}

.philosophy-section h2 {
    color: #fff;
    margin: 0 auto;
    font-size: clamp(2rem, 5vw, 4rem);
    max-width: 1000px;
    line-height: 1.2;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.philosophy-section h2 span.accent {
    color: var(--accent-color);
    font-style: italic;
}

.philosophy-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 40rem;
    opacity: 0.1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Ventures */
.ventures-section {
    text-align: center;
}

.ventures-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    opacity: 0.4;
    transition: opacity 1s;
}

.ventures-grid:hover {
    opacity: 1;
}

.venture-item {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
}

/* Footer */
footer {
    padding: 8rem 2rem 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 8rem;
    flex-wrap: wrap;
}

.footer-cta h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
}

.footer-cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 450px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    transition: gap 0.3s;
}

.footer-email:hover {
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    gap: 6rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom .logo-container {
    opacity: 0.6;
}

.footer-bottom .logo-box {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
}

.footer-bottom .logo-text {
    font-size: 0.75rem;
}

.footer-bottom .mono-label {
    display: inline-block;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-item {
        grid-template-columns: 0.5fr 2.5fr;
    }
    .service-meta {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        margin-top: 1rem;
    }
    .split-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    h1 {
        font-size: 4rem;
    }
    .service-item {
        grid-template-columns: 1fr;
    }
    .service-meta {
        grid-column: 1;
    }
}
