:root {
    --navy:     #15994e;
    --navy-80:  #0F7A3E;
    --navy-60:  #4A9E72;
    --red:      #15994e;
    --red-dark: #0F7A3E;
    --ink:      #0A1410;
    --ink-80:   #2C3B33;
    --steel:    #6B7280;
    --line:     #E4E7EC;
    --light:    #EEF5F0;
    --white:    #FFFFFF;

    --max: 1160px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(10, 20, 16, 0.04);
    --shadow-md: 0 2px 4px rgba(10, 20, 16, 0.04), 0 12px 28px rgba(10, 20, 16, 0.07);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'Cormorant Garamond', 'EB Garamond', Garamond, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    line-height: 1.05;
    font-weight: 500;
    letter-spacing: -0.015em;
}
h1 .accent,
h2 .accent {
    color: var(--red);
    font-style: italic;
    font-weight: 500;
}

/* ---------- Rotating 3D word cube ---------- */
.word-cube {
    display: inline-block;
    perspective: 1200px;
    vertical-align: baseline;
}
.word-cube-inner {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
    animation: word-cube-spin 14s cubic-bezier(0.76, 0, 0.24, 1) infinite;
    will-change: transform;
}
.word-cube-inner > span {
    display: inline-block;
    white-space: nowrap;
    color: var(--red);
    font-style: italic;
    font-weight: 500;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.word-cube-inner > span:first-child {
    position: relative;
    transform: translateZ(0.55em);
}
.word-cube-inner > span:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.word-cube-inner > span:nth-child(2) { transform: rotateX(-90deg)  translateZ(0.55em); }
.word-cube-inner > span:nth-child(3) { transform: rotateX(-180deg) translateZ(0.55em); }
.word-cube-inner > span:nth-child(4) { transform: rotateX(-270deg) translateZ(0.55em); }

@keyframes word-cube-spin {
    0%,  22% { transform: rotateX(0deg); }
    25%, 47% { transform: rotateX(90deg); }
    50%, 72% { transform: rotateX(180deg); }
    75%, 97% { transform: rotateX(270deg); }
    100%     { transform: rotateX(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .word-cube-inner { animation: none; }
    .word-cube-inner > span:not(:first-child) { display: none; }
}
h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.95rem, 3.2vw, 2.7rem);
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.01em;
}
h3 {
    font-size: 1.075rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
}

p { margin: 0 0 12px; color: var(--ink-80); }

a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: var(--red-dark); }

/* ---------- Icons ---------- */
svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* ---------- Nav ---------- */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 50;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    height: 84px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 700;
}
.brand:hover { color: var(--ink); }
.brand-logo {
    height: 65px;
    width: auto;
    display: block;
}
.brand-name {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

/* Classy nav — uppercase, tracked, restrained */
.nav-links {
    display: flex;
    gap: 40px;
    margin-left: auto;
    margin-right: 12px;
}
.nav-links a {
    color: var(--ink-80);
    font-weight: 500;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active {
    color: var(--ink);
}
.nav-links a.active::after {
    transform: scaleX(1);
    background: var(--navy);
}
.nav-cta {
    padding: 8px 16px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.005em;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.1s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-icon { width: 1em; height: 1em; transition: transform 0.2s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(21, 153, 78, 0.25);
}
.btn-primary:hover {
    background: var(--red-dark);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(21, 153, 78, 0.25);
}

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

.btn-lg { padding: 13px 24px; font-size: 0.94rem; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--red);
    margin: 0 0 14px;
}
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section-sub {
    color: var(--steel);
    font-size: 1.08rem;
    margin: 0;
}
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
}
.link-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.link-more:hover svg { transform: translateX(3px); }

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(ellipse at top, rgba(21, 153, 78, 0.04), transparent 60%),
        linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    padding: 112px 28px 120px;
    max-width: 840px;
    text-align: center;
}
.hero .lede {
    color: var(--steel);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* ---------- Hero split (text in front, large globe behind) ---------- */
.hero-split { overflow: hidden; }
.hero-split .hero-inner {
    position: relative;
    display: block;
    max-width: var(--max);
    text-align: left;
    padding: 112px 28px 120px;
    min-height: 720px;
}
.hero-split .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 580px;
}
.hero-split .hero-copy h1 { text-align: left; }
.hero-split .hero-copy .lede {
    text-align: left;
    margin: 0 0 32px;
    max-width: 520px;
}
.hero-split .hero-copy .hero-ctas {
    justify-content: flex-start;
    margin-bottom: 40px;
}
.hero-split .hero-copy .trust-row {
    justify-content: flex-start;
    gap: 22px;
}
.hero-globe {
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-globe .globe-3d {
    width: 620px;
    max-width: 80vw;
    min-height: 0;
    aspect-ratio: 1;
    pointer-events: auto;
}
.hero-globe .globe-3d canvas {
    cursor: grab;
    touch-action: none;
}
.hero-globe .globe-3d canvas:active { cursor: grabbing; }

@media (max-width: 960px) {
    .hero-split .hero-inner {
        min-height: auto;
        padding: 56px 24px 64px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-split .hero-copy {
        max-width: 640px;
        margin: 0 auto;
        order: 1;
        text-align: center;
    }
    .hero-split .hero-copy h1,
    .hero-split .hero-copy .lede { text-align: center; }
    .hero-split .hero-copy .lede { margin: 0 auto 32px; }
    .hero-split .hero-copy .hero-ctas,
    .hero-split .hero-copy .trust-row { justify-content: center; }
    .hero-split .hero-globe {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        order: 2;
        margin-top: 32px;
    }
    .hero-globe .globe-3d { width: 460px; max-width: 90vw; }
}
.trust-row {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--steel);
    font-weight: 500;
}
.trust-row li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.trust-icon {
    width: 16px;
    height: 16px;
    color: var(--red);
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 70%);
    pointer-events: none;
}
.page-hero-inner {
    position: relative;
    padding: 88px 28px 96px;
    max-width: 780px;
    text-align: center;
}
.page-hero .lede {
    color: var(--steel);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--light); }

