/* ─── TOKENS ─────────────────────────────── */
:root {
    --bg: #171717;
    --bg-raised: #1e1e1e;
    --bg-card: #222222;
    --line: rgba(255, 255, 255, 0.09);
    --line-hover: rgba(255, 255, 255, 0.22);
    --ivory: #f0ece3;
    --white: #ffffff;
    --gray-1: #a8a49d;
    /* secondary text */
    --gray-2: #5c5955;
    /* muted */
    --gray-3: #2e2c2a;
    /* subtle dividers */
    --font: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ─── NAV ────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(23, 23, 23, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.nav-logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.nav-label {
    font-size: 13px;
    color: var(--gray-1);
    font-weight: 400;
    letter-spacing: 0.01em;
    padding-left: 16px;
    border-left: 1px solid var(--line-hover);
    line-height: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links-row {
    display: flex;
    gap: 36px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links-row a {
    font-size: 15px;
    color: var(--gray-1);
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

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

.nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    background: var(--ivory);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    font: 500 13px var(--font);
    cursor: pointer;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.nav-menu-btn:hover {
    background: var(--white);
    transform: scale(1.02);
}

/* ─── LANGUAGE DROPDOWN ──────────────────── */
.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ivory);
    padding: 6px 12px;
    border-radius: 6px;
    font: 400 13px var(--font);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    letter-spacing: 0.03em;
}

.lang-dropdown-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.lang-dropdown-btn svg {
    transition: transform 0.25s ease;
}

.lang-dropdown.open .lang-dropdown-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 80px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 8px;
    list-style: none;
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 300;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    padding: 8px 14px;
    font: 400 13px var(--font);
    color: var(--gray-1);
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
    letter-spacing: 0.03em;
}

.lang-dropdown-menu li:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ivory);
}

.lang-dropdown-menu li.active {
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.05);
}

/* ─── HERO ───────────────────────────────── */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 64px 48px 80px;
    position: relative;
    overflow: hidden;
}

/* very subtle grain texture */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ─── Geometric Abstract Visual ───────────────── */
.hero-geo-wrap {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50vw;
    height: 50vw;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

.hero-geo-svg {
    width: 100%;
    height: 100%;
}

.geo-layer-1 {
    transform-origin: 400px 400px;
    /* SVG internal center */
    animation: geoRotateSlow 120s linear infinite;
}

.geo-layer-2 {
    transform-origin: 400px 400px;
    animation: geoRotateReverse 90s linear infinite;
}

.geo-layer-3 {
    transform-origin: 400px 400px;
    animation: geoPulse 6s ease-in-out infinite;
}

@keyframes geoRotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes geoRotateReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes geoPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1) rotate(45deg);
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hero-geo-wrap {
        right: -10vw;
        width: 70vw;
        height: 70vw;
        opacity: 0.3;
    }
}

@media (max-width: 600px) {
    .hero-geo-wrap {
        right: -20vw;
        width: 100vw;
        height: 100vw;
    }
}

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

.hero-eyebrow {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-1);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--gray-2);
}

.hero-headline {
    font-size: clamp(52px, 9vw, 150px);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--ivory);
    margin-bottom: 0;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 56px;
    padding-top: 40px;
}

.hero-desc {
    max-width: 420px;
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-1);
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: right;
}

.stat-n {
    font-size: 28px;
    font-weight: 300;
    color: var(--ivory);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-l {
    font-size: 11px;
    color: var(--gray-2);
    margin-top: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    background: var(--ivory);
    color: var(--bg);
    border: none;
    border-radius: 100px;
    font: 400 14px var(--font);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn-pill:hover {
    background: var(--white);
    transform: translateY(-1px);
}

.btn-pill.ghost {
    background: transparent;
    color: var(--ivory);
    border: 1px solid var(--line);
}

.btn-pill.ghost:hover {
    border-color: var(--line-hover);
    background: rgba(255, 255, 255, 0.04);
}

/* ─── SECTION WRAPPER ────────────────────── */
.s-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

/* full-width divider */
.divider {
    border: none;
    border-top: 1px solid var(--line);
}

/* ─── SECTION HEADER ROW ──────────────────── */
.s-header {
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: flex-start;
    padding: 100px 0 72px;
    gap: 40px;
}

.s-title {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--ivory);
}

.s-desc {
    font-size: 14px;
    color: var(--gray-1);
    line-height: 1.7;
    font-weight: 300;
    text-align: right;
    margin-top: 12px;
}

/* ─── STUDIO SECTION ─────────────────────── */
#studio {
    padding-bottom: 100px;
}

.studio-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.studio-img-block {
    background: var(--bg-card);
    overflow: hidden;
    position: relative;
}

.studio-img-block img {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(100%) contrast(1.3);
    will-change: transform;
    transition: opacity 0.5s, filter 0.5s;
}

.studio-img-block:hover img {
    opacity: 1;
    filter: grayscale(100%) contrast(1.5);
}


.studio-content-block {
    background: var(--bg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.studio-body {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--ivory);
    letter-spacing: -0.01em;
}

.studio-pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.pillar-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.15s;
}

.pillar-num {
    font-size: 11px;
    color: var(--gray-2);
    font-weight: 400;
    min-width: 24px;
    letter-spacing: 0.05em;
    padding-top: 2px;
}

.pillar-text-wrap {
    flex: 1;
}

