:root {
    --cream: #faf7d5;
    --gold: #d4a017;
    --sand: #c9b07a;
    --brown: #6a4722;
    --ink: #1c1a16;
    --paper: #fffef2;
    --canvas: #e5dfbd;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--canvas);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas);
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0;
}

button,
a {
    font: inherit;
}

a {
    color: inherit;
}

.poster-page {
    min-height: 100vh;
    padding: 24px 16px 48px;
}

.poster-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(8.5in, 100%);
    min-height: 42px;
    margin: 0 auto 12px;
}

.back-link {
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.print-button,
.card-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 40px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    padding: 9px 15px;
    color: var(--paper);
    background: var(--ink);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.print-button:hover,
.print-button:focus-visible,
.card-link:hover,
.card-link:focus-visible {
    color: var(--ink);
    background: var(--gold);
}

.print-button:focus-visible,
.card-link:focus-visible,
.back-link:focus-visible {
    outline: 3px solid var(--paper);
    outline-offset: 2px;
}

.sheet {
    position: relative;
    width: 8.5in;
    height: 11in;
    margin: 0 auto;
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 22px 60px rgba(28, 26, 22, 0.18);
    isolation: isolate;
}

.brand-mark {
    margin: 0;
    font-weight: 800;
    line-height: 1;
}

.brand-mark span,
.gold {
    color: var(--gold);
}

.fine-print {
    color: var(--brown);
    font-size: 0.48rem;
    line-height: 1.45;
}

/* Editorial facts poster */
.editorial-sheet {
    display: flex;
    flex-direction: column;
    padding: 0.48in 0.54in 0.38in;
}

.editorial-sheet::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 1.15in;
    height: 100%;
    border-left: 1px solid rgba(106, 71, 34, 0.12);
    background-color: rgba(201, 176, 122, 0.08);
    content: "";
}

.e-masthead {
    border-top: 9px solid var(--ink);
    padding-top: 14px;
}

.e-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}

.e-brand-row .brand-mark {
    font-size: 1.55rem;
}

.e-edition {
    margin: 0;
    color: var(--brown);
    font-size: 0.62rem;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
}

.e-eyebrow {
    margin: 0 0 5px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.e-title {
    max-width: 6.4in;
    margin: 0;
    font-size: 2.42rem;
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
}

.e-title span {
    display: block;
    color: var(--brown);
}

.e-standfirst {
    max-width: 5.7in;
    margin: 12px 0 18px;
    color: var(--brown);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
}

.e-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 22px;
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
}

.e-stat {
    min-width: 0;
    padding: 11px 12px 10px;
    border-right: 1px solid var(--sand);
}

.e-stat:first-child {
    padding-left: 0;
}

.e-stat:last-child {
    border-right: 0;
    padding-right: 0;
}

.e-stat-value {
    display: block;
    color: var(--brown);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1;
}

.e-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 0.56rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.e-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 18px;
}

.e-topic {
    min-width: 0;
    border-top: 3px solid var(--gold);
    padding-top: 9px;
}

.e-topic-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 6px;
}

.e-topic-number {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 800;
}

