:root
{
    --bg: #0b0d10;
    --bg_raised: #12151a;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --border_strong: rgba(255, 255, 255, 0.16);
    --text: #eef1f5;
    --text_muted: #9aa3ae;
    --accent: #4fd1c5;
    --accent_strong: #7ee3d8;
    --accent_soft: rgba(79, 209, 197, 0.12);

    --font_body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    --font_display: "Space Grotesk", var(--font_body);

    --container: 1120px;
    --radius: 14px;
}

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

html
{
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body
{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font_body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main
{
    flex: 1 0 auto;
}

a
{
    color: inherit;
    text-decoration: none;
}

strong
{
    font-weight: 600;
}

:focus-visible
{
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

.sprite
{
    display: none;
}

.container
{
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Backdrop: a faint tile grid that nods to the original background */

.backdrop
{
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 50% at 75% 20%, rgba(79, 209, 197, 0.10), transparent 70%),
        radial-gradient(50% 40% at 10% 90%, rgba(120, 140, 255, 0.06), transparent 70%);
}

.backdrop::before
{
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}

/* Typography */

h1, h2, h3
{
    font-family: var(--font_display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1
{
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 700;
}

h2
{
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

h3
{
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.eyebrow
{
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lead
{
    max-width: 34em;
    margin-top: 22px;
    color: var(--text_muted);
    font-size: 1.15rem;
}

/* Buttons */

.button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #062522;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.button:hover
{
    background: var(--accent_strong);
    transform: translateY(-1px);
}

.button_ghost
{
    background: transparent;
    border-color: var(--border_strong);
    color: var(--text);
}

.button_ghost:hover
{
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.3);
}

.button_small
{
    padding: 10px 18px;
    font-size: 0.875rem;
}

/* Navigation */

.nav
{
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(11, 13, 16, 0.72);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s;
}

.nav.is_scrolled
{
    border-bottom-color: var(--border);
}

.nav_inner
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand
{
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand_logo
{
    width: 34px;
    height: 30px;
    fill: var(--text);
}

.brand_name
{
    font-family: var(--font_display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav_links
{
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 0.95rem;
}

.nav_links a:not(.button)
{
    color: var(--text_muted);
    transition: color 0.2s;
}

.nav_links a:not(.button):hover
{
    color: var(--text);
}

/* Hero */

.hero
{
    padding: 96px 0 120px;
}

.hero_inner
{
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero_text > *
{
    animation: fade_up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero_text > :nth-child(2) { animation-delay: 0.08s; }
.hero_text > :nth-child(3) { animation-delay: 0.16s; }
.hero_text > :nth-child(4) { animation-delay: 0.24s; }

.hero_actions
{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero_art
{
    position: relative;
    display: flex;
    justify-content: center;
}

.hero_art::before
{
    content: "";
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.22), transparent 65%);
    filter: blur(30px);
}

.logo
{
    position: relative;
    width: 100%;
    max-width: 360px;
    height: auto;
    overflow: visible;
}

.logo_outer
{
    fill: var(--text);
}

.logo_inner
{
    fill: var(--accent);
}

.logo_left
{
    animation: logo_enter_left 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.logo_right
{
    animation: logo_enter_right 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.logo_inner.logo_left,
.logo_inner.logo_right
{
    animation-duration: 1.5s;
}

@keyframes logo_enter_left
{
    from { transform: translateX(-10px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes logo_enter_right
{
    from { transform: translateX(10px); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes fade_up
{
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* Sections */

.section
{
    padding: 96px 0;
    border-top: 1px solid var(--border);
}

.section_head
{
    max-width: 640px;
    margin-bottom: 32px;
}

.section_head > :last-child
{
    margin-bottom: 0;
}

.cards
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card
{
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.25s, background-color 0.25s, transform 0.25s;
}

.card:hover
{
    border-color: rgba(79, 209, 197, 0.35);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-2px);
}

.card_icon
{
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: var(--accent_soft);
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card p
{
    margin-top: 10px;
    color: var(--text_muted);
    font-size: 0.975rem;
}

/* Contact */

.contact
{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 48px;
    padding: 56px;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(79, 209, 197, 0.10), transparent 60%),
        var(--bg_raised);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 6px);
}

.contact_methods
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_item
{
    padding: 22px 24px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact_label
{
    display: block;
    margin-bottom: 6px;
    color: var(--text_muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact_row
{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.contact_value
{
    min-width: 0;
    overflow-wrap: anywhere;
    font-family: var(--font_display);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 500;
    transition: color 0.2s;
}

.contact_value:hover
{
    color: var(--accent);
}

.copy_button
{
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--border_strong);
    border-radius: 8px;
    background: transparent;
    color: var(--text_muted);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.copy_button:hover
{
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.3);
}

.copy_button.is_copied
{
    color: var(--accent);
    border-color: var(--accent);
}

.copy_button svg
{
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact_button
{
    align-self: flex-start;
}

/* Footer */

.footer
{
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--text_muted);
    font-size: 0.875rem;
}

.footer_inner
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand_footer
{
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.brand_footer .brand_logo
{
    width: 22px;
    height: 20px;
}

/* Scroll reveal (enabled by js/app.js) */

.js .reveal
{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is_visible
{
    opacity: 1;
    transform: none;
}

.cards .card:nth-child(2) { transition-delay: 0.08s; }
.cards .card:nth-child(3) { transition-delay: 0.16s; }

/* Responsive */

@media (max-width: 900px)
{
    .hero
    {
        padding: 32px 0 80px;
    }

    .hero_inner
    {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero_art
    {
        order: -1;
        justify-content: flex-start;
    }

    .logo
    {
        max-width: 120px;
    }

    .cards
    {
        grid-template-columns: 1fr;
    }

    .contact
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 36px 28px;
    }
}

@media (max-width: 560px)
{
    .container
    {
        padding: 0 16px;
    }

    .brand_name
    {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
    }

    .nav_links
    {
        gap: 16px;
    }

    .nav_links a:not(.button)
    {
        display: none;
    }

    .hero
    {
        padding: 16px 0 64px;
    }

    .hero_inner
    {
        gap: 24px;
    }

    .section
    {
        padding: 72px 0;
    }

    .contact
    {
        padding: 28px 20px;
    }

    .contact_item
    {
        padding: 18px;
    }

    /* Scale with the viewport so the address stays on one line */
    .contact_value
    {
        font-size: clamp(0.8rem, 3.9vw, 1.05rem);
    }

    .contact_button
    {
        align-self: stretch;
    }

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

@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }

    *, *::before, *::after
    {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal
    {
        opacity: 1;
        transform: none;
    }
}