/* ---------- Service grid (home) ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 153, 78, 0.4);
    box-shadow: var(--shadow-md);
}
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(21, 153, 78, 0.08);
    color: var(--red);
    margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon-lg {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}
.card-icon-lg svg { width: 34px; height: 34px; }
.card p {
    color: var(--steel);
    font-size: 0.97rem;
    margin: 0;
}
.card-link {
    color: inherit;
    cursor: pointer;
}
.card-link:hover { color: inherit; }
.card-link h3 { transition: color 0.2s ease; }
.card-link:hover h3 { color: var(--red); }
.card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--red);
}
.card-more svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.card-link:hover .card-more svg { transform: translateX(3px); }

/* ---------- Service stack (services page) ---------- */
.service-stack {
    display: flex;
    flex-direction: column;
    gap: 96px;
}
.service-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: center;
}
.service-row.reverse { grid-template-columns: 7fr 5fr; }
.service-row.reverse .service-visual { order: 2; }
.service-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, #15994e 0%, #0F7A3E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(21, 153, 78, 0.14), transparent 60%),
        radial-gradient(ellipse at 20% 70%, rgba(74, 158, 114, 0.1), transparent 60%);
    pointer-events: none;
}
.service-visual .flow-diagram {
    position: relative;
    width: 86%;
    max-width: 440px;
    z-index: 1;
}
.service-body h2 { margin-bottom: 18px; }
.service-body p {
    color: var(--steel);
    font-size: 1.05rem;
    margin-bottom: 20px;
    max-width: 50ch;
}
.tick-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink-80);
    font-size: 0.97rem;
}
.tick-list svg {
    width: 16px;
    height: 16px;
    color: var(--red);
    margin-top: 5px;
    flex-shrink: 0;
}

/* ---------- Split grid (about intro) ---------- */
.split-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
}
.split-grid > div:first-child { position: sticky; top: 120px; }
.split-copy p {
    color: var(--steel);
    font-size: 1.08rem;
    margin-bottom: 16px;
}
.split-copy p:last-child { margin-bottom: 0; }

