/* =========================================================
   LMAK GLOBAL — SHARED INNER PAGE SYSTEM
   Used by:
   - About
   - Services
   - Pricing
   - Insights
   - Contact
   - Individual Service Pages
   ========================================================= */


/* =========================================================
   01. INNER PAGE BASE
   ========================================================= */

.page-about,
.page-services,
.page-pricing,
.page-insights,
.page-contact,
.page-service {
    position: relative;
    min-height: 100vh;
    overflow-x: clip;
}

main {
    position: relative;
    overflow: clip;
}


/* =========================================================
   02. HEADER CONSISTENCY
   Keep the exact same header behavior on every page
   ========================================================= */

.site-header {
    isolation: isolate;
}

.site-header .site-logo {
    position: relative;
    z-index: 2;
}

.site-header .site-nav a[aria-current="page"] {
    color: var(--white);
}

.site-header .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header .header-cta {
    flex-shrink: 0;
}


/* =========================================================
   03. UNIVERSAL INNER PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;
    min-height: min(82svh, 900px);
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: clamp(88px, 10vw, 150px);
    overflow: hidden;
    isolation: isolate;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.028) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.028) 1px,
            transparent 1px
        );

    background-size: 78px 78px;

    mask-image:
        radial-gradient(
            circle at 70% 42%,
            black 0%,
            rgba(0,0,0,.85) 35%,
            transparent 76%
        );

    -webkit-mask-image:
        radial-gradient(
            circle at 70% 42%,
            black 0%,
            rgba(0,0,0,.85) 35%,
            transparent 76%
        );

    pointer-events: none;
    z-index: -3;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3,8,6,.18),
            transparent 30%,
            rgba(3,8,6,.55)
        );

    pointer-events: none;
    z-index: -2;
}


/* Hero background effects */

.page-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

.page-hero-glow-one {
    width: min(680px, 62vw);
    aspect-ratio: 1;

    top: 5%;
    right: -10%;

    background:
        radial-gradient(
            circle,
            rgba(56,200,106,.15) 0%,
            rgba(56,200,106,.055) 36%,
            transparent 72%
        );

    filter: blur(8px);
}

.page-hero-glow-two {
    width: min(540px, 48vw);
    aspect-ratio: 1;

    left: -15%;
    bottom: -30%;

    background:
        radial-gradient(
            circle,
            rgba(242,203,32,.075) 0%,
            rgba(242,203,32,.025) 42%,
            transparent 72%
        );

    filter: blur(12px);
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(56,200,106,.025) 50%,
            transparent 100%
        );

    opacity: .9;
}


/* Hero content */

.page-hero .container {
    position: relative;
    width: 100%;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1120px;
}

.page-hero-title {
    max-width: 1050px;
    margin-top: 24px;

    color: var(--white);

    font-size: clamp(
        56px,
        7.6vw,
        104px
    );

    line-height: .91;
    font-weight: 800;
    letter-spacing: -.078em;

    text-wrap: balance;
}

.page-hero-title span {
    color: var(--green);
}

.page-hero-description {
    max-width: 760px;
    margin-top: 30px;

    color: var(--text-soft);

    font-size: clamp(
        17px,
        1.35vw,
        20px
    );

    line-height: 1.78;
}


/* Optional hero actions for future pages */

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

    margin-top: 38px;
}


/* Hero scroll indicator */

.page-hero-scroll {
    position: absolute;
    right: max(
        var(--gutter),
        calc((100vw - var(--container)) / 2)
    );
    bottom: 42px;

    display: inline-flex;
    align-items: center;
    gap: 13px;

    color: var(--text-muted);

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;

    z-index: 3;
}

.page-hero-scroll .hero-scroll-line {
    position: relative;

    width: 38px;
    height: 1px;

    overflow: hidden;

    background: rgba(255,255,255,.17);
}

.page-hero-scroll .hero-scroll-line::after {
    content: "";

    position: absolute;
    inset: 0;

    width: 50%;

    background:
        linear-gradient(
            90deg,
            var(--yellow),
            var(--green)
        );

    transform: translateX(-100%);

    animation:
        page-scroll-line
        2.2s
        var(--ease)
        infinite;
}

@keyframes page-scroll-line {

    0% {
        transform: translateX(-120%);
    }

    45% {
        transform: translateX(190%);
    }

    100% {
        transform: translateX(190%);
    }

}


