/* =========================================================
   ANUMA RESEARCH CORE
   Main stylesheet
   ========================================================= */


/* ---------- FOUNDATION ---------- */

:root {
    --black: #070707;
    --deep-black: #0b0b0b;
    --panel: #111111;
    --panel-light: #171717;

    --gold: #c9a24d;
    --gold-light: #e1c56f;
    --gold-dark: #8e6d2d;

    --white: #f2efe7;
    --text: #d2cec4;
    --muted: #8e8a80;

    --border: rgba(201, 162, 77, 0.28);

    --max-width: 1180px;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--black);
    color: var(--text);

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.7;
    font-size: 16px;
}


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


.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* ---------- HEADER ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7, 7, 7, 0.92);

    border-bottom:
        1px solid rgba(201, 162, 77, 0.16);

    backdrop-filter: blur(12px);
}


.nav {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.logo {
    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 24px;
    font-weight: 600;

    letter-spacing: 0.22em;
}


nav {
    display: flex;
    align-items: center;
    gap: 28px;
}


nav a {
    color: var(--muted);

    font-size: 13px;
    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        color 0.25s ease;
}


nav a:hover {
    color: var(--gold-light);
}


/* ---------- HERO ---------- */

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    border-bottom:
        1px solid var(--border);

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(201, 162, 77, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(201, 162, 77, 0.06),
            transparent 30%
        ),
        var(--black);
}


.hero::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -180px;
    top: 70px;

    border:
        1px solid rgba(201, 162, 77, 0.13);

    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(201, 162, 77, 0.025),
        0 0 0 160px rgba(201, 162, 77, 0.018);
}


.hero .container {
    position: relative;
    z-index: 2;
}


.eyebrow,
.section-label {
    color: var(--gold);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}


.hero h1 {
    max-width: 900px;

    margin-top: 24px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 7vw, 88px);

    font-weight: 400;

    line-height: 1.02;

    letter-spacing: -0.035em;
}


.hero h1 span {
    display: block;

    color: var(--gold-light);
}


.hero-text {
    max-width: 700px;

    margin-top: 32px;

    color: var(--text);

    font-size: 19px;
    line-height: 1.8;
}


.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 42px;
}


/* ---------- BUTTONS ---------- */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        0 22px;

    border: 1px solid var(--border);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    transition:
        all 0.25s ease;
}


.button.primary {
    background: var(--gold);

    border-color: var(--gold);

    color: #0a0a0a;
}


.button.primary:hover {
    background: var(--gold-light);

    border-color: var(--gold-light);

    transform: translateY(-2px);
}


.button.secondary {
    color: var(--gold-light);

    background:
        rgba(201, 162, 77, 0.03);
}


.button.secondary:hover {
    background:
        rgba(201, 162, 77, 0.1);

    border-color:
        rgba(201, 162, 77, 0.6);
}


/* ---------- GENERAL SECTIONS ---------- */

.section {
    padding:
        120px 0;

    border-bottom:
        1px solid rgba(201, 162, 77, 0.14);
}


.section h2 {
    max-width: 800px;

    margin-top: 18px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 5vw, 60px);

    font-weight: 400;

    line-height: 1.1;

    letter-spacing: -0.025em;
}


.section-intro {
    max-width: 720px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 17px;
}


/* ---------- RESEARCH GRID ---------- */

.research-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 1px;

    margin-top: 65px;

    background:
        rgba(201, 162, 77, 0.18);

    border:
        1px solid rgba(201, 162, 77, 0.18);
}


.research-card {
    min-height: 330px;

    padding: 38px;

    background: var(--panel);

    transition:
        background 0.25s ease;
}


.research-card:hover {
    background: var(--panel-light);
}


.research-card > span {
    color: var(--gold-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 14px;
}


.research-card h3 {
    margin-top: 40px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 27px;

    font-weight: 400;

    line-height: 1.2;
}


.research-card p {
    margin-top: 18px;

    color: var(--muted);

    font-size: 15px;
}


.research-card a {
    display: inline-block;

    margin-top: 25px;

    color: var(--gold-light);

    font-size: 12px;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ---------- DARK CORE SECTION ---------- */

.dark-section {
    background:
        linear-gradient(
            180deg,
            #0a0a0a 0%,
            #0e0e0e 100%
        );
}


.core-layout {
    display: grid;

    grid-template-columns:
        1.3fr 0.7fr;

    gap: 80px;

    align-items: center;
}


.core-layout p {
    max-width: 680px;

    margin-top: 25px;

    color: var(--text);
}


.core-layout .button {
    margin-top: 35px;
}


.identity-box {
    padding: 40px;

    border:
        1px solid var(--border);

    background:
        rgba(201, 162, 77, 0.035);

    position: relative;
}


.identity-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 50px;
    height: 2px;

    background: var(--gold);
}


.identity-label {
    margin: 0 !important;

    color: var(--gold) !important;

    font-size: 10px;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.identity-box h3 {
    margin-top: 25px;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    font-weight: 400;
}


.identity-box p:not(.identity-label) {
    margin-top: 12px;

    color: var(--white);
}


.identity-box .muted {
    color: var(--muted) !important;

    font-size: 13px;
}


/* ---------- SYSTEM ---------- */

.system-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    margin-top: 60px;

    padding: 45px;

    border:
        1px solid var(--border);

    background: var(--panel);
}


.system-number {
    color: var(--gold);

    font-size: 11px;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.system-card h3 {
    margin-top: 12px;

    color: var(--white);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 36px;

    font-weight: 400;
}


.system-card p:not(.system-number) {
    max-width: 700px;

    margin-top: 16px;

    color: var(--muted);
}


.system-card > a {
    flex-shrink: 0;

    color: var(--gold-light);

    font-size: 12px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* ---------- ABOUT ---------- */

.about-section {
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(201, 162, 77, 0.05),
            transparent 35%
        );
}


.about-section p:not(.section-label) {
    max-width: 780px;

    margin-top: 28px;

    color: var(--text);

    font-size: 17px;
}


/* ---------- FOOTER ---------- */

footer {
    padding:
        60px 0 30px;

    background:
        #050505;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    gap: 50px;
}


.footer-content strong {
    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 22px;

    letter-spacing: 0.15em;
}


.footer-content p {
    margin-top: 8px;

    max-width: 430px;

    color: var(--muted);

    font-size: 13px;
}


.footer-bottom {
    margin-top: 55px;

    padding-top: 20px;

    border-top:
        1px solid rgba(201, 162, 77, 0.12);
}


.footer-bottom p {
    color: #68645d;

    font-size: 11px;

    letter-spacing: 0.04em;
}


/* ---------- MOBILE ---------- */

@media (max-width: 850px) {

    .nav {
        min-height: 68px;
    }


    nav {
        display: none;
    }


    .hero {
        min-height: 650px;
    }


    .hero h1 {
        font-size:
            clamp(43px, 12vw, 70px);
    }


    .hero-text {
        font-size: 17px;
    }


    .section {
        padding:
            85px 0;
    }


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


    .core-layout {
        grid-template-columns:
            1fr;

        gap: 50px;
    }


    .system-card {
        flex-direction: column;

        align-items: flex-start;
    }


    .footer-content {
        flex-direction: column;
    }
}


/* ---------- SMALL MOBILE ---------- */

@media (max-width: 520px) {

    .container {
        width:
            min(
                calc(100% - 32px),
                var(--max-width)
            );
    }


    .hero {
        min-height: 600px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .button {
        width: 100%;
    }


    .research-card {
        min-height: auto;

        padding: 30px;
    }


    .identity-box,
    .system-card {
        padding: 30px;
    }
}
