:root {
    --bg: #efe6d7;
    --bg-deep: #e2d3bf;
    --paper: rgba(255, 251, 245, 0.86);
    --paper-strong: #f8f1e6;
    --text: #1f1914;
    --muted: #66594d;
    --line: rgba(72, 53, 33, 0.16);
    --line-strong: rgba(72, 53, 33, 0.28);
    --copper: #8e4f2f;
    --copper-deep: #6f381d;
    --forest: #1d473f;
    --forest-deep: #14322d;
    --lake: #3b6169;
    --cream: #f7f0e3;
    --shadow: 0 28px 70px rgba(49, 33, 18, 0.14);
    --shadow-soft: 0 18px 46px rgba(49, 33, 18, 0.1);
    --radius: 26px;
    --radius-small: 18px;
    --max-width: 1180px;
    --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top left, rgba(142, 79, 47, 0.16), transparent 30%),
        radial-gradient(circle at top right, rgba(59, 97, 105, 0.2), transparent 28%),
        linear-gradient(180deg, #f6efe4 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

a {
    color: inherit;
}

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

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(244, 236, 224, 0.78);
    border-bottom: 1px solid var(--line);
}

.site-header__inner,
.section,
.page-header,
.site-footer__inner {
    width: min(var(--max-width), calc(100% - 2.4rem));
    margin: 0 auto;
}

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

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

.brand__mark {
    display: grid;
    place-items: center;
    width: 4.1rem;
    height: 4.1rem;
    border-radius: 1.25rem;
    background:
        linear-gradient(160deg, rgba(20, 50, 45, 0.94), rgba(59, 97, 105, 0.96));
    color: #f9f2e6;
    box-shadow: var(--shadow-soft);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.12em;
}

.brand__meta {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.brand__eyebrow,
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--copper);
}

.brand__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1.15;
    max-width: 28rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem 1rem;
}

.site-nav__group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-nav a {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.55rem 0.82rem;
    font-size: 0.88rem;
    color: rgba(31, 25, 20, 0.78);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    background: rgba(29, 71, 63, 0.1);
    color: var(--forest-deep);
    transform: translateY(-1px);
}

.site-nav__group--secondary a {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(72, 53, 33, 0.08);
}

.site-nav__action {
    background: var(--copper) !important;
    color: #fff8f0 !important;
}

main {
    display: block;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 0 0 2rem;
}

.hero--home {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: calc(84svh - 5rem);
    padding: 1.4rem 0 2.4rem;
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(130deg, rgba(20, 50, 45, 0.96), rgba(30, 71, 63, 0.9) 38%, rgba(59, 97, 105, 0.82) 66%, rgba(80, 69, 52, 0.56) 100%),
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.16), transparent 18%),
        repeating-linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
    opacity: 0.98;
}

.hero__backdrop::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 12rem;
    background: linear-gradient(180deg, transparent, rgba(239, 230, 215, 0.92));
}

.hero__grid {
    position: relative;
    z-index: 1;
    width: min(var(--max-width), calc(100% - 2.4rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.75fr);
    gap: 2rem;
    align-items: end;
}

.hero__content {
    padding: 2.2rem;
    color: #f7f0e4;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(18, 45, 40, 0.58), rgba(18, 45, 40, 0.34));
    border: 1px solid rgba(255, 247, 234, 0.14);
    box-shadow: 0 24px 60px rgba(11, 26, 23, 0.22);
    backdrop-filter: blur(6px);
    animation: hero-rise 0.55s ease both;
}

.hero__eyebrow {
    color: rgba(247, 240, 228, 0.82);
    margin-bottom: 1rem;
}

.hero h1,
.page-header h1,
.founder-profile h2,
.founder-card h2,
.section-title h2,
.founder-band h2 {
    margin: 0;
    font-family: var(--font-display);
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.hero h1 {
    max-width: 10ch;
    font-size: clamp(3.5rem, 7vw, 7rem);
    color: #fff7ea;
    text-shadow: 0 8px 24px rgba(10, 26, 23, 0.26);
}

.hero__lead,
.page-header p,
.section-copy,
.card p,
.pillar p,
.lane p,
.funding-table p,
.contact-grid p,
.charter-section p,
.charter-section li,
.statement p,
.founder-profile p,
.founder-card__copy,
.stance-card p,
.founder-band p,
.site-footer__brand p {
    line-height: 1.75;
    font-size: 1.02rem;
}

.hero__lead {
    margin: 1.35rem 0 0;
    max-width: 34rem;
    font-size: 1.22rem;
    color: rgba(255, 247, 234, 0.98);
    text-shadow: 0 5px 18px rgba(10, 26, 23, 0.18);
}

.hero__copy {
    margin: 1rem 0 0;
    max-width: 34rem;
    font-size: 1.04rem;
    color: rgba(255, 247, 234, 0.84);
    line-height: 1.72;
}

.hero__actions,
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
}

.hero__signals li,
.label {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 247, 234, 0.16);
    border: 1px solid rgba(255, 247, 234, 0.22);
    color: #fff7ea;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero__aside {
    display: grid;
    gap: 1rem;
    align-self: center;
    animation: hero-rise 0.55s ease 0.08s both;
}

