/*
============================================================
OUR BEAT
HOMEPAGE STYLESHEET
West Yorkshire Police-inspired visual direction
Responsive / mobile polished
HORIZONTAL PC SPACING FIX
============================================================
*/

:root {
    --ob-navy: #071b2d;
    --ob-navy-2: #0c2a43;
    --ob-blue: #005eb8;
    --ob-blue-dark: #003f7d;
    --ob-blue-light: #e8f1f8;
    --ob-white: #ffffff;
    --ob-grey-1: #f4f5f6;
    --ob-grey-2: #d9dde1;
    --ob-grey-3: #59636b;
    --ob-black: #101820;
    --ob-red: #c8102e;
    --ob-green: #007a53;
    --ob-yellow: #ffdf00;
    --ob-border: #d2d7db;
    --ob-shadow: 0 10px 35px rgba(7, 27, 45, .10);

    /* Desktop */
    --ob-max: 1440px;
    --ob-side: 40px;
}

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

html {
    scroll-behavior: smooth;
    background: var(--ob-white);
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ob-black);
    background: var(--ob-white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.55;
}

a {
    color: inherit;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================
   CONTAINER
============================================================ */

.container {
    width: 100%;
    max-width: var(--ob-max);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--ob-side);
    padding-left: var(--ob-side);
}

/* ============================================================
   ACCESSIBILITY
============================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 9999;
    padding: 12px 18px;
    color: var(--ob-black);
    background: var(--ob-yellow);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 20px;
}

/* ============================================================
   HEADER
============================================================ */

.site-header {
    position: relative;
    z-index: 100;
    background: var(--ob-white);
    box-shadow: 0 3px 18px rgba(7, 27, 45, .12);
}

.service-strip {
    color: #c5d4df;
    background: #04131f;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.service-strip__inner {
    min-height: 31px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-strip i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #35c98b;
    box-shadow: 0 0 0 3px rgba(53, 201, 139, .12);
}

.header-top {
    background: var(--ob-navy);
    color: var(--ob-white);
}

.header-top__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    color: var(--ob-white);
    text-decoration: none;
}

.brand__mark {
    display: none;
}

.brand__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.1;
}

.brand__text strong {
    font-size: 25px;
    letter-spacing: .12em;
}

.brand__text small {
    margin-top: 5px;
    color: #cbd6df;
    font-size: 11px;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 24px;
}

.header-link {
    color: var(--ob-white);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.header-link:hover {
    text-decoration: underline;
}

.header-button {
    display: inline-block;
    padding: 10px 18px;
    color: var(--ob-white);
    background: var(--ob-blue);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.header-button:hover {
    background: #0874d1;
    transform: translateY(-1px);
}

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--ob-border);
}

.main-nav__inner {
    position: relative;
    min-height: 62px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    align-items: stretch;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: var(--ob-navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}

.nav-link::after {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 4px;
    background: var(--ob-blue);
    content: "";
    opacity: 0;
}

.nav-link:hover,
.nav-link--active {
    color: var(--ob-blue-dark);
    background: #f4f7f9;
}

.nav-link:hover::after,
.nav-link--active::after {
    opacity: 1;
}

.nav-cta {
    align-self: center;
    padding: 10px 20px;
    color: var(--ob-white);
    background: var(--ob-red);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.nav-cta:hover {
    background: #a80d25;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
}

/* ============================================================
   HERO
============================================================ */

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: var(--ob-white);
    background:
        radial-gradient(
            circle at 76% 48%,
            rgba(21, 117, 191, .65) 0,
            rgba(21, 117, 191, .15) 25%,
            transparent 47%
        ),
        radial-gradient(
            circle at 92% 12%,
            rgba(91, 169, 226, .28) 0,
            transparent 25%
        ),
        linear-gradient(
            105deg,
            #04131f 0%,
            #08243a 48%,
            #0c4167 100%
        );
}

.hero::before {
    position: absolute;
    top: -20%;
    right: -5%;
    width: 60%;
    height: 150%;
    border-left: 1px solid rgba(255, 255, 255, .12);
    background: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 28px,
        rgba(255, 255, 255, .025) 29px,
        rgba(255, 255, 255, .025) 30px
    );
    transform: skewX(-18deg);
    content: "";
}

