:root {
    --ocean: #0b3d4a;
    --teal: #0f766e;
    --teal-deep: #115e59;
    --gold: #c9a227;
    --mist: #f3f7f6;
    --ink: #0f172a;
    --slate: #475569;
    --line: #d7e3df;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(11, 61, 74, .12);
    --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sims-home {
    margin: 0;
    color: var(--ink);
    background: var(--mist);
    font-family: var(--font);
    letter-spacing: -.011em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.home-wrap { overflow-x: hidden; }

.home-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 7vw;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(226,232,240,.9);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.brand strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.brand span {
    display: block;
    color: var(--slate);
    font-size: 12px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a,
.nav-drop > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--slate);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.nav-links a:hover,
.nav-drop > summary:hover,
.nav-drop[open] > summary {
    color: var(--ocean);
    background: #ecfdf5;
}

.nav-drop { position: relative; }
.nav-drop > summary::-webkit-details-marker { display: none; }

.nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.nav-menu a {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
}

.nav-menu a i {
    width: 18px;
    margin-top: 3px;
    color: var(--teal);
}

.nav-menu small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.nav-cta {
    background: var(--teal) !important;
    color: #fff !important;
    padding: 11px 16px !important;
}

.nav-cta:hover { background: var(--teal-deep) !important; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ocean);
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    padding: 64px 7vw 40px;
    background:
        radial-gradient(circle at 12% 18%, rgba(201,162,39,.16), transparent 28%),
        linear-gradient(135deg, #0b3d4a 0%, #0e5c66 52%, #0f766e 100%);
    color: #fff;
}

.hero-market {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 0;
}

.hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    padding: 80px 7vw 88px;
    display: block;
    background: #0b3d4a;
}

.hero-photo-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            #0b3d4a 0%,
            rgba(11, 61, 74, .97) 26%,
            rgba(11, 61, 74, .78) 42%,
            rgba(14, 92, 102, .42) 62%,
            rgba(15, 118, 110, .12) 82%,
            transparent 100%),
        url("/assets/images/marketing/hero-classroom.webp") center right / cover no-repeat;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-audience span {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #ccfbf1;
    font-size: 12px;
    font-weight: 700;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shot {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(11, 61, 74, .18);
}

.shot-hero {
    margin: 8px 0 -48px;
    border-color: rgba(255,255,255,.16);
}

.shot-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #0f172a;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.shot-bar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #334155;
}

.shot-bar span:nth-child(1) { background: #f87171; }
.shot-bar span:nth-child(2) { background: #fbbf24; }
.shot-bar span:nth-child(3) { background: #34d399; }
.shot-bar em { margin-left: 8px; font-style: normal; }

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.shot figcaption {
    padding: 12px 14px 14px;
    color: var(--slate);
    font-size: 14px;
    line-height: 1.45;
}

.shot figcaption strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
    font-size: 16px;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gallery-compact {
    max-width: 1100px;
}

.gallery-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "dash reports"
        "home mobile";
    gap: 14px;
    max-width: 1040px;
    align-items: start;
}

.shot-dash { grid-area: dash; }
.shot-reports { grid-area: reports; }
.shot-home { grid-area: home; }
.shot-mobile { grid-area: mobile; }

.gallery-bento .shot {
    display: flex;
    flex-direction: column;
}

.gallery-bento .shot img {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery-bento .shot:not(.shot-mobile) img {
    object-position: center 58%;
}

.shot-mobile {
    background: #fff;
}

.gallery-bento .shot-mobile img {
    object-fit: contain;
    object-position: center;
    background:
        linear-gradient(180deg, #edf6f2 0%, #e7f2ee 58%, #eef6f3 100%);
}

.copy-block {
    max-width: 760px;
}

.copy-block > p {
    color: var(--slate);
    font-size: 18px;
    line-height: 1.65;
}

.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.split.reverse { grid-template-columns: 1.05fr .95fr; }
.split.reverse > :first-child { order: 2; }

.check-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--slate);
    font-weight: 600;
}

.check-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccfbf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230f766e' d='M6.3 11.3 3.2 8.2l1.1-1.1 2 2 5.4-5.4 1.1 1.1z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.split-media {
    position: relative;
}

.split-media .shot { margin-right: 48px; }

.phone-shot {
    position: absolute;
    right: 0;
    bottom: -28px;
    width: 180px;
    margin: 0;
    padding: 10px 10px 16px;
    border-radius: 28px;
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(11, 61, 74, .28);
}

.phone-shot img {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.phone-shot span {
    display: block;
    margin-top: 10px;
    color: #ccfbf1;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.stack-shots {
    display: grid;
    gap: 16px;
}

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

.core-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11,61,74,.06);
}

.core-card i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    color: #fff;
}

.core-card h3 { margin: 0 0 12px; font-size: 20px; }

.core-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--slate);
    line-height: 1.6;
}

.core-card li { margin-bottom: 4px; }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.benefit i {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--teal);
}

.benefit p { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.5; }

