/* ============================================
   Neave Street Capital — Stylesheet v2
   Dark navy, finance-conventional, refined
   ============================================ */

:root {
    --navy: #0a1628;
    --navy-light: #111f38;
    --navy-mid: #1a2d4a;
    --slate: #8899b0;
    --slate-light: #a8b5c8;
    --cream: #e8e0d4;
    --white: #f0ece6;
    --gold: #b8976a;
    --gold-dim: rgba(184, 151, 106, 0.15);
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy);
    color: var(--slate-light);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

/* ---- Navigation ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(136, 153, 176, 0.08);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.01em;
}

.nav-logo-icon {
    display: block;
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

/* ---- Hero Section (Home) ---- */

.hero {
    padding: 10rem 2rem 6rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 151, 106, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 1;
}

.hero-skyline img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 540px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.9rem 2rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ---- Overview Section ---- */

.overview {
    padding: 5rem 2rem;
    border-top: 1px solid rgba(136, 153, 176, 0.08);
}

.overview-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.overview-item {
    padding: 2rem 0;
}

.overview-number {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    opacity: 0.7;
}

.overview-heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.overview-text {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.75;
}

/* ---- Statement Section ---- */

.statement {
    padding: 5rem 2rem;
    border-top: 1px solid rgba(136, 153, 176, 0.08);
}

.statement-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 0;
}

.statement-text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    font-weight: 400;
    color: var(--slate-light);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* ---- About Hero ---- */

.about-hero {
    padding: 10rem 2rem 4rem;
}

.about-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* ---- About Content ---- */

.about-content {
    padding: 2rem 2rem 6rem;
}

.about-inner {
    max-width: 700px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: 3.5rem;
}

.about-block:last-child {
    margin-bottom: 0;
}

.about-heading {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(136, 153, 176, 0.1);
}

.about-block p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-block p:last-child {
    margin-bottom: 0;
}

/* ---- About page fade-in animation ---- */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.25s; }
.fade-in:nth-child(3) { transition-delay: 0.4s; }

/* ---- Market Grid ---- */

.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.market-item {
    padding: 1.75rem;
    background: var(--navy-light);
    border: 1px solid rgba(136, 153, 176, 0.08);
}

.market-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.market-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.market-desc {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ---- Footer ---- */

.footer {
    border-top: 1px solid rgba(136, 153, 176, 0.08);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-legal {
    font-size: 0.8rem;
    color: var(--slate);
    margin-bottom: 0.5rem;
}

.footer-sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--slate);
    opacity: 0.5;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .nav-inner {
        padding: 0 1.25rem;
    }

    .nav-logo span {
        font-size: 1rem;
    }

    .hero {
        padding: 8rem 1.25rem 4rem;
        min-height: auto;
    }

    .hero-skyline {
        height: 120px;
    }

    .overview {
        padding: 3rem 1.25rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .overview-item {
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(136, 153, 176, 0.06);
    }

    .overview-item:last-child {
        border-bottom: none;
    }

    .statement {
        padding: 3rem 1.25rem;
    }

    .about-hero {
        padding: 8rem 1.25rem 2rem;
    }

    .about-content {
        padding: 2rem 1.25rem 4rem;
    }

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

    .footer {
        padding: 2rem 1.25rem;
    }
}

/* ---- Subtle animations ---- */

@media (prefers-reduced-motion: no-preference) {
    .hero-label,
    .hero-title,
    .hero-subtitle,
    .hero-cta {
        opacity: 0;
        transform: translateY(16px);
        animation: fadeUp 0.6s ease forwards;
    }

    .hero-label { animation-delay: 0.1s; }
    .hero-title { animation-delay: 0.2s; }
    .hero-subtitle { animation-delay: 0.35s; }
    .hero-cta { animation-delay: 0.5s; }

    .overview-item {
        opacity: 0;
        transform: translateY(12px);
        animation: fadeUp 0.5s ease forwards;
    }

    .overview-item:nth-child(1) { animation-delay: 0.6s; }
    .overview-item:nth-child(2) { animation-delay: 0.75s; }
    .overview-item:nth-child(3) { animation-delay: 0.9s; }

    /* About hero animations */
    .about-hero .hero-label,
    .about-hero .about-title {
        opacity: 0;
        transform: translateY(16px);
        animation: fadeUp 0.6s ease forwards;
    }

    .about-hero .hero-label { animation-delay: 0.1s; }
    .about-hero .about-title { animation-delay: 0.25s; }

    /* Skyline fade */
    .hero-skyline {
        opacity: 0;
        animation: fadeIn 1.2s ease 0.6s forwards;
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