.founder-card,
.stance-card,
.card,
.pillar,
.lane,
.contact-grid article,
.charter-section,
.funding-table,
.statement,
.founder-profile__content {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.founder-card {
    overflow: hidden;
    background: rgba(249, 242, 230, 0.98);
}

.founder-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.founder-card__body {
    padding: 1.3rem;
}

.founder-card h2 {
    font-size: 2rem;
    margin-top: 0.2rem;
}

.founder-card__meta,
.founder-profile__meta {
    margin: 0.55rem 0 0.9rem;
    color: var(--forest);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.founder-card__copy {
    margin: 0;
    color: var(--muted);
}

.stance-card {
    padding: 1.5rem;
    background: linear-gradient(165deg, rgba(13, 35, 31, 0.96), rgba(32, 78, 70, 0.94));
    color: var(--cream);
}

.stance-card .eyebrow {
    color: rgba(247, 240, 228, 0.7);
}

.stance-card p {
    margin-bottom: 0;
    color: rgba(247, 240, 228, 0.88);
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.95rem 1.35rem;
    font-size: 0.9rem;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button {
    background: var(--copper);
    color: #fff8f0;
    box-shadow: 0 16px 30px rgba(111, 56, 29, 0.22);
}

.button:hover,
.button-secondary:hover,
.text-link:hover {
    transform: translateY(-2px);
}

.button:hover {
    background: var(--copper-deep);
}

.button-secondary {
    border: 1px solid rgba(72, 53, 33, 0.16);
    background: rgba(255, 251, 245, 0.66);
    color: var(--text);
}

.button-secondary:hover {
    background: rgba(255, 251, 245, 0.9);
    border-color: rgba(72, 53, 33, 0.26);
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--copper-deep);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.18s ease, color 0.18s ease;
}

.text-link--light {
    color: #f7f0e4;
}

.page-header,
.section {
    position: relative;
    z-index: 1;
}

.page-header {
    padding: 4rem 0 1.75rem;
}

.page-header h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    margin-top: 0.5rem;
}

.page-header p {
    max-width: 46rem;
    color: var(--muted);
    margin: 1rem 0 0;
}

.section {
    padding: 1.2rem 0 2.6rem;
}

.section-title {
    margin-bottom: 1.4rem;
}

.section-title h2 {
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    margin-top: 0.32rem;
}

.section-copy {
    max-width: 44rem;
    color: var(--muted);
    margin: 0.8rem 0 0;
}

.section--statement {
    margin-top: -3.2rem;
}

.statement-grid,
.grid-3,
.grid-2,
.contact-grid,
.split-cta {
    display: grid;
    gap: 1rem;
}

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

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

.statement {
    padding: 1.45rem 1.35rem 1.25rem;
    background: rgba(255, 251, 245, 0.74);
}

.statement h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.statement p {
    margin: 0;
    color: var(--muted);
}

.section--surface .pillar {
    background: linear-gradient(180deg, rgba(255, 251, 245, 0.86), rgba(244, 236, 224, 0.82));
}

.pillar,
.lane,
.card,
.contact-grid article,
.charter-section {
    padding: 1.55rem;
    background: var(--paper);
}

.card--surface {
    background: rgba(255, 251, 245, 0.8);
}

.card--feature {
    background: linear-gradient(180deg, rgba(29, 71, 63, 0.93), rgba(59, 97, 105, 0.9));
    color: var(--cream);
}

.card--feature p,
.card--feature h3,
.card--feature .eyebrow {
    color: inherit;
}

.pillar h3,
.lane h3,
.card h3,
.contact-grid h3,
.charter-section h2 {
    margin: 0.8rem 0 0.6rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
}

.pillar p,
.lane p,
.card p,
.contact-grid p,
.charter-section p,
.charter-section li {
    color: var(--muted);
}

.section--lanes .lane {
    background: transparent;
    border: 0;
    border-top: 3px solid rgba(29, 71, 63, 0.24);
    border-radius: 0;
    box-shadow: none;
    padding: 1.2rem 0 0;
}

.founder-band {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 1.5rem;
    padding: 2rem;
    border-radius: calc(var(--radius) + 8px);
    background:
        linear-gradient(120deg, rgba(20, 50, 45, 0.96), rgba(22, 61, 54, 0.9) 40%, rgba(59, 97, 105, 0.76) 100%);
    color: var(--cream);
    box-shadow: var(--shadow);
}

.founder-band .eyebrow {
    color: rgba(247, 240, 228, 0.72);
}

.founder-band h2 {
    font-size: clamp(2.1rem, 3.5vw, 3.5rem);
    margin-top: 0.45rem;
}

.founder-band__content p,
.founder-band__note p {
    color: rgba(247, 240, 228, 0.88);
}

.founder-band__note {
    align-self: end;
    padding: 1.2rem 0 0 1.4rem;
    border-left: 1px solid rgba(247, 240, 228, 0.18);
}

.split-cta {
    grid-template-columns: 1.1fr 0.9fr;
}

.section--final-cta .cta-row {
    margin-top: 0;
}

.founder-profile__image {
    width: 100%;
    min-height: 28rem;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.founder-profile__content {
    padding: 2rem;
    background: rgba(255, 251, 245, 0.82);
}

.founder-profile__content--full {
    max-width: 62rem;
}

.founder-profile__image--inline {
    margin-bottom: 1.4rem;
    max-width: 19rem;
}

.founder-profile__content h2 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    margin-top: 0.35rem;
}

.list,
.charter-section ol,
.charter-section ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted);
    line-height: 1.75;
}

