/* Sharpmoon studio site. Dark, cold, cinematic. No framework. */

@font-face
{
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

@font-face
{
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

:root
{
    --night: #07090d;
    --night-raised: #0d1118;
    --line: #1b2230;
    --steel-light: #eef3f8;
    --steel: #aeb9c8;
    --steel-dark: #6f7d91;
    --text: #c3ccd8;
    --text-quiet: #7f8a9a;
    --live: #8fd6a8;
    --wine: #b4443d;
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --page-width: 1120px;
    --gutter: 20px;
    color-scheme: dark;
}

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

html
{
    scroll-behavior: smooth;
}

body
{
    margin: 0;
    background-color: var(--night);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img
{
    display: block;
    max-width: 100%;
    height: auto;
}

a
{
    color: var(--steel-light);
    text-decoration-color: rgba(238, 243, 248, 0.35);
    text-underline-offset: 3px;
}

a:hover
{
    text-decoration-color: var(--steel-light);
}

:focus-visible
{
    outline: 2px solid var(--steel);
    outline-offset: 3px;
}

.wrap
{
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.skip
{
    position: absolute;
    left: -9999px;
}

.skip:focus
{
    left: 16px;
    top: 12px;
    z-index: 10;
    background: var(--night-raised);
    padding: 8px 12px;
}

/* Header */

.site-header
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

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

.brand
{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--steel-light);
    text-decoration: none;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: 0.04em;
}

.brand img
{
    width: 28px;
    height: 28px;
}

.site-nav
{
    display: flex;
    gap: 22px;
}

.site-nav a
{
    color: var(--text-quiet);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.site-nav a:hover
{
    color: var(--steel-light);
}

/* Hero */

.hero
{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88vh;
    min-height: 88svh;
    padding: 110px 0 70px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 50% at 50% 38%, rgba(120, 140, 170, 0.16) 0%, rgba(7, 9, 13, 0) 70%),
        linear-gradient(180deg, #0b0f16 0%, var(--night) 100%);
    overflow: hidden;
}

.hero::after
{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-mark
{
    width: min(220px, 52vw);
    height: auto;
    margin: 0 auto 34px;
    filter: drop-shadow(0 0 28px rgba(174, 196, 224, 0.22));
    animation: rise 1.6s ease-out both;
}

.hero h1
{
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(44px, 10vw, 92px);
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--steel-light);
    animation: rise 1.6s 0.15s ease-out both;
}

.hero p
{
    max-width: 30em;
    margin: 26px auto 0;
    color: var(--text);
    font-size: clamp(16px, 2.2vw, 19px);
    animation: rise 1.6s 0.3s ease-out both;
}

@keyframes rise
{
    from
    {
        opacity: 0;
        transform: translateY(10px);
    }
    to
    {
        opacity: 1;
        transform: none;
    }
}

/* Sections */

.section
{
    padding: 96px 0;
}

.section-title
{
    margin: 0 0 40px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--text-quiet);
}

.game
{
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--night-raised);
    overflow: hidden;
}

.game + .game
{
    margin-top: 36px;
}




.game-body
{
    position: relative;
    padding: 34px 32px;
}

.game-heading
{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.game-icon
{
    flex: none;
    width: 96px;
    height: 96px;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.game h3
{
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(28px, 4.6vw, 40px);
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: var(--steel-light);
}

.status
{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--text-quiet);
}

.status::before
{
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-quiet);
}

.status.live
{
    color: var(--live);
}

.status.live::before
{
    background: var(--live);
    box-shadow: 0 0 8px var(--live);
}

.status.soon::before
{
    background: var(--wine);
}

.game-text
{
    max-width: 40em;
    margin: 0 0 20px;
}



.links
{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.button
{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #2a3344;
    border-radius: 4px;
    color: var(--steel-light);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.03em;
    transition: border-color 0.2s, background-color 0.2s;
}

.button:hover
{
    border-color: var(--steel);
    background: rgba(174, 185, 200, 0.06);
}

.button.primary
{
    background: var(--steel-light);
    border-color: var(--steel-light);
    color: #0b0e14;
    font-weight: 600;
}

.button.primary:hover
{
    background: #ffffff;
}



/* The in-development game: no art yet, only its icon. */

.game.upcoming
{
    background:
        radial-gradient(ellipse 70% 90% at 0% 0%, rgba(154, 51, 46, 0.09) 0%, rgba(13, 17, 24, 0) 60%),
        var(--night-raised);
}



.soon-line
{
    margin: 0;
    font-family: var(--serif);
    font-size: 21px;
    font-style: normal;
    color: var(--steel);
    letter-spacing: 0.06em;
}

/* Contact */

.contact
{
    text-align: center;
}

.contact .section-title
{
    margin-bottom: 18px;
}

.contact-mail
{
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(24px, 5vw, 34px);
    word-break: break-word;
}

.contact p
{
    margin: 0 0 14px;
}

/* Footer */

.site-footer
{
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    font-size: 14px;
    color: var(--text-quiet);
}

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

.site-footer nav
{
    display: flex;
    gap: 20px;
}

.site-footer a
{
    color: var(--text-quiet);
}

/* Text pages: privacy, imprint */

.page
{
    padding: 128px 0 80px;
}

.page .wrap
{
    max-width: 760px;
}

.page h1
{
    margin: 0 0 28px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(34px, 6vw, 48px);
    letter-spacing: 0.06em;
    color: var(--steel-light);
}

.page h2
{
    margin: 40px 0 10px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 24px;
    color: var(--steel-light);
}

.placeholder
{
    color: var(--wine);
    font-style: italic;
}

@media (max-width: 640px)
{
    :root
    {
        --gutter: 16px;
    }

    body
    {
        font-size: 16px;
    }

    .brand span
    {
        display: none;
    }

    .site-nav
    {
        gap: 18px;
    }

    .section
    {
        padding: 72px 0;
    }

    .game-body
    {
        padding: 24px 20px 26px;
    }


    .game-heading
    {
        align-items: flex-start;
    }

    .game-icon
    {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }




    .button
    {
        flex: 1 1 auto;
    }
}

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

    .hero-mark,
    .hero h1,
    .hero p
    {
        animation: none;
    }
}
