:root {
    --bg-color: #0B0F14;
    --text-primary: #F3F4F6;
    --text-muted: #B4BCC8;
    --accent-blue: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(255, 255, 255, 0.02);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Rules */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.02em; }

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Utility */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-accent { color: var(--accent-blue); }

.cta-button {
    background-color: var(--accent-blue);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #2563EB;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(11, 15, 20, 0.7);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem; /* Account for nav */
}

/* Image Wrapper Rules */
.bg-hero-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Layered: a left-to-right dark wash so the headline/subtext stay legible
       over the busy video, plus the original blue radial glow underneath. */
    background:
        linear-gradient(90deg, rgba(11,15,20,0.85) 0%, rgba(11,15,20,0.55) 45%, rgba(11,15,20,0.15) 100%),
        radial-gradient(circle at center, rgba(59,130,246,0.1) 0%, var(--bg-color) 75%);
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    max-width: 800px;
}

.hero p {
    margin-top: 2rem;
    max-width: 600px;
    font-size: 1.25rem;
}

/* Section: The Leak (Pinned Scrolling) */
.leak-section {
    position: relative;
    height: 200vh; /* Extra height for scrolling */
}

.pinned-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.leak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: center;
}

.leak-text h2 { margin-bottom: 1.5rem; }

.image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.leak-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slow-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 1.2s ease;
}

.image-wrapper:hover .slow-zoom {
    transform: scale(1.05);
}

/* Section: The Turn (Bento Grid) */
.turn-section {
    padding: 8rem 0;
    background: #080B0F;
}

.turn-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
}

.bento-card h3 {
    margin-bottom: 1rem;
    color: #fff;
}

/* Section: Proof */
.proof-section {
    padding: 8rem 0;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stat-box {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 8px 8px 0;
}

/* Section: Pricing */
.pricing-section {
    padding: 8rem 0;
    background: #080B0F;
    text-align: center;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 4rem 3rem;
    border-radius: 12px;
    max-width: 400px;
    text-align: left;
}

.price-card.featured {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.price-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price { font-size: 3rem; font-weight: 800; margin-bottom: 2rem; color: #fff;}
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

/* Reusable small label above section headings */
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Section: Founder / Who you're working with */
.founder-section {
    padding: 7rem 0;
    background: #080B0F;
}

.founder-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.founder-photo {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    display: block;
}

/* Section headings here are body-scale, not hero-scale */
.founder-text h2,
.testimonials-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.founder-text p { margin-bottom: 1.25rem; }

.founder-location {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Section: Testimonials / Social Proof */
.testimonials-section {
    padding: 8rem 0;
    text-align: center;
}

.testimonials-section .section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonial-card {
    max-width: 760px;
    margin: 2.5rem auto 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 3.5rem 3rem;
}

.testimonial-stars {
    color: #FBBF24;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author .author-name {
    font-weight: 600;
    color: #fff;
}

.testimonial-author .author-detail {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .testimonial-card { padding: 2.5rem 1.5rem; }
    .testimonial-quote { font-size: 1.25rem; }
}

/* Footer */
footer {
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.raven-wrapper {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--card-bg);
}

.raven-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.raven-wrapper:hover .raven-img {
    transform: scale(1.05);
}

/* Scroll Animations (Fade in up) */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@media (max-width: 900px) {
    .leak-grid, .proof-grid { grid-template-columns: 1fr; gap: 2rem; }
    .founder-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .founder-visual { max-width: 360px; margin: 0 auto; }
    .bento-grid { grid-template-columns: 1fr; }
    .pricing-cards { flex-direction: column; align-items: center; }
    .pinned-container { position: relative; height: auto; padding: 4rem 0; }
    .leak-section { height: auto; }
    /* Contact page: collapse the two-column layout so the Direct Contact
       column stops getting pushed off the right edge on phones.
       !important is required to beat the inline grid-template-columns. */
    .contact-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
    .contact-form { padding: 2rem; max-width: 100%; }
    /* work.html stats row: 3 columns is too wide for phones */
    .work-stats-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* Phone-sized screens: keep the fixed navbar (logo + CTA) from overflowing
   the viewport, which was clipping the "Start a Conversation" button. */
@media (max-width: 600px) {
    .container { padding: 0 1.25rem; }
    .logo { font-size: 1rem; gap: 0.5rem; }
    .logo img { height: 30px !important; }
    .nav-content { gap: 0.75rem; }
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}
