:root {
    --ink: #18231f;
    --muted: #68746f;
    --paper: #fbfaf6;
    --panel: #ffffff;
    --field: #f3f0e8;
    --line: #ddd7c9;
    --nav: #12312a;
    --accent: #0f766e;
    --accent-dark: #0b5f59;
    --gold: #d59a22;
    --gold-soft: #fff3d7;
    --sky: #d9edf1;
    --radius: 6px;
    --shadow: 0 18px 42px rgba(24, 35, 31, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    line-height: 1.62;
    background:
        linear-gradient(90deg, rgba(18, 49, 42, .055) 1px, transparent 1px),
        linear-gradient(180deg, #fff 0, var(--paper) 520px);
    background-size: 72px 72px, auto;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(120deg, rgba(15, 118, 110, .08), transparent 30%, rgba(213, 154, 34, .10) 86%);
    z-index: -1;
}

a {
    color: var(--accent-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

a:hover {
    color: #08443f;
}

p {
    color: var(--muted);
    margin-bottom: 1rem;
}

img,
svg {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1.16;
}

h1 {
    font-size: clamp(1.7rem, 2.35vw, 2.12rem);
}

h2 {
    font-size: clamp(1.28rem, 1.9vw, 1.72rem);
}

h3 {
    font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.lead,
.hero .lead,
.fs-4 {
    font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
    line-height: 1.68;
}

.container {
    max-width: 1160px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 250, 246, .94);
    border-bottom: 1px solid rgba(18, 49, 42, .14);
    box-shadow: 0 8px 24px rgba(24, 35, 31, .08);
    backdrop-filter: blur(16px);
}

.navbar {
    padding: .68rem 0;
}

.navbar .container {
    gap: 1rem;
}

.navbar-brand img {
    width: 185px;
    height: auto;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(18, 49, 42, .22);
}

.navbar-dark .navbar-toggler-icon {
    filter: invert(1);
}

.nav-link,
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    color: rgba(24, 35, 31, .72);
    font-size: .9rem;
    font-weight: 720;
    padding: .55rem .62rem;
}

.navbar-nav {
    gap: .05rem;
}

.nav-link:hover,
.nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--ink);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: .62rem;
    right: .62rem;
    bottom: .24rem;
    height: 2px;
    background: var(--gold);
}

.btn {
    border-radius: var(--radius);
    font-weight: 760;
    letter-spacing: 0;
    padding: .58rem .9rem;
    white-space: normal;
}

.btn-lg {
    padding: .68rem 1.05rem;
    font-size: .98rem;
}

.btn-cta {
    background: var(--gold);
    border-color: var(--gold);
    color: #1c1608;
    box-shadow: 0 10px 20px rgba(213, 154, 34, .20);
}

.btn-cta:hover,
.btn-cta:focus {
    background: #c78915;
    border-color: #c78915;
    color: #171006;
}

.btn-main {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-main:hover,
.btn-main:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .08);
}

.btn-outline-light:hover {
    color: var(--ink);
    border-color: #fff;
    background: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--accent-dark);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 840;
    margin-bottom: .7rem;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.section {
    padding: 64px 0;
}

.section-alt {
    position: relative;
    background: linear-gradient(180deg, rgba(217, 237, 241, .66), rgba(251, 250, 246, .96));
    border-block: 1px solid rgba(18, 49, 42, .10);
}

main > .section:first-child {
    position: relative;
    overflow: hidden;
    padding: 52px 0;
    background:
        linear-gradient(90deg, rgba(18, 49, 42, .92), rgba(18, 49, 42, .78)),
        linear-gradient(135deg, var(--sky), var(--gold-soft));
    border-bottom: 4px solid var(--gold);
}

main > .section:first-child::after {
    content: "";
    position: absolute;
    right: max(24px, calc((100vw - 1160px) / 2));
    bottom: -30px;
    width: 210px;
    height: 92px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, .28) 48% 52%, transparent 52%),
        repeating-linear-gradient(0deg, rgba(213, 154, 34, .88) 0 16px, transparent 16px 30px);
    opacity: .52;
    transform: rotate(-8deg);
}