.user-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.user-grid span {
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ocean);
    font-weight: 800;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.overview-grid p { color: var(--slate); font-size: 18px; line-height: 1.65; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #ccfbf1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.hero p.lead {
    max-width: 620px;
    margin: 0 0 28px;
    color: rgba(204,251,241,.92);
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions, .inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
}

.btn-light { background: #fff; color: var(--ocean); }
.btn-ghost {
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
    color: #fff;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-outline {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ocean);
}

.hero-panel {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-panel h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.portal-grid, .feature-grid, .module-grid, .stat-row {
    display: grid;
    gap: 14px;
}

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

.portal-card {
    display: block;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
}

.portal-card i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--teal);
}

.portal-card strong { display: block; font-size: 15px; }
.portal-card span { display: block; margin-top: 4px; color: var(--slate); font-size: 12px; }

.section { padding: 72px 7vw; }
.section.alt { background: #fff; }
#product { padding-top: 48px; padding-bottom: 48px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
#product .section-head { margin-bottom: 22px; }
.section-head p, .muted { color: var(--slate); }
.section h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -.03em;
}

.stat-row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -28px; padding: 0 7vw; }
.stat {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 30px; color: var(--ocean); }
.stat span { color: var(--slate); font-size: 13px; font-weight: 700; }

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature, .module {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(11,61,74,.06);
}
.feature i, .module i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ocean), var(--teal));
    color: #fff;
}
.feature h3, .module h3 { margin: 0 0 8px; font-size: 18px; }
.feature p, .module p { margin: 0; color: var(--slate); line-height: 1.55; }

.module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.login-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); display: grid; gap: 16px; }

.login-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}
.login-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #ecfdf5;
    color: var(--teal);
    font-size: 20px;
}
.login-card h3 { margin: 0 0 8px; }
.login-card p { flex: 1; color: var(--slate); }
.login-card .btn { margin-top: 16px; width: 100%; }

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

.about-card {
    overflow: hidden;
    border-radius: 24px;
    min-height: 320px;
    background:
        linear-gradient(180deg, rgba(11,61,74,.15), rgba(11,61,74,.55)),
        url("/assets/images/vanuatu_map.jpeg") center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: end;
    padding: 24px;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 56px 7vw;
    background: linear-gradient(135deg, #0b3d4a 0%, #0e5c66 52%, #0f766e 100%);
    color: #fff;
}

.cta-band h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -.03em;
}

.cta-band p {
    max-width: 620px;
    margin: 0;
    color: rgba(204,251,241,.92);
    line-height: 1.6;
}

.cta-band .eyebrow { color: #99f6e4; }

.home-footer {
    padding: 40px 7vw 28px;
    background: var(--ocean);
    color: #d1fae5;
}

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

.home-footer a { color: #fff; }
.home-footer h4 { margin: 0 0 12px; color: #fff; }
.home-footer ul { margin: 0; padding: 0; list-style: none; }
.home-footer li { margin-bottom: 8px; }

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: block;
    width: min(100%, 280px);
    height: auto;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 12px;
}

.footer-product {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.footer-copy {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(204,251,241,.75);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .hero, .about-grid, .login-grid, .stat-row, .footer-grid, .split, .split.reverse, .gallery, .core-grid, .overview-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "dash reports"
            "home mobile";
        align-items: start;
    }
    .feature-grid, .benefit-grid { grid-template-columns: 1fr 1fr; }
    .split.reverse > :first-child { order: 0; }
    .split-media .shot { margin-right: 0; }
    .phone-shot { position: static; width: 160px; margin-top: 16px; }
}

@media (max-width: 840px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 12px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
    }
    body.home-nav-open .nav-links { display: flex; }
    .nav-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
    .hero, .about-grid, .feature-grid, .module-grid, .login-grid, .stat-row, .footer-grid, .portal-grid, .gallery, .split, .split.reverse, .core-grid, .benefit-grid, .overview-grid {
        grid-template-columns: 1fr;
    }
    .gallery-bento {
        grid-template-columns: 1fr;
        grid-template-areas:
            "dash"
            "reports"
            "home"
            "mobile";
    }
    .gallery-bento .shot img {
        aspect-ratio: 16 / 10;
    }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .hero, .section, .stat-row, .home-nav, .home-footer, .cta-band { padding-left: 18px; padding-right: 18px; }
    .stat-row { margin-top: 18px; }
    .shot-hero { margin-bottom: 0; }
    .phone-shot { display: none; }
    .hero-photo {
        min-height: 0;
        padding-top: 48px;
        padding-bottom: 56px;
    }
    .hero-photo-bg {
        background:
            linear-gradient(180deg,
                rgba(11, 61, 74, .94) 0%,
                rgba(11, 61, 74, .88) 42%,
                rgba(11, 61, 74, .55) 72%,
                rgba(11, 61, 74, .28) 100%),
            linear-gradient(90deg,
                #0b3d4a 0%,
                rgba(11, 61, 74, .82) 38%,
                rgba(11, 61, 74, .28) 70%,
                transparent 100%),
            url("/assets/images/marketing/hero-classroom.webp") 72% center / cover no-repeat;
    }
}

/* ==========================================================
   SIMS2 PUBLIC HOMEPAGE — PROFESSIONAL DESIGN UPGRADE
   Scope: public homepage stylesheet only
   ========================================================== */

:root {
    --ocean: #103b52;
    --teal: #087f70;
    --teal-deep: #075e54;
    --gold: #d5a62b;
    --mist: #f3f7f6;
    --ink: #142b3b;
    --slate: #526574;
    --line: #dce7e5;
    --white: #ffffff;
}

/* Page foundation */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    color: var(--ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

::selection {
    color: #ffffff;
    background: var(--teal);
}

/* Navigation */
.home-nav {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 59, 82, 0.09);
    box-shadow: 0 5px 24px rgba(16, 59, 82, 0.045);
}

.home-nav a {
    transition: color 180ms ease, background 180ms ease;
}

.home-nav a:hover {
    color: var(--teal);
}

/* Main welcome banner */
.hero.hero-market {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(125deg, #103b52 0%, #075e54 100%);
    border-radius: 0 0 28px 28px;
}

.hero.hero-photo {
    min-height: 490px;
}

.hero-photo-bg {
    z-index: -2;
}

.hero.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        100deg,
        rgba(7, 35, 51, 0.94) 0%,
        rgba(8, 55, 64, 0.84) 48%,
        rgba(8, 55, 64, 0.43) 100%
    );
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding-top: 48px;
    padding-bottom: 48px;
}

