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

:root {
    --accent: #c8ff5e;
    --bg: #0e0e0f;
    --border: rgba(255, 255, 255, 0.07);
    --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    --muted: #5a5a5e;
    --surface: #1a1a1b;
    --text: #f0ede8;

    --bg2: #141415;
    --accent2: #5e8cff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    cursor: none;
    font-family: 'Syne', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── grain overlay ── */
body::before {
    background-image: var(--grain);
    content: '';
    inset: 0;
    opacity: 0.025;
    pointer-events: none;
    position: fixed;
    z-index: 999;
}

/* ── custom cursor ── */
.cursor {
    background: var(--accent);
    border-radius: 50%;
    height: 8px;
    mix-blend-mode: exclusion;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.2s;
    width: 8px;
    z-index: 9999;
}

.cursor-ring {
    border: 1px solid rgba(200, 255, 94, 0.35);
    border-radius: 50%;
    height: 36px;
    pointer-events: none;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease, opacity 0.3s;
    width: 36px;
    z-index: 9998;
}

body:hover .cursor {
    opacity: 1;
}

body.cursor-hover .cursor-ring {
    border-color: rgba(200, 255, 94, 0.6);
    height: 56px;
    width: 56px;
}

/* ── layout ── */
.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    padding: 0 clamp(24px, 5vw, 80px);
}

/* ── nav ── */
nav {
    align-items: center;
    animation: fadeSlideDown 0.7s 0.1s forwards;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    padding: 36px 0 32px;
}

.logo {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.nav-tag {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
}

/* ── hero ── */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0 60px;
    position: relative;
}

.eyebrow {
    align-items: center;
    animation: fadeSlideUp 0.7s 0.3s forwards;
    color: var(--muted);
    display: inline-flex;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    gap: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 36px;
    opacity: 0;
    text-transform: uppercase;
}

.eyebrow::before {
    background: var(--accent);
    content: '';
    display: block;
    height: 1px;
    width: 28px;
}

.headline {
    font-size: clamp(52px, 9vw, 128px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.92;
    margin-bottom: 32px;
}

.headline .line {
    display: block;
    overflow: hidden;
}

.headline .line span {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}

.headline .line:nth-child(1) span {
    animation: slideUpReveal 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.headline .line:nth-child(2) span {
    animation: slideUpReveal 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.headline .line:nth-child(3) span {
    animation: slideUpReveal 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.headline .accent-word {
    color: var(--accent);
}

.sub {
    animation: fadeSlideUp 0.8s 0.85s forwards;
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    margin-bottom: 56px;
    max-width: 420px;
    opacity: 0;
}

/* ── notify form ── */
.notify-row {
    align-items: center;
    animation: fadeSlideUp 0.8s 1s forwards;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
}

.input-wrap {
    flex: 1;
    max-width: 340px;
    min-width: 240px;
    position: relative;
}

.input-wrap input {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 2px;
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    outline: none;
    padding: 14px 20px;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
}

.input-wrap input::placeholder {
    color: var(--muted);
}

.input-wrap input:focus {
    background: #1e1e1f;
    border-color: rgba(200, 255, 94, 0.4);
}

.btn {
    background: var(--accent);
    border: none;
    border-radius: 2px;
    color: #0e0e0f;
    cursor: none;
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 14px 28px;
    text-transform: uppercase;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

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

/* ── countdown ── */
.countdown-block {
    animation: fadeSlideUp 0.8s 1.15s forwards;
    border-top: 1px solid var(--border);
    display: flex;
    gap: clamp(20px, 4vw, 48px);
    margin-top: 72px;
    opacity: 0;
    padding-top: 48px;
}

.cd-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cd-num {
    font-size: clamp(32px, 5vw, 52px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.cd-label {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cd-sep {
    align-self: flex-start;
    color: var(--accent);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1;
    margin-top: 6px;
    opacity: 0.5;
}

/* ── decorative lines ── */
.deco-lines {
    animation: fadeIn 1.2s 1.4s forwards;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.deco-lines svg {
    width: clamp(200px, 30vw, 420px);
}

/* ── skills strip ── */
.skills-strip {
    align-items: center;
    animation: fadeIn 0.8s 1.5s forwards;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0;
    opacity: 0;
    overflow: hidden;
    padding: 28px 0;
}

.skills-inner {
    animation: tickerScroll 22s linear infinite;
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

.skills-inner span {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.skills-inner .dot {
    color: var(--accent);
    font-size: 18px;
    line-height: 0.5;
    vertical-align: middle;
}

/* ── footer ── */
footer {
    align-items: center;
    animation: fadeIn 0.8s 1.6s forwards;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    opacity: 0;
    padding: 28px 0 36px;
}

.footer-copy {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

/* ── background orb ── */
.orb {
    animation: orbPulse 8s ease-in-out infinite alternate;
    background: radial-gradient(circle, rgba(200, 255, 94, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    height: 600px;
    pointer-events: none;
    position: fixed;
    right: -150px;
    top: -100px;
    width: 600px;
    z-index: 0;
}

.orb2 {
    animation-delay: -4s;
    background: radial-gradient(circle, rgba(94, 140, 255, 0.04) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    right: auto;
    top: auto;
}

/* ── animations ── */
@keyframes fadeSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(-16px);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpReveal {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes orbPulse {
    from {
        transform: scale(1) translateY(0);
    }

    to {
        transform: scale(1.12) translateY(30px);
    }
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── responsive ── */
@media (max-width: 640px) {
    .deco-lines {
        display: none;
    }

    .headline {
        font-size: clamp(42px, 13vw, 80px);
    }

    .notify-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .input-wrap {
        max-width: 100%;
        width: 100%;
    }

    .btn {
        text-align: center;
        width: 100%;
    }
}