/* ---------- Why grid ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 72px;
    align-items: start;
}
.why-copy p {
    color: var(--steel);
    font-size: 1.08rem;
    max-width: 40ch;
    margin-bottom: 20px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.feature-list-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 20px 22px;
}
.feature-icon {
    width: 18px;
    height: 18px;
    color: var(--red);
    margin-top: 3px;
    padding: 4px;
    box-sizing: content-box;
    background: rgba(21, 153, 78, 0.1);
    border-radius: 999px;
}
.feature-list strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 2px;
}
.feature-list span {
    color: var(--steel);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 72px;
    align-items: start;
}
.contact-copy > p {
    color: var(--steel);
    font-size: 1.08rem;
    max-width: 40ch;
}
.contact-details {
    margin: 32px 0 0;
    display: grid;
    gap: 0;
}
.contact-details div {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}
.contact-details div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel);
    font-weight: 600;
    margin-bottom: 6px;
}
.contact-details dt svg {
    width: 14px;
    height: 14px;
    color: var(--red);
}
.contact-details dd {
    margin: 0;
    color: var(--ink);
    font-weight: 500;
    font-size: 1.02rem;
}
.contact-details a { color: var(--ink); }
.contact-details a:hover { color: var(--red); }

.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    gap: 18px;
    box-shadow: var(--shadow-md);
}
.contact-form label {
    display: grid;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--ink);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.contact-form em {
    color: var(--steel);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    margin-left: 4px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-size: 0.97rem;
    font-family: inherit;
    letter-spacing: normal;
    text-transform: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:hover,
.contact-form textarea:hover,
.contact-form select:hover { border-color: #CDD3DC; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(21, 153, 78, 0.14);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form button { justify-self: start; margin-top: 8px; }

/* ---------- Long-form prose (legal) ---------- */
.prose {
    max-width: 760px;
    margin: 0 auto;
}
.prose .meta {
    color: var(--steel);
    font-size: 0.88rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 500;
    margin-top: 56px;
    margin-bottom: 14px;
}
.prose h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 8px;
    color: var(--ink);
}
.prose p {
    color: var(--ink-80);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.prose ul, .prose ol {
    color: var(--ink-80);
    padding-left: 22px;
    margin: 0 0 16px;
}
.prose li {
    margin-bottom: 6px;
    line-height: 1.7;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-dark); }
.prose hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 48px 0;
}
.prose .callout {
    background: var(--light);
    border-left: 3px solid var(--red);
    padding: 18px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

/* ---------- Image band (full-width ambient) ---------- */
.image-band {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    background: var(--navy);
}
.image-band img,
.image-band .band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-band img { filter: saturate(0.7) brightness(0.58); }
.image-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 20, 16, 0.35) 100%);
    pointer-events: none;
}
.image-band-inner {
    position: relative;
    z-index: 2;
    padding: 128px 28px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}
.image-band-inner .eyebrow { color: rgba(255, 255, 255, 0.78); }
.image-band h2 {
    color: var(--white);
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    margin-bottom: 18px;
}
.image-band p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto;
}

/* ---------- Image banner (boxed, smaller) ---------- */
.image-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 64px;
    background: var(--navy);
}
.image-banner img,
.image-banner .band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-banner img { filter: saturate(0.78); }
.image-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 16, 0.2) 0%, transparent 100%);
    pointer-events: none;
}
.image-banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px;
    z-index: 2;
    color: var(--white);
}
.image-banner-text p {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.8);
}
.image-banner-text h3 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 500;
    font-style: italic;
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 720px) {
    .image-band-inner { padding: 88px 24px; }
    .image-band { min-height: 360px; }
    .image-banner { height: 220px; margin-bottom: 40px; }
    .image-banner-text { padding: 28px; }
}