/* =========================================================
   04. COMMON INNER PAGE SECTION SYSTEM
   ========================================================= */

.inner-section {
    position: relative;
    padding-block: var(--section-space);
}

.inner-section-tight {
    padding-top: clamp(72px, 7vw, 108px);
    padding-bottom: clamp(72px, 7vw, 108px);
}

.inner-section-large {
    padding-top: clamp(120px, 12vw, 190px);
    padding-bottom: clamp(120px, 12vw, 190px);
}


/* Shared two-column structure */

.inner-two-column {
    display: grid;
    grid-template-columns:
        minmax(160px, .34fr)
        minmax(0, 1.66fr);

    gap: clamp(50px, 7vw, 110px);
}


/* Small section numbering */

.page-section-label {
    display: flex;
    align-items: center;
    gap: 13px;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.page-section-label::before {
    content: "";

    width: 24px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--yellow),
            var(--green)
        );
}

.page-section-number {
    color: var(--yellow);
}


/* Shared content heading */

.inner-heading {
    max-width: 1000px;
}

.inner-heading .section-title {
    max-width: 920px;
}

.inner-heading .section-description {
    max-width: 720px;
}


/* =========================================================
   05. SHARED CARD SYSTEM
   ========================================================= */

.inner-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.inner-card {
    position: relative;

    min-height: 320px;
    padding: 34px 30px;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.018),
            rgba(56,200,106,.018)
        );

    transition:
        transform .55s var(--ease),
        background .45s var(--ease),
        border-color .45s var(--ease),
        box-shadow .45s var(--ease);
}

.inner-card:hover {
    transform: translateY(-7px);

    background:
        linear-gradient(
            145deg,
            rgba(56,200,106,.04),
            rgba(242,203,32,.018)
        );

    border-color:
        rgba(56,200,106,.22);

    box-shadow:
        0 24px 60px rgba(0,0,0,.18);
}

.inner-card-number {
    color: var(--yellow);

    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
}

.inner-card h3 {
    margin-top: 60px;

    color: var(--white);

    font-size: clamp(23px, 2vw, 28px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.045em;
}

.inner-card p {
    max-width: 470px;

    margin-top: 15px;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.78;
}


/* =========================================================
   06. SHARED FEATURE / IMAGE BLOCK
   ========================================================= */

.page-feature {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-xl);

    background:
        var(--surface-solid);

    isolation: isolate;
}

.page-feature-media {
    position: absolute;
    inset: 0;

    overflow: hidden;
}

.page-feature-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(.7)
        contrast(1.04)
        brightness(.58);

    transform: scale(1.03);

    transition:
        transform 1.4s var(--ease);
}

.page-feature:hover
.page-feature-media img {
    transform: scale(1.065);
}

.page-feature::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,8,6,.92) 0%,
            rgba(3,8,6,.72) 42%,
            rgba(3,8,6,.20) 76%,
            rgba(3,8,6,.45) 100%
        );

    z-index: 1;

    pointer-events: none;
}

.page-feature-content {
    position: relative;

    z-index: 2;

    max-width: 650px;

    padding:
        clamp(38px, 5vw, 76px);
}

.page-feature-label {
    color: var(--yellow);

    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.page-feature h2 {
    margin-top: 17px;

    color: var(--white);

    font-size:
        clamp(
            38px,
            4.6vw,
            66px
        );

    line-height: .96;
    font-weight: 800;
    letter-spacing: -.065em;
}

.page-feature h2 span {
    color: var(--green);
}

.page-feature p {
    max-width: 600px;

    margin-top: 22px;

    color: var(--text-soft);

    font-size: 16px;
    line-height: 1.78;
}


/* =========================================================
   07. SHARED PILL / TAG SYSTEM
   ========================================================= */

.page-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 28px;
}

.page-pills span {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding-inline: 14px;

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-pill);

    color: var(--text-muted);

    background:
        rgba(255,255,255,.018);

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    transition:
        color .3s var(--ease),
        border-color .3s var(--ease),
        background .3s var(--ease);
}

.page-pills span:hover {
    color: var(--green);

    border-color:
        var(--border-green);

    background:
        rgba(56,200,106,.045);
}


/* =========================================================
   08. GLOBAL / MARKET PANEL
   ========================================================= */

.page-global-panel {
    position: relative;

    overflow: hidden;

    padding:
        clamp(40px, 5vw, 74px);

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-xl);

    background:
        linear-gradient(
            135deg,
            rgba(56,200,106,.055),
            rgba(255,255,255,.014)
        );

    isolation: isolate;
}

