    @font-face {
        font-family: 'Anton';
        font-style: normal;
        font-weight: 400;
        font-display: swap;
        src: url('fonts/anton-v27-latin-400.woff2') format('woff2');
    }

    @font-face {
        font-family: 'Manrope';
        font-style: normal;
        font-weight: 400 800;
        font-display: swap;
        src: url('fonts/manrope-v20-latin-variable.woff2') format('woff2-variations');
    }

    :root {
        --dark-bg: #0f1419;
        --accent-teal: #00d4aa;
        --primary-yellow: #ffc720;
        --text-light: #ffffff;
        --text-muted: #b8c2c2;
        --on-accent: #0f1419;
        --card-bg: rgba(15, 20, 25, 0.78);
        --ease-snappy: cubic-bezier(0.4, 0, 0.2, 1);
        --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html:has(.slides-track) {
        overflow: hidden;
        height: 100vh;
        overscroll-behavior-y: none;
    }

    body:has(.slides-track) {
        overflow: hidden;
        height: 100vh;
        overscroll-behavior-y: none;
    }

    .slides-track {
        position: relative;
        height: 100vh;
    }

    .slides-track > section {
        position: fixed;
        inset: 0;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.2);
        pointer-events: none;
        transition: transform 1.2s cubic-bezier(0.26, 0.86, 0.44, 0.985), opacity 1.2s cubic-bezier(0.26, 0.86, 0.44, 0.985), visibility 1.2s cubic-bezier(0.26, 0.86, 0.44, 0.985);
        scrollbar-width: none;
        -ms-overflow-style: none;
        overflow-anchor: none;
        overscroll-behavior-y: contain;
    }

    .slides-track > section::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .about-scroll,
    .contact-scroll {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .about-scroll::-webkit-scrollbar,
    .contact-scroll::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .slides-track > section.is-past {
        transform: scale(16);
    }

    .slides-track > section.is-active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        pointer-events: auto;
        z-index: 1;
    }

    .slides-track > section.no-transition {
        transition: none;
    }

    @media (prefers-reduced-motion: reduce) {
        .slides-track > section {
            transition: opacity 0.2s linear;
            transform: none;
        }
    }

    .skip-link {
        position: absolute;
        top: -60px;
        left: 16px;
        z-index: 1000;
        background: var(--accent-teal);
        color: var(--on-accent);
        font-weight: 700;
        padding: 12px 20px;
        border-radius: 8px;
        text-decoration: none;
        transition: top 0.2s var(--ease-snappy);
    }

    .skip-link:focus {
        top: 16px;
    }

    body {
        background-color: var(--dark-bg);
        background-image: linear-gradient(rgba(15, 20, 25, 0.55), rgba(15, 20, 25, 0.85)), url('contour-bg.svg');
        background-size: cover;
        background-position: center top;
        background-attachment: fixed;
        background-repeat: no-repeat;
        font-family: 'Manrope', sans-serif;
        color: var(--text-light);
    }

    /* Nav */
    .nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 28px 50px;
        border-bottom: 2px solid var(--accent-teal);
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(15, 20, 25, 0.85);
        backdrop-filter: blur(6px);
        transition: transform 0.35s var(--ease-snappy);
    }

    .nav.nav-hidden {
        transform: translateY(-100%);
    }

    .nav.nav-transparent {
        background: transparent;
        border-bottom-color: transparent;
        backdrop-filter: none;
        transition: transform 0.35s var(--ease-snappy), background 0.3s var(--ease-snappy), border-color 0.3s var(--ease-snappy);
    }

    .nav.nav-transparent.nav-scrolled {
        background: transparent;
        border-bottom-color: transparent;
        backdrop-filter: none;
    }

    .nav-indicator {
        position: absolute;
        bottom: 4px;
        left: 0;
        height: 2px;
        width: 0;
        background: var(--accent-teal);
        border-radius: 2px;
        opacity: 0;
        transition: transform 0.35s var(--ease-snappy), width 0.35s var(--ease-snappy), opacity 0.2s var(--ease-snappy);
        pointer-events: none;
    }

    .nav-links-left a.is-active,
    .nav-links-right a.is-active {
        color: var(--accent-teal);
    }

    .nav-logo {
        grid-column: 2;
        text-align: center;
    }

    .nav-logo-text {
        display: inline-block;
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 40px;
        color: var(--text-light);
        white-space: nowrap;
    }

    .nav-logo-text .highlight {
        display: inline-block;
        background: var(--accent-teal);
        color: var(--on-accent);
        padding: 0 8px 4px;
        margin-left: 4px;
    }

    @keyframes nav-logo-pop {
        from { opacity: 0; transform: translateY(16px) scale(0.9); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .nav-logo-text.pop {
        animation: nav-logo-pop 0.45s var(--ease-bounce);
    }

    .nav-links-left,
    .nav-links-right {
        display: flex;
        gap: 36px;
        list-style: none;
    }

    .nav-links-right {
        justify-content: flex-end;
    }

    .nav-links-left a,
    .nav-links-right a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.2s var(--ease-snappy);
    }

    .nav-links-left a:hover,
    .nav-links-right a:hover {
        color: var(--accent-teal);
    }

    /* Mobile nav toggle */
    .nav-toggle {
        display: none;
        grid-column: 3;
        justify-self: end;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        z-index: 101;
    }

    .nav-toggle-bar {
        width: 24px;
        height: 2px;
        background: var(--text-light);
        border-radius: 2px;
        transition: transform 0.25s var(--ease-snappy), opacity 0.25s var(--ease-snappy);
    }

    .nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 20, 25, 0.98);
        z-index: 99;
    }

    .mobile-menu.is-open {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-links {
        list-style: none;
        text-align: center;
    }

    .mobile-menu-links li {
        margin: 24px 0;
    }

    .mobile-menu-links a {
        color: var(--text-light);
        text-decoration: none;
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 32px;
    }

    .mobile-menu-links a:hover,
    .mobile-menu-links a:focus-visible {
        color: var(--accent-teal);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Hero */
    .hero {
        padding: 90px 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .hero-bg-photo {
        position: absolute;
        top: calc(-1 * var(--nav-height, 0px));
        left: 50%;
        width: 100vw;
        height: calc(100% + var(--nav-height, 0px));
        transform: translateX(-50%);
        z-index: -1;
        overflow: hidden;
        pointer-events: none;
    }

    .hero-bg-photo video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: translateZ(0);
        backface-visibility: hidden;
        will-change: transform;
    }

    .hero-bg-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(100deg, rgba(15, 20, 25, 0.94) 0%, rgba(15, 20, 25, 0.78) 32%, rgba(15, 20, 25, 0.42) 58%, rgba(15, 20, 25, 0.55) 100%);
    }

    #page-canvas {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        pointer-events: none;
    }

    .hero-text {
        position: relative;
        z-index: 1;
        max-width: 760px;
        text-align: center;
    }

    .hero-reveal {
        opacity: 0;
        transform: translateY(28px);
        animation: hero-reveal-in 0.8s var(--ease-reveal) forwards;
        animation-delay: var(--reveal-delay, 0s);
    }

    h1.headline .hero-reveal {
        display: inline-block;
    }

    @keyframes hero-reveal-in {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-reveal {
            animation: none;
            opacity: 1;
            transform: none;
        }
    }

    .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--accent-teal);
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 24px;
    }

    .eyebrow::before {
        content: '';
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--accent-teal);
        display: inline-block;
    }

    h1.headline {
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 64px;
        line-height: 1.05;
        letter-spacing: 0.5px;
    }

    h1.headline span {
        display: inline-block;
    }

    h1.headline .highlight {
        background: var(--accent-teal);
        color: var(--on-accent);
        padding: 2px 10px 6px;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .hero-sub {
        margin-top: 28px;
        margin-left: auto;
        margin-right: auto;
        font-size: 18px;
        line-height: 1.6;
        color: var(--text-muted);
        max-width: 480px;
    }

    .hero-checklist {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        list-style: none;
        margin-top: 32px;
    }

    .hero-checklist li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 14px;
        transition: color 0.2s var(--ease-snappy);
    }

    .hero-checklist li:hover {
        color: var(--accent-teal);
    }

    .hero-checklist li:last-child {
        margin-bottom: 0;
    }

    .check-box {
        width: 20px;
        height: 20px;
        background: var(--primary-yellow);
        color: var(--on-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        flex-shrink: 0;
        transition: background 0.2s var(--ease-snappy);
    }

    .hero-cta {
        display: inline-block;
        margin-top: 36px;
        padding: 16px 36px;
        background: var(--accent-teal);
        color: var(--on-accent);
        font-weight: 800;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 0.5px;
        text-decoration: none;
        border-radius: 4px;
        transition: transform 0.2s var(--ease-snappy), background 0.2s var(--ease-snappy);
    }

    .hero-cta:hover {
        background: var(--primary-yellow);
        transform: translateY(-3px);
    }

    /* Our Work */
    .work-section {
        height: 100vh;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: calc(80px + var(--nav-height, 0px) + 24px) 50px 120px;
        max-width: 1300px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: safe center;
    }

    .work-intro {
        color: var(--text-muted);
        font-size: 16px;
        margin-top: 8px;
        margin-bottom: 48px;
    }

    .work-card {
        background: var(--card-bg);
        border: 1px solid rgba(0, 212, 170, 0.22);
        border-radius: 20px;
        padding: 32px;
        display: grid;
        grid-template-columns: 1.3fr 1fr;
        gap: 40px;
        align-items: center;
        text-align: left;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    }

    .work-card + .work-card {
        margin-top: 32px;
    }

    .work-tag {
        display: inline-block;
        color: var(--accent-teal);
        font-weight: 700;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .work-social-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        border-radius: 12px;
        overflow: hidden;
    }

    .work-social-grid img {
        display: block;
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .work-browser-frame {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(0, 212, 170, 0.25);
        background: #0a0e12;
    }

    .work-browser-bar {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 14px;
        background: #10161c;
        border-bottom: 1px solid rgba(0, 212, 170, 0.18);
    }

    .work-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
    }

    .work-url {
        margin-left: 10px;
        font-size: 12px;
        color: var(--text-muted);
        letter-spacing: 0.3px;
    }

    .work-browser-frame img {
        display: block;
        width: 100%;
        height: auto;
    }

    .work-details h3 {
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 26px;
        letter-spacing: 0.4px;
        margin-bottom: 14px;
    }

    .work-details p {
        color: var(--text-muted);
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .work-thumbs {
        display: flex;
        gap: 12px;
        margin-bottom: 26px;
    }

    .work-thumbs img {
        width: 88px;
        height: 118px;
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid rgba(0, 212, 170, 0.25);
    }

    .work-link {
        color: var(--accent-teal);
        font-weight: 700;
        text-decoration: none;
        font-size: 15px;
        letter-spacing: 0.2px;
    }

    .work-link:hover {
        color: var(--primary-yellow);
    }

    @media (max-width: 900px) {
        .work-section {
            padding: calc(60px + var(--nav-height, 0px) + 24px) 24px 80px;
        }

        .work-card {
            grid-template-columns: 1fr;
            padding: 20px;
        }
    }

    /* About */
    .about-section {
        height: 100vh;
        position: relative;
    }

    .about-scroll {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: calc(100px + var(--nav-height, 0px) + 24px) 50px 120px;
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 60px;
        align-items: center;
        align-content: safe center;
    }

    .about-bg-photo {
        position: absolute;
        top: 0;
        left: 50%;
        width: 100vw;
        height: 100%;
        transform: translateX(-50%);
        z-index: -1;
        overflow: hidden;
        pointer-events: none;
    }

    .about-bg-photo video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: translateZ(0);
        backface-visibility: hidden;
        will-change: transform;
    }

    .about-bg-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(100deg, rgba(15, 20, 25, 0.94) 0%, rgba(15, 20, 25, 0.78) 32%, rgba(15, 20, 25, 0.42) 58%, rgba(15, 20, 25, 0.55) 100%);
    }

    .about-heading {
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 48px;
        line-height: 1.1;
        margin: 16px 0 28px;
    }

    .about-heading .highlight {
        background: var(--accent-teal);
        color: var(--on-accent);
        padding: 2px 10px 6px;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .about-heading .highlight-white {
        background: var(--primary-yellow);
        color: var(--on-accent);
    }

    .about-text p {
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.7;
        margin-bottom: 22px;
        max-width: 560px;
    }

    .about-text p:last-child {
        margin-bottom: 0;
    }

    .about-cta-card {
        background: rgba(0, 212, 170, 0.08);
        border: 1px solid rgba(0, 212, 170, 0.25);
        border-radius: 20px;
        padding: 50px 40px;
        text-align: center;
    }

    .about-cta-card h3 {
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 30px;
        color: var(--accent-teal);
        margin-bottom: 16px;
    }

    .about-cta-card p {
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .about-cta-card .hero-cta {
        margin-top: 0;
    }

    /* Blog */
    .blog-page-header {
        padding: 80px 50px 20px;
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;
    }

    .blog-page-sub {
        color: var(--text-muted);
        font-size: 17px;
        line-height: 1.6;
        max-width: 560px;
        margin: 24px auto 0;
    }

    .blog-section {
        height: 100vh;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: calc(30px + var(--nav-height, 0px) + 24px) 50px 140px;
        max-width: 1400px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: safe center;
    }

    .blog-meta {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--accent-teal);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }

    /* Small marker badge, echoing the hero map's pins so each post reads as another
       spot placed on the map of Caribbean businesses we help */
    .blog-meta::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--accent-teal);
        border: 2px solid rgba(0, 212, 170, 0.35);
        flex-shrink: 0;
    }

    .blog-link {
        display: inline-block;
        margin-top: 14px;
        color: var(--accent-teal);
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.2s var(--ease-snappy);
    }

    .blog-link:hover {
        color: var(--primary-yellow);
    }

    /* Sticky-left / scrolling-right blog layout for the homepage preview only */
    #blog-preview .blog-sticky-layout {
        display: flex;
        gap: 64px;
        align-items: flex-start;
        text-align: left;
    }

    #blog-preview .blog-sticky-left {
        flex: 0 0 30%;
        position: sticky;
        top: 140px;
    }

    #blog-preview .blog-sticky-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 24px;
        min-width: 0;
    }

    /* Every card is permanently full (background, full text) - the only dynamic part is
       this fade-and-sink-down exit as a card scrolls past the focus line, driven by
       --scroll-progress (written by script.js). transform-origin: center bottom makes it
       sink from its own base rather than its center, matching the reference. */
    #blog-preview .blog-stack-card {
        background: var(--card-bg);
        border-radius: 16px;
        padding: 28px 32px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        --scroll-progress: 0;
        opacity: calc(1 - var(--scroll-progress));
        transform: translateY(calc(100% * var(--scroll-progress)));
        transform-origin: center bottom;
    }

    /* While hovered, ease into scroll-driven changes instead of snapping instantly to scroll position */
    #blog-preview .blog-stack-card:hover {
        transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal);
    }

    #blog-preview .blog-stack-card h3 {
        font-size: 19px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    #blog-preview .blog-stack-card a:not(.blog-link) {
        color: var(--text-light);
        text-decoration: none;
    }

    #blog-preview .blog-stack-card p {
        margin: 0 0 14px;
    }

    /* Contact */
    .contact-section {
        height: 100vh;
        position: relative;
    }

    .contact-bg-photo {
        position: absolute;
        top: 0;
        left: 50%;
        width: 100vw;
        height: 100%;
        transform: translateX(-50%);
        z-index: -1;
        overflow: hidden;
        pointer-events: none;
    }

    .contact-bg-photo video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: translateZ(0);
        backface-visibility: hidden;
        will-change: transform;
    }

    .contact-bg-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(15, 20, 25, 0.72);
    }

    .contact-scroll {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: calc(20px + var(--nav-height, 0px) + 24px) 50px 220px;
        max-width: 1400px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: safe center;
    }

    .quick-contact {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    .email-badge {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        padding: 14px 28px;
        border: 2px solid var(--accent-teal);
        border-radius: 50px;
        color: var(--accent-teal);
        font-weight: 700;
        font-size: 17px;
        text-decoration: none;
        transition: background 0.2s var(--ease-snappy), color 0.2s var(--ease-snappy);
    }

    .email-badge svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .email-badge:hover {
        background: var(--accent-teal);
        color: var(--on-accent);
    }

    /* Footer */
    .site-footer {
        border-top: 2px solid var(--accent-teal);
        padding: 30px 50px 36px;
        text-align: center;
        position: sticky;
        bottom: 0;
        z-index: 100;
        background: rgba(15, 20, 25, 0.85);
        backdrop-filter: blur(6px);
        transition: transform 0.35s var(--ease-snappy);
    }

    .site-footer.footer-hidden {
        transform: translateY(100%);
    }

    .footer-follow {
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 20px;
        letter-spacing: 1px;
        color: var(--text-light);
        margin-bottom: 18px;
    }

    .footer-divider {
        width: 220px;
        height: 2px;
        background: var(--accent-teal);
        margin: 0 auto 26px;
    }

    .footer-socials {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
    }

    .footer-socials a {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--accent-teal);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        transition: background 0.2s var(--ease-snappy), color 0.2s var(--ease-snappy), transform 0.2s var(--ease-snappy);
    }

    .footer-socials a:hover {
        background: var(--accent-teal);
        color: var(--on-accent);
        transform: translateY(-3px);
    }

    .footer-socials svg {
        width: 18px;
        height: 18px;
    }

    /* Services */
    .services-section {
        height: 100vh;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: calc(120px + var(--nav-height, 0px) + 24px) 50px 140px;
        max-width: 1400px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: safe center;
    }

    .services-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--accent-teal);
        font-weight: 700;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

    .services-eyebrow::before {
        content: '';
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--accent-teal);
        display: inline-block;
    }

    .services-heading {
        font-family: 'Anton', sans-serif;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 48px;
        line-height: 1.05;
        margin-bottom: 70px;
    }

    .services-heading .highlight {
        display: block;
        width: 100%;
        background: var(--accent-teal);
        color: var(--on-accent);
        padding: 18px 14px 22px;
        text-align: center;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        transition: background 0.2s var(--ease-snappy), transform 0.2s var(--ease-snappy);
    }

    .services-heading a.highlight {
        text-decoration: none;
        cursor: pointer;
    }

    .services-heading a.highlight:hover {
        background: var(--primary-yellow);
    }

    /* "Our Services", "Our Work", and "Latest From The Blog" headings turn yellow and lift on hover, same as the hero-cta buttons */
    #services .services-heading .highlight:hover,
    #work .services-heading .highlight:hover,
    #blog-preview .services-heading .highlight:hover {
        background: var(--primary-yellow);
        transform: translateY(-3px);
    }

    .service-card-tilt {
        position: relative;
        background: var(--card-bg);
        border-radius: 20px;
        padding: 36px 40px;
        display: flex;
        align-items: center;
        gap: 28px;
        text-align: left;
        margin-top: 16vh;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        opacity: 0;
        transform: translateY(70px);
        transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal), box-shadow 0.2s var(--ease-snappy);
        outline: 2px solid transparent;
        outline-offset: -2px;
        width: 100%;
    }

    .service-card-tilt > div:last-child {
        flex: 1;
        min-width: 0;
    }

    .service-card-tilt:first-of-type {
        margin-top: 16vh;
    }

    .service-card-tilt.is-revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card-tilt:hover {
        outline-color: var(--accent-teal);
    }

    /* Card stack mechanism, reverse-engineered from the real site's CSS (not copied - this is my
       own implementation of the same technique): a one-time fade+slide entrance per card, then once
       revealed, each card continuously drifts based on --scroll-progress (written by script.js),
       cycling through three different drift patterns so they don't all move the same way - that's
       what creates the overlap as you keep scrolling, and it reverses cleanly on scroll-up. */
    #services .service-card-tilt {
        opacity: 0;
        margin-top: 24px;
        --scroll-progress: 0;
        transition: opacity 0.2s var(--ease-reveal), transform 0.5s var(--ease-reveal), box-shadow 0.2s var(--ease-snappy), outline-color 0.2s var(--ease-snappy);
        transform: translateY(100px) rotate(3deg);
    }

    #services .service-card-tilt:first-of-type {
        margin-top: 20px;
    }

    #services .service-card-tilt.is-revealed {
        opacity: 1;
        transform: translateY(calc(15% * var(--scroll-progress))) rotate(calc(0.3deg * (4 + var(--scroll-progress))));
    }

    #services .service-card-tilt:nth-of-type(3).is-revealed,
    #services .service-card-tilt:nth-of-type(6).is-revealed {
        transform: translateY(calc(30% * var(--scroll-progress))) rotate(calc(-1deg * (2 + var(--scroll-progress))));
    }

    #services .service-card-tilt:nth-of-type(4).is-revealed,
    #services .service-card-tilt:nth-of-type(7).is-revealed {
        transform: translateY(calc(-30% * var(--scroll-progress))) rotate(calc(1.4deg * (4 + var(--scroll-progress))));
    }

    /* Horizontal stagger cycles through three positions every three cards, same as the reference */
    #services .service-card-tilt {
        width: 54.55%;
        margin-left: 13.64%;
    }

    #services .service-card-tilt:nth-of-type(3),
    #services .service-card-tilt:nth-of-type(6) {
        margin-left: 31.82%;
    }

    #services .service-card-tilt:nth-of-type(4),
    #services .service-card-tilt:nth-of-type(7) {
        margin-left: 22.73%;
    }

    #services .service-card-tilt.is-revealed:hover {
        transform: translateY(-6px) rotate(0deg);
        outline-color: var(--primary-yellow);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
        transition: transform 0.2s var(--ease-snappy), box-shadow 0.2s var(--ease-snappy), outline-color 0.2s var(--ease-snappy);
    }

    /* Bigger, roomier card proportions matching the phamilypharma reference */
    #services .service-card-tilt {
        padding: 84px 56px;
        gap: 48px;
    }

    #services .service-card-icon {
        width: 140px;
        height: 140px;
    }

    #services .service-card-icon svg {
        width: 60px;
        height: 60px;
    }

    #services .service-card-tilt h3 {
        font-size: 32px;
        margin-bottom: 14px;
    }

    #services .service-card-tilt p {
        font-size: 17px;
    }

    .service-card-icon {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: rgba(0, 212, 170, 0.15);
        border: 2px solid rgba(0, 212, 170, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* Echoes the hero map's pin-drop pulse so each service reads as a marker "placed" on the page */
    .service-card-tilt.is-revealed .service-card-icon {
        animation: service-icon-pulse 1.4s var(--ease-bounce);
    }

    @keyframes service-icon-pulse {
        0% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.5); }
        70% { box-shadow: 0 0 0 16px rgba(0, 212, 170, 0); }
        100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
    }

    @media (prefers-reduced-motion: reduce) {
        .service-card-tilt.is-revealed .service-card-icon {
            animation: none;
        }
    }

    .service-card-icon svg {
        width: 26px;
        height: 26px;
        color: var(--accent-teal);
    }

    .service-card-tilt h3 {
        font-family: 'Manrope', sans-serif;
        font-weight: 800;
        font-size: 18px;
        margin-bottom: 6px;
        color: var(--text-light);
    }

    .service-card-tilt p {
        font-size: 14px;
        line-height: 1.6;
        color: var(--text-muted);
        margin: 0;
    }

    @media (prefers-reduced-motion: reduce) {
        .service-card-tilt {
            transition: none;
        }

        .nav {
            transition: none;
        }

        .nav-logo-text.pop {
            animation: none;
        }
    }

    @media (max-width: 900px) {
        .hero {
            padding: 60px 30px;
        }

        .eyebrow {
            justify-content: center;
        }

        h1.headline {
            font-size: 42px;
        }

        .hero-sub {
            margin-left: auto;
            margin-right: auto;
        }

        .hero-checklist {
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
            max-width: 100%;
        }

        .nav {
            padding: 22px 24px;
        }

        .nav-logo-text {
            font-size: 24px;
        }

        .nav-logo-text .highlight {
            padding: 0 5px 2px;
        }

        .nav-links-left,
        .nav-links-right {
            display: none;
        }

        .nav-toggle {
            display: flex;
        }

        body {
            background-attachment: scroll;
        }

        .about-scroll {
            grid-template-columns: 1fr;
            padding: calc(60px + var(--nav-height, 0px) + 24px) 24px 80px;
            gap: 40px;
            text-align: center;
        }

        .about-heading {
            font-size: 32px;
        }

        .about-text p {
            max-width: 100%;
        }

        .services-section {
            padding: calc(80px + var(--nav-height, 0px) + 24px) 24px 100px;
        }

        .blog-section {
            padding: calc(30px + var(--nav-height, 0px) + 24px) 24px 100px;
        }

        #blog-preview .blog-sticky-layout {
            flex-direction: column;
            gap: 32px;
            text-align: center;
        }

        #blog-preview .blog-sticky-left {
            position: static;
            flex: none;
        }

        #blog-preview .blog-stack-card {
            text-align: left;
        }

        .services-heading {
            font-size: 34px;
        }

        .service-card-tilt {
            flex-direction: column;
            text-align: center;
            padding: 28px 24px;
            gap: 16px;
            margin-top: 10vh;
        }

        .service-card-tilt:first-of-type {
            margin-top: 10vh;
        }

        #services .service-card-tilt {
            margin-top: 24px;
            margin-left: 0;
            transform: translateY(60px) rotate(0deg);
        }

        #services .service-card-tilt:first-of-type {
            margin-top: 0;
        }

        #services .service-card-tilt.is-revealed,
        #services .service-card-tilt:nth-of-type(3).is-revealed,
        #services .service-card-tilt:nth-of-type(4).is-revealed,
        #services .service-card-tilt:nth-of-type(6).is-revealed,
        #services .service-card-tilt:nth-of-type(7).is-revealed {
            transform: translateY(0) rotate(0deg);
        }

        #services .service-card-tilt:nth-of-type(3),
        #services .service-card-tilt:nth-of-type(4),
        #services .service-card-tilt:nth-of-type(6),
        #services .service-card-tilt:nth-of-type(7) {
            margin-left: 0;
        }

        #services .service-card-tilt.is-revealed:hover {
            transform: translateY(-4px) rotate(0deg);
        }

        #services .service-card-tilt {
            width: 100%;
            margin-left: 0;
            margin-right: 0;
            padding: 32px 28px;
            gap: 20px;
        }

        #services .service-card-icon {
            width: 88px;
            height: 88px;
        }

        #services .service-card-icon svg {
            width: 38px;
            height: 38px;
        }

        #services .service-card-tilt h3 {
            font-size: 22px;
            margin-bottom: 8px;
        }

        #services .service-card-tilt p {
            font-size: 15px;
        }
    }