.hero::after {
    position: absolute;
    right: -12%;
    bottom: -45%;
    width: 70%;
    height: 85%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    filter: blur(1px);
    content: "";
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 45, .20),
            transparent 65%
        ),
        linear-gradient(
            0deg,
            rgba(7, 27, 45, .35),
            transparent 40%
        );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 90px;
}

.eyebrow {
    margin: 0 0 15px;
    color: #bcd6e9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow--blue {
    color: var(--ob-blue);
}

.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .97;
    letter-spacing: -.045em;
    text-shadow: 0 5px 24px rgba(0, 0, 0, .18);
}

.hero h1 span {
    color: #66b6f2;
}

.hero__lead {
    max-width: 700px;
    margin: 28px 0 32px;
    color: #e5edf3;
    font-size: 21px;
}

.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    max-width: 800px;
    margin: 0 0 30px;
}

.hero__highlights span {
    padding: 8px 11px;
    color: #d8e5ed;
    background: rgba(255, 255, 255, .065);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 11px;
    letter-spacing: .035em;
}

.hero__highlights b {
    margin-right: 5px;
    color: #fff;
    font-size: 10px;
}

.hero__actions,
.join__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 12px 22px;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: .15s ease;
}

.button--primary {
    color: var(--ob-white);
    background: var(--ob-blue);
    border-color: var(--ob-blue);
}

.button--primary:hover {
    background: #0874d1;
    border-color: #0874d1;
}

.button--light {
    color: var(--ob-navy);
    background: var(--ob-white);
    border-color: var(--ob-white);
}

.button--light:hover {
    background: #e9f0f5;
    border-color: #e9f0f5;
}

.button--outline-light {
    color: var(--ob-white);
    background: transparent;
    border-color: rgba(255, 255, 255, .7);
}

.button--outline-light:hover {
    background: rgba(255, 255, 255, .1);
}

.button--full {
    width: 100%;
    margin-top: 10px;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: #c2d0da;
    font-size: 13px;
}

.hero__trust-dot,
.status-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #35c98b;
    box-shadow: 0 0 0 4px rgba(53, 201, 139, .13);
}

.hero__scroll {
    position: absolute;
    right: max(
        var(--ob-side),
        calc((100vw - var(--ob-max)) / 2)
    );
    bottom: 34px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c7d4dd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero__scroll i {
    width: 40px;
    height: 1px;
    background: #c7d4dd;
}

/* ============================================================
   QUICK ACTIONS
============================================================ */

.quick-actions {
    position: relative;
    z-index: 5;
    margin-top: -42px;
    background: #fff;
}

.quick-actions__rule {
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        #005eb8 0%,
        #005eb8 33.33%,
        #007a53 33.33%,
        #007a53 66.66%,
        #c8102e 66.66%,
        #c8102e 100%
    );
}

.quick-actions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: 0 12px 40px rgba(7, 27, 45, .13);
}

.quick-action {
    min-height: 120px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 22px 25px;
    color: var(--ob-navy);
    background: var(--ob-white);
    border-right: 1px solid var(--ob-border);
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.quick-action:last-child {
    border-right: 0;
}

.quick-action:hover {
    background: var(--ob-blue-light);
    transform: translateY(-2px);
}

.quick-action__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--ob-blue);
    border: 2px solid var(--ob-blue);
    font-size: 12px;
    font-weight: 900;
    transition: background .15s ease, color .15s ease;
}

.quick-action:hover .quick-action__icon {
    color: #fff;
    background: var(--ob-blue);
}