.page-global-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 0%,
            rgba(56,200,106,.035) 48%,
            transparent 100%
        );

    pointer-events: none;

    z-index: -1;
}

.page-global-panel .section-eyebrow {
    position: relative;
    z-index: 1;
}

.page-global-title {
    max-width: 900px;

    margin-top: 22px;

    color: var(--white);

    font-size:
        clamp(
            42px,
            5.5vw,
            76px
        );

    line-height: .95;
    font-weight: 800;
    letter-spacing: -.07em;
}

.page-global-title span {
    color: var(--green);
}

.page-global-description {
    max-width: 720px;

    margin-top: 22px;

    color: var(--text-soft);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   09. SHARED INNER CTA
   ========================================================= */

.page-cta {
    position: relative;

    overflow: hidden;

    padding:
        clamp(110px, 12vw, 175px)
        0;

    text-align: center;

    isolation: isolate;
}

.page-cta::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.021) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.021) 1px,
            transparent 1px
        );

    background-size: 82px 82px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 72%
        );

    -webkit-mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 72%
        );

    pointer-events: none;

    z-index: -2;
}

.page-cta-glow {
    position: absolute;

    width: min(780px, 74vw);
    aspect-ratio: 1.4;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(56,200,106,.115),
            rgba(56,200,106,.025) 44%,
            transparent 70%
        );

    filter: blur(12px);

    pointer-events: none;

    z-index: -1;
}

.page-cta-inner {
    width: min(100%, 960px);
    margin-inline: auto;
}

.page-cta .section-eyebrow {
    justify-content: center;
}

.page-cta h2 {
    margin-top: 22px;

    color: var(--white);

    font-size:
        clamp(
            56px,
            7vw,
            96px
        );

    line-height: .91;
    font-weight: 800;
    letter-spacing: -.078em;

    text-wrap: balance;
}

.page-cta h2 span {
    color: var(--green);
}

.page-cta p {
    max-width: 620px;

    margin:
        25px auto
        0;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.78;
}

.page-cta .btn {
    margin-top: 34px;
}


/* =========================================================
   10. FOOTER — SHARED ACROSS ENTIRE WEBSITE
   ========================================================= */

.site-footer {
    position: relative;

    padding-top:
        clamp(76px, 8vw, 110px);

    padding-bottom:
        28px;

    border-top:
        1px solid
        var(--border);

    background:
        linear-gradient(
            180deg,
            rgba(6,16,10,.32),
            rgba(3,8,6,.94)
        );
}

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.6fr)
        repeat(3, minmax(140px, 1fr));

    gap:
        clamp(28px, 4vw, 64px);

    padding-bottom:
        72px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    width: fit-content;
}

.footer-logo-mark {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.footer-logo-text {
    display: inline-flex;
    align-items: baseline;

    gap: 5px;

    color: var(--white);

    font-size: 20px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -.055em;
}

.footer-brand p {
    max-width: 390px;

    margin-top: 22px;

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.8;
}

.footer-project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 26px;

    color: var(--text-soft);

    font-size: 13px;
    line-height: 1;

    font-weight: 800;

    transition:
        color .3s var(--ease),
        gap .35s var(--ease);
}

.footer-project-link span {
    color: var(--yellow);

    font-size: 17px;

    transition:
        transform .35s var(--ease);
}

.footer-project-link:hover {
    color: var(--white);
    gap: 14px;
}

.footer-project-link:hover span {
    transform: translate(2px, -2px);
}


/* Footer columns */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    margin-bottom: 22px;

    color: var(--white);

    font-size: 11px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.footer-column a {
    display: inline-flex;
    align-items: center;

    width: fit-content;

    margin-bottom: 13px;

    color: var(--text-muted);

    font-size: 13px;
    line-height: 1.45;

    transition:
        color .3s var(--ease),
        transform .35s var(--ease);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-column a:last-child {
    margin-bottom: 0;
}


/* Footer bottom */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding-top: 24px;

    border-top:
        1px solid
        var(--border);
}

.footer-bottom p {
    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.5;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);

    font-size: 11px;
    line-height: 1;

    transition:
        color .3s var(--ease);
}

.footer-legal a:hover {
    color: var(--white);
}


/* =========================================================
   11. SHARED IMAGE MOTION
   ========================================================= */

