/* ── Fonts ── */
@font-face {
    font-family: 'Area Normal';
    src: url('../fonts/AreaNormal-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Area Normal';
    src: url('../fonts/AreaNormal-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Area Normal';
    src: url('../fonts/AreaNormal-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Area Normal';
    src: url('../fonts/AreaNormal-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Area Normal';
    src: url('../fonts/AreaNormal-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Area Normal';
    src: url('../fonts/AreaNormal-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #08090c;
    --surface: #0e1014;
    --text: #e8e8ec;
    --text-muted: #5a5c68;
    --accent: #ffffff;
    --edge: rgba(255, 255, 255, 0.06);
    --font: 'Area Normal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: rgba(255, 255, 255, 0.12);
}

/* ── Layout ── */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#tesseract {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 30vh;
}

.wordmark {
    font-weight: 100;
    font-size: 3.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.tagline {
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: none;
    color: #7b73ff;
    opacity: 0;
    animation: fade-in 2s ease 1s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

/* ── Signal Statement ── */
.signal {
    border-top: 1px solid var(--edge);
    position: relative;
    overflow: hidden;
}

.signal canvas.dot-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.signal .container {
    position: relative;
    z-index: 1;
}

.signal .glow-bed {
    position: absolute;
    bottom: -45%;
    left: 0;
    right: 0;
    height: 70%;
    z-index: 0;
    pointer-events: none;
    filter: blur(80px);
}

.signal .glow-blob {
    position: absolute;
    border-radius: 50%;
    bottom: 0;
}

.signal .glow-blob:nth-child(1) {
    width: 35%;
    height: 100%;
    left: 5%;
    background: radial-gradient(ellipse, rgba(123, 115, 255, 0.35) 0%, transparent 70%);
}

.signal .glow-blob:nth-child(2) {
    width: 30%;
    height: 75%;
    left: 30%;
    background: radial-gradient(ellipse, rgba(255, 60, 120, 0.35) 0%, transparent 70%);
}

.signal .glow-blob:nth-child(3) {
    width: 35%;
    height: 85%;
    left: 55%;
    background: radial-gradient(ellipse, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
}

.signal .glow-blob:nth-child(4) {
    width: 25%;
    height: 45%;
    left: 75%;
    background: radial-gradient(ellipse, rgba(180, 80, 255, 0.25) 0%, transparent 70%);
}

.statement {
    font-weight: 300;
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
    color: var(--text);
    max-width: 640px;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

.signal-body {
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ── Capabilities ── */
.capabilities {
    border-top: 1px solid var(--edge);
}

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

.cap-label {
    display: block;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.cap p {
    font-weight: 300;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

/* ── Field Report ── */
.field-report {
    border-top: 1px solid var(--edge);
}

.section-label {
    display: block;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

blockquote {
    border: none;
    padding: 0;
}

blockquote p {
    font-weight: 300;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    max-width: 700px;
}

/* ── Contact ── */
.contact {
    border-top: 1px solid var(--edge);
    text-align: center;
}

.contact-line {
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-link {
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.15em;
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* ── Footer ── */
footer {
    padding: 3rem 0;
    text-align: center;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-top: 1px solid var(--edge);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .wordmark {
        font-size: 2.5rem;
    }

    .statement {
        font-size: 1.4rem;
    }

    .cap-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .section {
        padding: 5rem 0;
    }

    blockquote p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .wordmark {
        font-size: 1.8rem;
        letter-spacing: 0.05em;
    }

    .tagline {
        font-size: 0.9rem;
    }

    html {
        font-size: 16px;
    }
}
