:root {
    --navy: #0f2235;
    --ink: #142033;
    --gold: #b9822c;
    --gold2: #e2bd73;
    --teal: #1fa6aa;
    --paper: #f6f2ea;
    --white: #fffdf8;
    --line: #ded5c6;
}

body {
    background: var(--paper);
    color: var(--ink);
}

.brand {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.brand-mark {
    display: block;
    height: 34px;
    width: 34px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.site-header {
    min-height: 70px;
    padding-block: 12px;
}

.button,
button {
    background: linear-gradient(180deg, #c9943b, #ad7724);
    border-color: #b9822c;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .16);
    min-height: 42px;
    padding-inline: 18px;
}

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

.button.ghost {
    background: transparent;
    color: var(--ink);
    text-shadow: none;
}

.hero .button.ghost,
.page-hero .button.ghost,
.course-panel .button.ghost,
.button.ghost-light,
.book-preview .button.ghost-light {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .46);
    color: #fff;
    text-shadow: none;
}

.hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(360px, .86fr) minmax(430px, 1fr);
    gap: clamp(20px, 3vw, 48px);
    padding: clamp(42px, 5vw, 62px) clamp(28px, 6vw, 86px);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 42%, rgba(226, 189, 115, .18), transparent 28%),
        linear-gradient(90deg, rgba(7, 19, 33, .98) 0%, rgba(10, 28, 45, .94) 43%, rgba(10, 28, 45, .52) 68%, rgba(10, 28, 45, .16) 100%),
        #0b1c2e;
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero h1 {
    font-size: clamp(2.55rem, 4.1vw, 4rem);
    font-weight: 650;
    line-height: 1.04;
    max-width: 640px;
    margin-bottom: 18px;
}

.hero .lead {
    color: #f0e8dc;
    font-size: clamp(1rem, 1.2vw, 1.16rem);
    line-height: 1.55;
    max-width: 540px;
}

.hero-copy {
    max-width: 650px;
    position: relative;
    z-index: 2;
    align-self: start;
    padding-top: clamp(26px, 4vw, 54px);
}

.hero-visual {
    align-self: stretch;
    height: auto;
    min-height: 420px;
    margin: -42px -86px -62px 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    z-index: 1;
}

.hero-visual img {
    display: block;
    height: 100%;
    min-height: 420px;
    width: 100%;
    object-fit: cover;
    object-position: center 43%;
    border-radius: 0;
    filter: saturate(.78) contrast(1.08) brightness(.74);
    opacity: .92;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.22) 10%, #000 35%);
}

.command-card {
    display: none;
}

.command-card h2 {
    font-size: 1.18rem;
    margin-block: 10px 6px;
}

.command-card p {
    font-size: .92rem;
    margin-block: 0 10px;
}

.progress-bar {
    height: 8px;
}

main > section {
    padding-top: clamp(34px, 4.2vw, 58px);
    padding-bottom: clamp(34px, 4.2vw, 58px);
}

h2 {
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1;
    max-width: 900px;
}

.page-hero p {
    font-size: clamp(1.04rem, 1.5vw, 1.32rem);
}

.lead-dark {
    font-size: 1.16rem;
}

.intro-band p,
.split p,
.section-heading p,
.course-panel p,
.organization-band p {
    font-size: 1rem;
}

.intro-band,
.split,
.organization-band {
    background: #fffaf2;
}

