:root {
    --site-primary: #0f766e;
    --site-ink: #102033;
    --site-muted: #5f6f85;
    --site-soft: #f6f8fb;
    --site-line: #dfe7ef;
    --site-gold: #f4b740;
    --site-coral: #de6b48;
    --site-blue: #2563a8;
}

* {
    box-sizing: border-box;
}

body.public-site {
    margin: 0;
    color: var(--site-ink);
    background: #fff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

.site-topbar {
    background: #0b1524;
    color: #dce7f5;
    font-size: 13px;
}

.site-wrap {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-topbar .site-wrap,
.site-header .site-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-topbar .site-wrap {
    min-height: 42px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-contact i {
    color: var(--site-gold);
    margin-right: 6px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(16, 32, 51, .08);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(16, 32, 51, .04);
}

.site-header .site-wrap {
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--site-ink);
    text-decoration: none;
    font-weight: 800;
}

.brand img {
    max-height: 54px;
    max-width: 220px;
    object-fit: contain;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--site-primary);
    color: #fff;
    font-weight: 900;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 44px;
    place-items: center;
    gap: 5px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(14, 32, 58, .08);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--site-ink);
    transition: transform .22s ease, opacity .22s ease, background .22s ease;
}

.nav-toggle:hover span,
.nav-toggle.is-open span {
    background: var(--site-primary);
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav a {
    color: #24364d;
    padding: 10px 12px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--site-primary);
    background: rgba(15, 118, 110, .08);
    transform: translateY(-1px);
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--site-primary);
    margin-left: 8px;
}

.site-nav .nav-cta:hover {
    color: #fff;
    background: #0b5f59;
    box-shadow: 0 12px 24px rgba(15, 118, 110, .22);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--site-primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(15, 118, 110, .24);
}

.btn-secondary {
    color: var(--site-ink);
    background: #fff;
    border-color: var(--site-line);
}

.hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: stretch;
    color: #fff;
    overflow: hidden;
    background: #0b1524;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -24% 44%;
    z-index: 1;
    height: 360px;
    background: radial-gradient(circle at center, rgba(244, 183, 64, .28), rgba(244, 183, 64, 0) 66%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6, 14, 27, .95) 0%, rgba(6, 14, 27, .78) 43%, rgba(15, 118, 110, .58) 70%, rgba(222, 107, 72, .52) 100%),
        radial-gradient(circle at 82% 22%, rgba(244, 183, 64, .2), rgba(244, 183, 64, 0) 30%);
}

.hero-carousel,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-carousel {
    z-index: 0;
}

.hero-slide {
    opacity: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.08);
    filter: saturate(1.05);
    transition: opacity .9s ease, transform 7s ease, filter .9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1.01);
}

.hero-layout {
    position: relative;
    z-index: 2;
    min-height: 690px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 48px;
    align-items: center;
    padding: 92px 0 112px;
}

.hero-content {
    max-width: 790px;
    padding: 0;
    animation: heroCopyIn .7s ease both;
}

.eyebrow {
    color: var(--site-gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 14px 0 18px;
    font-size: 68px;
    line-height: 1.03;
    letter-spacing: 0;
}

.hero p,
.page-hero p {
    max-width: 680px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    font-weight: 800;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.hero-highlights i {
    color: var(--site-gold);
}

.hero-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
}

.hero-controls button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.hero-controls button:hover,
.hero-controls button.is-active {
    background: #fff;
    color: var(--site-primary);
    transform: translateY(-1px);
}

.hero-dots {
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 999px;
    transition: width .2s ease;
}

.hero-dots button.is-active {
    width: 24px;
}

.hero-aside {
    align-self: end;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: var(--site-ink);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .22);
    animation: floatPanel 6s ease-in-out infinite;
}

.hero-aside-image img {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
}

.hero-aside-body {
    padding: 24px;
}

.hero-aside-body .eyebrow {
    color: var(--site-coral);
}

.hero-aside-body h2 {
    margin: 8px 0 14px;
    font-size: 24px;
    line-height: 1.2;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 18px 0;
}

.hero-metrics span {
    padding: 12px;
    border-radius: 8px;
    background: #f6f8fb;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 800;
}

.hero-metrics strong {
    display: block;
    color: var(--site-primary);
    font-size: 22px;
    line-height: 1;
}

.hero-aside-body a {
    color: var(--site-primary);
    font-weight: 900;
    text-decoration: none;
}

.quick-actions {
    position: relative;
    margin-top: -76px;
    z-index: 3;
}

.scroll-news-band + .quick-actions {
    margin-top: 0;
    padding-top: 22px;
}