.hero h1 {
    max-width: 850px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.8;
}

.hero .eyebrow {
    color: #f5d778;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-actions {
    gap: 14px;
    margin-top: 26px;
}

/* Buttons */
.btn,
.nav-cta {
    border-radius: 10px;
    font-weight: 750;
    transition: transform 180ms ease, box-shadow 180ms ease,
                background 180ms ease;
}

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

.btn:focus-visible,
.home-nav a:focus-visible,
.home-footer a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.btn-teal {
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 5px 14px rgba(8, 127, 112, 0.14);
}

.btn-teal:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    box-shadow: 0 9px 22px rgba(8, 127, 112, 0.22);
}

.btn-light {
    color: var(--ocean);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-outline {
    border: 1px solid var(--line);
}

.btn-outline:hover {
    border-color: var(--teal);
    background: #effaf7;
}

/* Quick facts beneath the hero */
.stat-row {
    position: relative;
    z-index: 2;
    gap: 18px;
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.stat {
    position: relative;
    padding: 23px 22px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(16, 59, 82, 0.055);
}

.stat b {
    display: block;
    color: var(--teal);
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 850;
    line-height: 1.15;
}

.stat span {
    display: block;
    margin-top: 8px;
    color: var(--slate);
    line-height: 1.55;
}

/* Section hierarchy and spacing */
.section {
    padding-top: clamp(52px, 7vw, 88px);
    padding-bottom: clamp(52px, 7vw, 88px);
}

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

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

.section-head .eyebrow,
.section > .section-head .eyebrow {
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section h2,
.cta-band h2 {
    color: var(--ocean);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    text-wrap: balance;
}

.section-head p,
.section p.muted {
    color: var(--slate);
    line-height: 1.8;
}

/* Product preview gallery */
.gallery-bento {
    gap: 20px;
}

.gallery-bento .shot {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: 0 12px 32px rgba(16, 59, 82, 0.075);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.gallery-bento .shot:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(16, 59, 82, 0.12);
}

.gallery-bento .shot img {
    display: block;
    max-width: 100%;
}

/* Feature, module, benefit and portal cards */
.module-grid > *,
.core-grid > *,
.feature-grid > *,
.benefit-grid > *,
.portal-grid > *,
.login-grid > *,
.overview-grid > * {
    min-width: 0;
}

.module-grid > *,
.core-grid > *,
.feature-grid > *,
.benefit-grid > *,
.portal-grid > * {
    border-color: var(--line);
    border-radius: 16px;
    transition: transform 180ms ease, box-shadow 180ms ease,
                border-color 180ms ease;
}

.module-grid > *:hover,
.core-grid > *:hover,
.feature-grid > *:hover,
.benefit-grid > *:hover,
.portal-grid > *:hover {
    border-color: #b5d8cf;
    box-shadow: 0 12px 30px rgba(16, 59, 82, 0.075);
    transform: translateY(-3px);
}

.portal-grid > * {
    background: #ffffff;
    box-shadow: 0 7px 24px rgba(16, 59, 82, 0.05);
}

.portal-grid h3,
.module-grid h3,
.core-grid h3,
.feature-grid h3,
.benefit-grid h3 {
    color: var(--ocean);
    font-weight: 750;
    line-height: 1.35;
}

.portal-grid p,
.module-grid p,
.core-grid p,
.feature-grid p,
.benefit-grid p {
    color: var(--slate);
    line-height: 1.7;
}

/* Highlight important section icons without recolouring images */
.module-grid i,
.core-grid i,
.feature-grid i,
.benefit-grid i,
.portal-grid i {
    transition: transform 180ms ease;
}

.module-grid > *:hover i,
.core-grid > *:hover i,
.feature-grid > *:hover i,
.benefit-grid > *:hover i,
.portal-grid > *:hover i {
    transform: scale(1.06);
}

/* Principal, ministry and overview content */
#principals,
#ministry,
#overview {
    scroll-margin-top: 30px;
}

.overview-grid {
    gap: 28px;
}

.overview-grid p {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.85;
}

#principals .btn,
#ministry .btn,
#overview .btn {
    margin-top: 8px;
}

/* Login portal section */
#portals {
    scroll-margin-top: 30px;
}

