/* ==========================================================================
   NINEFIFTYSIX — STYLESHEET
   Light hero, dark sections, Montserrat throughout.
   ========================================================================== */

:root {
    --black: #0a0a0a;
    --black-soft: #141414;
    --black-card: #1a1a1a;
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-100: #f4f4f4;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;

    --max-width: 1280px;
    --section-pad-y: clamp(80px, 12vh, 160px);
    --section-pad-x: clamp(24px, 5vw, 80px);

    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px var(--section-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.nav-logo-img {
    height: 72px;
    width: auto;
    display: block;
    max-width: 100%;
}

@media (max-width: 900px) {
    .nav-logo-img {
        height: 52px;
    }
}

@media (max-width: 600px) {
    .nav-logo-img {
        height: 40px;
    }
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--black);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a {
    color: var(--gray-600);
    transition: color 0.2s ease;
}

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

.nav-cta {
    background: var(--black);
    color: var(--white) !important;
    padding: 10px 18px;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--gray-800);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-pad-y) var(--section-pad-x);
    width: 100%;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-600);
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    animation: fadeUp 0.8s 0.1s both ease-out;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--black);
}

.hero-title {
    font-size: clamp(48px, 9vw, 128px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--black);
    margin-bottom: 72px;
    animation: fadeUp 0.9s 0.2s both ease-out;
}

.hero-line {
    display: block;
}

.hero-line+.hero-line {
    margin-top: 0.3em;
}

.hero-title .italic {
    font-style: italic;
    font-weight: 300;
}

.hero-title .underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0.25em;
}

.hero-title .underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.05em;
    height: 0.06em;
    background: var(--black);
    transform-origin: left;
    animation: underline 1s 1.2s both cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes underline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero-lede {
    font-size: clamp(17px, 1.5vw, 21px);
    color: var(--gray-600);
    max-width: 620px;
    line-height: 1.55;
    margin-bottom: 56px;
    font-weight: 400;
    animation: fadeUp 0.9s 0.4s both ease-out;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeUp 0.9s 0.6s both ease-out;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-dark {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-dark:hover {
    background: transparent;
    color: var(--black);
}

.btn-ghost {
    background: transparent;
    color: var(--black);
    border-color: var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
    padding: 24px 0;
    background: var(--white);
}

.marquee-track {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.marquee-track .sep {
    color: var(--gray-300);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTIONS — shared
   ========================================================================== */
.section {
    padding: var(--section-pad-y) 0;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-pad-x);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-light {
    background: var(--off-white);
    color: var(--black);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.section-num {
    font-family: 'Montserrat', monospace;
    color: var(--gray-500);
}

.section-dark .section-num {
    color: var(--gray-400);
}

.section-label {
    position: relative;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background: currentColor;
}

.section-title {
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.035em;
    margin-bottom: 64px;
    max-width: 1100px;
}

.section-title .muted {
    color: var(--gray-500);
    font-weight: 300;
    font-style: italic;
}

.section-title .muted-dark {
    color: var(--gray-400);
    font-weight: 300;
    font-style: italic;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-grid .section-title {
    margin-bottom: 0;
    font-size: clamp(36px, 4.5vw, 64px);
}

.about-copy p {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 24px;
    color: var(--gray-300);
}

.about-copy p.muted {
    color: var(--gray-500);
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    margin-top: 32px;
    margin-bottom: 0;
}

.about-copy p:first-child {
    color: var(--white);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.5;
}

/* ==========================================================================
   VENTURES
   ========================================================================== */
.ventures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.venture-card {
    position: relative;
    padding: 48px 40px;
    border-radius: 24px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.venture-card:hover {
    transform: translateY(-4px);
}

.venture-card-light {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--gray-200);
}

.venture-card-light:hover {
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.15);
}

.venture-card-dark {
    background: var(--black);
    color: var(--white);
}

.venture-card-dark:hover {
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.4);
}

.venture-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.venture-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--gray-600);
}

.venture-tag-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.venture-num {
    font-family: 'Montserrat', monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
}

.venture-card-dark .venture-num {
    color: var(--gray-500);
}

.venture-name {
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.95;
    margin-bottom: 24px;
}

.venture-name-sub {
    font-weight: 300;
    font-style: italic;
    color: var(--gray-400);
    letter-spacing: -0.02em;
}

.venture-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: auto;
    padding-bottom: 32px;
}

.venture-card-dark .venture-desc {
    color: var(--gray-300);
}

.venture-card-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.venture-card-dark .venture-card-bottom {
    border-top-color: var(--gray-800);
}

.venture-status {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    font-style: italic;
}

.venture-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    transition: gap 0.3s ease;
}

.venture-link:hover {
    gap: 14px;
}

/* ==========================================================================
   MISSION
   ========================================================================== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--gray-800);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    overflow: hidden;
}

.mission-item {
    background: var(--black);
    padding: 48px 40px;
    transition: background 0.3s ease;
}

.mission-item:hover {
    background: var(--black-soft);
}

.mission-num {
    display: none;
}

.mission-item h4 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.mission-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-400);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.section-contact {
    text-align: center;
}

.contact-title {
    font-size: clamp(44px, 7vw, 96px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.contact-title .italic {
    font-style: italic;
    font-weight: 300;
}

.contact-lede {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--gray-600);
    max-width: 540px;
    margin: 0 auto 64px;
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 0;
}

.contact-card > * {
    position: relative;
    z-index: 1;
}

.contact-card:hover {
    border-color: var(--black);
    color: var(--white);
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-label {
    color: var(--gray-400);
}

.contact-value {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact-arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 20px;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-arrow {
    color: var(--white);
    transform: translate(4px, -4px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 80px 0 48px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--section-pad-x);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-800);
    flex-wrap: wrap;
    gap: 32px;
}

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

.footer-logo-img {
    height: 72px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.footer-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--white);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-logo-text {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--gray-500);
    font-style: italic;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    text-align: right;
}

.meta-label {
    color: var(--gray-600);
    margin-right: 6px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-links .sep {
    color: var(--gray-700);
}

.footer-copyright {
    color: var(--gray-500);
}

/* ==========================================================================
   POLICY PAGES
   ========================================================================== */
.policy-page {
    padding-top: 140px;
    padding-bottom: 120px;
    background: var(--off-white);
    min-height: 100vh;
}

.policy-inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--section-pad-x);
}

.policy-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.policy-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.0;
    margin-bottom: 12px;
}

.policy-updated {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 48px;
    font-style: italic;
}

.policy-content h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 48px;
    margin-bottom: 16px;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.policy-content ul {
    margin: 16px 0 16px 24px;
}

.policy-content li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.policy-content a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.policy-back:hover {
    color: var(--black);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered fade for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .about-grid,
    .ventures-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-grid {
        gap: 40px;
    }

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

    .nav-links {
        gap: 20px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-meta {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .venture-card {
        padding: 32px 24px;
        min-height: auto;
    }

    .contact-card {
        padding: 24px;
    }

    .contact-arrow {
        top: 24px;
        right: 24px;
    }
}
