.home-page {
    --home-deep: color-mix(in srgb, var(--brand-primary) 62%, #061b28);
    --home-ink: #132d3d;
    --home-slate: #49616f;
    --home-paper: #f4f7f5;
    --home-white: #fff;
    --home-rule: color-mix(in srgb, var(--brand-primary) 20%, #d8dfdf);
    --home-display: "Newsreader", Georgia, serif;
    --home-body: "IBM Plex Sans", "Segoe UI", sans-serif;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(4.75rem, 8vw, 8rem);
    overflow: clip;
    color: var(--home-ink);
    font-family: var(--home-body);
}

.home-page > * {
    min-width: 0;
    max-width: 100%;
}

.home-page a {
    text-underline-offset: .24em;
}

.home-page :is(a, button):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-accent) 80%, #fff);
    outline-offset: 4px;
}

/* The first screen is an institutional masthead, not a boxed marketing card. */
.home-hero {
    position: relative;
    min-height: clamp(620px, calc(100svh - 10rem), 780px);
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 35%, #0a1f2b);
    border-radius: 3px;
    background: var(--home-deep);
    isolation: isolate;
}

.home-hero::after {
    content: "";
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 0;
    left: 0;
    height: 5px;
    background: var(--brand-accent);
    pointer-events: none;
}

.home-hero__copy {
    position: relative;
    z-index: 3;
    grid-column: 1 / span 7;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 6vw, 6.5rem);
    color: #fff;
    background: linear-gradient(90deg,
        var(--home-deep) 0%,
        var(--home-deep) 68%,
        color-mix(in srgb, var(--home-deep) 92%, transparent) 80%,
        transparent 100%);
}

.home-eyebrow,
.home-section__eyebrow,
.home-purpose__kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--brand-primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-eyebrow {
    max-width: 100%;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, .76);
}

.home-eyebrow__mark {
    width: 2.75rem;
    height: 2px;
    flex: 0 0 auto;
    background: var(--brand-accent);
}

.home-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-family: var(--home-display);
    font-size: clamp(3.4rem, 6.2vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .89;
    text-wrap: balance;
}

.home-hero h1 em {
    display: block;
    color: var(--brand-accent);
    font-weight: 400;
}

.home-hero__lead {
    max-width: 650px;
    margin: 1.8rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.72;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2.15rem;
}

.home-hero__actions .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding-inline: 1.25rem;
    border-radius: 2px;
    font-family: var(--home-body);
    font-size: .91rem;
    font-weight: 700;
}

.home-hero__actions .btn-outline-light {
    border-color: rgba(255, 255, 255, .48);
    background: transparent;
}

.home-hero__actions .btn-outline-light:hover,
.home-hero__actions .btn-outline-light:focus-visible {
    border-color: #fff;
    color: var(--home-deep);
    background: #fff;
}

.home-hero__facts {
    max-width: 680px;
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 0;
    margin-top: 2.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .63);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .025em;
}

.home-hero__facts span {
    display: inline-flex;
    align-items: center;
}

.home-hero__facts span + span::before {
    content: "";
    width: 3px;
    height: 3px;
    margin-inline: .72rem;
    border-radius: 50%;
    background: var(--brand-accent);
}

.home-hero__media {
    position: relative;
    z-index: 1;
    grid-column: 5 / -1;
    grid-row: 1;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: #b9c8cd;
}

.home-hero__media::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    pointer-events: none;
}

.home-hero__slides,
.home-hero__slide {
    position: absolute;
    inset: 0;
}

.home-hero__slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity .75s ease, transform 7s linear, visibility .75s;
}

.home-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.home-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 18, 27, .03) 36%, rgba(4, 18, 27, .88) 100%);
    pointer-events: none;
}