#portals .portal-grid a {
    text-decoration: none;
}

#portals .portal-grid a:hover {
    color: var(--teal-deep);
}

/* Closing call to action */
.cta-band {
    position: relative;
    overflow: hidden;
    gap: 24px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(38px, 5vw, 64px);
    padding-bottom: clamp(38px, 5vw, 64px);
    color: #ffffff;
    background: linear-gradient(115deg, #103b52 0%, #075e54 100%);
    border-top: 4px solid var(--gold);
}

.cta-band h2 {
    color: #ffffff;
}

.cta-band p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.87);
    line-height: 1.75;
}

.cta-band .eyebrow {
    color: #f5d778;
}

/* Footer */
.home-footer {
    color: #e3ecef;
    background: #0b2637;
}

.home-footer a {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 4px;
}

.home-footer a:hover {
    color: #f5d778;
}

.home-footer p,
.home-footer li {
    line-height: 1.75;
}

/* Responsive refinements */
@media (min-width: 1200px) {
    .hero.hero-photo {
        min-height: 530px;
    }

    .hero-copy {
        padding-top: 66px;
        padding-bottom: 66px;
    }
}

@media (max-width: 840px) {
    .hero.hero-photo {
        min-height: 0;
        border-radius: 0 0 20px 20px;
    }

    .hero-copy {
        padding-top: 40px;
        padding-bottom: 42px;
    }

    .hero.hero-photo::before {
        background: linear-gradient(
            100deg,
            rgba(7, 35, 51, 0.94),
            rgba(8, 55, 64, 0.76)
        );
    }

    .stat-row {
        padding-top: 22px;
        padding-bottom: 22px;
    }

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

    .gallery-bento .shot:hover,
    .module-grid > *:hover,
    .core-grid > *:hover,
    .feature-grid > *:hover,
    .benefit-grid > *:hover,
    .portal-grid > *:hover {
        transform: none;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
        letter-spacing: -0.035em;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

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

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .stat {
        padding: 18px;
        border-radius: 13px;
    }

    .section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .cta-band {
        border-top-width: 3px;
    }
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Company address beneath the footer branding */
.home-footer .footer-company-address {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0 0;
    color: #d5e3e8;
    font-size: 0.9rem;
    line-height: 1.8;
}

.home-footer .footer-company-address i {
    flex: 0 0 auto;
    margin-top: 5px;
    color: #f5d778;
}

/* ==========================================================
   SIMS2 PUBLIC NAVIGATION — VANUATU GREEN AND GOLD THEME
   ========================================================== */

.home-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(105deg, #075e43 0%, #087653 55%, #064e40 100%);
    border-bottom: 4px solid #f2c744;
    box-shadow: 0 8px 24px rgba(5, 48, 35, 0.2);
    backdrop-filter: blur(14px);
}

/* Fine red accent above the gold lower border */
.home-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #cf3338;
    pointer-events: none;
}

.home-nav .brand {
    color: #ffffff;
}

.home-nav .brand img {
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.home-nav .brand strong {
    color: #ffffff;
}

.home-nav .brand span {
    color: #e2f5e9;
}

.home-nav .nav-links a,
.home-nav .nav-drop > summary {
    color: #ffffff;
    transition: background 180ms ease, color 180ms ease,
                transform 180ms ease;
}

.home-nav .nav-links > a:not(.nav-cta):hover,
.home-nav .nav-drop > summary:hover,
.home-nav .nav-drop[open] > summary {
    color: #fff2b3;
    background: rgba(255, 255, 255, 0.13);
}

.home-nav .nav-links > a:not(.nav-cta):focus-visible,
.home-nav .nav-drop > summary:focus-visible {
    outline: 2px solid #ffe27a;
    outline-offset: 3px;
}

/* Bright gold call-to-action */
.home-nav .nav-links .nav-cta {
    color: #173c2b !important;
    background: linear-gradient(135deg, #ffe17a, #f2c744) !important;
    border: 1px solid #ffe99c;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    font-weight: 800;
}

.home-nav .nav-links .nav-cta:hover {
    color: #173c2b !important;
    background: #fff0ac !important;
    box-shadow: 0 6px 17px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

/* Keep the portal dropdown readable */
.home-nav .nav-menu {
    z-index: 110;
    background: #ffffff;
    border: 1px solid #dce9df;
    border-top: 3px solid #f2c744;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(5, 48, 35, 0.22);
}

.home-nav .nav-menu a {
    color: #183d30;
}

.home-nav .nav-menu a:hover {
    color: #075e43;
    background: #edf8f0;
}

.home-nav .nav-menu a span {
    color: #183d30;
}

.home-nav .nav-menu a small {
    color: #5d7166;
}

.home-nav .nav-menu a i {
    color: #087653;
}

/* Mobile menu button */
.home-nav .nav-toggle {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.home-nav .nav-toggle:hover {
    color: #173c2b;
    background: #f2c744;
}

/* Keep mobile navigation colours consistent */
@media (max-width: 840px) {
    .home-nav .nav-links {
        background: #075e43;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-top: 3px solid #f2c744;
        border-radius: 0 0 14px 14px;
        box-shadow: 0 16px 30px rgba(5, 48, 35, 0.2);
    }

    .home-nav .nav-links > a:not(.nav-cta),
    .home-nav .nav-drop > summary {
        color: #ffffff;
    }

    .home-nav .nav-links > a:not(.nav-cta):hover,
    .home-nav .nav-drop > summary:hover {
        color: #fff2b3;
        background: rgba(255, 255, 255, 0.12);
    }

    .home-nav .nav-drop {
        color: #ffffff;
    }

    .home-nav .nav-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
    }
}

/* SIMS2: Keep the branded navigation fixed on screen */
.home-nav {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

/* Reserve space so the fixed navigation does not cover the page */
.home-wrap {
    padding-top: 80px;
}

/* Keep headings visible when visitors use menu section links */
html {
    scroll-padding-top: 100px;
}

#product,
#modules,
#benefits,
#users,
#principals,
#ministry,
#overview,
#portals {
    scroll-margin-top: 100px;
}

@media (max-width: 840px) {
    .home-wrap {
        padding-top: 76px;
    }

    html {
        scroll-padding-top: 88px;
    }

    #product,
    #modules,
    #benefits,
    #users,
    #principals,
    #ministry,
    #overview,
    #portals {
        scroll-margin-top: 88px;
    }
}

/* SIMS2 product showcase: four items in one horizontal row */
#product .gallery-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas: "dash reports home mobile";
    gap: 16px;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
}

#product .gallery-bento .shot {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid #dce7e5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(16, 59, 82, 0.07);
}

#product .gallery-bento .shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

#product .gallery-bento .shot-mobile img {
    object-fit: contain;
    background: linear-gradient(180deg, #edf6f2, #e7f2ee);
}

#product .gallery-bento .shot figcaption {
    padding: 14px;
    color: #526574;
    font-size: 13px;
    line-height: 1.6;
}

