:root {
    --bg: #f5f2ea;
    --paper: rgba(255, 255, 252, 0.96);
    --paper-strong: #fffdfa;
    --ink: #1f2623;
    --muted: #59625d;
    --line: rgba(31, 38, 35, 0.10);
    --forest: #13332c;
    --forest-soft: #1f4a40;
    --ochre: #bb8d38;
    --terracotta: #a6593b;
    --shadow: 0 10px 28px rgba(19, 51, 44, 0.08);
    --radius-lg: 18px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --shell: min(1160px, calc(100vw - 2rem));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    background: linear-gradient(180deg, #f2eee5 0%, #f7f4ee 100%);
    line-height: 1.7;
}

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

img {
    max-width: 100%;
    display: block;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 1000;
    background: var(--forest);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 999px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: rgba(247, 244, 238, 0.92);
    border-bottom: 1px solid rgba(25, 35, 31, 0.08);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.85rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--forest-soft));
    color: #fff;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.brand-copy strong {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-copy span {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--muted);
    font-size: 0.8rem;
    max-width: 34rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.main-nav a {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    color: var(--muted);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.88rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: rgba(19, 51, 44, 0.08);
    color: var(--forest);
}

.hero,
.subhero {
    padding: 3.25rem 0 1.5rem;
}

.hero-grid,
.feature-grid,
.two-column,
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

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

.hero-copy,
.hero-panel,
.card,
.cta-card,
.quote-card,
.timeline-item {
    background: var(--paper);
    border: 1px solid rgba(25, 35, 31, 0.08);
    box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.cta-card,
.quote-card {
    border-radius: var(--radius-lg);
    padding: clamp(1.2rem, 1.8vw, 1.8rem);
}

.hero-copy {
    position: relative;
    overflow: hidden;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: auto -4rem -4rem auto;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(187, 141, 56, 0.10), transparent 65%);
}

.eyebrow,
.panel-kicker,
.timeline-phase {
    margin: 0 0 0.9rem;
    color: var(--terracotta);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0 0 0.8rem;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.1rem, 4vw, 3.55rem);
    max-width: 14ch;
}

h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h3 {
    font-size: 1.08rem;
}

p {
    margin: 0 0 1rem;
}

.hero-focus {
    color: var(--forest);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-summary,
.subhero-copy,
.section-copy,
.footer-copy,
.stacked-copy p,
.quote-card p,
.cta-card p,
.card p {
    color: var(--muted);
}

.hero-actions,
.link-stack,
.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

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

.button-primary {
    background: var(--forest);
    color: #fff;
}

.button-secondary {
    border: 1px solid rgba(19, 51, 44, 0.16);
    background: rgba(255, 255, 255, 0.7);
    color: var(--forest);
}

.hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fact-list {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.fact-list div {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.fact-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.fact-list dt {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 0.2rem;
}

.fact-list dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.hero-note {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(19, 51, 44, 0.96), rgba(31, 74, 64, 0.9));
    color: #fff;
}

.hero-note span {
    display: block;
    opacity: 0.72;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-note strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1rem;
}

.section {
    padding: 1.4rem 0 2.8rem;
}

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

.section-accent {
    background: linear-gradient(180deg, rgba(19, 51, 44, 0.04), rgba(19, 51, 44, 0));
}

.ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(19, 51, 44, 0.09);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 20px rgba(19, 51, 44, 0.06);
}

.ribbon span {
    color: var(--forest);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
}

.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.feature-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 1.7rem;
}

.stacked-copy {
    display: grid;
    gap: 0.2rem;
}

.tag-grid,
.card-grid {
    display: grid;
    gap: 1rem;
}

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

.tag-card {
    min-height: 5.25rem;
    padding: 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(19, 51, 44, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
        linear-gradient(135deg, rgba(187, 141, 56, 0.08), rgba(19, 51, 44, 0.04));
    display: flex;
    align-items: flex-start;
    box-shadow: 0 8px 22px rgba(19, 51, 44, 0.05);
}

.tag-card span {
    font-weight: 700;
    line-height: 1.35;
}

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

.card-grid-sections {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    border-radius: var(--radius-md);
    padding: 1.15rem;
}

.numbered-card {
    position: relative;
    overflow: hidden;
    min-height: 12rem;
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(19, 51, 44, 0.1);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 3.8rem;
    line-height: 1;
}

.quote-card {
    background:
        linear-gradient(160deg, rgba(19, 51, 44, 0.96), rgba(19, 51, 44, 0.83)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
    color: #fefcf7;
}

.quote-card p,
.quote-card .panel-kicker {
    color: rgba(254, 252, 247, 0.86);
}

.cta-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 238, 0.9)),
        linear-gradient(135deg, rgba(166, 89, 59, 0.08), rgba(187, 141, 56, 0.1));
}

.link-stack {
    flex-direction: column;
}

.link-stack a,
.contact-list a,
.contact-list span {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(19, 51, 44, 0.05);
    font-weight: 700;
}

.clean-list {
    margin: 0;
    padding-left: 1.1rem;
}

.ordered-list {
    list-style: decimal;
}

.clean-list li + li {
    margin-top: 0.55rem;
}

.compact-facts {
    gap: 0.7rem;
}

.compact-facts div {
    padding-bottom: 0.7rem;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    position: relative;
    border-radius: var(--radius-md);
    padding: 1.1rem 1.1rem 1.1rem 1.35rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    inset: 1rem auto 1rem 0;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--terracotta), var(--ochre));
}

.policy-card h2 {
    font-size: 1.45rem;
}

.issue-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.note-text {
    margin-top: 1rem;
    color: var(--terracotta);
    font-weight: 700;
}

.subhero {
    padding-bottom: 1rem;
}

.site-footer {
    padding: 1.6rem 0 2.2rem;
    border-top: 1px solid rgba(25, 35, 31, 0.08);
}

.footer-grid {
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: start;
}

.footer-title {
    margin-bottom: 0.5rem;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-meta {
    display: grid;
    gap: 0.5rem;
    justify-items: start;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
}

@media (max-width: 980px) {
    .hero-grid,
    .feature-grid,
    .two-column,
    .footer-grid,
    .card-grid-sections,
    .card-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-copy span {
        white-space: normal;
    }

    .hero,
    .subhero {
        padding-top: 2.6rem;
    }

    .hero-copy,
    .hero-panel,
    .cta-card,
    .quote-card,
    .card,
    .timeline-item {
        padding: 1rem;
    }

    .ribbon {
        border-radius: var(--radius-md);
    }
}
