:root {
    --navy: #0B2A4A;
    --navy-2: #123A63;
    --navy-soft: #EAF0F6;
    --green: #12946B;
    --green-dark: #0B7350;
    --green-soft: #E4F5EE;
    --ink: #1B2733;
    --body-text: #4B5768;
    --bg: #FFFFFF;
    --bg-soft: #F5F7FA;
    --line: #E1E6EC;
    --white: #FFFFFF;

    --head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", "Courier New", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

a {
    color: inherit;
}

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

:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

section[id],
main[id] {
    scroll-margin-top: 88px;
}

h1, h2, h3 {
    font-family: var(--head);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--navy);
}

.eyebrow {
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-dark);
    display: inline-block;
    margin-bottom: 14px;
}

.eyebrow-light {
    color: #8FE0C4;
}

.eyebrow-ticker {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}

.eyebrow-ticker-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    white-space: nowrap;
    animation: eyebrow-ticker-scroll 16s linear infinite;
}

.eyebrow-ticker .eyebrow {
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 56px;
}

@keyframes eyebrow-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .eyebrow-ticker-track {
        animation: none;
    }
}

/* Desktop/tablet: static text, no scroll. The ticker is a mobile-only treatment. */
@media (min-width: 761px) {
    .eyebrow-ticker {
        position: static;
        display: block;
        width: auto;
        height: auto;
        overflow: visible;
    }

    .eyebrow-ticker-track {
        position: static;
        display: block;
        animation: none;
    }

    .eyebrow-ticker .eyebrow {
        margin-bottom: 0;
    }

    .eyebrow-ticker .eyebrow[aria-hidden="true"] {
        display: none;
    }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand {
    font-family: var(--head);
    font-size: 21px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 9px;
}

.brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
    flex-shrink: 0;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navlinks a {
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--body-text);
    transition: color .15s ease;
}

.navlinks a:hover {
    color: var(--navy);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--navy);
    transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.label-short { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 7px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .15s ease;
}

.btn-accent {
    background: var(--green);
    color: var(--white);
}
.btn-accent:hover {
    background: var(--green-dark);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.55);
    color: var(--white);
    background: rgba(255,255,255,.06);
}
.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.14);
}