.scroll-news-band {
    position: relative;
    z-index: 4;
    color: #fff;
    background: #0b1524;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.scroll-news-wrap {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    overflow: hidden;
}

.scroll-news-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 8px;
    color: #0b1524;
    background: var(--site-gold);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.scroll-news-track {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.scroll-news-track a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 100%;
    color: #fff;
    text-decoration: none;
    animation: scrollNews 24s linear infinite;
    will-change: transform;
}

.scroll-news-track a:hover {
    animation-play-state: paused;
}

.scroll-news-track span {
    color: var(--site-gold);
    font-weight: 900;
}

.scroll-news-track strong {
    font-weight: 700;
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .22);
    box-shadow: 0 18px 54px rgba(14, 32, 58, .16);
}

.proof-strip div {
    min-height: 92px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .96);
    transition: transform .2s ease, background .2s ease;
}

.proof-strip div:hover {
    transform: translateY(-2px);
    background: #fff;
}

.proof-strip strong {
    display: block;
    color: var(--site-primary);
    font-size: 28px;
    line-height: 1;
}

.proof-strip span {
    display: block;
    margin-top: 8px;
    color: var(--site-muted);
    font-weight: 800;
    font-size: 13px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(16, 32, 51, .08);
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(14, 32, 58, .13);
}

.quick-card,
.info-card,
.staff-card,
.post-card,
.award-card,
.testimonial-card {
    position: relative;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: #fff;
}

.info-card::before,
.staff-card::before,
.post-card::before,
.award-card::before,
.testimonial-card::before,
.form-surface::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--site-primary), var(--site-gold), var(--site-coral));
}

.quick-card {
    min-height: 116px;
    padding: 18px;
    color: var(--site-ink);
    text-decoration: none;
    display: grid;
    align-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.quick-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .7) 45%, transparent 75%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.quick-card i {
    color: var(--site-primary);
    font-size: 24px;
}

.quick-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 118, 110, .3);
    box-shadow: 0 18px 38px rgba(14, 32, 58, .14);
    background: linear-gradient(180deg, #fff, #f9fcfb);
}

.quick-card:hover::after {
    transform: translateX(120%);
}

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

.section {
    padding: 86px 0;
}

.section.compact {
    padding-top: 58px;
}

.section.soft {
    background: linear-gradient(180deg, #f7fafc 0%, #eef5f3 100%);
}

.section-head {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-head-row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-head h2 {
    margin: 6px 0 0;
    font-size: 42px;
    line-height: 1.12;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
    gap: 48px;
    align-items: center;
}

.align-start {
    align-items: start;
}

.prose {
    color: var(--site-muted);
    font-size: 16px;
}

.prose p {
    margin: 0 0 16px;
}

.media-frame {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 22px 54px rgba(14, 32, 58, .12);
    background: #dfe7ef;
    transform: rotate(-1deg);
}

.media-frame img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    transform: rotate(1deg) scale(1.04);
    transition: transform .55s ease;
}

.media-frame:hover img {
    transform: rotate(1deg) scale(1.09);
}

.media-stack {
    display: grid;
    gap: 14px;
}

.media-note {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-left: 4px solid var(--site-coral);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(14, 32, 58, .08);
    font-weight: 800;
    animation: notePulse 4.8s ease-in-out infinite;
}

.media-note i {
    color: var(--site-coral);
    font-size: 24px;
}

.application-band {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(14, 32, 58, .1);
}

.apply-panel {
    position: relative;
    min-height: 260px;
    padding: 44px;
    color: #fff;
    background: linear-gradient(135deg, #0b1524, #2563a8);
    overflow: hidden;
}

.apply-panel::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    transition: transform .35s ease;
}

.apply-panel:hover::after {
    transform: scale(1.18);
}

.apply-panel + .apply-panel {
    background: linear-gradient(135deg, var(--site-primary), var(--site-coral));
}

.apply-panel span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .16);
    font-weight: 900;
}

.apply-panel h2 {
    margin: 0 0 12px;
}

.feature-band {
    color: #fff;
    background: linear-gradient(120deg, rgba(8, 17, 31, .86), rgba(15, 118, 110, .8)), var(--feature-image);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-copy {
    max-width: 480px;
    color: rgba(255, 255, 255, .86);
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    transition: transform .22s ease, background .22s ease;
}

.feature-item:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, .15);
}

.pillar-card {
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(14, 32, 58, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, .26);
    box-shadow: 0 22px 50px rgba(14, 32, 58, .12);
}

