﻿:root {
    /* Brand tokens  base for all pages */
    --navy: #001a3f;
    --navy-deep: #071830;
    --blue: #0081c6;
    --blue-dark: #00639a;
    --cyan: #00aeff;
    --sky: #e8f4fc;
    --green: #008756;
    --green-dark: #006b44;
    --ink: #1c2b45;
    --muted: #5d6b82;
    --line: #dce7f0;
    --bg: #ffffff;
    --white: #ffffff;
    --shadow: 0 12px 32px rgba(0, 26, 63, 0.08);
    --shadow-soft: 0 8px 24px rgba(0, 26, 63, 0.06);
    --radius: 16px;
    --radius-sm: 12px;
    --pill: 999px;
    --font: "Manrope", sans-serif;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: var(--blue);
    text-decoration: none;
}
a:hover {
    color: var(--blue-dark);
}

.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}

/* Shared buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--pill);
    padding: 12px 24px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn--navy {
    background: var(--navy);
    color: #fff !important;
}
.btn--navy:hover {
    background: #002d72;
    color: #fff !important;
}
.btn--white {
    background: #fff;
    color: var(--navy) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}
.btn--white:hover {
    background: var(--sky);
    color: var(--navy) !important;
}
.btn--outline {
    background: #fff;
    border-color: var(--navy);
    color: var(--navy) !important;
}
.btn--outline:hover {
    background: var(--navy);
    color: #fff !important;
}
.btn--ghost-light {
    background: transparent;
    color: #fff !important;
    padding-left: 4px;
    padding-right: 8px;
}

/* Shared section title */
.section-title {
    margin: 0 0 16px;
    padding-top: 14px;
    position: relative;
    color: var(--navy);
    font-family: var(--font);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 4px;
    background: var(--cyan);
    border-radius: var(--pill);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--white);
    box-shadow: 0 4px 18px rgba(0, 26, 63, 0.05);
    border-bottom: 1px solid rgba(0, 26, 63, 0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
    padding: 10px 0;
}

.header-end {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 210px;
    max-width: 46vw;
    height: auto;
}

.header-cta {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 13.5px;
    border-radius: var(--pill);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    position: relative;
    margin: 0 auto;
    transition:
        transform 0.2s ease,
        top 0.2s ease,
        background 0.2s ease;
}

.nav-toggle span:before,
.nav-toggle span:after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span:before {
    top: -6px;
}
.nav-toggle span:after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] span:before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:after {
    top: 0;
    transform: rotate(-45deg);
}

.header-nav-wrap {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.nav,
.submenu,
.nav li,
.submenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav > li {
    position: relative;
}

.nav a,
.nav-btn {
    display: block;
    padding: 12px 11px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.nav a:hover,
.nav-btn:hover {
    color: var(--cyan);
}

.nav a.active {
    color: var(--cyan);
    box-shadow: inset 0 -2px 0 var(--cyan);
}

.has-sub > .nav-btn::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--cyan);
    z-index: 20;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.nav > li:hover .submenu,
.nav > li.open .submenu {
    display: block;
}

.submenu a {
    padding: 11px 16px;
    font-weight: 600;
    font-size: 14px;
    white-space: normal;
}

.submenu a:hover {
    background: var(--sky);
}

/* Page hero (inner pages) */
.page-hero {
    background:
        linear-gradient(105deg, rgba(0, 26, 63, 0.92) 0%, rgba(0, 26, 63, 0.75) 55%, rgba(0, 26, 63, 0.55) 100%),
        url("/assets/brand/home/bg-home.jpg") right center / cover no-repeat;
    padding: 56px 0 48px;
    text-align: left;
    box-shadow: none;
    color: #fff;
}
.page-hero h1 {
    margin: 0;
    color: #fff;
    font-family: var(--font);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.page-hero p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
}

/* Home (legacy blocks kept for shared class reuse; modern home uses .is-home below) */
.home-hero {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.96) 100%
        ),
        url("/assets/brand/hero.jpg") center 30% / cover no-repeat;
    padding: 42px 0 28px;
    box-shadow: none;
}
.patronage {
    text-align: center;
    color: var(--blue);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.35;
    margin: 0 0 28px;
}
.hero-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    padding: 32px 28px 36px;
    max-width: 860px;
    margin: 0 auto 28px;
}
.hero-card h1 {
    margin: 0;
    text-align: center;
    color: var(--blue);
    font-size: clamp(28px, 4vw, 42px);
}
.theme {
    margin: 14px 0 8px;
    text-align: center;
    color: var(--green);
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    line-height: 1.4;
}
.dates {
    text-align: center;
    color: var(--muted);
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0 22px;
}
.hero-card h2 {
    margin: 0 0 12px;
    font-size: 24px;
}
.hero-card p {
    margin: 0 0 14px;
    text-align: justify;
    font-size: 17px;
}
.signer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}
.signer img {
    width: 110px;
    height: 100px;
    object-fit: cover;
    object-position: top;
}
.signer strong {
    display: block;
}
.signer span {
    color: var(--muted);
    font-size: 15px;
}