#product .gallery-bento .shot figcaption strong {
    display: block;
    margin-bottom: 6px;
    color: #103b52;
    font-size: 15px;
    line-height: 1.4;
}

/* Tablet: retain one row where space permits */
@media (min-width: 841px) and (max-width: 1100px) {
    #product .gallery-bento {
        gap: 10px;
    }

    #product .gallery-bento .shot figcaption {
        padding: 10px;
        font-size: 12px;
    }

    #product .gallery-bento .shot figcaption strong {
        font-size: 13px;
    }
}

/* Phone: keep all four items in a single swipeable row */
@media (max-width: 840px) {
    #product .gallery-bento {
        display: grid;
        grid-template-columns: repeat(4, minmax(210px, 72vw));
        grid-template-areas: "dash reports home mobile";
        gap: 12px;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 2px 16px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    #product .gallery-bento .shot {
        scroll-snap-align: start;
    }

    #product .gallery-bento .shot img {
        aspect-ratio: 4 / 3;
    }
}

/* =========================================================
   SIMS2 HOMEPAGE — SOFT TRANSLUCENT GREEN SECTION LAYOUT
   ========================================================= */

/* Light green wash across the homepage sections */
.home-wrap section,
.home-wrap .section {
    background-color: rgba(22, 163, 74, 0.055);
    border-radius: 18px;
}

/* Alternate sections with slightly different green opacity */
.home-wrap section:nth-of-type(even),
.home-wrap .section:nth-of-type(even) {
    background-color: rgba(22, 163, 74, 0.085);
}

/* Product showcase section */
#product {
    background: rgba(22, 163, 74, 0.075);
    padding: 28px 20px;
}

/* Modules and benefits sections */
#modules,
#benefits {
    background-color: rgba(22, 163, 74, 0.06);
    padding: 28px 20px;
}

/* User groups and portal sections */
#users,
#principals,
#ministry,
#overview,
#portals {
    background-color: rgba(22, 163, 74, 0.075);
    padding: 28px 20px;
}

/* Keep content cards white and readable */
.home-wrap .shot,
.home-wrap .card,
.home-wrap .feature-card,
.home-wrap .module-card,
.home-wrap .portal-card {
    background-color: #ffffff;
}

