:root {
    --raj-theme-navy: #061426;
    --raj-theme-ink: #101722;
    --raj-theme-gold: #c9a35a;
    --raj-theme-gold-strong: #e2bd70;
    --raj-theme-cream: #f7f1e5;
    --raj-theme-line: rgba(16, 23, 34, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body.raj-theme {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    color: var(--raj-theme-ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-main {
    flex: 1 0 auto;
}

a {
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.raj-site-header {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 12px clamp(18px, 5vw, 72px);
    color: #fff;
    background: linear-gradient(180deg, rgba(6, 20, 38, 0.82), rgba(6, 20, 38, 0));
}

.raj-site-header.is-scrolled {
    background: rgba(6, 20, 38, 0.95);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
}

.raj-brand {
    position: relative;
    display: inline-grid;
    min-width: 120px;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

.raj-brand img {
    display: block;
    width: auto;
    max-height: 58px;
}

.raj-brand__roof {
    width: 52px;
    height: 20px;
    margin: 0 auto -1px;
    border-top: 4px solid var(--raj-theme-gold-strong);
    border-left: 4px solid var(--raj-theme-gold-strong);
    transform: rotate(45deg) translateY(12px);
}

.raj-brand__main {
    display: block;
    color: var(--raj-theme-gold-strong);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    letter-spacing: 0;
}

.raj-brand__sub {
    display: block;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.raj-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.raj-nav a {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    text-decoration: none;
}

.raj-nav a:hover {
    color: var(--raj-theme-gold-strong);
}

.raj-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

.raj-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.raj-plugin-notice {
    position: fixed;
    z-index: 1000;
    right: 16px;
    bottom: 16px;
    max-width: 360px;
    padding: 14px 16px;
    border-left: 4px solid var(--raj-theme-gold-strong);
    color: #fff;
    background: var(--raj-theme-navy);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.raj-page__article,
.raj-post-list {
    padding: 110px clamp(18px, 5vw, 72px) 70px;
}

.raj-page__header,
.raj-page__content,
.raj-post-list {
    max-width: 1040px;
    margin: 0 auto;
}

.raj-page__header h1 {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.02;
}

.raj-post-card {
    padding: 24px 0;
    border-bottom: 1px solid var(--raj-theme-line);
}

.raj-post-card h2 {
    margin: 0 0 8px;
}

.raj-post-card a {
    color: var(--raj-theme-ink);
    text-decoration: none;
}

.raj-site-footer {
    display: flex;
    flex: 0 0 auto;
    justify-content: space-between;
    gap: 24px;
    margin-top: auto;
    padding: 34px clamp(18px, 5vw, 72px);
    color: #fff;
    background: #050b14;
}

.raj-site-footer__brand {
    display: block;
    color: var(--raj-theme-gold-strong);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
}

.raj-site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.raj-site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.raj-site-footer__links a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
    text-decoration: none;
}

.raj-site-footer__links span {
    color: rgba(226, 189, 112, 0.78);
    font-weight: 800;
}

.raj-fallback-hero {
    min-height: 76vh;
    padding: 120px clamp(18px, 5vw, 72px) 64px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 20, 38, 0.94), rgba(6, 20, 38, 0.38)),
        url('../images/raj-hero.jpeg') center / cover no-repeat;
}

.raj-fallback-hero p {
    color: var(--raj-theme-gold-strong);
    font-weight: 800;
    text-transform: uppercase;
}

.raj-fallback-hero h1 {
    max-width: 780px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 7vw, 6.6rem);
    line-height: 0.96;
    font-weight: 500;
}

.raj-fallback-hero a {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    margin-top: 28px;
    padding: 0 18px;
    border-radius: 6px;
    color: #0b1421;
    background: var(--raj-theme-gold-strong);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 760px) {
    .raj-site-header {
        min-height: 70px;
    }

    .raj-menu-toggle {
        display: block;
    }

    .raj-nav {
        position: absolute;
        top: 70px;
        right: 18px;
        left: 18px;
        display: none;
        padding: 14px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 8px;
        background: rgba(6, 20, 38, 0.98);
    }

    .raj-nav.is-open {
        display: block;
    }

    .raj-nav__list {
        display: grid;
        gap: 12px;
    }

    .raj-site-footer {
        display: block;
    }

    .raj-site-footer__links {
        margin-top: 18px;
    }
}