.badge-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin: 8px 0 18px;
}
.badge-row img {
    height: 92px;
    width: auto;
}
.badge-row .ncpd-logo {
    height: 78px;
    width: auto;
    object-fit: contain;
}

.overview {
    margin: 24px 0;
    padding: 24px 28px;
}
.overview h2 {
    margin: 0 0 16px;
    color: var(--navy);
}
.overview-list {
    margin: 0;
}
.overview-item {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 12px 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.overview-item:last-child {
    border-bottom: 0;
}
.overview-item dt {
    font-weight: 700;
    color: var(--blue);
    margin: 0;
}
.overview-item dd {
    margin: 0;
    color: var(--ink);
}

.themes h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 8px;
}

.themes {
    background: var(--blue);
    color: #fff;
    padding: 28px;
    border-radius: 8px;
    margin-bottom: 28px;
}
.themes h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #fff;
}
.themes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.themes ul {
    margin: 0;
    padding-left: 20px;
}
.themes li {
    margin: 7px 0;
    font-size: 17px;
}

.practice-model {
    display: flex;
    justify-content: center;
    padding: 10px 0 36px;
}
.practice-model img {
    width: min(420px, 90%);
}

/* Content */
.section {
    padding: 36px 0 56px;
}
.panel {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
}
.lead {
    font-size: 17px;
}

/* Rich content from Filament editor */
.cms-content {
    color: inherit;
    line-height: 1.65;
}

.cms-content > *:first-child {
    margin-top: 0;
}

.cms-content > *:last-child {
    margin-bottom: 0;
}

.cms-content p {
    margin: 0 0 1em;
}

.cms-content ul,
.cms-content ol {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.cms-content li {
    margin: 0.35em 0;
}

.cms-content li p {
    margin: 0;
}

.cms-content h2,
.cms-content h3 {
    color: var(--navy);
    margin: 1.1em 0 0.45em;
    line-height: 1.3;
}

.cms-content blockquote {
    margin: 0 0 1em;
    padding: 0.25em 0 0.25em 1em;
    border-left: 3px solid var(--blue);
    color: var(--muted);
}

.cms-content a {
    color: var(--blue);
    text-decoration: underline;
}

.cms-content.lead {
    font-size: 17px;
}

.cms-content.patronage {
    color: var(--blue);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.35;
    margin: 0 0 28px;
    text-align: center;
}

.cms-content.patronage p {
    margin: 0 0 0.35em;
}
.note {
    background: #eef7fc;
    border-left: 4px solid var(--blue);
    padding: 14px 16px;
    margin-top: 18px;
}

.btn {
    display: inline-block;
    background: var(--blue);
    color: #fff !important;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 6px;
}
.btn:hover {
    background: var(--blue-dark);
}
.btn-green {
    background: var(--green);
}
.btn-green:hover {
    background: var(--green-dark);
}

.price-box {
    text-align: center;
    padding: 24px 16px;
}
.price-box h2 {
    color: var(--blue);
    font-size: clamp(26px, 4vw, 36px);
    margin: 0 0 8px;
}
.price {
    font-size: 42px;
    color: var(--green);
    font-weight: 800;
    margin: 8px 0 16px;
}

/* People â compact directory cards, 2 per row */
.people-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.person {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    align-items: start;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 10px;
    padding: 18px 18px;
    box-shadow: 0 6px 18px rgba(28, 39, 84, 0.04);
    min-width: 0;
}

.person-aside {
    display: flex;
    justify-content: center;
}

.person-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #e8eef3;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
    flex-shrink: 0;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    image-rendering: auto;
}

.person-photo--placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #d7eaf6 0%, #b7d6ea 100%);
    color: var(--navy);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.person-body {
    min-width: 0;
    text-align: left;
}

.person-heading {
    margin-bottom: 6px;
}

.person h3 {
    margin: 0 0 4px;
    font-size: 17px;
    color: var(--navy);
    line-height: 1.3;
}