.funding-table {
    overflow: hidden;
    background: rgba(255, 251, 245, 0.86);
}

.funding-table table {
    width: 100%;
    border-collapse: collapse;
}

.funding-table th,
.funding-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    line-height: 1.65;
}

.funding-table th {
    background: rgba(29, 71, 63, 0.07);
    font-family: var(--font-display);
    font-size: 1rem;
}

.funding-table tr:last-child td {
    border-bottom: 0;
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: rgba(255, 251, 245, 0.66);
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.8rem 0 2.4rem;
}

.site-footer__brand strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.site-footer__brand p {
    max-width: 32rem;
    margin: 0.55rem 0 0;
    color: var(--muted);
}

.site-footer__links {
    display: grid;
    gap: 0.45rem;
    align-content: start;
}

.site-footer__links a {
    text-decoration: none;
    color: var(--copper-deep);
}

.route-home .page-header {
    padding-top: 3rem;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero__grid,
    .founder-band,
    .split-cta {
        grid-template-columns: 1fr;
    }

    .hero--home {
        min-height: auto;
    }

    .hero__content {
        padding-top: 2rem;
    }

    .founder-band__note {
        border-left: 0;
        border-top: 1px solid rgba(247, 240, 228, 0.18);
        padding: 1.2rem 0 0;
    }
}

@media (max-width: 900px) {
    .site-header__inner,
    .site-nav,
    .grid-3,
    .grid-2,
    .contact-grid,
    .statement-grid {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .site-nav__group {
        width: 100%;
    }

    .hero__content {
        padding-top: 2.9rem;
    }

    .hero__aside {
        grid-auto-flow: row;
    }
}

@media (max-width: 640px) {
    .site-header__inner,
    .section,
    .page-header,
    .site-footer__inner,
    .hero__grid {
        width: min(var(--max-width), calc(100% - 1.2rem));
    }

    .brand__mark {
        width: 3.5rem;
        height: 3.5rem;
    }

    .hero--home {
        padding-top: 0.75rem;
    }

    .hero__content {
        padding: 1.4rem;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(2.8rem, 12vw, 4.4rem);
    }

    .hero__lead {
        font-size: 1.08rem;
    }

    .founder-card,
    .stance-card,
    .card,
    .pillar,
    .contact-grid article,
    .charter-section,
    .funding-table,
    .statement,
    .founder-profile__content,
    .founder-band {
        border-radius: 20px;
    }

    .founder-band,
    .founder-profile__content,
    .card,
    .pillar,
    .contact-grid article,
    .charter-section,
    .statement,
    .stance-card {
        padding: 1.2rem;
    }

    .founder-profile__image {
        min-height: 20rem;
    }

    .founder-profile__image--inline {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .site-footer__inner {
        flex-direction: column;
    }

    .funding-table {
        overflow-x: auto;
    }

    .hero__aside {
        order: 2;
    }

    .hero__content {
        order: 1;
    }
}