.e-topic h2 {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.e-topic p {
    margin: 0;
    font-size: 0.66rem;
    line-height: 1.48;
}

.e-topic strong,
.e-action strong {
    color: var(--brown);
    font-weight: 700;
}

.e-action {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 26px;
    margin-top: 20px;
    border: 2px solid var(--brown);
    padding: 14px 16px;
    background: rgba(255, 254, 242, 0.42);
}

.e-action h2 {
    margin: 0 0 4px;
    color: var(--brown);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.e-action p {
    margin: 0;
    font-size: 0.62rem;
    line-height: 1.45;
}

.e-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-top: auto;
    padding-top: 18px;
}

.e-footer .fine-print {
    max-width: 4.8in;
    margin: 0;
}

.e-callout {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
}

@media screen and (max-width: 860px) {
    .poster-page {
        padding: 12px 0 0;
    }

    .poster-tools {
        padding: 0 12px;
    }

    .sheet {
        width: 100%;
        height: auto;
        min-height: 100vh;
        box-shadow: none;
    }
}

@media screen and (max-width: 620px) {
    .editorial-sheet {
        padding: 28px 22px 24px;
    }

    .e-title {
        font-size: 2rem;
    }

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

    .e-stat:nth-child(2) {
        border-right: 0;
    }

    .e-stat:nth-child(3),
    .e-stat:nth-child(4) {
        border-top: 1px solid var(--sand);
    }

    .e-stat:nth-child(3) {
        padding-left: 0;
    }

    .e-topics,
    .e-action {
        grid-template-columns: 1fr;
    }

    .e-topic p,
    .e-action p {
        font-size: 0.72rem;
    }

    .e-footer {
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .e-callout {
        text-align: left;
    }
}

@media print {
    @page {
        size: Letter portrait;
        margin: 0;
    }

    html,
    body {
        width: 8.5in;
        height: 11in;
        background: var(--cream);
    }

    body {
        min-height: 0;
        padding: 0;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .poster-tools {
        display: none;
    }

    .sheet {
        width: 8.5in;
        height: 11in;
        min-height: 11in;
        margin: 0;
        box-shadow: none;
    }
}

/* Diagnostic pathway poster */
.pathway-sheet {
    display: flex;
    flex-direction: column;
    padding: 0.42in 0.48in 0.34in;
}

.p-header {
    padding: 20px 22px 22px;
    color: var(--paper);
    background: var(--ink);
}

.p-brand-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}

.p-brand-row .brand-mark {
    font-size: 1.25rem;
}

.p-series {
    margin: 0;
    color: var(--sand);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
}

.p-kicker {
    margin: 0 0 5px;
    color: var(--gold);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.p-title {
    max-width: 6.2in;
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.p-subtitle {
    max-width: 5.8in;
    margin: 9px 0 0;
    color: var(--sand);
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.4;
}

.p-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
    border-left: 1px solid var(--sand);
}

.p-stat {
    min-width: 0;
    padding: 11px 12px;
    border-right: 1px solid var(--sand);
    background: rgba(255, 254, 242, 0.42);
}

.p-stat:last-child {
    border-right: 0;
}

.p-stat strong {
    display: block;
    color: var(--brown);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1;
}

.p-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.49rem;
    font-weight: 700;
    line-height: 1.28;
    text-transform: uppercase;
}

.p-layout {
    display: grid;
    grid-template-columns: 1.7in minmax(0, 1fr);
    gap: 24px;
    margin-top: 22px;
}

.p-context {
    border-right: 1px solid var(--sand);
    padding-right: 18px;
}

.p-context-block {
    padding: 12px 0;
    border-top: 3px solid var(--gold);
}

.p-context-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.p-context h2,
.p-journey-title {
    margin: 0 0 6px;
    color: var(--brown);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.p-context p {
    margin: 0;
    font-size: 0.58rem;
    line-height: 1.48;
}

.p-context strong,
.p-step strong,
.p-support strong {
    color: var(--brown);
    font-weight: 700;
}

.p-journey-title {
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 0.76rem;
}

.p-step {
    position: relative;
    min-height: 1.18in;
    border: 1px solid var(--sand);
    padding: 13px 14px 13px 58px;
    background: rgba(255, 254, 242, 0.5);
}

.p-step-number {
    position: absolute;
    top: 13px;
    left: 14px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--ink);
    background: var(--gold);
    font-size: 0.65rem;
    font-weight: 800;
}

.p-step h3 {
    margin: 0 0 5px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.p-step p {
    margin: 0;
    font-size: 0.61rem;
    line-height: 1.43;
}

.p-marker-line {
    margin-top: 7px;
    border-top: 1px solid var(--sand);
    padding-top: 6px;
    color: var(--brown);
    font-size: 0.53rem;
    font-weight: 700;
    line-height: 1.35;
}

.p-connector {
    width: 3px;
    height: 14px;
    margin-left: 28px;
    background: var(--gold);
}

.p-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
    border-top: 4px solid var(--ink);
    padding-top: 10px;
}

.p-support h3 {
    margin: 0 0 4px;
    color: var(--brown);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.p-support p {
    margin: 0;
    font-size: 0.53rem;
    line-height: 1.4;
}

.p-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: auto;
    padding-top: 12px;
}

.p-footer .fine-print {
    max-width: 5.3in;
    margin: 0;
}

.p-footer-tag {
    margin: 0;
    color: var(--brown);
    font-size: 0.58rem;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
}

/* Community awareness poster */
.community-sheet {
    display: flex;
    flex-direction: column;
}

.c-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    padding: 0 0.48in;
    color: var(--paper);
    background: var(--ink);
}

.c-topbar .brand-mark {
    font-size: 1.35rem;
}

.c-edition {
    margin: 0;
    color: var(--sand);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
}

.c-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr;
    min-height: 2.18in;
    border-bottom: 8px solid var(--gold);
}