.btn-outline-navy {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

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

.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(11,42,74,.97) 0%, rgba(11,42,74,.95) 42%, rgba(11,42,74,.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 96px 32px 72px;
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 22px;
}

.accent-green {
    color: #7FE3C1;
}

.hero-sub {
    font-size: 17px;
    color: #D6E2ED;
    max-width: 56ch;
    margin-bottom: 32px;
}

.hero-sub-short {
    display: none;
}

.hero-mobile-img {
    display: none;
}

.hero-trust {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.hero-trust > span {
    display: block;
    font-size: 12.5px;
    color: #9FB4C9;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: var(--mono);
    margin-bottom: 12px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-item {
    font-size: 13px;
    color: #E8EEF3;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    padding: 6px 12px;
    border-radius: 20px;
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */

.section-head {
    max-width: 640px;
    margin-bottom: 52px;
}

.section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 14px;
}

.section-head p {
    color: var(--body-text);
    font-size: 16px;
    max-width: 58ch;
}

/* ============================================================
   INTEGRATION DIAGRAM
   ============================================================ */

.diagram-section {
    padding: 88px 0;
    background: var(--bg);
}

.diagram {
    position: relative;
    padding-top: 8px;
}

.diagram-nodes {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.d-node {
    display: block;
    flex: 1;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 16px;
    box-shadow: 0 2px 10px rgba(11,42,74,.05);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.d-node:hover,
.d-node:focus-visible {
    border-color: var(--green);
    box-shadow: 0 8px 20px rgba(11,42,74,.1);
    transform: translateY(-2px);
}

.d-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.d-dot-navy { background: var(--navy); }
.d-dot-green { background: var(--green); }

.d-node h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.d-node p {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--body-text);
    line-height: 1.5;
}

.diagram-lines {
    display: block;
    width: 100%;
    height: 110px;
    margin-top: -1px;
}

.d-line {
    fill: none;
    stroke: var(--line);
    stroke-width: 2;
}

.diagram-hub {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: fit-content;
    background: var(--navy);
    color: var(--white);
    font-family: var(--head);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 30px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(11,42,74,.22);
}

.hub-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

/* ============================================================
   SYSTEMS CARD GRID
   ============================================================ */

.systems {
    padding: 88px 0;
    background: var(--bg-soft);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.sys-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 2px 10px rgba(11,42,74,.04);
}

.sys-eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .07em;
    color: var(--body-text);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.sys-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.sys-card > p {
    font-size: 14px;
    color: var(--body-text);
    margin-bottom: 18px;
}

.badge-label {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8A97A6;
    margin-bottom: 10px;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.badge {
    font-size: 12px;
    font-weight: 500;
    color: var(--navy);
    background: var(--navy-soft);
    padding: 5px 11px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--body-text);
}

.badge-list-light {
    margin-top: 8px;
}

.card-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--green-dark);
    text-decoration: none;
}

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

/* ============================================================
   STUDENT EXPERIENCE
   ============================================================ */

.students {
    padding: 88px 0;
    background: var(--bg);
}

.student-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.student-card {
    border: none;
}

.student-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
}

.student-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.student-card p {
    font-size: 13.5px;
    color: var(--body-text);
}

/* ============================================================
   SUPPORT / IT TEAM EXTENSION
   ============================================================ */

.support {
    padding: 88px 0;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}

.support h2 {
    color: var(--white);
    font-size: clamp(26px, 3.4vw, 38px);
    max-width: 20ch;
    margin-bottom: 18px;
}

.support-sub {
    color: #C7D6E3;
    font-size: 16px;
    max-width: 64ch;
    margin-bottom: 48px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.support-item {
    border-top: 2px solid var(--green);
    padding-top: 18px;
}

.support-mark {
    display: none;
}

.support-item h3 {
    color: var(--white);
    font-size: 17px;
    margin-bottom: 8px;
}

.support-item p {
    color: #B7C8D8;
    font-size: 14px;
}

/* ============================================================
   FLEXIBLE HOURS
   ============================================================ */

.hours {
    padding: 88px 0;
    background: var(--bg);
}

.hours-wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: start;
}

.hours-copy h2 {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 16px;
}

.hours-copy p {
    color: var(--body-text);
    font-size: 16px;
    max-width: 56ch;
    margin-bottom: 28px;
}

.hours-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 30px 28px;
}

.hours-card-label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8A97A6;
    margin-bottom: 16px;
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hours-list li {
    font-size: 14.5px;
    color: var(--ink);
    padding-left: 26px;
    position: relative;
}

.hours-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green-soft);
    border: 1.5px solid var(--green);
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */

.process {
    padding: 88px 0;
    background: var(--bg);
}

.timeline {
    display: flex;
    flex-direction: column;
}

.timeline-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 24px;
    padding-bottom: 32px;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--head);
    font-weight: 700;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-body h3 {
    font-size: 19px;
    margin-bottom: 6px;
    padding-top: 8px;
}

.timeline-body p {
    color: var(--body-text);
    font-size: 14.5px;
    max-width: 62ch;
}

/* ============================================================
   MIDDLEWARE LAYER
   ============================================================ */

.layer {
    padding: 72px 0;
    background: var(--bg-soft);
}

.layer h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 14px;
}

.layer p {
    color: var(--body-text);
    max-width: 58ch;
    font-size: 15.5px;
    margin-bottom: 28px;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    max-width: 18ch;
    margin: 14px auto 18px;
}

.cta p {
    color: var(--body-text);
    max-width: 52ch;
    margin: 0 auto 32px;
    font-size: 16px;
}

.cta .hero-actions {
    justify-content: center;
}

.cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