[data-parallax],
.parallax-image {
    will-change: transform;
}


/* =========================================================
   12. SHARED REVEAL ENHANCEMENTS
   ========================================================= */

.reveal {
    will-change: opacity, transform;
}

.animations-ready .reveal {
    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}

.animations-ready .reveal.is-visible {
    transition:
        opacity .9s var(--ease),
        transform .9s var(--ease);
}


/* =========================================================
   13. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .page-hero {
        min-height: 76svh;

        padding-top:
            calc(var(--header-height) + 82px);

        padding-bottom:
            105px;
    }

    .page-hero-title {
        max-width: 900px;

        font-size:
            clamp(
                54px,
                8vw,
                84px
            );
    }

    .inner-two-column {
        gap: 52px;
    }

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

    .footer-main {
        grid-template-columns:
            1.4fr
            1fr
            1fr;

        gap: 34px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 560px;
    }

}


/* =========================================================
   14. RESPONSIVE — TABLET / SMALL
   ========================================================= */

@media (max-width: 980px) {

    .page-hero {
        min-height: 72svh;
    }

    .page-hero-scroll {
        display: none;
    }

    .inner-two-column {
        grid-template-columns: 1fr;
        gap: 38px;
    }

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

    .page-feature-content {
        max-width: 600px;
    }

    .footer-main {
        grid-template-columns:
            1.5fr
            1fr
            1fr;

        gap: 36px 26px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   15. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .page-hero {
        min-height: auto;

        padding-top:
            calc(var(--header-height) + 78px);

        padding-bottom:
            82px;
    }

    .page-hero-title {
        max-width: 100%;

        margin-top: 19px;

        font-size:
            clamp(
                47px,
                12vw,
                70px
            );

        line-height: .94;
    }

    .page-hero-description {
        max-width: 100%;

        margin-top: 24px;

        font-size: 16px;
        line-height: 1.72;
    }

    .page-hero-actions {
        margin-top: 30px;
    }

    .page-hero-glow-one {
        width: 440px;
        right: -180px;
    }

    .page-hero-glow-two {
        width: 360px;
        left: -170px;
    }


    .inner-section {
        padding-block: 88px;
    }

    .inner-section-tight {
        padding-block: 76px;
    }

    .inner-section-large {
        padding-block: 100px;
    }


    .inner-card-grid {
        grid-template-columns: 1fr;
    }

    .inner-card {
        min-height: 0;
        padding: 30px 24px;
    }

    .inner-card h3 {
        margin-top: 42px;
    }


    .page-feature {
        border-radius: var(--radius-lg);
    }

    .page-feature-content {
        padding:
            34px 24px;
    }

    .page-feature::after {
        background:
            linear-gradient(
                180deg,
                rgba(3,8,6,.16),
                rgba(3,8,6,.72) 55%,
                rgba(3,8,6,.92) 100%
            );
    }

    .page-feature h2 {
        font-size:
            clamp(
                36px,
                10vw,
                52px
            );
    }

    .page-feature p {
        font-size: 15px;
    }


    .page-global-panel {
        padding:
            34px 24px;
    }

    .page-global-title {
        font-size:
            clamp(
                40px,
                10vw,
                58px
            );
    }

    .page-global-description {
        font-size: 15px;
    }


    .page-cta {
        padding:
            100px 0;
    }

    .page-cta h2 {
        font-size:
            clamp(
                48px,
                12vw,
                68px
            );
    }

    .page-cta p {
        font-size: 15px;
    }


    .site-footer {
        padding-top: 78px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 42px 28px;

        padding-bottom: 58px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;
    }

}


/* =========================================================
   16. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .page-hero {
        padding-bottom: 72px;
    }

    .page-hero-title {
        font-size:
            clamp(
                44px,
                13vw,
                62px
            );

        letter-spacing: -.065em;
    }

    .page-hero-description {
        font-size: 15px;
    }

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

    .page-hero-actions .btn {
        width: 100%;
    }


    .page-pills {
        gap: 7px;
    }

    .page-pills span {
        min-height: 32px;
        padding-inline: 12px;
        font-size: 11px;
    }


    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-legal {
        gap: 14px 18px;
    }

}


/* =========================================================
   17. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .page-hero-scroll .hero-scroll-line::after,
    .page-feature-media img,
    .inner-card,
    .footer-column a,
    .footer-project-link,
    .footer-project-link span {
        animation: none !important;
        transition: none !important;
    }

}