/* Gentle green borders */
.home-wrap .shot,
.home-wrap .card,
.home-wrap .feature-card,
.home-wrap .module-card,
.home-wrap .portal-card {
    border-color: rgba(22, 101, 52, 0.15);
}

/* Mobile spacing */
@media (max-width: 840px) {
    .home-wrap section,
    .home-wrap .section {
        border-radius: 12px;
    }

    #product,
    #modules,
    #benefits,
    #users,
    #principals,
    #ministry,
    #overview,
    #portals {
        padding: 20px 12px;
    }
}

/* =========================================================
   SIMS2 CORE MODULES — SOFT GREEN & GOLD EFFECT
   Student Management, Academic Management, and other cards
   ========================================================= */

.home-wrap .core-grid > .core-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(22, 163, 74, 0.11) 0%,
            rgba(255, 255, 255, 0.96) 52%,
            rgba(242, 199, 68, 0.15) 100%
        ) !important;
    border: 1px solid rgba(22, 101, 52, 0.20);
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.07);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

/* Soft green decorative glow in the corner */
.home-wrap .core-grid > .core-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -42px;
    right: -38px;
    width: 125px;
    height: 125px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(22, 163, 74, 0.17) 0%,
        rgba(22, 163, 74, 0.045) 58%,
        transparent 75%
    );
    pointer-events: none;
}

/* Green-to-gold accent line */
.home-wrap .core-grid > .core-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        #16834a 0%,
        #6bbd78 48%,
        #f2c744 100%
    );
    opacity: 0.85;
    pointer-events: none;
}

/* Keep headings and descriptions readable */
.home-wrap .core-grid > .core-card h3 {
    color: #145536;
    position: relative;
}

.home-wrap .core-grid > .core-card ul,
.home-wrap .core-grid > .core-card li {
    position: relative;
}

/* Give the module icon a soft green highlight */
.home-wrap .core-grid > .core-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 15px;
    color: #147344;
    background: linear-gradient(
        135deg,
        rgba(22, 163, 74, 0.15),
        rgba(242, 199, 68, 0.20)
    );
    box-shadow: inset 0 0 0 1px rgba(22, 101, 52, 0.08);
    transition: transform 0.28s ease;
}

/* Subtle interactive hover effect on computers */
@media (hover: hover) and (pointer: fine) {
    .home-wrap .core-grid > .core-card:hover {
        transform: translateY(-5px);
        border-color: rgba(22, 101, 52, 0.40);
        box-shadow: 0 15px 30px rgba(6, 78, 59, 0.13);
    }

    .home-wrap .core-grid > .core-card:hover > i {
        transform: scale(1.07);
    }
}

/* Comfortable corners and spacing on mobile */
@media (max-width: 840px) {
    .home-wrap .core-grid > .core-card {
        border-radius: 14px;
    }
}

/* Accessibility: respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
    .home-wrap .core-grid > .core-card,
    .home-wrap .core-grid > .core-card > i {
        transition: none;
    }

    .home-wrap .core-grid > .core-card:hover {
        transform: none;
    }
}

/* =========================================================
   SIMS2 HEADER — SUBTLE TRADITIONAL BAMBOO-WEAVE PATTERN
   Decorative texture over the existing green navigation
   ========================================================= */

.home-nav {
    isolation: isolate;
    overflow: visible;
    background-color: #075e43;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 7px,
            rgba(231, 248, 221, 0.075) 7px,
            rgba(231, 248, 221, 0.075) 9px,
            transparent 9px,
            transparent 16px
        ),
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 7px,
            rgba(8, 42, 29, 0.11) 7px,
            rgba(8, 42, 29, 0.11) 9px,
            transparent 9px,
            transparent 16px
        ),
        linear-gradient(
            105deg,
            #075e43 0%,
            #087653 55%,
            #064e40 100%
        );
}

/* Fine diagonal fibres for a woven-batten appearance */
.home-nav::after {
    content: "";
    position: absolute;
    inset: 3px 0 4px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.20;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent 0,
            transparent 13px,
            rgba(242, 199, 68, 0.18) 13px,
            rgba(242, 199, 68, 0.18) 14px,
            transparent 14px,
            transparent 26px
        );
}

/* Keep the logo, links, and mobile menu above the weave */
.home-nav > * {
    position: relative;
    z-index: 1;
}

/* Keep the existing red accent line above the texture */
.home-nav::before {
    z-index: 2;
    pointer-events: none;
}

/* REMOVE BAMBOO WEAVE — RESTORE SMOOTH GREEN HEADER */
.home-nav {
    background-color: #075e43 !important;
    background-image: linear-gradient(
        105deg,
        #075e43 0%,
        #087653 55%,
        #064e40 100%
    ) !important;
}

.home-nav::after {
    content: none !important;
    display: none !important;
}