/* ===== Shared inner-page components (forms, FAQs, pricing headers, articles) ===== */

.page-header-section {
    padding: 70px 50px 30px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.page-header-section .services-heading {
    margin-bottom: 24px;
}

.price-tag {
    display: inline-block;
    background: var(--accent-teal);
    color: var(--on-accent);
    font-family: 'Anton', sans-serif;
    font-size: 34px;
    padding: 10px 26px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.price-period {
    color: var(--text-muted);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
}

.page-header-section .page-intro {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

.included-list {
    list-style: none;
    max-width: 480px;
    margin: 0 auto 10px;
    text-align: left;
}

.included-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 14px;
    transition: color 0.2s var(--ease-snappy);
}

.included-list li:hover {
    color: var(--accent-teal);
}

.included-list li:last-child {
    margin-bottom: 0;
}

/* Forms */
.site-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 50px 100px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.site-form label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.site-form input[type="text"],
.site-form input[type="email"],
.site-form input[type="tel"],
.site-form select,
.site-form textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text-light);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s var(--ease-snappy);
}

.site-form textarea {
    min-height: 120px;
    resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.checkbox-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s var(--ease-snappy), color 0.2s var(--ease-snappy);
}

.checkbox-pill:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

.checkbox-pill input {
    accent-color: var(--accent-teal);
}

