:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-red: #ff3b30;
    --font-heading: 'inter tight', sans-serif;
    --font-mono: 'jetbrains mono', monospace;
    --grid-gap: 2px;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 100px;
}

#about {
    scroll-margin-top: 120px;
}

#portfolio {
    scroll-margin-top: 350px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    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: 50px 50px;
}

/* Typography map */
h1,
h2,
h3,
.nav-logo,
.footer-logo {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 0.85;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 4rem;
    mix-blend-mode: difference;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 3rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.nav-links a {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 14vw;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(180deg, #fff 0%, #d8d8d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-llc {
    font-family: var(--font-mono);
    font-size: 0.15em;
    vertical-align: super;
    letter-spacing: 0.1em;
    -webkit-text-fill-color: #666;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: #666;
    margin-top: 2.5rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.hero-blob {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: auto;
    object-fit: contain;
    animation: float 8s ease-in-out infinite;
    mix-blend-mode: screen;
    opacity: 0.6;
    z-index: 1;
}

.hero-meta {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    font-family: var(--font-mono);
    color: #666;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: flex;
    gap: 1rem;
    z-index: 3;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%) rotate(0deg);
    }

    50% {
        transform: translateY(-55%) rotate(5deg);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 20vw;
    }

    .hero-blob {
        width: 80%;
        opacity: 0.3;
    }
}

/* Statement Section */
.statement {
    padding: 8rem 4rem;
    padding-bottom: 5rem !important;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
}

.statement-text {
    font-size: 5vw;
    max-width: 80%;
    margin: 0;
    text-align: left;
    letter-spacing: -0.02em;
}



/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 35vw);
    gap: var(--grid-gap);
    padding: 0 4rem;
    margin-bottom: 8rem;
}