/* ---------- Globe section ---------- */
.globe-section {
    position: relative;
    background: #050d1a;
    padding: 96px 0 72px;
    overflow: hidden;
}
.globe-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(21, 153, 78, 0.08), transparent 60%),
        radial-gradient(ellipse at 30% 20%, rgba(74, 158, 114, 0.06), transparent 60%);
    pointer-events: none;
}
.globe-section .container { position: relative; z-index: 2; }
.globe-section .section-head .eyebrow { color: rgba(21, 153, 78, 0.85); }
.globe-section h2 { color: var(--white); }
.globe-section h2 .accent { color: #ef3f59; }
.globe-section .section-sub { color: rgba(255, 255, 255, 0.7); }
.globe-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.globe-3d {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1;
    margin: 0 auto;
}
.globe-3d::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(21, 153, 78, 0.3);
    border-top-color: #0A1410;
    border-radius: 50%;
    animation: globe-spin 0.8s linear infinite;
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}
.globe-3d.loaded::before { opacity: 0; }
.globe-3d canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
    touch-action: pan-y;
}
.globe-3d canvas:active { cursor: grabbing; }
.globe-arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.globe-tx-trail {
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.globe-tx-trail.out {
    stroke: #4ade80;
    filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.75));
}
.globe-tx-trail.in {
    stroke: #60a5fa;
    filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.75));
}
.globe-tx-dot {
    r: 4;
}
.globe-tx-dot.out {
    fill: #ffffff;
    filter:
        drop-shadow(0 0 3px #4ade80)
        drop-shadow(0 0 10px rgba(74, 222, 128, 0.9));
}
.globe-tx-dot.in {
    fill: #ffffff;
    filter:
        drop-shadow(0 0 3px #60a5fa)
        drop-shadow(0 0 10px rgba(96, 165, 250, 0.9));
}
@keyframes globe-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- Services carousel ---------- */
.services-carousel-section {
    position: relative;
    background: #F6F8FB;
    background-image:
        linear-gradient(rgba(10, 20, 16, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 20, 16, 0.045) 1px, transparent 1px),
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(10, 20, 16, 0.06), transparent 70%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
    background-position: -1px -1px, -1px -1px, center top;
    overflow: hidden;
}
.services-carousel-section::before,
.services-carousel-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 20, 16, 0.12), transparent);
    pointer-events: none;
}
.services-carousel-section::before { top: 0; }
.services-carousel-section::after { bottom: 0; }
.services-carousel-section > .container { position: relative; z-index: 1; }
.carousel {
    position: relative;
}
.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 0;
    min-height: 380px;
}
.carousel-visual {
    position: relative;
    background: linear-gradient(135deg, #15994e 0%, #0F7A3E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.carousel-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(21, 153, 78, 0.14), transparent 60%),
        radial-gradient(ellipse at 20% 70%, rgba(74, 158, 114, 0.1), transparent 60%);
}
.flow-diagram {
    position: relative;
    width: 80%;
    max-width: 420px;
    height: auto;
}
.flow-diagram .flow-node,
.flow-diagram .flow-hub {
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 1;
}
.flow-diagram .flow-node {
    fill: rgba(255, 255, 255, 0.12);
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 1.5;
}
.flow-diagram .flow-hub {
    fill: #F5E6C8;
    filter: drop-shadow(0 0 10px rgba(245, 230, 200, 0.55));
}
.flow-diagram .flow-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.25;
    stroke-dasharray: 3 3;
}
.flow-diagram .flow-dot {
    fill: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}
.flow-diagram .flow-dot-gold {
    fill: #F5E6C8;
    filter: drop-shadow(0 0 6px rgba(245, 230, 200, 0.9));
}
.flow-diagram text {
    font-family: var(--font-serif);
    font-style: italic;
}
.flow-diagram .flow-label {
    fill: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    text-anchor: middle;
}
.flow-diagram .flow-label-brand {
    fill: rgba(255, 255, 255, 0.95);
    font-size: 16px;
}
.carousel-body {
    padding: 48px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.carousel-body .eyebrow { margin-bottom: 10px; }
.carousel-body h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 500;
    font-style: italic;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--ink);
}
.carousel-body p { color: var(--steel); font-size: 1rem; }
.slide-more {
    margin-top: 22px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(10, 20, 16, 0.2);
    transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.slide-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}
.slide-more:hover {
    color: var(--red);
    border-color: var(--red);
    gap: 12px;
}
.slide-more:hover svg { transform: translateX(2px); }

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 36px;
}
.carousel-arrow {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(10, 20, 16, 0.12);
    border-radius: 999px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    box-shadow:
        0 1px 2px rgba(10, 20, 16, 0.06),
        0 8px 24px rgba(10, 20, 16, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
                background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.carousel-arrow::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 1px solid rgba(21, 153, 78, 0);
    transition: border-color 0.25s ease;
}
.carousel-arrow:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(10, 20, 16, 0.08),
        0 14px 32px rgba(10, 20, 16, 0.16);
}
.carousel-arrow:hover::after { border-color: rgba(21, 153, 78, 0.55); }
.carousel-arrow:active { transform: translateY(0); }
.carousel-arrow:focus-visible {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 4px rgba(21, 153, 78, 0.35);
}
.carousel-arrow svg { width: 18px; height: 18px; }

.carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 6px;
}
.carousel-dot {
    width: 22px;
    height: 4px;
    border-radius: 999px;
    background: rgba(10, 20, 16, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease, transform 0.3s ease;
}
.carousel-dot:hover { background: rgba(10, 20, 16, 0.4); }
.carousel-dot.active {
    background: var(--navy);
    width: 40px;
}
.carousel-dot.active::after { content: none; }

.section-head-classy h2 {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.1;
}
.section-head-classy h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--ink);
}
.section-head-classy .eyebrow {
    color: var(--red);
}