.quick-action strong,
.quick-action small {
    display: block;
}

.quick-action strong {
    font-size: 16px;
}

.quick-action small {
    margin-top: 3px;
    color: var(--ob-grey-3);
    font-size: 13px;
}

.quick-action__arrow {
    color: var(--ob-blue);
    font-size: 25px;
}

/* ============================================================
   GENERAL SECTIONS
============================================================ */

.section {
    padding: 100px 0;
}

.section--grey {
    background: var(--ob-grey-1);
}

.section--dark {
    color: var(--ob-white);
    background: var(--ob-navy);
}

.split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: start;
}

.section-heading h2 {
    margin: 0;
    max-width: 650px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.section-heading > p:last-child {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--ob-grey-3);
}

.intro {
    position: relative;
}

.intro::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(#005eb8, #0c2a43);
    content: "";
}

.intro__copy {
    padding-top: 13px;
}

.intro__copy p {
    margin: 0 0 22px;
}

.intro__copy .lead {
    color: var(--ob-navy);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.45;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ob-blue);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.section-heading--wide {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading--wide h2 {
    color: var(--ob-white);
}

.section-heading--wide > p:last-child {
    color: #bdcad4;
}

.section-heading--center {
    text-align: center;
}

.section-heading--center > p:last-child {
    margin-right: auto;
    margin-left: auto;
}

/* ============================================================
   SERVICES
============================================================ */

.services {
    position: relative;
    overflow: hidden;
}

.services::before {
    position: absolute;
    top: -160px;
    right: -140px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, .018),
        0 0 0 110px rgba(255, 255, 255, .012);
    content: "";
}

.service-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-card {
    min-height: 405px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #102f48;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    transition: transform .15s ease, background .15s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: #153c59;
}

.service-card__top {
    position: relative;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 94, 184, .65),
            rgba(7, 27, 45, .1)
        ),
        linear-gradient(
            135deg,
            #194b70,
            #0d273c
        );
}

.service-card__top::after {
    position: absolute;
    right: -40px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    content: "";
}

.service-card--fire .service-card__top {
    background:
        linear-gradient(
            135deg,
            rgba(200, 16, 46, .8),
            rgba(7, 27, 45, .15)
        ),
        linear-gradient(
            135deg,
            #6e2535,
            #241b25
        );
}

.service-card--ambulance .service-card__top {
    background:
        linear-gradient(
            135deg,
            rgba(0, 122, 83, .8),
            rgba(7, 27, 45, .15)
        ),
        linear-gradient(
            135deg,
            #17604f,
            #152f36
        );
}

.service-card--other .service-card__top {
    background:
        linear-gradient(
            135deg,
            rgba(115, 85, 180, .7),
            rgba(7, 27, 45, .15)
        ),
        linear-gradient(
            135deg,
            #4d3b75,
            #20243a
        );
}

.service-card__number {
    position: relative;
    z-index: 1;
    align-self: flex-end;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 800;
}

.service-card__badge {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    padding: 5px 8px;
    color: var(--ob-white);
    border: 1px solid rgba(255, 255, 255, .45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 22px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 25px;
}

.service-card p {
    margin: 0;
    color: #c5d1da;
    font-size: 15px;
}

.service-card__link {
    margin-top: auto;
    padding-top: 25px;
    color: #79bff0;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.service-card__link:hover {
    text-decoration: underline;
}

/* ============================================================
   COMMUNITY
============================================================ */

.community {
    background: linear-gradient(
        180deg,
        #fff 0%,
        #fff 80%,
        #f6f8fa 100%
    );
}

.community__grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 90px;
    align-items: center;
}

.community__content > .lead {
    max-width: 760px;
    margin: 24px 0 40px;
    font-size: 22px;
    line-height: 1.45;
}

.feature-list {
    border-top: 1px solid var(--ob-border);
}

.feature {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--ob-border);
}