/* SIMS2 BLUE-AQUA HERO EFFECT */
.hero-photo .hero-photo-bg {
    background:
        linear-gradient(
            112deg,
            rgba(9, 42, 125, 0.62) 0%,
            rgba(0, 105, 190, 0.48) 48%,
            rgba(0, 190, 190, 0.32) 100%
        ),
        url("/assets/images/marketing/hero-classroom.webp")
        center right / cover no-repeat !important;
}

@media (max-width: 760px) {
    .hero-photo .hero-photo-bg {
        background:
            linear-gradient(
                180deg,
                rgba(9, 42, 125, 0.66) 0%,
                rgba(0, 105, 190, 0.52) 52%,
                rgba(0, 170, 180, 0.42) 100%
            ),
            url("/assets/images/marketing/hero-classroom.webp")
            72% center / cover no-repeat !important;
    }
}


/* SIMS2 VANUATU MAP EFFECT */
.hero-photo {
    position: relative;
    isolation: isolate;
}

.hero-photo .hero-photo-bg {
    z-index: 0;
}

.hero-photo .vanuatu-map-art {
    position: absolute;
    z-index: 1;
    top: 5%;
    right: 3%;
    width: clamp(150px, 21vw, 285px);
    height: 88%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: .78;
    animation: vanuatuMapFloat 7s ease-in-out infinite;
}

.hero-photo .vanuatu-map-art::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse,
        rgba(39, 232, 225, .20) 0%,
        rgba(25, 145, 226, .12) 42%,
        transparent 72%
    );
    filter: blur(15px);
}

.hero-photo .vanuatu-map-art svg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 12px rgba(67, 255, 235, .42));
}

.hero-photo .hero-copy {
    position: relative;
    z-index: 2;
}

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

@media (max-width: 760px) {
    .hero-photo .vanuatu-map-art {
        top: 2%;
        right: 1%;
        width: 115px;
        height: 46%;
        opacity: .38;
        animation: none;
    }

    .hero-photo .vanuatu-map-art::before {
        filter: blur(9px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo .vanuatu-map-art {
        animation: none;
    }
}


/* SIMS2 ACCURATE VANUATU MAP EFFECT */
.hero-photo .vanuatu-map-art {
    position: absolute;
    z-index: 1;
    top: 4%;
    right: 2%;
    width: clamp(165px, 23vw, 300px);
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: .78;

    /* Fade the map from its left edge toward the text */
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,0,0,.12) 18%,
        rgba(0,0,0,.58) 42%,
        #000 70%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,0,0,.12) 18%,
        rgba(0,0,0,.58) 42%,
        #000 70%
    );
}

.hero-photo .vanuatu-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        brightness(0) saturate(100%)
        invert(88%) sepia(28%) saturate(1250%)
        hue-rotate(123deg) brightness(105%) contrast(105%)
        drop-shadow(0 0 5px rgba(71,255,237,.85))
        drop-shadow(0 0 15px rgba(0,198,255,.45));
    opacity: .9;
}

.hero-photo .hero-copy {
    position: relative;
    z-index: 2;
}

@media (max-width: 760px) {
    .hero-photo .vanuatu-map-art {
        top: 2%;
        right: 0;
        width: 125px;
        height: 48%;
        opacity: .48;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo .vanuatu-map-art {
        animation: none;
    }
}

/* SIMS2 — LARGE DIAGONAL VANUATU MAP */
.hero-photo .vanuatu-map-art {
    position: absolute;
    z-index: 1;
    top: -7%;
    right: -3%;
    width: clamp(320px, 49vw, 690px);
    height: 112%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: .76;
    transform: rotate(-13deg);
    transform-origin: center center;

    /* Fade softly toward the left-side text */
    -webkit-mask-image: linear-gradient(
        100deg,
        transparent 0%,
        rgba(0,0,0,.10) 17%,
        rgba(0,0,0,.48) 37%,
        rgba(0,0,0,.88) 58%,
        #000 78%
    );
    mask-image: linear-gradient(
        100deg,
        transparent 0%,
        rgba(0,0,0,.10) 17%,
        rgba(0,0,0,.48) 37%,
        rgba(0,0,0,.88) 58%,
        #000 78%
    );
}

.hero-photo .vanuatu-map-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        brightness(0) saturate(100%)
        invert(88%) sepia(28%) saturate(1250%)
        hue-rotate(123deg) brightness(105%) contrast(105%)
        drop-shadow(0 0 7px rgba(71,255,237,.9))
        drop-shadow(0 0 20px rgba(0,198,255,.55));
    opacity: .95;
}

.hero-photo .hero-copy {
    position: relative;
    z-index: 2;
}

@media (max-width: 760px) {
    .hero-photo .vanuatu-map-art {
        top: -1%;
        right: -9%;
        width: 62vw;
        height: 65%;
        opacity: .42;
        transform: rotate(-12deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo .vanuatu-map-art {
        animation: none;
    }
}

/* SIMS2 — Keep hero text clear by fading map effects on the left */
.hero-photo .vanuatu-map-art {
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        transparent 32%,
        rgba(0,0,0,.08) 43%,
        rgba(0,0,0,.28) 53%,
        rgba(0,0,0,.68) 68%,
        #000 86%
    ) !important;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        transparent 32%,
        rgba(0,0,0,.08) 43%,
        rgba(0,0,0,.28) 53%,
        rgba(0,0,0,.68) 68%,
        #000 86%
    ) !important;
}

