:root {
    --bg: #080808;
    --fg: #f5f5f7;
    --accent: #3b82f6;
    --gray: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --soft-gray: #a1a1a1;
    --sans: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

@media (pointer: coarse) {
    * { cursor: auto !important; }
    #cursor, #cursor-follower { display: none !important; }
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    line-height: 1.2;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

.hero-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.grid-line {
    position: absolute;
    background: var(--border);
}

.grid-v { width: 1px; height: 100%; top: 0; }
.grid-h { height: 1px; width: 100%; left: 0; }

#cursor {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background-color 0.3s var(--ease);
}

#cursor-follower {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(12px);
}

.logo {
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-family: var(--mono);
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--soft-gray);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: color 0.4s var(--ease);
}

nav a:hover { color: var(--fg); }

section {
    padding: 8rem 4rem;
    position: relative;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(3.5rem, 14vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.06em;
    margin-left: -0.06em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 500px;
    color: var(--soft-gray);
    line-height: 1.4;
    font-weight: 400;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: calc(50% - 3.5ch);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--soft-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent);
    animation: scroll-anim 2s infinite var(--ease);
}

@keyframes scroll-anim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.btn-magnetic {
    padding: 1.5rem 3.5rem;
    background: white;
    color: black;
    border-radius: 500px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: background 0.4s var(--ease), transform 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.btn-magnetic:hover {
    background: var(--accent);
    color: white;
}

.manifesto {
    border-top: 1px solid var(--border);
    padding: 10rem 4rem;
}

.manifesto p {
    font-size: clamp(1.8rem, 5vw, 5rem);
    font-weight: 500;
    max-width: 100%;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.manifesto .dim { color: var(--soft-gray); }

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--gray);
    border: 1px solid var(--border);
    padding: clamp(2rem, 4vw, 3.5rem);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
}

.card:hover { border-color: rgba(255,255,255,0.3); background: #1c1c1c; }

.card h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1rem; font-weight: 800; letter-spacing: -0.03em; position: relative; z-index: 2; }
.card p { color: var(--soft-gray); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 340px; line-height: 1.4; position: relative; z-index: 2; }

.card.span-8 { grid-column: span 8; }
.card.span-4 { grid-column: span 4; }
.card.span-12 { grid-column: span 12;}

.card-tag {
    font-family: var(--mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: block;
    position: relative;
    z-index: 2;
}

.ani-symbol {
    position: absolute;
    right: 8%; top: 8%;
    width: clamp(60px, 10vw, 120px);
    height: clamp(60px, 10vw, 120px);
    opacity: 0.15;
    transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
    stroke: var(--fg);
    fill: none;
    stroke-width: 0.75px;
    pointer-events: none;
}
.card:hover .ani-symbol { transform: scale(1.1) rotate(5deg); opacity: 0.6; }

.ani-blob {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent);
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s var(--ease);
    pointer-events: none;
    z-index: 1;
}
.card:hover .ani-blob { opacity: 0.12; }

.stealth-dot {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 12px;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.card:hover .stealth-dot { transform: scale(0.2); opacity: 0.3; }

.chroma-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 1s var(--ease);
    pointer-events: none;
}
.card:hover .chroma-bg { transform: translateX(100%); }

footer {
    padding: 10rem 4rem 4rem 4rem;
    background: #000;
}

.footer-cta {
    font-size: clamp(2.5rem, 12vw, 18rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.8;
    margin-bottom: 6rem;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    border-top: 1px solid var(--border);
    padding-top: 4rem;
}

.footer-brand h3 { font-family: var(--mono); margin-bottom: 1.5rem; font-size: 0.9rem; letter-spacing: 2px; }
.footer-brand p { color: var(--soft-gray); max-width: 280px; font-size: 0.9rem; line-height: 1.5; }

.footer-links h3 { color: var(--soft-gray); font-size: 0.7rem; text-transform: uppercase; margin-bottom: 2rem; letter-spacing: 2px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: var(--fg); text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 0.5; }

.footer-bottom {
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    color: #444;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    header { padding: 0 2rem; }
    section { padding: 6rem 2rem; }
    .hero-meta { flex-direction: column; align-items: center; text-align: center; gap: 3rem; margin-top: 3rem; }
    .hero h1 { text-align: center; }
    .hero-sub { max-width: 100%; }
    .card.span-8, .card.span-4 { grid-column: span 12; }
    .hero-grid { opacity: 0.4; }
}

@media (max-width: 768px) {
    header { height: 80px; }
    nav { display: none; }
    .logo { font-size: 0.9rem; }
    .hero { height: auto; padding: 160px 0 100px 0; }
    .hero h1 { font-size: 4.5rem; }
    .btn-magnetic { width: 90%; justify-content: center; }
    .manifesto { padding: 6rem 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-cta { margin-bottom: 4rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-sub { font-size: 1.1rem; }
    .card { padding: 2rem; }
}