.feature__number {
    color: var(--ob-blue);
    font-size: 13px;
    font-weight: 900;
}

.feature h3 {
    margin: 0 0 4px;
    font-size: 19px;
}

.feature p {
    margin: 0;
    color: var(--ob-grey-3);
    font-size: 15px;
}

.community-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    color: var(--ob-white);
    background: var(--ob-navy);
    border-top: 5px solid var(--ob-blue);
    box-shadow: var(--ob-shadow);
}

.community-panel::after {
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 250px;
    height: 250px;
    border: 55px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
    content: "";
}

.community-panel__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.community-stat {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.community-stat strong {
    font-size: 30px;
    line-height: 1;
}

.community-stat span {
    margin-top: 5px;
    color: #afc0cc;
    font-size: 13px;
}

.community-panel .button {
    position: relative;
    z-index: 1;
}

/* ============================================================
   NEWS
============================================================ */

.section-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.news-card--featured {
    overflow: hidden;
    background: var(--ob-white);
    border: 1px solid var(--ob-border);
    box-shadow: 0 4px 18px rgba(7, 27, 45, .045);
    transition: box-shadow .15s ease, transform .15s ease;
}

.news-card--featured:hover {
    box-shadow: 0 15px 35px rgba(7, 27, 45, .10);
    transform: translateY(-3px);
}

.news-card__image {
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    color: var(--ob-white);
    background:
        linear-gradient(
            135deg,
            rgba(0, 94, 184, .9),
            rgba(7, 27, 45, .6)
        ),
        linear-gradient(
            135deg,
            #153f5d,
            #0a2033
        );
}

.news-card__image--featured {
    position: relative;
    min-height: 285px;
    overflow: hidden;
}

.news-card__image--featured::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            transparent 45%,
            rgba(255, 255, 255, .06) 45%,
            rgba(255, 255, 255, .06) 46%,
            transparent 46%
        ),
        linear-gradient(
            135deg,
            transparent 65%,
            rgba(255, 255, 255, .05) 65%,
            rgba(255, 255, 255, .05) 66%,
            transparent 66%
        );
    content: "";
}

.news-card__image span,
.news-card__image--featured span {
    position: relative;
    z-index: 1;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.news-card__content {
    padding: 26px;
}

.news-card__meta {
    margin: 0 0 9px;
    color: var(--ob-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 0 0 10px;
    color: var(--ob-navy);
    font-size: 25px;
    line-height: 1.15;
}

.news-card__content > p:not(.news-card__meta) {
    margin: 0 0 20px;
    color: var(--ob-grey-3);
    font-size: 15px;
}

.news-list {
    border-top: 1px solid var(--ob-border);
}

.news-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--ob-border);
    transition: padding-left .15s ease, background .15s ease;
}

.news-item:hover {
    padding-left: 7px;
}

.news-item__date {
    display: grid;
    place-items: center;
    align-self: start;
    min-height: 70px;
    color: var(--ob-blue);
    background: var(--ob-white);
    border: 1px solid var(--ob-border);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.news-item__date small {
    font-size: 9px;
    letter-spacing: .1em;
}

.news-item h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.news-item h3 a {
    color: var(--ob-navy);
    text-decoration: none;
}

.news-item h3 a:hover {
    color: var(--ob-blue);
    text-decoration: underline;
}

.news-item p:last-child {
    margin: 0;
    color: var(--ob-grey-3);
    font-size: 14px;
}

/* ============================================================
   RESOURCES
============================================================ */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.resource-card {
    position: relative;
    min-height: 235px;
    padding: 28px;
    color: var(--ob-navy);
    background: var(--ob-white);
    border: 1px solid var(--ob-border);
    box-shadow: 0 4px 18px rgba(7, 27, 45, .045);
    text-decoration: none;
    transition:
        box-shadow .15s ease,
        transform .15s ease,
        border-color .15s ease;
}

.resource-card:hover {
    border-color: var(--ob-blue);
    box-shadow: var(--ob-shadow);
    transform: translateY(-3px);
}

.resource-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 38px;
    color: var(--ob-blue);
    border: 2px solid var(--ob-blue);
    font-size: 20px;
    font-weight: 900;
    transition: background .15s ease, color .15s ease;
}