.person .role {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.person .cred {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 10px;
    line-height: 1.45;
}

.bio-wrap {
    margin-top: 2px;
    text-align: left;
    padding-top: 10px;
    border-top: 1px solid #e8eef3;
}

.person .bio {
    color: var(--ink);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
    overflow: visible;
}

.person .bio p {
    margin: 0 0 10px;
}

.person .bio p:last-child {
    margin-bottom: 0;
}

.person .bio.is-collapsed {
    max-height: calc(1.6em * 3);
    overflow: hidden;
}

.person .bio:not(.is-collapsed) {
    max-height: none;
    overflow: visible;
}

.read-more-btn {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.read-more-btn:hover {
    color: var(--blue-dark);
    text-decoration: underline;
}

.group-title {
    margin: 8px 0 18px;
    color: var(--blue);
    font-size: 22px;
}

@media (max-width: 900px) {
    .people-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .person {
        grid-template-columns: 68px 1fr;
        gap: 12px;
        padding: 14px;
    }

    .person-photo {
        width: 64px;
        height: 64px;
    }

    .person h3 {
        font-size: 16px;
    }
}

/* Sponsors */
.sponsor-tier {
    text-align: center;
    margin: 28px 0;
}
.sponsor-tier h2 {
    color: var(--blue);
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px;
}
.sponsor-logos img {
    max-height: 92px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

/* Gallery / posters / agenda */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.media-grid a {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}
.media-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.agenda-stack img {
    width: 100%;
    height: 800px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    object-fit: contain;
}

.agenda-tabs {
    margin-top: 12px;
}
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tab-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}
.tab-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
}
.data-table th,
.data-table td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}
.data-table th {
    background: #eef7fc;
    color: var(--navy);
}

.download-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.download-list li {
    margin: 0;
}

.award-row .ncpd-logo {
    height: 78px;
    width: auto;
    object-fit: contain;
}
.venue-photo {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 80;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.open {
    display: flex;
}
.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
}
.lightbox button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}


@media (max-width: 900px) {
    .people-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .google-review__full { display: none; }
    .google-review__short { display: inline; }
}

@media (max-width: 1100px) {
    .google-review__full { display: none; }
    .google-review__short { display: inline; }
}

@media (max-width: 980px) {
    body.nav-open { overflow: hidden; }

    .site-header__inner {
        min-height: 64px;
        padding: 6px 0;
    }

    .nav-toggle { display: block; }

    .header-cta { display: none; }

    .header-nav-wrap {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow);
        background: #fff;
    }

    .header-nav-wrap.open { display: block; }

    .nav {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 16px;
    }

    .nav a,
    .nav-btn {
        padding: 12px 16px;
        font-size: 15px;
        white-space: normal;
    }

    .has-sub > .nav-btn {
        width: 100%;
        text-align: left;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border-top: 0;
        display: none;
        background: var(--sky);
        min-width: 0;
    }

    .nav > li:hover .submenu { display: none; }
    .nav > li.open .submenu { display: block; }
}

/* ===== Shared footer (mockup) ===== */
.site-footer {
    background: var(--navy-deep);
    border-top: 0;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
    padding: 48px 0 24px;
}

.footer-brand {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    width: 260px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 28px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-nav a:hover {
    color: var(--cyan) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-contact,
.footer-copy {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-contact a:hover {
    color: var(--cyan) !important;
}

/* ===== Home page ===== */
.is-home {
    background: #fff;
    color: var(--ink);
}

.is-home .site-header,
.is-home .hp-hero,
.is-home .hp-features,
.is-home .hp-about,
.is-home .hp-partners,
.is-home .site-footer {
    position: relative;
    z-index: 1;
}

/* Hero */
.hp-hero {
    position: relative;
    isolation: isolate;
    min-height: min(86vh, 820px);
    display: flex;
    align-items: center;
    padding: 78px 0 120px;
    color: #fff;
    overflow: hidden;
    background: var(--navy);
}

.hp-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(105deg, rgba(0, 18, 48, 0.96) 0%, rgba(0, 22, 55, 0.82) 34%, rgba(0, 26, 63, 0.35) 62%, rgba(0, 26, 63, 0.55) 100%),
        url("/assets/brand/home/bg-home.jpg") right center / cover no-repeat;
    background-attachment: fixed;
}

.hp-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 48% 58% at 78% 40%, rgba(0, 174, 255, 0.28), transparent 68%),
        radial-gradient(circle at 90% 12%, rgba(140, 220, 80, 0.18), transparent 26%),
        radial-gradient(circle at 70% 70%, rgba(0, 174, 255, 0.12), transparent 35%);
    pointer-events: none;
}

.hp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 190px;
    gap: 36px;
    align-items: end;
    width: 100%;
}

.hp-hero__copy {
    max-width: 640px;
    animation: hpIn 0.85s ease both;
}