footer {
    border-top: 1px solid var(--line);
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand {
    font-family: var(--head);
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-grid p {
    font-size: 13.5px;
    color: var(--body-text);
    max-width: 32ch;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8A97A6;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    text-decoration: none;
    font-size: 14px;
    color: var(--body-text);
}

.footer-col a:hover {
    color: var(--green-dark);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 12px;
    color: #8A97A6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .student-grid,
    .support-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hours-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .diagram-nodes {
        flex-wrap: wrap;
    }

    .d-node {
        flex: 1 1 calc(33.333% - 16px);
        min-width: 140px;
    }

    .diagram-lines {
        display: none;
    }

    .diagram-hub {
        margin-top: 28px;
    }
}

@media (max-width: 860px) {
    .navlinks {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 20px 14px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 26px rgba(11,42,74,.08);
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks li {
        border-top: 1px solid var(--line);
    }

    .navlinks a {
        display: block;
        padding: 15px 2px;
        font-size: 15.5px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav .wrap {
        height: 64px;
    }

    .hero-content {
        padding: 72px 24px 56px;
    }

    .diagram-section,
    .systems,
    .students,
    .support,
    .hours,
    .process {
        padding: 60px 0;
    }

    .layer {
        padding: 52px 0;
    }

    .cta {
        padding: 72px 0;
    }

    .section-head {
        margin-bottom: 36px;
    }
}

@media (max-width: 760px) {
    .d-node {
        flex: 1 1 calc(50% - 16px);
    }
}

@media (max-width: 700px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .wrap {
        padding: 0 20px;
    }

    .label-long { display: none; }
    .label-short { display: inline; }

    .nav-cta {
        padding: 10px 14px;
        font-size: 14px;
    }

    .hero {
        min-height: 560px;
    }

    .hero h1 {
        font-size: clamp(28px, 7vw, 38px);
    }

    .hero-sub {
        font-size: 15.5px;
    }

    .hero-sub-full {
        display: none;
    }

    .hero-sub-short {
        display: block;
    }

    .hero-mobile-img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 28px;
        box-shadow: 0 12px 30px rgba(11,42,74,.28);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .d-node {
        flex: 1 1 100%;
    }

    .section-head h2 {
        font-size: clamp(24px, 6vw, 30px);
    }

    .timeline-item {
        grid-template-columns: 36px 1fr;
        gap: 16px;
    }

    .timeline-num {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .timeline-item::before {
        left: 17px;
        top: 36px;
    }

    .cta h2 {
        font-size: clamp(26px, 7vw, 34px);
        max-width: 20ch;
    }

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

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ============================================================
   SUBPAGE HERO (platform pages)
   ============================================================ */

.page-hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    padding: 100px 0 76px;
}

.page-hero .eyebrow {
    margin-bottom: 16px;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.14;
    max-width: 20ch;
    margin-bottom: 18px;
}

.page-hero-sub {
    color: #D6E2ED;
    font-size: 16.5px;
    max-width: 60ch;
    margin-bottom: 32px;
}

.breadcrumb {
    display: block;
    font-family: var(--mono);
    font-size: 12px;
    color: #9FB4C9;
    text-decoration: none;
    margin-bottom: 22px;
}

.breadcrumb:hover {
    color: var(--white);
}

/* ============================================================
   PATTERN CARDS (platform pages)
   ============================================================ */

.patterns {
    padding: 84px 0;
    background: var(--bg-soft);
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pattern-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px 24px;
    border-top: 3px solid var(--green);
}

.pattern-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.pattern-card p {
    font-size: 14px;
    color: var(--body-text);
}

.platforms-section {
    padding: 84px 0;
    background: var(--bg);
}

@media (max-width: 900px) {
    .pattern-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .page-hero {
        padding: 76px 0 56px;
    }

    .patterns,
    .platforms-section {
        padding: 56px 0;
    }
}

/* ============================================================
   BLOG
   ============================================================ */

.blog-section {
    padding: 84px 0 100px;
    background: var(--bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px 24px;
    box-shadow: 0 2px 10px rgba(11,42,74,.04);
    display: flex;
    flex-direction: column;
}

.blog-tag {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-soft);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.blog-card h2 {
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-card h2 a {
    text-decoration: none;
    color: var(--navy);
}

.blog-card h2 a:hover {
    color: var(--green-dark);
}

.blog-card p {
    font-size: 14px;
    color: var(--body-text);
    margin-bottom: 18px;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 8px;
    font-family: var(--mono);
    font-size: 12px;
    color: #8A97A6;
}

.blog-empty {
    max-width: 560px;
    padding: 56px 0;
    border-top: 1px solid var(--line);
}

.blog-empty h2 {
    font-size: clamp(24px, 3vw, 30px);
    margin-bottom: 14px;
}

.blog-empty p {
    color: var(--body-text);
    font-size: 15.5px;
    margin-bottom: 28px;
}

@media (max-width: 1000px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .blog-section {
        padding: 56px 0 72px;
    }
}

/* ============================================================
   BLOG POST / ARTICLE
   ============================================================ */

.post-hero-section {
    padding: 96px 0 0;
}

.post-hero-section .breadcrumb {
    margin-bottom: 22px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12.5px;
    color: #9FB4C9;
    margin-bottom: 18px;
}

.post-category {
    color: #7FE3C1;
    font-weight: 500;
}

.post-hero-section h1 {
    color: var(--white);
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.14;
    max-width: 22ch;
    margin-bottom: 32px;
}

.post-hero-image-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    transform: translateY(40px);
}

.post-hero-image {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(11,42,74,.18);
    display: block;
}

.post-body-section {
    padding: 80px 0 40px;
    background: var(--bg);
}

.post-body {
    max-width: 680px;
    margin: 0 auto;
}

.post-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink);
    margin-bottom: 24px;
}

.post-body p.lede {
    font-size: 19px;
    color: var(--navy);
}

.post-body h2 {
    font-size: 24px;
    margin: 44px 0 18px;
}

.post-body strong {
    color: var(--navy);
}

.post-share {
    max-width: 680px;
    margin: 0 auto;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.post-nav-links {
    max-width: 680px;
    margin: 0 auto;
    padding: 8px 0 56px;
}

.post-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 13.5px;
    color: var(--body-text);
    text-decoration: none;
}

.post-nav-links a:hover {
    color: var(--green-dark);
}

@media (max-width: 620px) {
    .post-hero-section {
        padding: 76px 0 0;
    }

    .post-hero-image-wrap {
        transform: translateY(28px);
        padding: 0 20px;
    }

    .post-body-section {
        padding: 56px 0 24px;
    }

    .post-body p {
        font-size: 16px;
    }

    .post-body p.lede {
        font-size: 17.5px;
    }

    .post-body h2 {
        font-size: 21px;
    }
}

/* ============================================================
   404 PAGE
   ============================================================ */

.notfound {
    padding: 96px 0 120px;
    min-height: 55vh;
}

.notfound-wrap {
    max-width: 640px;
}

.notfound h1 {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.15;
    margin-bottom: 16px;
}

.notfound-sub {
    font-size: 16.5px;
    color: var(--body-text);
    max-width: 52ch;
    margin-bottom: 36px;
}

.notfound-actions {
    margin-bottom: 48px;
}

.notfound-links {
    border-top: 1px solid var(--line);
    padding-top: 28px;
}

.notfound-links-label {
    display: block;
    font-family: var(--mono);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #8A97A6;
    margin-bottom: 14px;
}

.notfound-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 14.5px;
    font-weight: 500;
}

.notfound-jump a {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1.5px solid var(--line);
    padding-bottom: 2px;
    transition: color .15s ease, border-color .15s ease;
}

.notfound-jump a:hover {
    color: var(--green-dark);
    border-color: var(--green);
}

@media (max-width: 620px) {
    .notfound {
        padding: 64px 0 80px;
    }

    .notfound-sub {
        font-size: 15px;
    }

    .notfound-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .notfound-actions .btn {
        justify-content: center;
    }
}