/* FYITK SHARED THEME */

:root {
    --black: #080808;
    --deep-black: #050505;
    --panel: #111111;
    --panel-light: #151515;

    --gold: #d2ad54;
    --gold-soft: #ad8b3c;

    --white: #f5f1e8;
    --gray: #bbb7ae;
    --muted: #88847c;

    --border: rgba(210, 173, 84, 0.32);
}


/* BASE */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at top,
            #1d1a11 0,
            #0b0b0b 35%,
            #050505 100%
        );
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
}

a {
    color: inherit;
}

.wrap {
    width: min(1100px, 92%);
    margin: auto;
}

.narrow {
    max-width: 820px;
}


/* FYITK IDENTITY */

.fyitk {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.45em;
    font-size: 0.9rem;
    margin-bottom: 20px;
}


/* SECTION TITLES */

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title .small {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.section-title h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
}


/* DARK SECTIONS */

.dark-section {
    background: #090909;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


/* DIVIDERS */

.divider {
    width: 80px;
    height: 1px;
    margin: 35px auto;
    background: var(--gold);
}

.small-divider {
    width: 50px;
    height: 1px;
    margin: 25px auto;
    background: var(--gold);
}


/* BUTTONS */

.button {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 21px;

    border: 1px solid var(--gold);
    background: transparent;

    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 0.09em;
    font-size: 0.78rem;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.button:hover,
.button:focus {
    background: var(--gold);
    color: var(--black);
}

.center {
    text-align: center;
}


/* ==============================================
   SHARED NAVIGATION
   ============================================== */

.quest-nav {
    position: relative;
    z-index: 100;

    width: 100%;

    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid var(--border);
}

.quest-nav-inner {
    width: min(1200px, 92%);
    min-height: 72px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quest-brand {
    color: var(--gold);

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 0.35em;
    font-size: 1rem;
    font-weight: bold;
}

.quest-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.quest-nav-links a {
    position: relative;

    color: var(--gray);

    text-decoration: none;
    text-transform: uppercase;

    letter-spacing: 0.12em;
    font-size: 0.75rem;

    transition: color 0.2s ease;
}

.quest-nav-links a:hover,
.quest-nav-links a:focus {
    color: var(--gold);
}

.quest-nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.2s ease;
}

.quest-nav-links a:hover::after,
.quest-nav-links a:focus::after {
    width: 100%;
}


/* MOBILE MENU BUTTON */

.quest-menu-toggle {
    display: none;

    width: 42px;
    height: 38px;

    padding: 8px;

    border: 1px solid var(--border);
    background: transparent;

    cursor: pointer;
}

.quest-menu-toggle span {
    display: block;

    width: 100%;
    height: 1px;

    margin: 5px 0;

    background: var(--gold);
}


/* FOOTER */

footer {
    padding: 30px 20px;

    text-align: center;

    border-top: 1px solid var(--border);

    color: #777;
    font-size: 0.85rem;
}


/* ==============================================
   RESPONSIVE SHARED STYLES
   ============================================== */

@media (max-width: 700px) {

    .quest-nav-inner {
        position: relative;
        min-height: 64px;
    }

    .quest-menu-toggle {
        display: block;
    }

    .quest-nav-links {
        display: none;

        position: absolute;

        top: 64px;
        left: 0;
        right: 0;

        padding: 25px;

        background: #080808;

        border: 1px solid var(--border);
        border-top: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .quest-nav-links.open {
        display: flex;
    }

    .quest-nav-links a {
        padding: 14px 5px;

        border-bottom:
            1px solid rgba(210, 173, 84, 0.14);
    }

    .quest-nav-links a:last-child {
        border-bottom: none;
    }

    .quest-nav-links a::after {
        display: none;
    }

    section {
        padding: 60px 0;
    }
}


@media (max-width: 480px) {

    .wrap {
        width: 90%;
    }

    .fyitk {
        letter-spacing: 0.3em;
    }

    section {
        padding: 50px 0;
    }
}