/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-tertiary: #737373;
    --text-muted: rgba(255, 255, 255, 0.75);
    --accent: #e1ff00;
    --border: #262626;
    --hover: #1f1f1f;
    --nav-h: 104px;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: #0a0a0a;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    z-index: 2000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-link {
    display: block;
    flex-shrink: 0;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.nav-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-social-icon {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-social-icon:hover {
    color: var(--text-primary);
}

/* Nav CTA pill */
.nav-cta {
    background-color: var(--accent);
    color: #0a0a0a;
    padding: 0.6rem 1.35rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 255, 0, 0.25);
}

/* Desktop inline nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    margin-right: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Burger — mobile only */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1001;
}

.burger-menu span {
    width: 26px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5.6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    max-width: 20ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 62ch;
    margin: 0 auto;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* Proof bar */
.proof-bar {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 4rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.proof-bar li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.proof-figure {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
}

.proof-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 7rem 0;
}

.section-alt {
    background-color: var(--bg-secondary);
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.eyebrow::before {
    content: '— ';
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
}

.section-intro {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 62ch;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.content-block {
    max-width: 900px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--bg-tertiary);
    padding: 1.38rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-tertiary);
}

.badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-tertiary);
    border: 1px solid var(--border);
    background-color: var(--bg-primary);
    padding: 0.25rem 0.55rem;
    border-radius: 12px;
}

.product-logo {
    display: block;
    margin: 1.75rem auto 1.25rem;
    height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Problem-statement cards: text set in the artwork, so they need more size
   than a logo mark to stay legible. Portrait 1549x1847. */
.unsolved-logo {
    height: 210px;
    margin-top: 1rem;
}

/* Optical balance — wide wordmarks are capped by width, tall marks by height,
   so no logo forces a minimum column width. */
/* Vulcan and Melon are height-bound, not width-bound, so these need an
   explicit height — raising max-width alone does nothing for them. */
.vulcan-logo { height: 180px; max-width: 96%; }
.melon-logo  { height: 168px; max-width: 88%; }
.tradie-logo { max-width: 82%; }
.laika-logo  { max-width: 88%; }
.arken-logo  { height: 138px; }
.togo-logo   { max-width: 82%; }

.product-card .product-description {
    margin-top: auto;
}

.product-description {
    font-size: 0.875rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.5;
    text-align: center;
}

.cta-unsolved {
    opacity: 0.5;
    pointer-events: none;
}

/* Studio product with no page yet: full-strength button, but no hover or tap. */
.cta-soon {
    pointer-events: none;
    cursor: default;
}

/* Capabilities */
.capability-bio {
    max-width: 900px;
    margin-bottom: 1rem;
}

.capability-bio-text {
    font-size: clamp(1.35rem, 2.6vw, 2.1rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.text-white {
    color: var(--text-primary);
}

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

/* Capability cards */
.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.how-card {
    background-color: var(--bg-secondary);
    padding: 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    min-width: 0;
}

.section-alt .how-card {
    background-color: var(--bg-primary);
}

.how-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-tertiary);
}

.how-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.how-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Engagement models */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.engagement-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.25rem;
    min-width: 0;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.engagement-card:hover {
    transform: translateY(-4px);
    border-color: var(--text-tertiary);
}

.engagement-card-accent {
    border-color: rgba(225, 255, 0, 0.35);
}

.engagement-card-accent:hover {
    border-color: var(--accent);
}

.engagement-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}

.engagement-card-accent .engagement-title {
    color: var(--accent);
}

.engagement-description {
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.engagement-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.engagement-price strong {
    color: var(--accent);
    font-weight: 600;
}

/* Sub-group label within a section */
.group-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

/* Advisory — a distinct offering, not a third build option, so it gets
   the full width and room to make its case. */
.advisory-panel {
    background-color: var(--bg-primary);
    border: 1px solid rgba(225, 255, 0, 0.35);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.advisory-title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent);
    margin-bottom: 0.85rem;
}

.advisory-lede {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 60ch;
}

.advisory-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2.25rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.advisory-track {
    min-width: 0;
}

.advisory-track-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.advisory-track-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Two-step pricing: the diagnostic, then the retainer it credits against */
.advisory-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.price-step {
    min-width: 0;
    padding-left: 1.25rem;
    border-left: 2px solid var(--border);
}

.price-step:first-child {
    border-left-color: var(--accent);
}

.price-step-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.price-step-figure {
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.price-step-unit {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-tertiary);
}

.price-step-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.price-step-detail strong {
    color: var(--accent);
    font-weight: 500;
}

.advisory-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.advisory-price {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.advisory-price strong {
    color: var(--text-primary);
    font-weight: 600;
}

.advisory-capacity {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Track record */
.track-record {
    max-width: 800px;
    border-left: 2px solid var(--accent);
    padding-left: 2rem;
}

.track-record-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
}

.track-record-text {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.track-record-text:last-child {
    margin-bottom: 0;
}

/* Buttons */
.cta-button {
    background-color: transparent;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border: 2px solid #ffffff;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.cta-button:hover,
.cta-button:active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #0a0a0a;
    transform: translateY(-2px);
}

.cta-button-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #0a0a0a;
}

.cta-button-primary:hover {
    box-shadow: 0 8px 26px rgba(225, 255, 0, 0.25);
}

.cta-button-large {
    padding: 1rem 2.75rem;
    font-size: 1rem;
}

/* Closing CTA */
.cta-section {
    text-align: center;
    border-top: 1px solid var(--border);
}

.cta-heading {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.cta-sub {
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 52ch;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Team */
.team-bio {
    max-width: 900px;
}

.team-bio-text {
    font-size: clamp(1.15rem, 2.1vw, 1.6rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.team-bio-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.team-bio-text:last-child {
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background-color: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
    transition: border-radius 0.3s ease;
}

.faq-item.open {
    border-radius: 20px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 1.1rem 1.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    letter-spacing: 0.01em;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-tertiary);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.75rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 70ch;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-answer.open {
    display: block;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    background-color: var(--bg-primary);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 3rem;
}

.footer-logo {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-tertiary);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-email {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-email:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    display: flex;
}

.footer-social a:hover {
    color: var(--text-primary);
}

.footer-legal {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

/* Smooth scrolling offset for fixed nav */
section {
    scroll-margin-top: calc(var(--nav-h) + 16px);
}

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

/* Tablet / small laptop: collapse nav to burger */
@media (max-width: 980px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(320px, 85vw);
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 7rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid var(--border);
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 88px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 1rem 1.25rem;
    }

    .logo-img {
        height: 42px;
    }

    .nav-cta {
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem;
        min-height: auto;
    }

    .hero-actions .cta-button {
        width: 100%;
    }

    .proof-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .proof-figure {
        font-size: 1.9rem;
    }

    .proof-label {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }

    .products-grid,
    .how-grid,
    .engagement-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .engagement-card {
        padding: 1.75rem;
    }

    .advisory-panel {
        padding: 1.75rem;
    }

    .advisory-tracks {
        margin: 1.75rem 0;
        padding: 1.5rem 0;
    }

    .advisory-foot {
        align-items: flex-start;
    }

    .advisory-foot .cta-button {
        width: 100%;
    }

    .track-record {
        padding-left: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Reclaim nav space on small phones — social lives in the footer too */
@media (max-width: 520px) {
    .nav-social-icons {
        display: none;
    }
}

/* ---------- Motion ---------- */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    /* Never leave scroll-revealed content hidden */
    .section,
    .product-card,
    .founder-card {
        opacity: 1 !important;
        transform: none !important;
    }
}