/* Preserve readable text above the image and map */
.hero-photo .hero-copy {
    position: relative;
    z-index: 3;
}

.hero-photo .hero-copy .kicker,
.hero-photo .hero-copy h1,
.hero-photo .hero-copy p,
.hero-photo .hero-copy a {
    position: relative;
    z-index: 3;
}


/* SIMS2 — Gentle dark backdrop for readable hero text */
.hero-photo .hero-copy {
    position: relative;
    z-index: 3;
    isolation: isolate;
}

.hero-photo .hero-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -18px;
    bottom: -18px;
    left: -14px;
    width: min(680px, 82vw);
    border-radius: 14px;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(3, 17, 37, 0.42) 0%,
        rgba(3, 17, 37, 0.32) 48%,
        rgba(3, 17, 37, 0.14) 76%,
        rgba(3, 17, 37, 0) 100%
    );
}

@media (max-width: 760px) {
    .hero-photo .hero-copy::before {
        left: -8px;
        width: calc(100% + 16px);
        background: linear-gradient(
            90deg,
            rgba(3, 17, 37, 0.48) 0%,
            rgba(3, 17, 37, 0.30) 75%,
            rgba(3, 17, 37, 0.12) 100%
        );
    }
}


/* SIMS2 FINAL MAP FIX: right position and stronger aqua glow */
.hero-photo .vanuatu-map-art {
    right: -1% !important;
    left: auto !important;
    top: -4% !important;
    width: clamp(320px, 49vw, 690px) !important;
    height: 110% !important;
    opacity: .88 !important;
    transform: rotate(-10deg) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.hero-photo .vanuatu-map-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter:
        brightness(0) saturate(100%)
        invert(88%) sepia(28%) saturate(1250%)
        hue-rotate(123deg) brightness(110%) contrast(110%)
        drop-shadow(0 0 8px rgba(71, 255, 237, .95))
        drop-shadow(0 0 22px rgba(0, 198, 255, .72))
        drop-shadow(0 0 40px rgba(0, 145, 255, .42)) !important;
    opacity: 1 !important;
}

.hero-photo .hero-copy {
    position: relative;
    z-index: 2 !important;
}

@media (max-width: 760px) {
    .hero-photo .vanuatu-map-art {
        top: 0 !important;
        right: -4% !important;
        width: 60vw !important;
        max-width: 280px !important;
        height: 65% !important;
        opacity: .55 !important;
        transform: rotate(-8deg) !important;
    }
}

/* SIMS2 FIX: Show the FULL Vanuatu map without clipping */
.hero-photo .vanuatu-map-art {
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: clamp(300px, 43vw, 590px) !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: visible !important;
    transform: none !important;
    opacity: .90 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-photo .vanuatu-map-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    filter:
        brightness(0) saturate(100%)
        invert(88%) sepia(28%) saturate(1250%)
        hue-rotate(123deg) brightness(110%) contrast(110%)
        drop-shadow(0 0 8px rgba(71, 255, 237, .95))
        drop-shadow(0 0 22px rgba(0, 198, 255, .72))
        drop-shadow(0 0 40px rgba(0, 145, 255, .42)) !important;
}

@media (max-width: 760px) {
    .hero-photo .vanuatu-map-art {
        top: 0 !important;
        right: 0 !important;
        width: 48vw !important;
        height: 58% !important;
        opacity: .58 !important;
        transform: none !important;
    }
}

/* SIMS2 MAP FIT FIX — keep the complete Vanuatu map visible */
.hero.hero-market.hero-photo {
    position: relative;
}

.hero-photo .vanuatu-map-art {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    bottom: 10px !important;
    left: auto !important;

    width: min(50%, 650px) !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: visible !important;
    transform: none !important;
    animation: none !important;
    opacity: .92 !important;
    z-index: 1 !important;
    pointer-events: none !important;

    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.hero-photo .vanuatu-map-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    opacity: 1 !important;

    filter:
        brightness(0) saturate(100%)
        invert(88%) sepia(28%) saturate(1250%)
        hue-rotate(123deg) brightness(110%) contrast(110%)
        drop-shadow(0 0 8px rgba(71, 255, 237, .95))
        drop-shadow(0 0 22px rgba(0, 198, 255, .72))
        drop-shadow(0 0 40px rgba(0, 145, 255, .42)) !important;
}

.hero-photo .hero-copy {
    position: relative;
    z-index: 2 !important;
}

@media (max-width: 760px) {
    .hero-photo .vanuatu-map-art {
        top: 12px !important;
        right: 4px !important;
        bottom: auto !important;
        width: 44% !important;
        height: 260px !important;
        max-height: 58% !important;
        opacity: .58 !important;
    }
}