.pillar-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--ivory);
    margin-bottom: 4px;
}

.pillar-desc-t {
    font-size: 13px;
    color: var(--gray-1);
    line-height: 1.6;
    font-weight: 300;
}

/* ─── STARTUPS SECTION ───────────────────── */
#startups {
    padding-bottom: 100px;
}

/* hairline grid just like PSL companies page */
.startups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.startup-cell {
    padding: 44px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: background 0.2s;
    cursor: default;
}

.startup-cell:hover {
    background: var(--bg-raised);
}

.startup-letter-mark {
    font-size: 56px;
    font-weight: 300;
    color: var(--gray-2);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.startup-cell:hover .startup-letter-mark {
    color: var(--gray-1);
}

.startup-stage-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-2);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 12px;
}

.startup-cell-name {
    font-size: 20px;
    font-weight: 400;
    color: var(--ivory);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}

.startup-cell-tagline {
    font-size: 15px;
    color: var(--gray-1);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 28px;
}

.startup-cell-footer {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.scf-item {
    font-size: 12px;
    color: var(--gray-2);
}

.scf-item strong {
    display: block;
    color: var(--gray-1);
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 2px;
}

/* ─── TEAM SECTION ───────────────────────── */
#team {
    padding-bottom: 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.team-cell {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    transition: background 0.2s;
}

.team-cell:hover {
    background: var(--bg-raised);
}

.team-photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.7;
    transition: filter 0.4s, opacity 0.4s;
}

.team-cell:hover .team-photo img {
    filter: grayscale(100%) contrast(1.3);
    opacity: 1;
}



.team-info {
    padding: 20px 22px 24px;
}

.team-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 3px;
}

.team-role {
    font-size: 12px;
    color: var(--gray-2);
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.team-bio {
    font-size: 12px;
    color: var(--gray-1);
    line-height: 1.65;
    font-weight: 300;
}

.team-socials {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.tsoc {
    font-size: 11px;
    color: var(--gray-2);
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 100px;
    letter-spacing: 0.04em;
    transition: color 0.2s, border-color 0.2s;
}

.tsoc:hover {
    color: var(--ivory);
    border-color: var(--line-hover);
}

/* ─── CONTACT SECTION ────────────────────── */
#contact {
    padding-bottom: 120px;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.contact-left {
    padding: 56px 48px;
    background: var(--bg);
}

.contact-headline {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--ivory);
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.contact-sub {
    font-size: 14px;
    color: var(--gray-1);
    line-height: 1.7;
    font-weight: 300;
    max-width: 340px;
    margin-bottom: 48px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.channel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    transition: border-color 0.2s;
}

.channel:last-child {
    border-bottom: 1px solid var(--line);
}

.channel:hover {
    border-color: var(--line-hover);
}

.channel-label {
    font-size: 13px;
    color: var(--gray-2);
    font-weight: 300;
}

.channel-value {
    font-size: 13px;
    color: var(--ivory);
    font-weight: 400;
}

.channel-arrow {
    font-size: 12px;
    color: var(--gray-2);
}

.contact-right {
    padding: 56px 48px;
    background: var(--bg);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-field label {
    font-size: 11px;
    color: var(--gray-2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.form-field input,
.form-field textarea,
.form-field select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    color: var(--ivory);
    font: 300 15px var(--font);
    padding: 10px 0;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--ivory);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--gray-2);
}

.form-field textarea {
    resize: none;
    height: 100px;
}

.form-field select option {
    background: #222;
    color: var(--ivory);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-submit {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
}

/* ─── FOOTER ─────────────────────────────── */
footer {
    border-top: 1px solid var(--line);
    padding: 28px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg {
    height: 18px;
    width: auto;
}

.footer-right {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-right a {
    font-size: 12px;
    color: var(--gray-2);
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--gray-1);
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-2);
}

.form-success {
    margin-top: 16px;
    padding: 16px;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* ─── SCROLL REVEAL ──────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 1000px) {
    nav {
        padding: 0 24px;
    }

    .s-wrap {
        padding: 0 24px;
    }

    .s-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 56px 0 48px;
        gap: 16px;
    }

    .s-tag {
        margin-top: 0;
    }

    .s-desc {
        text-align: left;
        max-width: 100%;
        margin-top: 8px;
    }

    #hero {
        padding: 80px 24px 60px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero-cta-group {
        align-items: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .stat {
        text-align: left;
    }

    .studio-split {
        grid-template-columns: 1fr;
    }

    .studio-img-block {
        aspect-ratio: 4/3;
    }

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

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

    .contact-split {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .nav-links-row {
        display: none;
    }

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

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

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-left,
    .contact-right {
        padding: 40px 24px;
    }

    nav {
        padding: 0 20px;
    }
}

/* ─── COOKIE BANNER ────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: -500px;
    left: 24px;
    max-width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    padding: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s, visibility 0.5s;
}

.cookie-banner.show {
    bottom: 24px;
    opacity: 1;
    visibility: visible;
}

.cb-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--ivory);
    margin-bottom: 6px;
}

.cb-desc {
    font-size: 13px;
    color: var(--gray-1);
    line-height: 1.6;
}

.cb-actions {
    display: flex;
    gap: 12px;
}

@media (max-width: 600px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        max-width: none;
    }

    .cookie-banner.show {
        bottom: 16px;
    }
}