.home-hero__story {
    position: absolute;
    z-index: 3;
    right: clamp(1.5rem, 3vw, 3rem);
    bottom: clamp(5.4rem, 8vw, 7rem);
    width: min(520px, calc(100% - 3rem));
    display: grid;
    gap: .45rem;
    padding-left: 1.1rem;
    border-left: 3px solid var(--brand-accent);
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.home-hero__story:hover,
.home-hero__story:focus-visible {
    color: #fff;
}

.home-hero__story-kind {
    color: var(--brand-accent);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-hero__story strong {
    max-width: 520px;
    font-family: var(--home-display);
    font-size: clamp(1.45rem, 2.2vw, 2.3rem);
    font-weight: 500;
    line-height: 1.1;
    text-wrap: balance;
}

.home-hero__story-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
}

.home-hero__controls {
    position: absolute;
    z-index: 4;
    right: clamp(1.35rem, 3vw, 2.75rem);
    bottom: 1.55rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
}

.home-icon-button,
.home-rail-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: #fff;
    background: rgba(5, 23, 34, .56);
    transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.home-icon-button:hover,
.home-icon-button:focus-visible {
    border-color: var(--brand-accent);
    color: var(--home-deep);
    background: var(--brand-accent);
}

.home-hero__dots {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-inline: .15rem;
}

.home-hero__dot {
    width: 18px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .46);
    transition: width .2s ease, background .2s ease;
}

.home-hero__dot.is-active {
    width: 36px;
    background: var(--brand-accent);
}

.home-hero__fallback {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--brand-primary) 76%, #2e6478);
}

.home-hero__fallback-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: saturate(.82) contrast(1.04);
}

/* Primary routes behave like a contents strip, not floating feature cards. */
.home-pathways {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
}

.home-pathways > a {
    min-width: 0;
    min-height: 108px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem clamp(1rem, 2.2vw, 2rem);
    color: var(--home-ink);
    background: transparent;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.home-pathways > a + a {
    border-left: 1px solid var(--home-rule);
}

.home-pathways > a:hover,
.home-pathways > a:focus-visible {
    color: var(--brand-primary);
    background: color-mix(in srgb, var(--brand-primary) 4%, #fff);
}

.home-pathways > a > span {
    min-width: 0;
    display: grid;
    gap: .32rem;
}

.home-pathways strong {
    font-family: var(--home-display);
    font-size: 1.23rem;
    font-weight: 600;
    line-height: 1.15;
}

.home-pathways small {
    color: var(--home-slate);
    font-size: .74rem;
    line-height: 1.4;
}

.home-pathways > a > i {
    color: var(--brand-primary);
    transition: transform .18s ease;
}

.home-pathways > a:hover > i {
    transform: translateX(4px);
}

.home-section {
    scroll-margin-top: 7rem;
}

.home-section__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--home-rule);
}

.home-section__heading > div {
    max-width: 720px;
}

.home-section__heading h2,
.home-purpose h2,
.home-forum h2,
.home-contact h2 {
    margin: .52rem 0 .55rem;
    color: var(--home-ink);
    font-family: var(--home-display);
    font-size: clamp(2.4rem, 4.1vw, 4.4rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
    text-wrap: balance;
}

.home-section__heading p,
.home-purpose__intro > p,
.home-forum__intro > p,
.home-contact > div > p {
    margin: 0;
    color: var(--home-slate);
    font-size: .98rem;
    line-height: 1.72;
}

.home-section__all,
.home-text-link,
.home-card-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--brand-primary);
    font-size: .83rem;
    font-weight: 700;
    text-decoration: none;
}

.home-section__all {
    padding-bottom: .18rem;
    border-bottom: 1px solid currentColor;
}

.home-section__all i,
.home-text-link i,
.home-card-link i {
    transition: transform .18s ease;
}

.home-section__all:hover i,
.home-text-link:hover i,
.home-card-link:hover i {
    transform: translateX(4px);
}

/* Purpose is presented as a mandate: three functions, one ruled composition. */
.home-purpose {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: start;
    padding-block: clamp(2.5rem, 5vw, 5rem);
    border-top: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
}

.home-purpose__intro {
    padding-right: clamp(0rem, 2vw, 2rem);
}

.home-purpose__intro .home-text-link {
    margin-top: 1.45rem;
}

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

.home-purpose__grid article {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: .4rem clamp(1.15rem, 2.3vw, 2.2rem) .3rem;
    border-left: 1px solid var(--home-rule);
}

.home-purpose__kicker {
    color: var(--brand-primary);
}