.resource-card:hover .resource-card__icon {
    color: #fff;
    background: var(--ob-blue);
}

.resource-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.resource-card p {
    margin: 0;
    color: var(--ob-grey-3);
    font-size: 14px;
}

/* ============================================================
   JOIN
============================================================ */

.join {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--ob-white);
    background:
        radial-gradient(
            circle at 82% 50%,
            rgba(76, 163, 224, .28),
            transparent 28%
        ),
        linear-gradient(
            115deg,
            #003f7d,
            #005eb8 60%,
            #006dbd
        );
}

.join::before {
    position: absolute;
    top: -80px;
    right: 8%;
    width: 300px;
    height: 500px;
    border: 70px solid rgba(255, 255, 255, .045);
    transform: rotate(35deg);
    content: "";
}

.join__pattern {
    position: absolute;
    inset: 0;
    opacity: .7;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        );
    background-size: 40px 40px;
}

.join__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 90px;
}

.join h2 {
    max-width: 800px;
    margin: 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1;
    letter-spacing: -.04em;
}

.join p:not(.eyebrow) {
    max-width: 650px;
    margin: 25px 0 30px;
    color: #d9e8f4;
    font-size: 20px;
}

.join .eyebrow {
    color: #9fd3f7;
}

/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    color: #d0d9df;
    background: var(--ob-navy);
    border-top: 5px solid #005eb8;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    gap: 55px;
    padding: 65px 0;
}

.brand--footer {
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 370px;
    margin: 0;
    color: #94a7b5;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h2 {
    margin: 0 0 9px;
    color: var(--ob-white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-column a {
    color: #aebdc7;
    font-size: 14px;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--ob-white);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
    margin: 0;
    color: #8395a1;
    font-size: 11px;
}

/* ============================================================
   FOCUS
============================================================ */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--ob-yellow);
    outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE — TABLET / SMALL DESKTOP
============================================================ */