main > .section:first-child .container {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

main > .section:first-child h1,
main > .section:first-child h2,
.section-dark h1,
.section-dark h2,
.split-band h2 {
    color: #fff;
}

main > .section:first-child .lead,
.section-dark p,
.split-band p {
    color: rgba(255, 255, 255, .82);
}

main > .section:first-child .eyebrow,
.section-dark .eyebrow,
.split-band .eyebrow,
.hero .eyebrow {
    color: var(--gold-soft);
}

main > article.section:first-child {
    padding: 58px 0 70px;
    background:
        linear-gradient(180deg, rgba(217, 237, 241, .72), rgba(251, 250, 246, .96)),
        var(--paper);
    border-bottom: 1px solid rgba(18, 49, 42, .12);
}

main > article.section:first-child::after {
    opacity: .18;
}

main > article.section:first-child .container {
    max-width: 920px;
}

main > article.section:first-child h1,
main > article.section:first-child h2 {
    color: var(--ink);
}

main > article.section:first-child p,
main > article.section:first-child .lead {
    color: var(--muted);
}

main > article.section:first-child .eyebrow {
    color: var(--accent-dark);
}

.section-dark {
    background:
        linear-gradient(135deg, rgba(18, 49, 42, .98), rgba(11, 95, 89, .92)),
        var(--nav);
    color: #fff;
}

.layout-ribbon {
    border-top: 0;
}

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(18, 49, 42, .94), rgba(18, 49, 42, .72) 48%, rgba(18, 49, 42, .18)),
        var(--hero) center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 56px, transparent 56px 86px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(1.82rem, 2.65vw, 2.28rem);
}

.hero .lead {
    max-width: 680px;
    color: rgba(255, 255, 255, .86);
}

.hero-panel {
    position: relative;
    background: rgba(251, 250, 246, .93);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-panel::before {
    content: "START";
    position: absolute;
    top: -13px;
    left: 18px;
    padding: .2rem .55rem;
    background: var(--gold);
    color: #1c1608;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 860;
    letter-spacing: .08em;
}

.hero-panel strong {
    display: block;
    color: var(--accent-dark);
    font-size: 1.32rem;
    line-height: 1.1;
}

.hero-panel span {
    color: var(--muted);
}

.hero-panel hr {
    margin: 1rem 0;
    border-color: rgba(18, 49, 42, .20);
}

.trust-strip {
    background: var(--nav);
    color: rgba(255, 255, 255, .82);
    font-size: .9rem;
    font-weight: 720;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.trust-strip span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
}

.feature-card,
.post-card,
.stat-card,
.path-card,
.locator-panel {
    height: 100%;
    background: rgba(255, 255, 255, .93);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(24, 35, 31, .06);
}

.feature-card,
.post-card,
.path-card {
    padding: 22px;
}

.feature-card,
.post-card {
    border-top: 3px solid rgba(15, 118, 110, .78);
}

.feature-card,
.post-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.feature-card:hover,
.post-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, .34);
    box-shadow: var(--shadow);
}

.feature-card ul {
    padding-left: 1.1rem;
    color: var(--muted);
    margin-bottom: 1.1rem;
}

.post-card {
    display: flex;
    flex-direction: column;
}

.post-card .btn,
.feature-card .btn {
    align-self: flex-start;
}

.stat-card {
    min-height: 104px;
    padding: 18px;
    border-left: 4px solid var(--gold);
    background: linear-gradient(180deg, #fff, #fbfaf6);
}

.stat-card strong {
    display: block;
    color: var(--accent-dark);
    font-size: 1.52rem;
    line-height: 1.08;
}

.stat-card span {
    color: var(--muted);
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.path-card {
    position: relative;
    padding-top: 50px;
    overflow: hidden;
}

.path-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 54px;
    height: 100%;
    background: linear-gradient(180deg, rgba(217, 237, 241, .66), transparent);
}

.path-card span {
    /*position: absolute;*/
    top: 18px;
    left: 18px;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--nav);
    color: #fff;
    font-size: .9rem;
    font-weight: 850;
    margin-bottom: 10px;
}

.path-card h3,
.path-card p {
    position: relative;
    z-index: 1;
}

.locator-panel {
    padding: 24px;
    border-top: 4px solid var(--accent);
}

.academy-band {
    background:
        linear-gradient(180deg, rgba(255, 243, 215, .64), rgba(251, 250, 246, .88)),
        var(--paper);
    border-block: 1px solid rgba(213, 154, 34, .22);
}

.split-band {
    padding: 42px 0;
    background:
        linear-gradient(90deg, rgba(18, 49, 42, .96), rgba(15, 118, 110, .88)),
        var(--nav);
    color: #fff;
    border-block: 1px solid rgba(255, 255, 255, .12);
}

.split-band .btn {
    flex: 0 0 auto;
}