.site-form .hero-cta {
    border: none;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    width: 100%;
    text-align: center;
}

.required {
    color: var(--accent-teal);
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
}

.form-status-success {
    color: var(--accent-teal);
}

.form-status-error {
    color: var(--primary-yellow);
}

/* FAQ accordion */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 50px 120px;
}

.faq-section .services-heading {
    text-align: center;
    margin-bottom: 50px;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
    padding: 22px 0;
}

.faq-item summary {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--accent-teal);
    font-size: 22px;
    font-weight: 400;
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease-snappy);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 14px;
}

.back-link {
    display: inline-block;
    margin: 40px auto 0;
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
}

.back-link:hover {
    color: var(--primary-yellow);
}

.back-link-wrap {
    text-align: center;
    padding-bottom: 40px;
}

/* Article / blog post page */
.article-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 70px 50px 10px;
    text-align: center;
}

.article-meta {
    color: var(--accent-teal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 18px 0 0;
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 30px 50px 60px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.article-body h2 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-light);
    font-size: 26px;
    margin: 46px 0 18px;
    line-height: 1.2;
}

.article-body h3 {
    font-weight: 800;
    color: var(--accent-teal);
    font-size: 18px;
    margin: 30px 0 12px;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px 22px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    color: var(--text-light);
}

.article-cta {
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.article-cta p {
    color: var(--text-light);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 22px;
}

.related-posts {
    max-width: 720px;
    margin: 50px auto 0;
    padding: 0 50px;
}

.related-posts h3 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--text-light);
    font-size: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.related-posts ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.related-posts a {
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

.related-posts a:hover {
    color: var(--primary-yellow);
}

@media (max-width: 900px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .site-form,
    .faq-section,
    .article-body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .page-header-section {
        padding: 60px 24px 20px;
    }

    .article-header {
        padding: 60px 24px 10px;
    }
}

/* Pricing (homepage) */
.pricing-section {
    padding: 0 50px 140px;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: outline-color 0.2s var(--ease-snappy);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    outline-color: var(--accent-teal);
}

.pricing-card h3 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 16px;
}

.pricing-card .included-list {
    margin: 24px 0 30px;
    flex-grow: 1;
}

.pricing-card .included-list li {
    font-size: 14px;
}

.pricing-card .hero-cta {
    margin-top: 0;
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