@media (max-width: 720px) {
    .carousel-slide {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .carousel-visual { min-height: 260px; }
    .carousel-body { padding: 32px 28px; }
    .globe-section { padding: 64px 0 48px; }
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--navy);
    color: var(--white);
    padding: 72px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #B7C0CC; margin: 0; font-size: 1.05rem; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--ink);
    color: var(--light);
    padding: 72px 0 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-col .brand-logo {
    filter: brightness(0) invert(1);
    height: 160px;
    margin-bottom: 24px;
}
.brand-logo-footer { height: 80px !important; }
.footer-tag {
    color: #B7C0CC;
    max-width: 320px;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}
.footer-col h4 { color: rgba(255,255,255,0.6); }
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.footer-col ul a,
.footer-col ul li {
    color: #B7C0CC;
    font-size: 0.92rem;
    font-weight: 400;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
}
.footer-meta {
    color: var(--steel);
    font-size: 0.82rem;
    margin: 0;
    letter-spacing: 0.01em;
}
.footer-legal {
    display: flex;
    gap: 24px;
}
.footer-legal a {
    color: #B7C0CC;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.footer-legal a:hover { color: var(--white); }

/* ---------- Mobile menu ---------- */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover { background: var(--light); border-color: #CDD3DC; }
.nav-toggle svg { width: 22px; height: 22px; }

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 16, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 60;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(88vw, 380px);
    background: var(--white);
    z-index: 61;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -16px 0 40px rgba(10, 20, 16, 0.14);
}
body.menu-open .mobile-menu { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.mobile-menu-header .brand-logo { height: 44px; }
.mobile-menu-close {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 2px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s ease;
}
.mobile-menu-close:hover { background: var(--light); }
.mobile-menu-close svg { width: 20px; height: 20px; }

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 8px;
}
.mobile-menu-nav a {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease;
}
.mobile-menu-nav a:last-child { border-bottom: none; }
.mobile-menu-nav a:hover { color: var(--red); }
.mobile-menu-nav a.active { color: var(--red); font-style: italic; }

.mobile-menu-cta {
    padding: 16px 24px 24px;
}
.mobile-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
}

.mobile-menu-meta {
    margin-top: auto;
    padding: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
}
.mobile-menu-meta > a {
    color: var(--ink-80);
    font-weight: 500;
}
.mobile-menu-meta > a:hover { color: var(--red); }
.mobile-menu-legal {
    display: flex;
    gap: 20px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.mobile-menu-legal a {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--steel);
}
.mobile-menu-legal a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
    .why-grid,
    .contact-grid,
    .split-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-grid > div:first-child { position: static; }
    .service-row,
    .service-row.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .service-row.reverse .service-visual { order: 0; }
    .service-visual { aspect-ratio: 16 / 9; max-height: 260px; }
    .service-stack { gap: 64px; }
    .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
    .nav-inner { height: 72px; }
    .brand-logo { height: 48px; }
    .section { padding: 72px 0; }
    .hero-inner { padding: 80px 24px 88px; }
    .page-hero-inner { padding: 64px 24px 72px; }
    .trust-row { gap: 18px; }
    .card { padding: 26px; }
    .contact-form { padding: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
    .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .hero-ctas .btn { flex: 1; justify-content: center; }
}

/* ---------- Solutions: platform tile grid ---------- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.platform-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.platform-tile:hover {
    transform: translateY(-3px);
    border-color: var(--ink);
    color: inherit;
    box-shadow: var(--shadow-md);
}
.platform-tile .card-icon { margin-bottom: 4px; }
.platform-tile h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.25rem;
    margin: 0;
    color: var(--ink);
}
.platform-tile p {
    color: var(--steel);
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}
.platform-tile .tile-more {
    margin-top: 14px;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}
.platform-tile .tile-more svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}
.platform-tile:hover .tile-more { gap: 12px; }
.platform-tile:hover .tile-more svg { transform: translateX(2px); }
@media (max-width: 960px) { .platform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .platform-grid { grid-template-columns: 1fr; } }

/* ---------- Solutions: "Powered by" pill row ---------- */
.service-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
}
.service-meta-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--steel);
    margin-right: 4px;
}
.service-pill {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.service-pill:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--ink);
}
