/* ==========================================================================
   LOWKEYWORK — COMING SOON — LIGHT THEME
   Brand Navy: #1E2635
   ========================================================================== */

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

:root {
    --bg: #F8F9FB;
    --navy: #1E2635;
    --navy-soft: rgba(30, 38, 53, 0.06);
    --text: #1E2635;
    --text-secondary: #5A6477;
    --text-muted: #9AA3B2;
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html,
body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    pointer-events: none;
    /* let canvas receive mouse events through */
}

/* Logo */
.logo {
    height: 52px;
    width: auto;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.2s forwards;
}

/* Headline */
.headline {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6.5vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: var(--navy);
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.45s forwards;
}

/* Subtext */
.subtext {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.65s forwards;
}

/* Divider Dot */
.dot-divider {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.8s forwards;
}

/* Contact link */
.contact {
    font-size: 0.88rem;
    color: var(--text-muted);
    pointer-events: auto;
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.9s forwards;
}

.contact a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(30, 38, 53, 0.2);
    transition: border-color 0.2s;
}

.contact a:hover {
    border-color: var(--navy);
}

/* Fade-up animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

/* ==========================================================================
   RESPONSIVE — TABLET  (≤ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        overflow: auto;                 /* allow scroll on short viewports */
        min-height: 100dvh;             /* use dynamic viewport height      */
        padding: 48px 24px;
    }

    .content {
        gap: 24px;
        padding: 0 16px;
    }

    .logo {
        height: 44px;
    }

    .headline {
        font-size: clamp(2rem, 7vw, 3.2rem);
    }

    .subtext {
        max-width: 90vw;
        font-size: clamp(0.9rem, 2.4vw, 1.05rem);
    }

    .contact {
        font-size: 0.84rem;
    }
}

/* ==========================================================================
   RESPONSIVE — PHONE  (≤ 480px)
   ========================================================================== */
@media (max-width: 480px) {
    body {
        padding: 36px 16px;
        padding-top: max(36px, env(safe-area-inset-top));
        padding-bottom: max(36px, env(safe-area-inset-bottom));
    }

    .content {
        gap: 20px;
        padding: 0 8px;
    }

    .logo {
        height: 38px;
    }

    .headline {
        font-size: clamp(1.8rem, 9vw, 2.6rem);
        letter-spacing: -0.03em;
    }

    .subtext {
        max-width: 95vw;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .dot-divider {
        width: 4px;
        height: 4px;
    }

    .contact {
        font-size: 0.82rem;
    }

    .contact a {
        /* larger tap target on mobile */
        padding: 4px 0;
    }
}

/* ==========================================================================
   RESPONSIVE — EXTRA SMALL PHONES  (≤ 360px)
   ========================================================================== */
@media (max-width: 360px) {
    body {
        padding: 28px 12px;
    }

    .content {
        gap: 16px;
        padding: 0 4px;
    }

    .logo {
        height: 32px;
    }

    .headline {
        font-size: clamp(1.6rem, 9.5vw, 2.2rem);
    }

    .subtext {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ==========================================================================
   RESPONSIVE — SHORT / LANDSCAPE VIEWPORTS
   Catches landscape phones whose WIDTH is > 768px (large phones rotated)
   where the width-based breakpoints above never fire, plus short desktop
   windows. Keyed on height, not width, so content never clips top/bottom.
   ========================================================================== */
@media (max-height: 480px) {
    body {
        overflow-y: auto;
        min-height: 100dvh;
        padding: 20px 24px;
        padding-top: max(20px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    .content {
        gap: 14px;
    }

    .logo {
        height: 30px;
    }

    .headline {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        line-height: 1.1;
    }

    .subtext {
        font-size: 0.85rem;
        line-height: 1.4;
        max-width: 70vw;
    }

    .dot-divider {
        width: 4px;
        height: 4px;
    }

    .contact {
        font-size: 0.78rem;
    }
}