/* Single Screen Design - Typography Focused - Dark Mode */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --text: #e8e8e8;
    --text-light: #a0a0a0;
    --text-muted: #666666;
    --accent: #6667AB;
    /* Pantone 17-3938 Very Peri 2022 */
    --accent-glow: rgba(102, 103, 171, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    font-size: 62.5%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    font-size: 1.6rem;
    font-weight: 300;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
    letter-spacing: -0.01em;
    /* Purple Cloud Gradient */
    background-image: radial-gradient(circle at 50% 50%, rgba(102, 103, 171, 0.08) 0%, transparent 70%);
}

/* ... (skip unchanged) ... */

.badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    background-color: rgba(102, 103, 171, 0.1);
    padding: 0.4rem 0;
    /* Vertical padding only, width handles horizontal */
    width: 80px;
    /* Standardized width */
    border-radius: 2px;
    /* Squared */
    margin-left: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(102, 103, 171, 0.2);
    transition: var(--transition);
}

/* Typography */
h1 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: 6.4rem;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 2.4rem;
    color: var(--text);
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

/* Single Page Layout */
.single-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 3.2rem 4.8rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Minimal Header */
.minimal-header {
    margin-bottom: 4rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-divider {
    color: var(--text-muted);
    font-weight: 300;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(102, 103, 171, 0.5);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(102, 103, 171, 0.4);
}

/* Content Grid */
.content-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6rem;
}

/* Hero Section */
.hero-section {
    text-align: left;
    margin-bottom: 8rem;
}

.hero-section h1 {
    max-width: 1000px;
    margin: 0 0 2.4rem 0;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 40px rgba(102, 103, 171, 0.4);
}

.subtitle {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 3.2rem;
    font-weight: 300;
    letter-spacing: -0.01em;
}

.status-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

.status-item {
    color: var(--accent);
    transition: var(--transition);
}

.status-item:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent);
}

.divider {
    color: var(--text-muted);
    font-weight: 300;
}

.engagement-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.engagement-link:hover {
    color: #fff;
    border-bottom-color: var(--accent);
    text-shadow: 0 0 20px rgba(102, 103, 171, 0.8);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4.8rem;
    max-width: 1200px;
    margin: 0;
}

.info-block {
    text-align: left;
}

.info-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.info-block:hover .info-label {
    text-shadow: 0 0 20px rgba(102, 103, 171, 0.6);
    color: #fff;
}

.info-block ul {
    list-style: none;
}

.info-block li {
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 1.4rem;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: -0.01em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.info-block li:hover {
    color: #fff;
    transform: translateX(5px);
}

.badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    background-color: rgba(102, 103, 171, 0.1);
    padding: 0.4rem 0;
    width: 80px;
    border-radius: 2px;
    margin-left: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(102, 103, 171, 0.2);
    transition: var(--transition);
}

.info-block li:hover .badge {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent);
}

/* Minimal Footer */
.minimal-footer {
    text-align: left;
    padding-top: 2.4rem;
    border-top: 1px solid var(--border);
}

.minimal-footer p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: lowercase;
}

/* Cursor */
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transition-property: transform, background-color, width, height;
    will-change: transform;
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(102, 103, 171, 0.3);
}

.cursor.active {
    transform: translate(-50%, -50%) scale(0.5);
    background-color: var(--accent);
    box-shadow: 0 0 30px rgba(102, 103, 171, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%;
    }

    .info-grid {
        gap: 3.2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }

    .single-page {
        padding: 2.4rem 2.4rem;
        /* Minimum 24px side padding */
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    h1 {
        font-size: 3.6rem;
    }

    .cursor {
        display: none;
    }

    /* Touch targets - minimum 44px height */
    .status-item,
    .engagement-link,
    .nav-link,
    button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .hero-section {
        margin-bottom: 4rem;
    }

    .subtitle {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .status-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }

    .divider {
        display: none;
    }

    .info-label {
        font-size: 1.0rem;
    }

    .info-block li {
        font-size: 1.4rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 45%;
    }

    .single-page {
        padding: 2rem 2.4rem;
        /* Keep good side padding on small screens */
    }

    h1 {
        font-size: 3rem;
    }

    .minimal-header {
        margin-bottom: 2rem;
    }

    .content-grid {
        gap: 3rem;
    }
}

/* WebGL Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

/* Button Reset for status items */
button.status-item {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    padding: 0;
}

button.engagement-link {
    border-bottom: 1px solid transparent;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    width: 100%;
    max-width: 420px;
    padding: 4rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(102, 103, 171, 0.1);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2.4rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0.5rem;
}

.modal-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 3rem;
    text-align: center;
}

.modal-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 400;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 1.4rem 1.6rem;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 1.6rem 2.4rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-primary:hover {
    background: #7778BB;
    box-shadow: 0 0 30px rgba(102, 103, 171, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.form-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-top: 1rem;
}

.form-footer a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.form-footer a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--accent);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.form-success.active {
    display: block;
}

.form-success .success-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
    margin: 0 auto 2rem;
    box-shadow: 0 0 40px rgba(102, 103, 171, 0.5);
}

.form-success h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.form-success p {
    color: var(--text-muted);
    font-size: 1.4rem;
}

/* Hide form when success is shown */
.modal-form.hidden {
    display: none;
}

@media (max-width: 768px) {
    .modal {
        margin: 2rem;
        padding: 3rem 2.4rem;
        max-width: calc(100% - 4rem);
    }
}