﻿:root {

    /* COLORS */
    --black: #090A0C;
    --charcoal: #15171A;
    --stone-blue: #263F56;

    --burnt-orange: #A34528;

    --antique-gold: #C4933F;
    --warm-brass: #D8AF5A;

    --cream: #E8E5DC;
    --muted-silver: #A9ADB0;

    /* TYPOGRAPHY */
    --heading-font: "Cinzel", Georgia, serif;
    --body-font: "Inter", Arial, sans-serif;

    /* LAYOUT */
    --page-width: 1240px;
    --narrow-width: 850px;

    --section-space: 100px;

    --radius: 8px;

    /* EFFECTS */
    --transition: 180ms ease;
}


/* -----------------------------
   RESET
------------------------------ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(38,63,86,.18),
            transparent 38%
        ),
        var(--black);

    color: var(--cream);

    font-family: var(--body-font);
    line-height: 1.65;
}


/* -----------------------------
   GLOBAL
------------------------------ */

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

.container {
    width: min(92%, var(--page-width));
    margin-inline: auto;
}

.narrow-container {
    max-width: var(--narrow-width);
}

.section {
    padding: var(--section-space) 0;
}

.dark-section {
    background: var(--charcoal);
}

.eyebrow {
    margin: 0 0 14px;

    color: var(--antique-gold);

    font-size: .78rem;
    font-weight: 700;

    letter-spacing: .18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;

    font-family: var(--heading-font);
    line-height: 1.15;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--muted-silver);
}

.section-heading {
    margin-bottom: 45px;
}

.centered {
    text-align: center;
}

.section-intro {
    max-width: 650px;
    margin-inline: auto;
}


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

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

    background: rgba(9,10,12,.94);

    border-bottom: 1px solid rgba(196,147,63,.25);

    backdrop-filter: blur(10px);
}

.nav-wrap {
    min-height: 76px;

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

    gap: 30px;
}

.brand {
    font-family: var(--heading-font);

    font-size: 1.15rem;
    font-weight: 700;

    letter-spacing: .08em;
}

.trademark {
    margin-left: 2px;

    color: var(--antique-gold);

    font-size: .58rem;
    vertical-align: top;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    position: relative;

    color: var(--muted-silver);

    font-size: .88rem;
    font-weight: 600;

    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--cream);
}

.main-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;

    height: 2px;

    background: var(--antique-gold);
}


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

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid rgba(196,147,63,.3);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 72% 42%,
            rgba(163,69,40,.19),
            transparent 28%
        ),
        radial-gradient(
            circle at 62% 35%,
            rgba(196,147,63,.12),
            transparent 32%
        );
}