@media (max-width: 1100px) {

    :root {
        --ob-side: 24px;
    }

    .nav-link {
        padding-right: 13px;
        padding-left: 13px;
    }

    .nav-link::after {
        right: 13px;
        left: 13px;
    }

    .service-grid,
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .community__grid {
        gap: 50px;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV / TABLET
============================================================ */

@media (max-width: 800px) {

    :root {
        --ob-side: 15px;
    }

    .service-strip__right {
        display: none;
    }

    .service-strip__inner {
        min-height: 27px;
        justify-content: flex-start;
    }

    .header-top__inner {
        min-height: 74px;
    }

    .header-actions {
        gap: 10px;
    }

    .header-actions .header-link {
        display: none;
    }

    .header-button {
        padding: 9px 13px;
        font-size: 13px;
    }

    .main-nav__inner {
        min-height: 58px;
        position: relative;
        align-items: center;
    }

    .nav-toggle {
        width: 48px;
        height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        color: var(--ob-navy);
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .nav-toggle span:not(.sr-only) {
        width: 24px;
        height: 2px;
        background: currentColor;
    }

    .nav-links {
        position: absolute;
        top: 58px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        background: var(--ob-white);
        border: 1px solid var(--ob-border);
        box-shadow: var(--ob-shadow);
    }

    .nav-links--open {
        display: flex;
    }

    .nav-link {
        min-height: 52px;
        padding: 0 18px;
        border-bottom: 1px solid var(--ob-border);
    }

    .nav-link:last-child {
        border-bottom: 0;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link--active {
        background: var(--ob-blue-light);
    }

    .nav-cta {
        align-self: center;
        padding: 9px 13px;
        font-size: 13px;
    }

    .hero {
        min-height: 620px;
    }

    .hero__content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero__lead {
        font-size: 18px;
    }

    .hero__highlights {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero__highlights span {
        width: fit-content;
        max-width: 100%;
    }

    .hero__scroll {
        display: none;
    }

    .quick-actions {
        margin-top: 0;
    }

    .quick-actions__rule {
        height: 3px;
    }

    .quick-actions__grid {
        grid-template-columns: 1fr;
    }

    .quick-action {
        min-height: 92px;
        border-right: 0;
        border-bottom: 1px solid var(--ob-border);
    }

    .quick-action:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 75px 0;
    }

    .split,
    .community__grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .resource-grid {
        grid-template-columns: 1fr 1fr;
    }

    .community-panel {
        max-width: 550px;
        width: 100%;
    }

    .section-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    .intro::before {
        width: 5px;
    }
}

/* ============================================================
   RESPONSIVE — PHONES
============================================================ */

@media (max-width: 560px) {

    :root {
        --ob-side: 12px;
    }

    .brand__text strong {
        font-size: 21px;
    }

    .brand__text small {
        max-width: 230px;
        font-size: 8px;
        line-height: 1.25;
    }

    .header-top__inner {
        gap: 12px;
    }

    .header-button {
        padding: 8px 11px;
        font-size: 12px;
        white-space: nowrap;
    }

    .main-nav__inner {
        min-height: 54px;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
    }

    .nav-links {
        top: 54px;
    }

    .nav-cta {
        padding: 8px 11px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        min-height: 620px;
    }

    .hero__content {
        padding-top: 58px;
        padding-bottom: 62px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 46px;
    }

    .hero__lead {
        margin-top: 22px;
        font-size: 17px;
    }

    .hero__highlights {
        margin-bottom: 25px;
    }

    .hero__highlights span {
        width: 100%;
    }

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

    .button {
        width: 100%;
    }

    .hero__trust {
        align-items: flex-start;
        margin-top: 24px;
        font-size: 12px;
        line-height: 1.45;
    }

    .quick-action {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 13px;
        padding: 18px 16px;
    }

    .quick-action__icon {
        width: 40px;
        height: 40px;
    }

    .quick-action strong {
        font-size: 15px;
    }

    .quick-action small {
        font-size: 12px;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .intro__copy {
        padding-top: 0;
    }

    .intro__copy .lead,
    .community__content > .lead {
        font-size: 19px;
    }

    .service-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 350px;
    }

    .service-card__top {
        min-height: 145px;
    }

    .community-panel {
        padding: 24px 20px;
    }

    .feature {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .news-card__image--featured {
        min-height: 220px;
    }

    .news-card__image--featured span {
        font-size: 28px;
    }

    .news-card__content {
        padding: 22px 20px;
    }

    .news-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 14px;
    }

    .news-item:hover {
        padding-left: 3px;
    }

    .resource-card {
        min-height: 210px;
        padding: 24px;
    }

    .resource-card__icon {
        margin-bottom: 28px;
    }

    .join {
        min-height: 0;
    }

    .join__content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .join h2 {
        font-size: 44px;
    }

    .join p:not(.eyebrow) {
        font-size: 18px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 50px 0;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 18px 0;
    }
}

/* ============================================================
   VERY SMALL PHONES
============================================================ */

@media (max-width: 380px) {

    .brand__text strong {
        font-size: 18px;
        letter-spacing: .09em;
    }

    .brand__text small {
        display: none;
    }

    .header-button {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 11px;
    }

    .nav-cta {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 11px;
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .quick-action {
        grid-template-columns: 38px minmax(0, 1fr) 18px;
        gap: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .quick-action__icon {
        width: 38px;
        height: 38px;
    }

    .quick-action__arrow {
        font-size: 21px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .join h2 {
        font-size: 39px;
    }
}

/* ============================================================
   REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}