@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body.wp-theme-neoterrex {
    --ntxd-gold: #efd079;
    --ntxd-copper: #dd975b;
    --ntxd-edge: #d5aa5c55;
    --ntxd-panel: #171b20;
    --ntxd-heading: linear-gradient(105deg, #ffe6a3, #dd975b);
    font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
}

.wp-theme-neoterrex :is(main, footer) :is(h1, h2, h3) {
    font-family: Inter, Avenir, "Segoe UI", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -.035em;
}

.wp-theme-neoterrex main h1 {
    font-size: clamp(2.55rem, 6vw, 6.2rem);
    line-height: 1.04;
    font-weight: 900;
    margin-block-end: .32em;
}

@supports (background-clip: text) {
    .wp-theme-neoterrex:not(.home) main h1,
    .wp-theme-neoterrex.home main section:has(a[href*="reservoir"]) h2 {
        background-image: var(--ntxd-heading);
        background-clip: text;
        color: transparent;
    }
}

.wp-theme-neoterrex main p + p {
    margin-block-start: 1em;
}

.wp-theme-neoterrex main :is(
    .wp-block-button__link, a.button, a.btn, a[class^="btn--"],
    a[class^="button--"], a[class*=" hero-button"]
) {
    border: 1px solid var(--ntxd-gold);
    border-radius: 999px;
    background: var(--ntxd-heading);
    color: #19130b;
    box-shadow: 0 4px 22px #dba84b30;
    font-weight: 750;
}

.wp-theme-neoterrex main :is(a.button, a.btn, .wp-block-button__link):hover {
    background: #ffe6a3;
    color: #19130b;
}

.wp-theme-neoterrex main :is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid var(--ntxd-copper);
    outline-offset: 4px;
}

.wp-theme-neoterrex main :is(
    .project-card, .project-row, .news-card, .team-card, .investor-card,
    .quick-link, .wp-block-post-template > .wp-block-post
) {
    border: 1px solid var(--ntxd-edge);
    border-radius: 16px;
}

.wp-theme-neoterrex main :is(
    .project-card, .project-row, .news-card, .team-card, .investor-card, .quick-link
):hover {
    border-color: var(--ntxd-gold);
}

.wp-theme-neoterrex main :is(figure, .project-image, .featured-image) img {
    border: 1px solid var(--ntxd-edge);
    border-radius: 16px;
}

.wp-theme-neoterrex main :is(.eyebrow, .kicker, .section-label) {
    color: var(--ntxd-copper);
    letter-spacing: .14em;
}

.wp-theme-neoterrex main :is(.page-hero, .page-banner, .closing-band, .home-cta) {
    background-image: radial-gradient(ellipse at 20% 0%, #ca93432f, transparent 65%);
    border-block-end: 1px solid var(--ntxd-edge);
}

@media (forced-colors: active) {
    .wp-theme-neoterrex main h1,
    .wp-theme-neoterrex.home main section:has(a[href*="reservoir"]) h2 {
        background: none;
        color: CanvasText;
    }
}