.home-purpose__grid h3 {
    margin: 3rem 0 .85rem;
    color: var(--home-ink);
    font-family: var(--home-display);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.home-purpose__grid p {
    margin: 0 0 1.3rem;
    color: var(--home-slate);
    font-size: .88rem;
    line-height: 1.68;
}

.home-purpose__grid a {
    width: fit-content;
    margin-top: auto;
    color: var(--brand-primary);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

/* The lead story owns the news section; supporting stories become compact briefs. */
.home-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.home-card-grid--news {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 3.5vw, 3.5rem);
    row-gap: 0;
}

.home-news-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.home-card-grid--news .home-news-card:first-child {
    grid-row: 1 / span 2;
    padding-right: clamp(0rem, 1.5vw, 1.5rem);
    border-right: 1px solid var(--home-rule);
}

.home-card-grid--news .home-news-card:nth-child(n + 2) {
    display: grid;
    grid-template-columns: minmax(135px, .42fr) minmax(0, .58fr);
    align-items: stretch;
    padding-block: 1.4rem;
    border-top: 1px solid var(--home-rule);
}

.home-card-grid--news .home-news-card:nth-child(2) {
    padding-top: 0;
    border-top: 0;
}

.home-card-grid--news .home-news-card:nth-child(3) {
    padding-bottom: 0;
}

.home-news-card__image {
    position: relative;
    display: block;
    min-height: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--brand-primary) 7%, #e8eeeb);
}

.home-card-grid--news .home-news-card:first-child .home-news-card__image {
    aspect-ratio: 16 / 10;
}

.home-card-grid--news .home-news-card:nth-child(n + 2) .home-news-card__image {
    min-height: 170px;
}

.home-news-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(10, 38, 55, .08);
    pointer-events: none;
}

.home-news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.86) contrast(1.03);
    transition: transform .55s ease, filter .3s ease;
}

.home-news-card:hover .home-news-card__image img {
    filter: saturate(1) contrast(1.03);
    transform: scale(1.025);
}

.home-news-card__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 1.25rem;
}

.home-card-grid--news .home-news-card:nth-child(n + 2) .home-news-card__body {
    padding: .15rem 0 .15rem 1.15rem;
}