.hero-texture {
    position: absolute;
    inset: 0;

    opacity: .16;

    background-image:
        repeating-linear-gradient(
            135deg,
            transparent 0,
            transparent 2px,
            rgba(255,255,255,.025) 3px
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 75px;
    padding-bottom: 75px;
}

.hero h1 {
    max-width: 900px;

    margin-bottom: 28px;

    font-size: clamp(4rem, 10vw, 8.5rem);

    letter-spacing: -.04em;
}

.hero h1 span {
    display: block;

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

.hero-copy {
    max-width: 760px;

    margin-bottom: 36px;

    color: var(--cream);

    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 25px;

    border-radius: var(--radius);

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.primary-button {
    background: var(--burnt-orange);

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

    color: #fff;
}

.primary-button:hover {
    background: #b85031;

    box-shadow:
        0 0 25px rgba(163,69,40,.24);
}

.secondary-button {
    background: rgba(21,23,26,.65);

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

    color: var(--cream);
}

.secondary-button:hover {
    border-color: var(--warm-brass);

    box-shadow:
        0 0 20px rgba(196,147,63,.14);
}


/* -----------------------------
   FEATURE / COMING SOON
------------------------------ */

.feature-panel {
    padding: 36px;

    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;

    background: var(--black);

    border: 1px solid rgba(196,147,63,.28);
    border-radius: var(--radius);

    box-shadow:
        0 20px 60px rgba(0,0,0,.2);
}

.media-placeholder {
    min-height: 280px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 16px;

    background:
        radial-gradient(
            circle,
            rgba(38,63,86,.7),
            rgba(9,10,12,.9)
        );

    border: 1px solid rgba(196,147,63,.35);
    border-radius: var(--radius);

    color: var(--muted-silver);
}

.media-mark {
    color: var(--antique-gold);

    font-family: var(--heading-font);

    font-size: 4rem;
    font-weight: 700;
}


/* -----------------------------
   SOCIAL
------------------------------ */

.social-section {
    background:
        linear-gradient(
            180deg,
            rgba(38,63,86,.12),
            transparent
        );
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.social-card {
    min-height: 150px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--charcoal);

    border: 1px solid rgba(196,147,63,.25);
    border-radius: var(--radius);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.social-card:hover {
    transform: translateY(-4px);

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

    box-shadow:
        0 12px 30px rgba(0,0,0,.24);
}

.social-name {
    font-family: var(--heading-font);

    font-size: 1.6rem;
}

.social-action {
    color: var(--antique-gold);

    font-weight: 600;
}


/* -----------------------------
   SERVICES
------------------------------ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.service-card {
    min-height: 265px;

    padding: 28px;

    background: var(--black);

    border-top: 2px solid var(--antique-gold);
    border-radius: var(--radius);
}

.service-number {
    display: block;

    margin-bottom: 35px;

    color: var(--burnt-orange);

    font-weight: 700;
}


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

.about-preview {
    position: relative;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(38,63,86,.16),
            transparent 35%
        );
}

.text-link {
    display: inline-block;

    margin-top: 18px;

    color: var(--antique-gold);

    font-weight: 700;
}


/* -----------------------------
   CONTACT
------------------------------ */

.contact-banner {
    padding: 65px 0;

    background: var(--stone-blue);

    border-top: 1px solid rgba(196,147,63,.38);
    border-bottom: 1px solid rgba(196,147,63,.38);
}

.contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
}

.contact-inner h2 {
    margin-bottom: 0;
}


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

.site-footer {
    padding: 65px 0 30px;

    background: #060708;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 40px;
}

.footer-brand {
    color: var(--cream);

    font-family: var(--heading-font);

    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand span {
    color: var(--antique-gold);

    font-size: .6rem;
    vertical-align: top;
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--antique-gold);
}

.copyright {
    margin-top: 45px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: #777;

    font-size: .78rem;
}


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

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-panel {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    :root {
        --section-space: 70px;
    }

    .nav-wrap {
        flex-direction: column;

        padding: 18px 0;
    }

    .main-nav {
        gap: 18px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 17vw, 5.5rem);
    }

    .social-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

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

}

/* === HOMEPAGE CORRECTION PASS 1 === */

/* Prevent accidental horizontal overflow */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Replace temporary text branding with the official circular logo */
.logo-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
}

/* Slightly rebalance the hero without weakening its impact */
.hero {
    min-height: 610px;
}

.hero-content {
    padding-top: 62px;
    padding-bottom: 62px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(3.7rem, 8.3vw, 7.3rem);
    margin-bottom: 24px;
}

/* Keep the header clean with the taller logo */
.nav-wrap {
    min-height: 92px;
}

@media (max-width: 700px) {
    .header-logo {
        width: 66px;
        height: 66px;
    }

    .hero {
        min-height: 530px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 5rem);
    }
}

/* === HERO LOGO FOCUS === */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    display: block;
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.nav-wrap {
    min-height: 96px;
}

.hero-logo-focus {
    min-height: 690px;
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 54px;
    padding-bottom: 60px;
}

.hero-logo-wrap {
    position: relative;
    width: min(420px, 48vw);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    margin: 8px auto 28px;
}

.hero-logo-halo {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(196,147,63,.20) 0%,
            rgba(163,69,40,.12) 38%,
            rgba(38,63,86,.09) 58%,
            transparent 74%
        );
    filter: blur(22px);
    transform: scale(1.18);
    pointer-events: none;
}

.hero-logo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(0,0,0,.42));
}

