:root {
    --navy-950: #050d1c;
    --navy-900: #0a1a33;
    --navy-800: #102848;
    --blue-600: #1a56c4;
    --orange-500: #c2410c;
    --orange-400: #db5a14;
    --gold: #f0c020;
    --ink: #f4f1ea;
    --ink-muted: rgba(244, 241, 234, 0.72);
    --font-display: "Oswald", "Arial Narrow", sans-serif;
    --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
    height: 100%;
    overflow: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--navy-950);
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

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

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

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem clamp(1.25rem, 4vw, 3.5rem);
}

.brand-mark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
}

.brand-mark span {
    color: var(--orange-500);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.85rem 1.55rem;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
    color: #1a0a00;
    box-shadow: 0 12px 32px rgba(194, 65, 12, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(194, 65, 12, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(244, 241, 234, 0.28);
}

.btn-ghost:hover {
    border-color: rgba(244, 241, 234, 0.55);
    transform: translateY(-1px);
}

.hero {
    position: relative;
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4.5rem) clamp(2.5rem, 6vh, 4rem);
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(26, 86, 196, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 50% at 0% 100%, rgba(194, 65, 12, 0.18), transparent 50%),
        linear-gradient(115deg, var(--navy-950) 0%, var(--navy-900) 55%, rgba(10, 26, 51, 0.92) 100%);
}

.hero-kicker {
    margin: 0 0 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0;
    animation: rise 0.8s ease 0.15s forwards;
}

.hero-name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3.4rem, 9vw, 7.2rem);
    line-height: 0.88;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    max-width: 9ch;
    opacity: 0;
    animation: rise 0.9s ease 0.28s forwards;
}

.hero-name .line-2 {
    display: block;
    color: var(--orange-500);
}

.hero-lead {
    margin: 1.4rem 0 0;
    max-width: 28rem;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.45;
    color: var(--ink-muted);
    opacity: 0;
    animation: rise 0.9s ease 0.42s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.1rem;
    opacity: 0;
    animation: rise 0.9s ease 0.55s forwards;
}

.hero-visual {
    position: relative;
    min-height: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--navy-800);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.04);
    animation: kenburns 18s ease-out forwards;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--navy-950) 0%, rgba(5, 13, 28, 0.35) 18%, transparent 42%),
        linear-gradient(180deg, transparent 70%, rgba(5, 13, 28, 0.35) 100%);
}

.hero-visual::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -12%;
    width: 55%;
    height: 55%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle, rgba(194, 65, 12, 0.28), transparent 68%);
    filter: blur(8px);
}

.hero-accent {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--orange-500), var(--gold), var(--blue-600));
}

.site-footer {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem clamp(1.25rem, 4vw, 3.5rem);
    background: #030912;
    border-top: 1px solid rgba(244, 241, 234, 0.08);
    font-size: 0.75rem;
    color: rgba(244, 241, 234, 0.55);
}

.site-footer a:hover {
    color: var(--ink);
}

.site-footer .dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(244, 241, 234, 0.45);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer .dev-credit img {
    height: 16px;
    width: auto;
    opacity: 0.7;
}

.site-footer .dev-credit:hover {
    color: rgba(244, 241, 234, 0.85);
}

.site-footer .dev-credit:hover img {
    opacity: 1;
}

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

@keyframes kenburns {
    from {
        transform: scale(1.08) translate3d(0, 1.5%, 0);
    }
    to {
        transform: scale(1) translate3d(0, 0, 0);
    }
}

@media (max-width: 900px) {
    html,
    body {
        height: auto;
        max-height: none;
        overflow-x: hidden;
        overflow-y: auto;
    }

    main,
    .hero,
    .site-footer {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        flex: none;
        min-height: 100dvh;
        overflow: hidden;
    }

    .hero-visual {
        order: -1;
        min-height: 46vh;
        max-height: 52vh;
        width: 100%;
    }

    .hero-visual img {
        transform: none;
        animation: none;
    }

    .hero-visual::before {
        background:
            linear-gradient(180deg, rgba(5, 13, 28, 0.15) 0%, transparent 35%),
            linear-gradient(0deg, var(--navy-950) 0%, transparent 40%);
    }

    .hero-copy {
        padding: 2rem 1.25rem 2rem;
        margin-top: -3.5rem;
        min-width: 0;
        overflow: hidden;
    }

    .hero-name {
        max-width: 100%;
        font-size: clamp(2.7rem, 13vw, 4.2rem);
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .hero-lead {
        max-width: 100%;
    }

    .site-header {
        width: 100%;
        max-width: 100%;
        padding-inline: 1.1rem;
        gap: 0.75rem;
    }

    .brand-mark {
        min-width: 0;
        font-size: 0.95rem;
        letter-spacing: 0.08em;
    }

    .site-header .btn {
        flex-shrink: 0;
        min-height: 2.6rem;
        padding: 0.65rem 1.15rem;
        font-size: 0.82rem;
    }

    .site-footer {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero-kicker,
    .hero-name,
    .hero-lead,
    .hero-actions {
        opacity: 1;
    }

    .hero-visual img {
        transform: none;
    }
}