.hp-patronage,
.hp-patronage__fallback {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.hp-patronage .cms-content,
.hp-patronage .cms-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.hp-kicker {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.hp-title {
    margin: 0 0 26px;
    font-family: var(--font);
    font-size: clamp(52px, 8.5vw, 92px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.hp-title span {
    color: var(--cyan);
}

.hp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 32px;
}

.hp-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
}

.hp-meta__item svg {
    width: 18px;
    height: 18px;
    opacity: 0.95;
    color: var(--cyan);
}

.hp-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.hp-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.95);
    display: inline-grid;
    place-items: center;
    position: relative;
}

.hp-play::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: 2px;
}

.hp-hero__aside {
    animation: hpIn 1s ease 0.15s both;
    align-self: center;
    text-align: right;
}

.hp-hero__aside ul {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0 0 14px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 800;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 3px solid var(--cyan);
}

/* Features overlapping hero */
.hp-features {
    margin-top: -56px;
    padding: 0 0 36px;
    background: transparent;
}

.hp-features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.hp-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f4f9fd;
    border: 1px solid var(--sky);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: 0 10px 24px rgba(0, 26, 63, 0.04);
}

.hp-feature__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--blue-dark);
}

.hp-feature__icon svg {
    width: 28px;
    height: 28px;
}

.hp-feature h3 {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
}

.hp-feature p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

/* About */
.hp-about {
    padding: 28px 0 48px;
    background: #fff;
}

.hp-about__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: stretch;
}

.hp-about__text {
    position: relative;
    padding: 8px 12px 96px 0;
    overflow: hidden;
}

.hp-about__body {
    margin-bottom: 24px;
    max-width: 52ch;
}

.hp-about__body > p,
.hp-about__body .cms-content,
.hp-about__body .cms-content p {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.8;
    margin: 0;
}

.hp-about__body .cms-content p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-about__body .cms-content p + p {
    display: none;
}

.hp-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 84px;
    opacity: 0.14;
    background:
        linear-gradient(180deg, transparent, #fff 92%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 120' fill='%23001a3f'%3E%3Cpath d='M0 120V78h28V52h18v26h22V40h16v18h14V30h24v48h18V58h20v20h16V46h26v32h18V36h30v42h20V62h18v16h22V48h28v30h18V70h16v50z'/%3E%3C/svg%3E")
        center bottom / cover no-repeat;
    pointer-events: none;
}

.hp-tiles {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-tile {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff !important;
    display: flex;
    min-height: 160px;
    background:
        linear-gradient(90deg, var(--tile-overlay, rgba(0, 26, 63, 0.95)) 0%, rgba(0, 26, 63, 0.25) 100%),
        var(--tile-image) center / cover no-repeat;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-tile--navy { --tile-overlay: rgba(0, 26, 63, 0.94); }
.hp-tile--blue { --tile-overlay: rgba(0, 90, 150, 0.88); }
.hp-tile--sky { --tile-overlay: rgba(0, 130, 180, 0.84); }

.hp-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 26, 63, 0.16);
}

.hp-tile__content {
    padding: 24px 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hp-tile__icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: auto; /* Pushes the following content to the bottom if there is height, but actually we want it at the top */
}

.hp-tile__icon svg {
    width: 20px;
    height: 20px;
}

.hp-tile h3 {
    margin: 24px 0 14px;
    font-size: 26px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hp-tile__btn {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: var(--pill);
    border: 1px solid rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Partners */
.hp-partners {
    padding: 20px 0 88px;
    background: #fff;
}

.hp-partners__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.hp-partners__head .section-title {
    margin-bottom: 0;
}

.hp-partners__logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.partner-card {
    display: grid;
    place-items: center;
    min-height: 108px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.partner-card img {
    width: 100%;
    max-height: 64px;
    object-fit: contain;
}

@keyframes hpIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .hp-hero__grid { grid-template-columns: 1fr; }
    .hp-hero__aside { display: none; }
    .hp-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-about__grid { grid-template-columns: 1fr; }
    .hp-partners__logos { grid-template-columns: 1fr; }
    .hp-hero__media { background-attachment: scroll; }
}

@media (max-width: 640px) {
    .hp-features {
        margin-top: -36px;
        padding: 0 0 24px;
    }
    .hp-features__grid { grid-template-columns: 1fr; }
    .hp-hero {
        min-height: auto;
        padding: 48px 0 80px;
    }
    .hp-partners__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .hp-title {
        font-size: clamp(42px, 14vw, 64px);
    }
    .hp-tile { min-height: 132px; }
}