.hero-copy-centered {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.hero-actions-centered {
    justify-content: center;
}

@media (max-width: 700px) {
    .header-logo {
        width: 66px;
        height: 66px;
    }

    .hero-logo-focus {
        min-height: 600px;
    }

    .hero-logo-wrap {
        width: min(330px, 76vw);
        margin-bottom: 24px;
    }

    .hero-content-centered {
        padding-top: 42px;
        padding-bottom: 48px;
    }
}

/* === SOCIAL HANDLE LABELS === */

.social-handle {
    display: block;
    margin-top: 5px;
    color: var(--muted-silver);
    font-size: .9rem;
    font-weight: 500;
}


/* === PHASE 5 SUPPORTING PAGES === */

.page-hero {
    padding: 105px 0 70px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(38,63,86,.18),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            rgba(21,23,26,.96),
            rgba(9,10,12,.98)
        );

    border-bottom:
        1px solid rgba(196,147,63,.24);
}

.page-hero h1 {
    margin-bottom: 0;

    font-size:
        clamp(2.8rem, 6vw, 5.2rem);
}

.support-copy {
    font-size: 1.08rem;
}

.support-callout {
    margin-top: 30px;

    padding: 28px;

    background: var(--charcoal);

    border-left:
        3px solid var(--antique-gold);

    border-radius: var(--radius);
}

.support-actions {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 14px;
}

@media (max-width: 700px) {

    .page-hero {
        padding: 78px 0 52px;
    }

}


/* === CENTERED SUPPORTING PAGES === */

.centered-support-page .page-hero .narrow-container {
    text-align: center;
}

.centered-support-page main > .section > .narrow-container {
    text-align: center;
}

.centered-support-page .support-copy {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.centered-support-page .support-callout {
    text-align: center;
}

.centered-support-page .support-actions {
    justify-content: center;
}

.centered-support-page .text-link {
    text-align: center;
}
/* === LEGAL PAGE STYLING === */

.legal-support-page .page-hero .narrow-container {
    text-align: center;
}

.legal-container {
    width: min(92%, 980px);
    margin-inline: auto;
    text-align: left;
}

.legal-container h2 {
    margin-top: 54px;
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.legal-container p {
    font-size: 1.05rem;
    line-height: 1.85;
}

.legal-updated {
    margin-bottom: 42px;
    color: var(--antique-gold);
    font-size: .9rem !important;
    font-weight: 600;
}



/* === GLOBAL CYNICAL STUDIOS MARQUEE HEADING SYSTEM === */

.marquee-heading {
    width: 100%;
}

.marquee-render {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .14em .48em;
    width: 100%;
}

.marquee-word {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: .015em;
}

.marquee-letter {
    display: block;
    width: auto;
    height: .96em;
    max-width: none;
    flex: 0 0 auto;
    filter:
        drop-shadow(0 2px 1px rgba(0,0,0,.9))
        drop-shadow(0 0 8px rgba(216,175,90,.18));
}

.marquee-punctuation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: .96em;
    margin-inline: .04em;
    color: var(--antique-gold);
    font-family: var(--heading-font);
    font-size: .78em;
    font-weight: 700;
    line-height: 1;
    text-shadow:
        0 1px 0 #000,
        0 0 8px rgba(216,175,90,.22);
}

h1.marquee-heading .marquee-render {
    gap: .16em .56em;
}

h2.marquee-heading .marquee-render {
    gap: .13em .50em;
}

h3.marquee-heading .marquee-letter {
    height: 1.02em;
}

@media (max-width: 700px) {
    .marquee-render {
        gap: .16em .40em;
    }

    .marquee-letter {
        height: .92em;
    }
}


/* === PHASE 6 ACCESSIBILITY FINALIZER === */

/* Hidden until a keyboard user tabs to it. */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;

    padding: 12px 16px;

    background: var(--cream);
    color: var(--black);

    border: 3px solid var(--warm-brass);
    border-radius: var(--radius);

    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 700;

    transform: translateY(-180%);
    transition: transform 120ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
}

/* Strong keyboard-focus indicator without changing mouse-click styling. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--warm-brass);
    outline-offset: 4px;
}

/* The main element can receive programmatic focus from the skip link. */
main:focus {
    outline: none;
}

/*
   Respect operating-system reduced-motion preferences.
   The normal site's subtle movement remains unchanged for everyone else.
*/
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