.c-hero-copy {
    padding: 28px 18px 25px 0.48in;
}

.c-kicker {
    margin: 0 0 6px;
    color: var(--brown);
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.c-title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.02;
    text-transform: uppercase;
}

.c-intro {
    max-width: 4.2in;
    margin: 12px 0 0;
    color: var(--brown);
    font-size: 0.67rem;
    font-weight: 600;
    line-height: 1.45;
}

.c-monogram {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    color: var(--cream);
    background: var(--brown);
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1;
}

.c-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 0.48in 0.32in;
}

.c-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 17px;
    border-top: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
}

.c-stat {
    padding: 10px 14px;
    border-right: 1px solid var(--sand);
}

.c-stat:first-child {
    padding-left: 0;
}

.c-stat:last-child {
    border-right: 0;
}

.c-stat strong {
    display: block;
    color: var(--brown);
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1;
}

.c-stat span {
    display: block;
    margin-top: 4px;
    font-size: 0.53rem;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.c-symptoms {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    padding: 15px 17px;
    color: var(--paper);
    background: var(--ink);
}

.c-symptoms h2 {
    margin: 0 0 6px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.c-symptoms p {
    margin: 0;
    color: var(--sand);
    font-size: 0.58rem;
    line-height: 1.45;
}

.c-symptom-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.c-symptom-list li {
    position: relative;
    padding-left: 13px;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1.3;
}

.c-symptom-list li::before {
    position: absolute;
    top: 0.28em;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--gold);
    content: "";
}

.c-markers {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(201, 176, 122, 0.5);
    padding-top: 7px;
    color: var(--paper) !important;
    font-weight: 600;
}

.c-eighty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 17px;
}

.c-eighty {
    display: grid;
    grid-template-columns: 0.8in 1fr;
    gap: 12px;
    align-items: start;
    border-top: 4px solid var(--gold);
    padding-top: 10px;
}

.c-eighty-value {
    color: var(--brown);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
}

.c-eighty h2 {
    margin: 0 0 4px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.c-eighty p {
    margin: 0;
    font-size: 0.55rem;
    line-height: 1.42;
}

.c-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 17px;
}

.c-fact {
    border-top: 1px solid var(--brown);
    padding-top: 8px;
}

.c-fact h2 {
    margin: 0 0 5px;
    color: var(--brown);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.c-fact p {
    margin: 0;
    font-size: 0.54rem;
    line-height: 1.42;
}

.c-fact strong,
.c-eighty strong {
    color: var(--brown);
    font-weight: 700;
}

.c-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    margin-top: auto;
    padding-top: 14px;
}

.c-footer .fine-print {
    max-width: 4.8in;
    margin: 0;
}

.c-footer-message {
    margin: 0;
    color: var(--brown);
    font-size: 0.66rem;
    font-weight: 800;
    text-align: right;
    text-transform: uppercase;
}

@media screen and (max-width: 620px) {
    .pathway-sheet {
        padding: 22px 18px 24px;
    }

    .p-header {
        padding: 18px;
    }

    .p-title {
        font-size: 1.55rem;
    }

    .p-stats,
    .p-layout,
    .p-support {
        grid-template-columns: 1fr 1fr;
    }

    .p-layout {
        grid-template-columns: 1fr;
    }

    .p-context {
        border-right: 0;
        padding-right: 0;
    }

    .p-footer,
    .c-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .p-footer-tag,
    .c-footer-message {
        text-align: left;
    }

    .c-hero,
    .c-symptoms,
    .c-eighty-grid,
    .c-facts {
        grid-template-columns: 1fr;
    }

    .c-hero-copy {
        padding: 24px 22px;
    }

    .c-monogram {
        min-height: 120px;
    }

    .c-body {
        padding: 20px 22px 24px;
    }

    .c-stats {
        grid-template-columns: 1fr;
    }

    .c-stat,
    .c-stat:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--sand);
        padding: 10px 0;
    }

    .c-stat:last-child {
        border-bottom: 0;
    }
}

@media print {
    .pathway-sheet,
    .community-sheet {
        width: 8.5in;
        height: 11in;
        min-height: 11in;
    }
}