.bento-item {
    position: relative;
    overflow: hidden;
    background: #111;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-portrait {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-ampersand {
    grid-column: span 1;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ampersand {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    font-size: 15vw;
    line-height: 0;
}

.bento-cards {
    grid-column: span 2;
}

.bento-red {
    grid-column: span 1;
}

.bento-chrome {
    grid-column: span 1;
    background: #000;
}

.bento-chrome img {
    object-fit: contain;
    transform: scale(0.7);
    mix-blend-mode: screen;
}

.bento-ring {
    grid-column: span 1;
}

.bento-text {
    grid-column: span 1;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    background: #1a1a1a;
}

.bento-description {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ccc;
}

/* About Section - Simple & Creative */
.about-section {
    padding: 4rem 4rem 4rem;
    background: transparent;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-content {
    max-width: 1200px;
}

.about-manifesto {
    font-family: var(--font-heading);
    font-size: 4vw;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: capitalize;
    margin-bottom: 3rem;
}

.about-manifesto .word {
    color: #333;
    transition: color 0.3s ease;
    display: inline-block;
    margin-right: 0.3em;
}

.about-manifesto .word.active {
    color: white;
}

.about-manifesto .word.em {
    font-family: 'Times New Roman', serif;
    font-style: italic;
}

.about-manifesto .word.em.active {
    color: #ccc;
}

.about-manifesto .word.mono {
    font-family: var(--font-mono);
    font-size: 0.85em;
}

.about-manifesto .word.mono.active {
    color: #ccc;
}

.about-est {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.15em;
}


/* Agency Section 2 */
.agency-section {
    padding: 8rem 4rem;
}

.section-title {
    font-size: 5vw;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.agency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.agency-card {
    background: #111;
    height: 400px;
    overflow: hidden;
}

.agency-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agency-card-chrome {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.agency-card-chrome img {
    width: 120%;
    height: auto;
    object-fit: contain;
    animation: float 8s ease-in-out infinite;
    mix-blend-mode: screen;
    position: relative;
    top: 20%;
    right: -30%;
}

.agency-card-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-mono);
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Blog - Editorial List */
.blog {
    padding: 8rem 4rem;
    position: relative;
    background: transparent;
}

.blog-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-row {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.blog-row:hover {
    padding-left: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.blog-date,
.blog-cat {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0;
    font-weight: 500;
    color: white;
    letter-spacing: -0.04em;
}

.blog-row:hover .blog-title {
    font-weight: 700;
}

/* Floating Reveal Image for Blog */
.blog-reveal-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 400px;
    height: 500px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
    filter: grayscale(100%);
    mix-blend-mode: screen;
}

/* Stats Divider */
.stats-divider {
    display: flex;
    justify-content: space-between;
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    background: #000;
}

.stat-item {
    text-transform: uppercase;
}

/* Join Section */
/* Join Section - Asymmetrical Split */
.join-section {
    padding: 0;
    margin-top: 1rem;
    background: #000;
    position: relative;
    overflow: hidden;
}

.join-split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 80vh;
}

.join-image-col {
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.join-model {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 0.5s;
}

.join-image-col:hover .join-model {
    filter: grayscale(0%) contrast(1);
}

.join-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem;
    position: relative;
}

.join-overlay-title {
    font-size: 15vw;
    line-height: 0.8;
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    position: absolute;
    left: -15%;
    /* Overlap the image */
    top: 15%;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: exclusion;
}

.join-roles-list {
    margin-top: 25vw;
    /* Push below the massive title */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 20%;
    /* Offset to balance layout */
}

.role-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #888;
    transition: all 0.3s;
}

.role-row:hover {
    color: white;
    padding-left: 1rem;
    border-color: white;
}

.role-row a {
    font-size: 1rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    padding: 0.5rem 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s;
}

.role-row:hover a {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .join-split {
        grid-template-columns: 1fr;
    }

    .join-image-col {
        height: 50vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .join-overlay-title {
        left: 2rem;
        top: -10%;
        font-size: 20vw;
    }

    .join-roles-list {
        margin-top: 5rem;
        padding-left: 0;
    }
}

/* Gallery Footer Strip */
.gallery-strip {
    display: flex;
    height: 200px;
    overflow: hidden;
}

.gallery-strip img {
    flex: 1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s;
    cursor: crosshair;
}

.gallery-strip img:hover {
    flex: 1.5;
    filter: grayscale(0%);
}

/* Footer */
.footer {
    padding: 0;
    background: black;
    overflow: hidden;
    position: relative;
    /* Context for absolute blob */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6rem 4rem 4rem;
    /* Reduced bottom padding */
    position: relative;
    z-index: 2;
    /* Above blob */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    color: #666;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.footer-col a,
.footer-col span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-red);
}

.back-to-top {
    font-family: var(--font-mono) !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    position: absolute;
    right: 4rem;
    bottom: 50%;
    z-index: 5;
    text-decoration: none;
    color: white;
}

.footer-blob {
    position: absolute;
    bottom: -20%;
    right: -10%;
    transform: none;
    /* Reset transform */
    width: 60vw;
    height: auto;
    opacity: 0.4;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    /* Behind text, above background */
    top: auto;
    left: auto;
}

.footer-logo {
    position: relative;
    z-index: 3;
    font-size: 20.5vw;
    /* User specified exact fit */
    text-align: center;
    line-height: 0.8;
    letter-spacing: -0.04em;
    transform: translateY(2vw);
    background: linear-gradient(to bottom, #fff 40%, #666);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Separate logo from content */
    padding-top: 2rem;
    width: 100%;
    /* Ensure it doesn't overflow horizontally */
    overflow: hidden;
    padding-bottom: 1rem;
    /* safety */
}

.twitter-span {
    font-size: 15px !important;
    font-family: var(--font-mono) !important;
    color: #666 !important;
    text-transform: uppercase !important;
}

/* Footer Legal */
.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 2rem 4rem 3rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal-brand {
    color: #555;
    font-weight: 500;
}

.footer-legal-copy,
.footer-legal-tm {
    color: #333;
    font-size: 0.65rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translate(-30%, -50%) rotate(15deg) translateY(0);
    }

    50% {
        transform: translate(-30%, -50%) rotate(15deg) translateY(-20px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-cards,
    .bento-text,
    .bento-chrome {
        grid-column: span 1;
    }

    .nav {
        padding: 1.5rem 2rem;
    }

    .hero-title {
        font-size: 25vw;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .services-header {
        position: relative;
        top: 0;
        margin-bottom: 3rem;
    }

    .agency-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .play-button {
        display: none;
    }
}

/* Blog View All Link */
.blog-view-all {
    display: block;
    width: fit-content;
    margin: 2rem 0 0 auto;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #888;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0;
    border: none;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.blog-view-all:hover {
    color: white;
    transform: translateX(-5px);
    background: transparent;
    box-shadow: none;
}

/* Ventures Page Redesign - Interactive List */
.ventures-container {
    padding: 12rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    /* Ensure header alignment */
    flex-direction: column;
    position: relative;
    /* For pseudo-element positioning */
}

.ventures-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    /* Fade height */
    background: linear-gradient(to bottom, transparent, #000);
    z-index: -1;
    /* Behind content if possible, but needs to cover grid? Grid is on body. */
    /* If grid is on body, this needs to be just a normal overlay. */
    z-index: 1;
    /* Above background grid, below interactive content? */
    pointer-events: none;
}

.ventures-header {
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.blog-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #888;
    /* Matches .hero-tag */
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.ventures-index {
    list-style: none;
    padding: 0;
    margin: 0;
}

.venture-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.venture-row:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.venture-link-block {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 3rem 0;
    width: 100%;
    position: relative;
    /* Ensure content stays above the fixed image */
    z-index: 10;
}

.venture-idx {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-red);
    margin-right: 4rem;
    width: 30px;
    position: relative;
    z-index: 2;
}

.venture-name {
    font-family: var(--font-heading);
    font-size: 5vw;
    color: white;
    margin: 0;
    line-height: 0.9;
    flex-grow: 1;
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
}

.venture-row:hover .venture-name {
    transform: translateX(20px);
    color: transparent;
    -webkit-text-stroke: 1px white;
}

.venture-meta-tags {
    display: flex;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.venture-hover-reveal {
    position: fixed;
    /* Initial off-screen or hidden state, JS will override top/left */
    top: 50%;
    left: 50%;
    width: 400px;
    /* Smaller size */
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    z-index: 1;
    /* Behind content */
    opacity: 0;
    pointer-events: none;
    /* Only transition opacity/transform, NOT top/left for performance */
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s;
    filter: brightness(0.7) grayscale(100%);
    transform: translate(-50%, -50%) scale(0.8);
}

.venture-row:hover .venture-hover-reveal {
    opacity: 1;
    /* transform handled by JS mostly, but we keep scale */
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1) grayscale(0%);
}

/* Mobile Fallback: List is simpler, no fixed hover image */
@media (max-width: 768px) {
    .venture-idx {
        margin-right: 1.5rem;
    }

    .venture-name {
        font-size: 2.5rem;
    }

    .venture-meta-tags {
        display: none;
        /* Hide tags on mobile for cleaner look */
    }

    .venture-hover-reveal {
        display: none;
        /* Disable hover interaction on mobile */
    }

    .venture-row:hover .venture-name {
        transform: translateX(10px);
        color: white;
        /* Keep solid color */
        -webkit-text-stroke: 0;
    }
}