@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Work+Sans:wght@300;400;500&display=swap');

:root {
    /* Refined Color Palette */
    --white: #FFFFFF;
    --near-black: #0F1011;
    --charcoal: #3A3A3A;
    --burnt-sienna: #D64933;
    --light-gray: #F5F5F5;
    --mid-gray: #E5E5E5;
    --divider: #CCCCCC;

    /* Professional Typography Scale */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 17px;
    --text-md: 19px;
    --text-lg: 22px;
    --text-xl: 28px;
    --text-2xl: 36px;
    --text-3xl: 46px;
    --text-4xl: 56px;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Spacing Scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: 'Work Sans', -apple-system, sans-serif;
    font-weight: 400;
    background: var(--white);
    color: var(--near-black);
    line-height: var(--leading-relaxed);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: var(--text-base);
}

/* Brutalist Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-2xl);
}

/* Canvas */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--divider);
    z-index: 100;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-2xl);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: 'Syne', sans-serif;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--burnt-sienna);
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo-link:hover {
    color: var(--near-black);
}

.logo-octopus {
    width: 32px;
    height: 32px;
    color: var(--burnt-sienna);
    transition: color 0.2s ease;
}

.logo-link:hover .logo-octopus {
    color: var(--near-black);
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

nav a {
    font-size: var(--text-sm);
    color: var(--near-black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--burnt-sienna);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--near-black);
    transition: all 0.3s ease;
}

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

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

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

/* Sections */
section {
    padding: var(--space-3xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: var(--header-height);
}

section.compact {
    min-height: auto;
    padding: var(--space-2xl) 0;
}

section:nth-child(even) {
    background: var(--light-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: var(--leading-tight);
}

h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    line-height: var(--leading-normal);
}

.accent {
    color: var(--burnt-sienna);
}

/* Hero */
#hero {
    margin-top: 0;
}

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

.hero-tagline {
    font-size: var(--text-lg);
    color: var(--charcoal);
    margin-bottom: var(--space-xl);
}

/* Section Content */
.section-content {
    max-width: 800px;
}

.large-text {
    font-size: var(--text-lg);
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--burnt-sienna);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.cta-button:hover {
    background: var(--near-black);
    transform: translateY(-2px);
}

/* About Links */
.about-links {
    margin-top: var(--space-lg);
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--burnt-sienna);
    text-decoration: none;
    font-size: var(--text-md);
    border-bottom: 1px solid var(--burnt-sienna);
    transition: color 0.2s ease;
    padding: var(--space-sm) 0;
}

.about-link:hover {
    color: var(--near-black);
}

.about-link svg {
    width: 24px;
    height: 24px;
}

/* Coming Soon Content */
.coming-soon-content {
    max-width: 600px;
}

#coming-soon h2 {
    margin-bottom: var(--space-2xl);
}

.coming-soon-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.coming-soon-list p {
    font-size: var(--text-2xl);
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    color: var(--burnt-sienna);
    margin: 0;
    line-height: var(--leading-tight);
    letter-spacing: -0.01em;
}

/* Footer */
footer {
    padding: var(--space-xl) 0;
    text-align: center;
    border-top: 1px solid var(--divider);
    background: var(--white);
    position: relative;
    z-index: 1;
}

footer p {
    font-size: var(--text-xs);
    color: var(--charcoal);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --space-2xl: 48px;
    }

    .header-inner {
        padding: 0 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 101;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        border-left: 1px solid var(--divider);
        transition: right 0.3s ease;
        padding: 3rem 2rem;
        overflow-y: auto;
        z-index: 99;
    }

    nav.active {
        right: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    nav a {
        font-size: var(--text-sm);
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    section {
        padding: var(--space-2xl) 0;
        min-height: auto;
    }

    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-xl);
    }

    .hero-tagline {
        font-size: var(--text-base);
    }

    .contact-links {
        flex-direction: column;
        gap: var(--space-md);
    }

    .logo-octopus {
        width: 24px;
        height: 24px;
    }

    .logo-link {
        font-size: var(--text-xl);
    }
}