.pillar-card i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--site-primary), var(--site-blue));
    font-size: 22px;
}

.pillar-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.pillar-card p {
    margin: 0;
    color: var(--site-muted);
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 22px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.carousel-controls {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.carousel-controls button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    color: var(--site-ink);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(14, 32, 58, .08);
    transition: transform .2s ease, color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.carousel-controls button:hover {
    color: #fff;
    background: var(--site-primary);
    border-color: var(--site-primary);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 118, 110, .22);
}

.section-carousel {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 26px;
    margin: 0 -4px -16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 118, 110, .45) transparent;
}

.section-carousel::-webkit-scrollbar {
    height: 8px;
}

.section-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.section-carousel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(15, 118, 110, .38);
}

.section-carousel > .award-card,
.section-carousel > .testimonial-card {
    flex: 0 0 min(360px, calc(100vw - 64px));
    scroll-snap-align: start;
}

.section-carousel > .testimonial-card {
    min-height: 260px;
}

.section-carousel > .muted {
    flex: 0 0 100%;
}

.staff-card,
.post-card,
.award-card,
.testimonial-card,
.info-card {
    overflow: hidden;
    box-shadow: 0 16px 42px rgba(14, 32, 58, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.staff-card:hover,
.post-card:hover,
.award-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, .24);
    box-shadow: 0 24px 56px rgba(14, 32, 58, .14);
}

.staff-card img,
.post-card img,
.award-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.staff-card:hover img,
.post-card:hover img,
.award-card:hover img {
    transform: scale(1.06);
}

.testimonial-card > img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin: 22px 0 0 22px;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.card-body a {
    color: var(--site-ink);
    text-decoration: none;
}

.card-body a:hover {
    color: var(--site-primary);
}

.muted {
    color: var(--site-muted);
}

.proprietor {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 24px;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, #0b1524, #16375c);
    color: #fff;
    border-radius: 8px;
}

.proprietor img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.news-mini-grid {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.news-mini {
    display: block;
    padding: 15px 16px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    color: var(--site-ink);
    background: #fff;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.news-mini span {
    display: block;
    color: var(--site-muted);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.news-mini strong {
    display: block;
    line-height: 1.35;
}

.news-mini:hover {
    color: var(--site-primary);
    border-color: rgba(15, 118, 110, .28);
    transform: translateX(4px);
    box-shadow: 0 12px 26px rgba(14, 32, 58, .08);
}

.page-hero {
    color: #fff;
    background: linear-gradient(120deg, rgba(8, 17, 31, .82), rgba(15, 118, 110, .7)), var(--page-image);
    background-position: center;
    background-size: cover;
}

.page-hero .site-wrap {
    padding: 108px 0 74px;
}

.form-surface {
    position: relative;
    overflow: hidden;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(14, 32, 58, .1);
}

.compact-form {
    max-width: 820px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
    font-size: 14px;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--site-line);
    border-radius: 7px;
    padding: 13px 14px;
    font: inherit;
    color: var(--site-ink);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
    outline: 0;
    border-color: rgba(15, 118, 110, .55);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, .1);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.alert {
    padding: 14px 16px;
    border-radius: 7px;
    margin-bottom: 18px;
    font-weight: 700;
}

.alert-success {
    background: #e8f8ef;
    color: #166534;
}

.alert-danger {
    background: #fff0f0;
    color: #b42318;
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 34px;
    align-items: start;
}

.blog-main {
    min-width: 0;
}

.compact-head {
    margin-bottom: 22px;
}

.compact-head h2 {
    font-size: 34px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.sidebar {
    display: grid;
    gap: 16px;
    align-content: start;
}

.sidebar-card {
    position: sticky;
    top: 106px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.sidebar-title span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--site-primary), var(--site-blue));
}

.sidebar-title h3 {
    margin: 0;
}

.mini-post {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    margin: 0 -10px 6px;
    border-radius: 8px;
    color: var(--site-ink);
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.mini-post:hover {
    background: #f6f8fb;
    transform: translateX(3px);
}

.mini-post img {
    width: 82px;
    height: 70px;
    object-fit: cover;
    border-radius: 7px;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--site-muted);
    font-size: 13px;
    font-weight: 800;
}

.post-meta i {
    color: var(--site-coral);
    margin-right: 6px;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 8px;
    color: var(--site-primary);
    background: rgba(15, 118, 110, .09);
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    color: var(--site-primary);
    font-weight: 900;
    text-decoration: none;
}

.read-link:hover {
    color: var(--site-coral);
}

.pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.page-link {
    display: block;
    padding: 9px 13px;
    border: 1px solid var(--site-line);
    border-radius: 7px;
    color: var(--site-ink);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(14, 32, 58, .06);
}

.page-item.active .page-link {
    color: #fff;
    background: var(--site-primary);
}

.site-footer {
    color: #dce7f5;
    background: #0b1524;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1fr;
    gap: 34px;
    padding: 58px 0;
}

.site-footer a {
    color: #dce7f5;
    text-decoration: none;
}

.footer-brand {
    color: #fff;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0;
    color: #9fb0c8;
    font-size: 14px;
}

.pagination-wrap {
    margin-top: 28px;
}

.pagination-wrap nav {
    display: block;
    padding: 18px;
    border: 1px solid rgba(16, 32, 51, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(14, 32, 58, .08);
}

.pagination-wrap nav > div:first-child {
    display: none;
}

.pagination-wrap nav > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pagination-wrap nav > div:last-child > div:first-child p {
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
    font-weight: 800;
}

.pagination-wrap nav > div:last-child > div:first-child span {
    color: var(--site-ink);
}

.pagination-wrap nav > div:last-child > div:last-child > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-wrap a,
.pagination-wrap [aria-disabled] > span,
.pagination-wrap [aria-current] > span {
    min-width: 42px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    color: var(--site-ink);
    background: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(14, 32, 58, .06);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.pagination-wrap a:hover {
    color: #fff;
    border-color: var(--site-primary);
    background: var(--site-primary);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 118, 110, .22);
}

.pagination-wrap [aria-current] > span {
    color: #fff;
    border-color: var(--site-primary);
    background: var(--site-primary);
}

.pagination-wrap [aria-disabled] > span {
    color: #98a4b3;
    background: #f6f8fb;
    cursor: default;
    box-shadow: none;
}

.pagination-wrap svg {
    width: 18px;
    height: 18px;
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroCopyIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGlow {
    from {
        transform: translate3d(-20px, 8px, 0) scale(.96);
        opacity: .72;
    }
    to {
        transform: translate3d(16px, -10px, 0) scale(1.05);
        opacity: 1;
    }
}

@keyframes floatPanel {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes notePulse {
    0%,
    100% {
        box-shadow: 0 14px 34px rgba(14, 32, 58, .08);
    }
    50% {
        box-shadow: 0 18px 42px rgba(222, 107, 72, .14);
    }
}

@keyframes scrollNews {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

@media (max-width: 900px) {
    .site-topbar .site-wrap,
    .split,
    .blog-layout,
    .site-footer .footer-grid,
    .proprietor {
        grid-template-columns: 1fr;
    }

    .site-topbar .site-wrap {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .site-header .site-wrap {
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        min-height: 72px;
        padding: 10px 0;
        gap: 14px;
    }

    .brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .brand img {
        max-width: min(210px, calc(100vw - 118px));
    }

    .brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-toggle {
        display: grid;
        flex: 0 0 auto;
        margin-left: auto;
        order: 2;
    }

    .site-nav {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        display: grid;
        gap: 6px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #fff;
        box-shadow: none;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height .28s ease, opacity .2s ease, transform .2s ease, padding .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .site-nav.is-open {
        max-height: 440px;
        padding: 10px;
        border: 1px solid rgba(16, 32, 51, .08);
        box-shadow: 0 18px 44px rgba(14, 32, 58, .12);
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 11px 12px;
    }

    .site-nav .nav-cta {
        margin-left: 0;
        justify-content: center;
    }

    .quick-grid,
    .proof-strip,
    .grid-2,
    .blog-grid,
    .grid-3,
    .grid-4,
    .application-band,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .scroll-news-wrap {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 0;
    }

    .scroll-news-label {
        width: max-content;
    }

    .hero,
    .hero-layout {
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        padding: 62px 0 112px;
    }

    .hero::after {
        background: linear-gradient(100deg, rgba(6, 14, 27, .93), rgba(15, 118, 110, .7));
    }

    .hero h1,
    .page-hero h1 {
        font-size: 44px;
    }

    .section-head h2 {
        font-size: 32px;
    }

    .section-head-row {
        display: block;
    }

    .carousel-controls {
        margin-top: 16px;
    }

    .media-frame img {
        height: 310px;
    }

    .hero-aside {
        display: none;
    }

    .feature-band {
        background-attachment: scroll;
    }

    .sidebar-card {
        position: static;
    }

    .pagination-wrap nav > div:last-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .pagination-wrap nav > div:last-child > div:last-child > span {
        width: 100%;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .scroll-news-track a {
        animation: none;
        white-space: normal;
    }
}
