:root {
    --accent: #E1A509;
    --muted: #E5E5E5;
    --bg-overlay-alpha: 0.8;
    --container-max: 1100px;
    --header-height: 70px;
}

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

html,
body {
    height: 100%
}

body {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: #000;
    color: var(--muted);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none; /* use pseudo-elements for animated decorations */
    position: relative;
    display: inline-block;
    --dec-thickness: 2px;
    --underline-offset: 0.1em; /* space between text and underline */
    --anim-duration: 240ms;
}

/* visible underline (initial) */
a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: var(--dec-thickness);
    background: currentColor;
    bottom: calc(-1 * var(--underline-offset));
    transform-origin: left center;
    transform: scaleX(1);
    transition: transform var(--anim-duration) ease, opacity var(--anim-duration) ease;
}

/* hidden strikethrough (will animate in) */
a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: var(--dec-thickness);
    background: currentColor;
    top: 50%;
    transform-origin: left center;
    transform: translateY(-50%) scaleX(0);
    transition: transform var(--anim-duration) ease;
}

/* on hover/focus: remove underline and draw strikethrough */
a:hover::after,
a:focus::after {
    transform: scaleX(0);
    opacity: 0;
}

a:hover::before,
a:focus::before {
    transform: translateY(-50%) scaleX(1);
}

/* respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    a::after, a::before {
        transition: none;
    }
}


.hero {
    background-image:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%),
        url('../assets/rudblu-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--muted);
    padding: 20px 20px 80px;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}


header.site-header {
    height: var(--header-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hdr-left {
    justify-self: start;
    font-weight: 600;
}

.hdr-center {
    justify-self: center
}

.hdr-right {
    justify-self: end;
    display: flex;
    gap: 14px;
    align-items: center;
    letter-spacing: 0.05em;
}

.hdr-right .mid {
    display: none;
}

.rudblu-text-small {
    width: 100px;
}

.hdr-center .slogan {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.4em;
    text-shadow: #000 1px 1px 4px;
    color: var(--muted);
}

.socials {
    display: flex;
    gap: 10px;
    align-items: center
}

.social-icon {
    height: 24px;
    display: block;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.95
}

.social-icon.discord {
    height: 33px;
}

.hero-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    margin-top: 0;
}

/* text logo */
.brand {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.02em;
    font-size: 5.5em;
    color: var(--accent);
    line-height: 0.9;
    margin-top: 10%
}

.brand sup {
    font-size: 0.5em;
}

.logo {
    width: 40%;
}


.hero .sub {
    max-width: 850px;
    margin-top: 0.5em;
    color: var(--muted);
    font-size: 1.5em;
}

.hero .sub.small {
    margin-top: 0;
}


.content-section {
    background: transparent;
    color: var(--muted);
    margin-top: auto;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.8em;
    line-height: 1.7;
    color: var(--muted);
    text-align: center;
}

.content-section .content .desktop {
    padding-bottom: 1.5em;
}

.content-section .content .mobile {
    display: none;
}

.link-with-icon {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 1em;
}

.small-icon {
    width: 18px;
    height: 18px;
    display: block;
    filter: grayscale(100%) brightness(200%)
}

footer {
    text-align: center;
    justify-content: center;
    letter-spacing: 0.1em;
}

@media (max-width: 800px) {
    .hero {
        min-height: calc(100vh - 80px);
    }

    .brand {
        font-size: 4.5em;
    }

    .logo {
        width: 60%;
    }

    .hero .sub {
        font-size: 1.4em;
    }

    .sub.small {
        display: none;
    }

    .hdr-center {
        order: 2;
        margin: 0;
        padding: 0;
    }

    .hdr-center .slogan {
        font-size: 1.2em;
        text-align: center;
    }

    .hdr-left {
        order: 1
    }

    .hdr-right {
        order: 3;
        margin-left: 0;
    }

    .hdr-right .left {
        display: none;
    }

    .hdr-right .mid {
        display: flex;
        padding-top: 0.4em;
        margin-right: -0.5em;
    }

    .content-section .content .desktop {
        display: none;
    }

    .content-section .content .mobile {
        display: block;
        font-size: 1.4em;
        padding-bottom: 1.5em;
    }
}

@media (max-width: 500px) {

    .hero {
        min-height: calc(100vh - 120px);
    }

    .brand {
        font-size: 3.5em;
    }

    .hero .sub {
        font-size: 1.1em;
    }

}

@media (max-width: 400px) {
    .brand {
        font-size: 2.8em;
    }
}