.faq details {
    background: rgba(255, 255, 255, .94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 17px 19px;
    margin-bottom: 12px;
    box-shadow: 0 8px 22px rgba(24, 35, 31, .05);
}

.faq summary {
    color: var(--ink);
    font-weight: 780;
    cursor: pointer;
}

.faq details p {
    color: var(--muted);
}

.faq details[open] {
    border-color: rgba(15, 118, 110, .34);
}

.article-body {
    max-width: 820px;
}

.container.article-body {
    width: min(920px, calc(100% - 32px));
    max-width: 920px;
}

.article-body {
    position: relative;
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
}

.article-body .lead {
    max-width: 760px;
    color: #4f5d58;
}

.article-body h2 {
    position: relative;
    display: block;
    padding-left: 38px;
    margin-top: 2.05rem;
    margin-bottom: .65rem;
}

.article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 26px;
    height: 3px;
    background: var(--gold);
}

.article-body p {
    color: #56645f;
}

.article-body li {
    margin-bottom: .45rem;
    color: var(--muted);
}

.article-body > .btn {
    margin-top: .5rem;
}

.form-label,
label {
    color: var(--ink);
    font-weight: 700;
    font-size: .9rem;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: var(--radius);
    background-color: #fff;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .16);
}

.site-footer {
    background: #10251f;
    color: rgba(255, 255, 255, .74);
    padding: 50px 0 42px;
    border-top: 5px solid var(--gold);
}

.site-footer img {
    width: 185px;
    height: auto;
}

.site-footer p {
    color: rgba(255, 255, 255, .70);
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
    margin: .38rem 0;
    overflow-wrap: anywhere;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.footer-title {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .85rem;
}

.mobile-cta {
    display: none;
}

@media (max-width: 1199px) {
    .navbar-collapse {
        margin-top: .7rem;
        padding: .85rem;
        background: rgba(255, 255, 255, .96);
        border: 1px solid rgba(18, 49, 42, .12);
        border-radius: var(--radius);
        box-shadow: 0 18px 34px rgba(24, 35, 31, .10);
    }

    .nav-link.active::after {
        left: 0;
        right: auto;
        width: 38px;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: .56rem .2rem;
    }

    .navbar-nav .btn-cta {
        display: block;
        width: 100%;
        margin: .7rem 0 0 !important;
        text-align: center;
    }
}

@media (max-width: 991px) {
    .section {
        padding: 44px 0;
    }

    .hero {
        min-height: auto;
        padding: 58px 0 48px;
        background-position: 58% center;
    }

    .hero::before {
        inset: 14px;
    }

    .hero-panel {
        margin-top: 18px;
    }

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

    .mobile-cta {
        display: block;
        position: static;
        width: auto;
        margin: 12px;
        box-shadow: 0 14px 28px rgba(24, 35, 31, .26);
    }

    .split-band {
        padding: 36px 0;
    }

    .site-footer {
        padding: 42px 0 36px;
    }
}

@media (max-width: 575px) {
    body {
        background-size: 56px 56px, auto;
    }

    h1 {
        font-size: 1.58rem;
    }

    h2 {
        font-size: 1.22rem;
    }

    .hero h1 {
        font-size: 1.58rem;
        max-width: 100%;
    }

    .lead,
    .hero .lead,
    .fs-4 {
        font-size: 1rem !important;
        line-height: 1.58;
    }

    .navbar-brand img,
    .site-footer img {
        width: 154px;
    }

    .navbar {
        padding: .54rem 0;
    }

    .navbar-toggler {
        padding: .42rem .58rem;
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        padding: 44px 0 38px;
    }

    .hero::before {
        inset: 12px;
    }

    .hero .d-flex {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: .75rem !important;
    }

    .hero .btn {
        width: 100%;
    }

    .hero-panel {
        padding: 20px;
    }

    .hero-panel strong {
        font-size: 1.18rem;
    }

    .trust-strip .container {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: .55rem !important;
    }

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

    .feature-card,
    .post-card,
    .path-card,
    .locator-panel {
        padding: 18px;
    }

    main > .section:first-child {
        padding: 36px 0;
    }

    main > article.section:first-child {
        padding: 34px 0 42px;
    }

    main > .section:first-child::after {
        width: 150px;
        height: 66px;
        right: -22px;
        bottom: -26px;
    }

    .stat-card {
        min-height: auto;
    }

    .post-card .btn,
    .feature-card .btn,
    .mobile-cta {
        width: 100%;
        text-align: center;
    }

    .article-body {
        padding: 22px 18px;
    }

    .article-body h2 {
        padding-top: 12px;
        padding-left: 0;
        margin-top: 1.75rem;
    }

    .article-body h2::before {
        width: 18px;
        top: 0;
    }

    .split-band .container {
        display: block !important;
    }

    .split-band .btn {
        width: 100%;
        margin-top: 1rem;
    }
}