.home-news-card time {
    color: var(--brand-primary);
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-news-card h3,
.home-event-card h3,
.home-forum__threads h3 {
    margin: .65rem 0 .7rem;
    color: var(--home-ink);
    font-family: var(--home-display);
    font-size: clamp(1.25rem, 1.65vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.home-card-grid--news .home-news-card:first-child h3 {
    max-width: 760px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.02;
}

.home-news-card h3 a,
.home-event-card h3 a,
.home-forum__threads h3 a {
    color: inherit;
    text-decoration: none;
}

.home-news-card h3 a:hover,
.home-event-card h3 a:hover,
.home-forum__threads h3 a:hover {
    color: var(--brand-primary);
}

.home-news-card p,
.home-event-card__content > p,
.home-forum__threads > article > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 1.15rem;
    color: var(--home-slate);
    font-size: .87rem;
    line-height: 1.63;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-news-card .home-card-link,
.home-event-card .home-card-link {
    margin-top: auto;
}

.home-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    color: color-mix(in srgb, var(--brand-primary) 62%, #fff);
    background-color: var(--home-paper);
    background-image:
        linear-gradient(var(--home-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--home-rule) 1px, transparent 1px);
    background-size: 38px 38px;
    font-size: 2.3rem;
}

/* Events are a programme, expressed as a dark ruled field rather than glass cards. */
.home-events {
    position: relative;
    margin-inline: clamp(-1.25rem, -2.5vw, -2.5rem);
    padding: clamp(2.75rem, 5.5vw, 5.5rem) clamp(1.5rem, 3vw, 3rem);
    border-top: 5px solid var(--brand-accent);
    color: #fff;
    background: var(--home-deep);
}

.home-section__heading--light {
    position: relative;
    z-index: 1;
    border-bottom-color: rgba(255, 255, 255, .24);
}

.home-section__heading--light h2,
.home-section__heading--light .home-section__all {
    color: #fff;
}

.home-section__heading--light .home-section__eyebrow {
    color: var(--brand-accent);
}

.home-section__heading--light p {
    color: rgba(255, 255, 255, .64);
}

.home-section__heading--light .home-section__all:hover {
    color: var(--brand-accent);
}

.home-event-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
    background: transparent;
}

.home-event-card__date {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: baseline;
    justify-content: start;
    width: fit-content;
    margin-bottom: 1.25rem;
    color: var(--brand-accent);
    line-height: 1;
}

.home-event-card__date > span {
    grid-row: 1 / span 2;
    margin-right: .55rem;
    font-family: var(--home-display);
    font-size: 3.4rem;
    font-weight: 500;
    letter-spacing: -.05em;
}

.home-event-card__date strong {
    font-size: .72rem;
    letter-spacing: .13em;
}

.home-event-card__date small {
    margin-top: .2rem;
    color: rgba(255, 255, 255, .52);
    font-size: .68rem;
}

.home-event-card__content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-event-card__status {
    width: fit-content;
    color: rgba(255, 255, 255, .58);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-event-card__status.is-upcoming {
    color: var(--brand-accent);
}

.home-event-card h3 {
    color: #fff;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.home-event-card h3 a:hover {
    color: var(--brand-accent);
}

.home-event-card__content > p {
    color: rgba(255, 255, 255, .62);
}

.home-event-card__meta {
    display: grid;
    gap: .42rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
}

.home-event-card__meta > span {
    min-width: 0;
    display: flex;
    align-items: start;
    gap: .45rem;
    overflow-wrap: anywhere;
}

.home-event-card__meta i {
    flex: 0 0 auto;
    color: var(--brand-accent);
}

.home-event-card .home-card-link {
    color: #fff;
}

.home-event-card .home-card-link:hover {
    color: var(--brand-accent);
}

.home-empty-state {
    grid-column: 1 / -1;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    border-top: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
    color: var(--home-slate);
    background: transparent;
}

.home-empty-state > i {
    margin-bottom: .8rem;
    color: var(--brand-primary);
    font-size: 1.8rem;
}

.home-empty-state h3 {
    margin: 0 0 .4rem;
    color: var(--home-ink);
    font-family: var(--home-display);
    font-size: 1.55rem;
    font-weight: 600;
}

.home-empty-state p {
    margin: 0 0 1rem;
}

.home-empty-state--dark {
    border-color: rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .65);
}

.home-empty-state--dark > i,
.home-empty-state--dark h3 {
    color: #fff;
}

.home-rail-controls {
    display: none;
    justify-content: flex-end;
    gap: .55rem;
    margin-top: 1rem;
}

.home-rail-controls:not([hidden]) {
    display: flex;
}

.home-rail-button {
    border-color: var(--home-rule);
    color: var(--home-ink);
    background: #fff;
}

.home-rail-button:hover,
.home-rail-button:focus-visible {
    border-color: var(--brand-primary);
    color: #fff;
    background: var(--brand-primary);
}

.home-rail-controls--light .home-rail-button {
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    background: transparent;
}

.home-rail-controls--light .home-rail-button:hover,
.home-rail-controls--light .home-rail-button:focus-visible {
    border-color: var(--brand-accent);
    color: var(--home-deep);
    background: var(--brand-accent);
}

/* Community content reads like a professional noticeboard. */
.home-forum {
    display: grid;
    grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 6vw, 7rem);
    align-items: center;
    padding-block: clamp(2.8rem, 5vw, 5.2rem);
    border-top: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
}

.home-forum__intro .btn {
    margin-top: 1.45rem;
    border-radius: 2px;
}

.home-forum__membership {
    display: block;
    width: fit-content;
    margin-top: .8rem;
    color: var(--home-slate);
    font-size: .8rem;
}

.home-forum__threads {
    display: grid;
}

.home-forum__threads > article {
    padding: 1.15rem 0;
    border-top: 1px solid var(--home-rule);
    background: transparent;
    transition: padding-left .2s ease, border-color .2s ease;
}

.home-forum__threads > article:last-child {
    border-bottom: 1px solid var(--home-rule);
}

.home-forum__threads > article:hover {
    padding-left: .65rem;
    border-color: color-mix(in srgb, var(--brand-primary) 52%, #fff);
}

.home-forum__thread-top,
.home-forum__thread-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem 1rem;
    color: var(--home-slate);
    font-size: .7rem;
}

.home-forum__thread-top > span:first-child {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-forum__threads h3 {
    margin-block: .55rem;
}

.home-forum__threads > article > p {
    margin-bottom: .75rem;
    -webkit-line-clamp: 2;
}

.home-forum__empty {
    display: grid;
    justify-items: start;
    padding: 2rem 0;
    border-top: 1px solid var(--home-rule);
    border-bottom: 1px solid var(--home-rule);
}

.home-forum__empty > i {
    color: var(--brand-primary);
    font-size: 1.8rem;
}

.home-forum__empty h3 {
    margin: .7rem 0 .35rem;
    font-family: var(--home-display);
    font-size: 1.5rem;
}

.home-forum__empty p {
    color: var(--home-slate);
}

.home-forum__visual {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 4rem);
    color: #fff;
    background-color: var(--home-deep);
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 52px 52px;
}

.home-forum__visual small {
    position: relative;
    z-index: 2;
    color: var(--brand-accent);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-forum__visual strong {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-top: 1rem;
    font-family: var(--home-display);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .86;
}

.home-forum__visual > span {
    position: absolute;
    right: 8%;
    bottom: -22%;
    width: 42%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

/* Contact closes like a directory strip, with direct routes and no decorative card chrome. */
.home-contact {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 7rem);
    padding: clamp(2.5rem, 5vw, 5rem);
    border-left: 5px solid var(--brand-accent);
    color: #fff;
    background: var(--home-deep);
}

.home-contact > div:first-child {
    max-width: 620px;
}

.home-contact .home-section__eyebrow {
    color: var(--brand-accent);
}

.home-contact h2 {
    color: #fff;
}

.home-contact > div > p {
    color: rgba(255, 255, 255, .65);
}

.home-contact__details {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, .24);
}

.home-contact__details > a:not(.btn) {
    min-width: 0;
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
    color: #fff;
    background: transparent;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.home-contact__details > a:not(.btn) + a:not(.btn) {
    border-left: 1px solid rgba(255, 255, 255, .24);
}

.home-contact__details > a:not(.btn):hover {
    color: var(--brand-accent);
    background: rgba(255, 255, 255, .05);
}

.home-contact__details > a > i {
    flex: 0 0 auto;
    color: var(--brand-accent);
    font-size: 1.1rem;
}

.home-contact__details > a > span {
    min-width: 0;
    display: grid;
}

.home-contact__details small {
    color: rgba(255, 255, 255, .55);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-contact__details strong {
    overflow: hidden;
    font-size: .83rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-contact__details .btn {
    grid-column: 1 / -1;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-top: 1rem;
    border-color: var(--brand-accent);
    border-radius: 2px;
    color: var(--home-deep);
    background: var(--brand-accent);
    font-size: .88rem;
    font-weight: 700;
}

.home-contact__details .btn:hover,
.home-contact__details .btn:focus-visible {
    border-color: #fff;
    color: var(--home-deep);
    background: #fff;
}

/* One restrained entrance sequence, then quiet scroll reveals. */
.home-hero__copy > * {
    animation: home-hero-enter .72s both cubic-bezier(.2, .65, .25, 1);
}

.home-hero__copy > :nth-child(2) { animation-delay: .07s; }
.home-hero__copy > :nth-child(3) { animation-delay: .14s; }
.home-hero__copy > :nth-child(4) { animation-delay: .21s; }
.home-hero__copy > :nth-child(5) { animation-delay: .28s; }

@keyframes home-hero-enter {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.home-motion-ready [data-home-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.home-motion-ready [data-home-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1199.98px) {
    .home-hero__copy {
        grid-column: 1 / span 8;
        padding: clamp(2.8rem, 5vw, 4.75rem);
    }

    .home-purpose,
    .home-forum {
        grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
        gap: 3rem;
    }

    .home-purpose__grid h3 {
        margin-top: 2.2rem;
    }
}

@media (max-width: 991.98px) {
    .home-page {
        gap: 5rem;
    }

    .home-hero {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(480px, 58svh);
    }

    .home-hero__copy {
        grid-column: 1;
        grid-row: 1;
        padding: clamp(3rem, 8vw, 5rem);
        background: var(--home-deep);
    }

    .home-hero__media {
        grid-column: 1;
        grid-row: 2;
    }

    .home-hero h1 {
        max-width: 760px;
        font-size: clamp(3.6rem, 9vw, 6rem);
    }

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

    .home-pathways > a:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--home-rule);
    }

    .home-pathways > a:nth-child(4) {
        border-top: 1px solid var(--home-rule);
    }

    .home-purpose,
    .home-forum,
    .home-contact {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-purpose__intro,
    .home-forum__intro,
    .home-contact > div:first-child {
        max-width: 720px;
    }

    .home-card-grid--news {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
    }

    .home-card-grid--news .home-news-card:first-child {
        grid-row: auto;
        padding: 0 0 2rem;
        border-right: 0;
        border-bottom: 1px solid var(--home-rule);
    }

    .home-card-grid--news .home-news-card:nth-child(2) {
        padding-top: 1.4rem;
    }

    .home-contact__details {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .home-page {
        gap: 4rem;
    }

    .home-hero {
        grid-template-rows: minmax(760px, auto);
    }

    .home-hero__copy {
        grid-row: 1;
        padding: 2.6rem 1.35rem 2.8rem;
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--home-deep) 97%, transparent) 0%,
            color-mix(in srgb, var(--home-deep) 94%, transparent) 66%,
            color-mix(in srgb, var(--home-deep) 82%, transparent) 100%);
    }

    .home-hero__media {
        grid-row: 1;
    }

    .home-eyebrow {
        align-items: flex-start;
        font-size: .66rem;
    }

    .home-eyebrow__mark {
        width: 1.75rem;
        margin-top: .42rem;
    }

    .home-hero h1 {
        max-width: 100%;
        font-size: clamp(3rem, 14vw, 4.5rem);
        overflow-wrap: anywhere;
    }

    .home-hero__lead {
        font-size: .96rem;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__actions .btn {
        width: 100%;
        white-space: normal;
    }

    .home-hero__facts {
        display: grid;
        gap: .55rem;
    }

    .home-hero__facts span + span::before {
        display: none;
    }

    .home-hero__story {
        right: 1.25rem;
        bottom: 5.7rem;
        left: 1.25rem;
        width: auto;
    }

    .home-hero__story-meta {
        align-items: start;
        flex-direction: column;
        gap: .3rem;
    }

    .home-hero__controls {
        right: 1.25rem;
        left: 1.25rem;
        justify-content: center;
    }

    .home-section__heading {
        align-items: start;
        flex-direction: column;
        gap: 1rem;
    }

    .home-purpose,
    .home-forum {
        gap: 2.5rem;
        padding-block: 2.7rem;
    }

    .home-purpose__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-purpose__grid article {
        min-height: 0;
        padding: 1.5rem 0;
        border-top: 1px solid var(--home-rule);
        border-left: 0;
    }

    .home-purpose__grid article:last-child {
        border-bottom: 1px solid var(--home-rule);
    }

    .home-purpose__grid h3 {
        margin-top: 1.4rem;
    }

    .home-purpose__grid a {
        margin-top: 1.5rem;
    }

    .home-events {
        margin-inline: 0;
        padding: 2.7rem 1.25rem;
    }

    .home-card-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        overscroll-behavior-inline: contain;
        padding: .1rem 0 1rem;
    }

    .home-card-grid > article {
        width: min(86vw, 380px);
        flex: 0 0 min(86vw, 380px);
        scroll-snap-align: start;
    }

    .home-card-grid--news .home-news-card,
    .home-card-grid--news .home-news-card:first-child,
    .home-card-grid--news .home-news-card:nth-child(n + 2) {
        display: flex;
        padding: 0 0 1rem;
        border: 0;
        border-bottom: 1px solid var(--home-rule);
    }

    .home-card-grid--news .home-news-card__image,
    .home-card-grid--news .home-news-card:first-child .home-news-card__image,
    .home-card-grid--news .home-news-card:nth-child(n + 2) .home-news-card__image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .home-card-grid--news .home-news-card__body,
    .home-card-grid--news .home-news-card:nth-child(n + 2) .home-news-card__body {
        padding: 1.1rem 0 0;
    }

    .home-card-grid--news .home-news-card h3,
    .home-card-grid--news .home-news-card:first-child h3 {
        font-size: 1.65rem;
    }

    .home-card-grid .home-empty-state {
        width: 100%;
        flex: 0 0 100%;
    }

    .home-rail-controls:not([hidden]) {
        display: flex;
    }

    .home-forum__visual {
        min-height: 310px;
    }

    .home-contact {
        padding: 2.5rem 1.35rem;
    }

    .home-contact__details {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-contact__details > a:not(.btn) + a:not(.btn) {
        border-left: 0;
    }

    .home-contact__details .btn {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    .home-pathways {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-pathways > a {
        min-height: 92px;
    }

    .home-pathways > a + a,
    .home-pathways > a:nth-child(4) {
        border-top: 1px solid var(--home-rule);
        border-left: 0;
    }

    .home-section__heading h2,
    .home-purpose h2,
    .home-forum h2,
    .home-contact h2 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }

    .home-event-card__date > span {
        font-size: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-home-reveal] {
        opacity: 1;
        transform: none;
    }
}
