:root {
    --cvf-bg: #f4efe6;
    --cvf-surface: #fffdf8;
    --cvf-surface-strong: #12343b;
    --cvf-primary: #c44c2d;
    --cvf-primary-dark: #9f371d;
    --cvf-text: #172026;
    --cvf-muted: #5c676b;
    --cvf-border: rgba(18, 52, 59, 0.12);
    --cvf-shadow: 0 20px 50px rgba(18, 52, 59, 0.08);
    --cvf-radius: 24px;
    --cvf-shell: min(1120px, calc(100vw - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(196, 76, 45, 0.12), transparent 28%),
        linear-gradient(180deg, #fbf7ef 0%, var(--cvf-bg) 100%);
    color: var(--cvf-text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.site-shell {
    width: var(--cvf-shell);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(251, 247, 239, 0.88);
    border-bottom: 1px solid var(--cvf-border);
}

.site-header__inner,
.site-footer__grid,
.site-footer__bottom,
.hero__actions {
    display: flex;
    gap: 16px;
}

.site-header__inner,
.site-footer__bottom {
    align-items: center;
    justify-content: space-between;
}

.site-header__inner {
    min-height: 82px;
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.site-brand__eyebrow,
.eyebrow,
.card__meta {
    color: var(--cvf-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-brand__title {
    font-size: 1.25rem;
    font-weight: 700;
}

.site-nav__menu,
.site-footer__menu,
.hero__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav__menu {
    display: flex;
    gap: 18px;
}

.site-nav__menu a,
.site-footer__menu a {
    text-decoration: none;
}

.site-main {
    display: block;
}

.hero,
.section {
    padding: 72px 0;
}

.hero__grid,
.cards,
.cta-box {
    display: grid;
    gap: 24px;
}

.hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: stretch;
}

.hero h1,
.section-heading h2,
.prose h1 {
    margin: 0 0 16px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 0.97;
    letter-spacing: -0.04em;
}

.hero__lead {
    max-width: 60ch;
    font-size: 1.1rem;
    color: var(--cvf-muted);
}

.hero__panel,
.card,
.cta-box {
    padding: 28px;
    border: 1px solid var(--cvf-border);
    border-radius: var(--cvf-radius);
    background: var(--cvf-surface);
    box-shadow: var(--cvf-shadow);
}

.hero__panel {
    background: linear-gradient(180deg, rgba(18, 52, 59, 0.98), rgba(33, 65, 73, 0.96));
    color: #f8f6f2;
}

.hero__panel-title {
    margin: 0 0 16px;
    font-size: 1.2rem;
    font-weight: 700;
}

.hero__list li + li {
    margin-top: 10px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--cvf-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.button:hover,
.button:focus {
    background: var(--cvf-primary-dark);
}

.button--ghost {
    border-color: var(--cvf-border);
    background: transparent;
    color: var(--cvf-text);
}

.button--small {
    min-height: 40px;
}

.section--alt {
    background: rgba(255, 255, 255, 0.56);
}

.section--cta {
    padding-top: 0;
}

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

.cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--news {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card h2,
.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.15;
}

.prose {
    max-width: 760px;
}

.prose h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.site-footer {
    padding: 48px 0 32px;
    background: #10282d;
    color: #f2ede5;
}

.site-footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    align-items: start;
    margin-bottom: 24px;
}

.site-footer__title {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
}

.site-footer__text {
    margin: 0;
    color: rgba(242, 237, 229, 0.8);
}

.site-footer__menu li + li {
    margin-top: 8px;
}

.pagination {
    margin-top: 32px;
}

@media (max-width: 900px) {
    .site-header__inner,
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }

    .site-nav__menu {
        flex-wrap: wrap;
    }

    .hero__grid,
    .cards--three,
    .cards--news,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}