.outcome-strip article {
    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.method-band {
    background: #eee7dc;
}

.course-panel {
    background:
        radial-gradient(circle at 90% 12%, rgba(31, 166, 170, .18), transparent 26%),
        linear-gradient(135deg, #0f2235, #152d43);
}

.module-list article {
    background: rgba(255, 255, 255, .095);
}

.organization-band .button {
    white-space: nowrap;
}

.image-stack > img {
    height: 280px;
}

.pain-grid article,
.pillars article,
.card,
.panel {
    padding: 18px;
}

.module-list article {
    padding: 13px;
}

.book-preview {
    background:
        radial-gradient(circle at 80% 20%, rgba(31, 166, 170, .20), transparent 34%),
        linear-gradient(135deg, #0d1d2f, #111c27);
}

.book-art img {
    height: auto;
    max-height: none;
    object-fit: contain;
}

.final-cta {
    background: linear-gradient(135deg, #fffaf2, #eee7dc);
}

.assessment-hero {
    background:
        radial-gradient(circle at 12% 16%, rgba(31, 166, 170, .18), transparent 28%),
        linear-gradient(135deg, #0d1d2f, #12283d);
}

.assessment-shell {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(420px, 1.18fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
    background: #fffaf2 !important;
    padding-top: 30px;
    padding-bottom: 42px;
}

.assessment-intro {
    position: static;
}

.assessment-intro h1 {
    color: var(--navy);
    font-size: clamp(1.9rem, 2.4vw, 2.45rem);
    line-height: 1.06;
    margin: 0 0 12px;
    max-width: 520px;
}

.assessment-lead {
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: 22px;
    max-width: 520px;
}

.assessment-intro h2 {
    font-size: 1.55rem;
    margin-bottom: 10px;
}

.assessment-card,
.assessment-result {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(15, 34, 53, .10);
    padding: clamp(22px, 3vw, 34px);
}

.assessment-card {
    padding: 24px;
}

.assessment-progress {
    height: 8px;
    background: #eee7dc;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 22px;
}

.assessment-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    border-radius: inherit;
    transition: width .2s ease;
}

.assessment-step {
    display: none;
}

.assessment-step.is-active {
    display: grid;
    gap: 12px;
}

.assessment-step h2 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    margin-bottom: 8px;
}

.assessment-step label {
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    padding: 14px;
}

.assessment-step label:has(input:checked) {
    border-color: var(--teal);
    background: rgba(31, 166, 170, .08);
}

.assessment-step input {
    margin-top: 4px;
    width: auto;
}

.assessment-controls {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 22px;
}

.assessment-submit {
    display: none;
}

.assessment-result {
    grid-column: 2;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.result-grid article {
    background: #f6f2ea;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 8px;
    padding: 16px;
}

.result-grid strong {
    color: var(--navy);
}

.result-grid span,
.assessment-note {
    color: var(--muted);
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero h1 {
        max-width: 780px;
    }

    .hero-visual {
        max-width: 760px;
        height: 340px;
        min-height: 0;
        margin: 18px 0 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .hero-visual img {
        height: 340px;
        min-height: 0;
        border-radius: 8px;
        mask-image: linear-gradient(180deg, #000 0%, #000 100%);
    }
}

@media (max-width: 700px) {
    body {
        overflow-x: hidden;
    }

    main,
    main > section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .site-header {
        min-height: auto;
        display: flex;
        padding: 13px 18px;
    }

    .site-header nav {
        display: none;
    }

    .brand {
        min-width: 0;
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .brand-mark {
        height: 30px;
        width: 30px;
    }

    .hero {
        display: block;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.35rem);
        line-height: 1.04;
        max-width: 350px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.35rem);
        line-height: 1.04;
        max-width: 350px;
    }

    .page-hero p {
        font-size: 1rem;
        max-width: 350px;
    }

    .assessment-shell {
        grid-template-columns: 1fr;
    }

    .assessment-intro {
        position: static;
    }

    .assessment-result {
        grid-column: auto;
    }

    .assessment-card,
    .assessment-result,
    .assessment-intro {
        max-width: 350px;
    }

    .assessment-step h2 {
        font-size: 1.45rem;
        line-height: 1.12;
    }

    .assessment-step label {
        font-size: .94rem;
        line-height: 1.35;
    }

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

    .hero .lead,
    .hero-copy {
        max-width: 350px;
    }

    .hero-copy {
        padding-top: 0;
    }

    .hero-visual,
    .hero-visual img {
        height: auto;
        min-height: 0;
        width: 100%;
    }

    .hero-proof span,
    .book-points span {
        font-size: .82rem;
    }

    .command-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        border-radius: 0 0 8px 8px;
    }

    .hero-visual::after {
        display: none;
    }

    .book-art img {
        max-height: none;
    }
}

@media (max-width: 560px) {
    body {
        line-height: 1.48;
    }

    main > section {
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .hero {
        padding-top: 36px;
    }

    .actions {
        gap: 10px;
        margin-top: 20px;
    }

    .hero-proof {
        margin-top: 20px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 0;
    }

    .image-stack > img,
    .organization-band img {
        height: 220px;
    }

    .book-preview {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

@media (min-width: 1101px) {
    .hero {
        align-items: center !important;
        background:
            linear-gradient(90deg, rgba(7, 19, 33, 1) 0%, rgba(7, 19, 33, 1) 44%, rgba(7, 19, 33, .96) 51%, rgba(10, 28, 45, .78) 59%, rgba(10, 28, 45, .34) 72%, rgba(10, 28, 45, .12) 100%),
            linear-gradient(90deg, #071321 0%, rgba(7, 19, 33, .96) 18%, rgba(7, 19, 33, .65) 36%, rgba(7, 19, 33, 0) 58%),
            url("/assets/img/hero-focus-wide.jpg") right center / auto 100% no-repeat,
            #0b1c2e !important;
        height: min(520px, calc(100vh - 70px)) !important;
        min-height: 0 !important;
        padding: clamp(30px, 4vh, 44px) 86px !important;
    }

    .hero-copy {
        align-self: center !important;
        padding-top: 0 !important;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 2.8vw, 3.05rem) !important;
        line-height: 1.06 !important;
        max-width: 650px !important;
    }

    .hero .lead {
        font-size: 1rem !important;
        max-width: 590px !important;
    }

    .hero-visual {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
    }

    .hero-visual img {
        height: 0 !important;
        min-height: 0 !important;
    }

    .hero::before,
    .hero::after {
        display: none !important;
    }
}

.assessment-page {
    background: #fffaf2;
    padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px) clamp(44px, 6vw, 82px);
}

.assessment-topline {
    max-width: 980px;
    margin: 0 auto 18px;
    text-align: center;
}

.assessment-topline h1 {
    color: var(--navy);
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.04;
    margin: 0 0 10px;
}

.assessment-topline p {
    color: var(--muted);
    font-size: 1.04rem;
    margin: 0 auto;
    max-width: 760px;
}

.assessment-primary {
    margin: 0 auto;
    max-width: 980px;
}

.assessment-primary .assessment-step h2 {
    font-size: clamp(1.55rem, 2.4vw, 2.25rem);
    max-width: 840px;
}

.assessment-result {
    margin: 28px auto 0;
    max-width: 1100px;
}

.result-hero {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr auto;
    margin-bottom: 22px;
}

.result-hero h2 {
    margin-bottom: 10px;
}

.result-hero p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 820px;
}

.result-badge {
    align-items: center;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-weight: 900;
    justify-content: center;
    min-width: 116px;
    padding: 18px;
    text-align: center;
}

.profile-bars {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0 24px;
}

.profile-bars div {
    display: grid;
    gap: 8px;
}

.profile-bars span {
    color: var(--ink);
    font-weight: 800;
}

.profile-bars i {
    background: #eee7dc;
    border-radius: 999px;
    display: block;
    height: 10px;
    overflow: hidden;
}

.profile-bars b {
    background: linear-gradient(90deg, var(--teal), var(--gold));
    border-radius: inherit;
    display: block;
    height: 100%;
    width: 0;
}

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

.result-next {
    align-items: center;
    background: #f6f2ea;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr auto;
    margin-top: 20px;
    padding: 18px;
}

.result-next p {
    color: var(--muted);
    margin: 6px 0 0;
}

.profile-type-guide {
    margin: clamp(34px, 5vw, 64px) auto 0;
    max-width: 1180px;
    padding: 0;
}

.profile-type-guide .section-heading {
    margin-bottom: 22px;
}

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

.profile-type-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 34, 53, .08);
    padding: 20px;
}

.profile-type-grid article.is-match {
    border-color: var(--teal);
    box-shadow: 0 22px 70px rgba(31, 166, 170, .18);
}

.type-icon {
    align-items: center;
    background: var(--navy);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    margin-bottom: 12px;
    width: 38px;
}

.profile-type-grid article.is-match .type-icon {
    background: linear-gradient(135deg, var(--teal), var(--gold));
}

.profile-type-grid h3 {
    color: var(--navy);
    margin: 0 0 8px;
}

.profile-type-grid p {
    color: var(--muted);
    margin: 0;
}

@media (max-width: 900px) {
    .assessment-page {
        padding: 18px;
    }

    .assessment-topline {
        text-align: left;
    }

    .assessment-topline h1 {
        font-size: 1.65rem;
    }

    .assessment-topline p {
        font-size: .96rem;
    }

    .assessment-primary,
    .assessment-card,
    .assessment-result,
    .assessment-intro {
        max-width: none !important;
    }

    .assessment-primary {
        padding: 18px;
    }

    .assessment-primary .assessment-step h2 {
        font-size: 1.35rem;
    }

    .result-hero,
    .result-next,
    .assessment-result .result-grid,
    .profile-bars,
    .profile-type-grid {
        grid-template-columns: 1fr;
    }

    .result-badge {
        min-width: 86px;
        width: 86px;
    }
}
