:root {
    color-scheme: dark;
    --bg: #05070F;
    --bg2: #0A0F1E;
    --surface: #0C1322; 
    --surface2: #111A2E;
    --border: rgba(148, 163, 191, .14);
    --border-strong: rgba(148, 163, 191, .24);
    --text: #E8EDF8;
    --muted: #9AA7C2;
    --dim: #67779A;
    --cyan: #22D3EE;
    --blue: #3E7BFF;
    --violet: #8B5CF6;
    --magenta: #D946EF;
    --grad: linear-gradient(115deg, #22D3EE, #3E7BFF 40%, #8B5CF6 72%, #D946EF);
    --radius: 18px;
    --font-display: 'Lato', system-ui, sans-serif;
    --font-body: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    overflow-x: hidden;
    /* fallback for older browsers */
    overflow-x: clip;
    /* clips without making html a scroll container */
}

body {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--muted);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}


/* aurora wash + film grain */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(55% 45% at 12% -5%, rgba(139, 92, 246, .13), transparent 62%), radial-gradient(45% 38% at 88% 8%, rgba(34, 211, 238, .08), transparent 60%), radial-gradient(50% 45% at 50% 110%, rgba(62, 123, 255, .08), transparent 62%);
}

body::after {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: 2147480000;
    pointer-events: none;
    opacity: .05;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 9s steps(6) infinite;
}

@keyframes grain {
    0%,
    100% {
        transform: translate(0, 0)
    }
    20% {
        transform: translate(-4%, 3%)
    }
    40% {
        transform: translate(3%, -5%)
    }
    60% {
        transform: translate(-5%, -2%)
    }
    80% {
        transform: translate(4%, 4%)
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.12;
    letter-spacing: -.015em
}

img,
svg {
    max-width: 100%;
    display: block
}

a {
    color: var(--cyan);
    text-decoration: none
}

::selection {
    background: rgba(139, 92, 246, .45);
    color: #fff
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-thumb {
    background: #1B2440;
    border-radius: 8px;
    border: 2px solid var(--bg)
}

::-webkit-scrollbar-track {
    background: transparent
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px
}

section {
    padding: 110px 0;
    position: relative
}

.section-head {
    max-width: 680px;
    margin: 0 auto 64px;
    text-align: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(34, 211, 238, .07);
    border: 1px solid rgba(34, 211, 238, .25);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: 20px;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grad);
    flex: none
}

.section-head h2 {
    font-size: clamp(30px, 4.6vw, 46px);
    font-weight: 900;
    margin-bottom: 16px
}

.section-head p {
    font-size: 17.5px
}

.grad {
    background: var(--grad);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradShift 7s ease-in-out infinite alternate;
}

@keyframes gradShift {
    to {
        background-position: 100% center
    }
}


/* ---------- Scroll progress ---------- */

#scrollbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}


/* ---------- Cursor glow ---------- */

#glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(62, 123, 255, .11), rgba(139, 92, 246, .06) 42%, transparent 66%);
}

@media (pointer:coarse) {
    #glow {
        display: none
    }
}


/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    padding: 15px 30px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    min-height: 48px;
    touch-action: manipulation;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none
}

.btn-primary {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, #22D3EE, #3E7BFF 40%, #8B5CF6 78%);
    box-shadow: 0 10px 34px -10px rgba(139, 92, 246, .55), 0 4px 16px -6px rgba(34, 211, 238, .35);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px -12px rgba(139, 92, 246, .65), 0 6px 20px -6px rgba(34, 211, 238, .4)
}

.btn-primary:hover::after {
    left: 130%
}

.btn-ghost {
    background: rgba(148, 163, 191, .05);
    color: var(--text);
    border-color: var(--border-strong)
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, .55);
    background: rgba(139, 92, 246, .08)
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px
}


/* ---------- Nav ---------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 100;
    background: rgba(5, 7, 15, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s;
}

header.scrolled {
    border-color: var(--border);
    background: rgba(5, 7, 15, .82)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 19px;
    color: var(--text);
    letter-spacing: -.01em
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    flex: none;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px -4px rgba(139, 92, 246, .6);
}

.logo-mark svg {
    width: 22px;
    height: 22px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none
}

.nav-links a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    transition: color .15s
}

.nav-links a:hover {
    color: var(--text)
}

.nav-links a.active {
    color: var(--cyan)
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px
}

.nav-cta .btn {
    padding: 11px 22px;
    font-size: 14px;
    min-height: 42px
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--text)
}

.menu-btn svg {
    width: 26px;
    height: 26px
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 30px 0 130px;
    overflow: hidden;
    isolation: isolate
}

.hero>* {
    position: relative;
    z-index: 1
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    will-change: transform
}

.hero-blob.b1 {
    width: 560px;
    height: 560px;
    background: rgba(139, 92, 246, .20);
    top: -160px;
    right: -140px;
    animation: blobDrift 16s ease-in-out infinite alternate
}

.hero-blob.b2 {
    width: 460px;
    height: 460px;
    background: rgba(34, 211, 238, .13);
    bottom: -180px;
    left: -140px;
    animation: blobDrift 20s ease-in-out infinite alternate-reverse
}

@keyframes blobDrift {
    to {
        transform: translate(40px, 30px) scale(1.12)
    }
}

.stars {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.stars span {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: .2;
    animation: twinkle var(--tw, 3s) ease-in-out infinite
}

@keyframes twinkle {
    50% {
        opacity: .95;
        box-shadow: 0 0 8px rgba(255, 255, 255, .9)
    }
}

.cloud {
    position: absolute;
    color: #fff;
    opacity: .05;
    pointer-events: none;
    filter: blur(1px)
}

.cloud svg {
    width: 100%;
    height: auto
}

.cloud.c1 {
    width: 200px;
    top: 24%;
    animation: drift 55s linear infinite
}

.cloud.c2 {
    width: 120px;
    top: 48%;
    animation: drift 75s linear infinite;
    animation-delay: -30s
}

.cloud.c3 {
    width: 90px;
    top: 66%;
    animation: drift 95s linear infinite;
    animation-delay: -60s
}

@keyframes drift {
    from {
        transform: translateX(-15vw)
    }
    to {
        transform: translateX(115vw)
    }
}

.hero-inner {
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(30px, 4vw, 72px);
    text-align: left;
    z-index: 2
}

.hero-copy {
    flex: 0 0 50%;
    min-width: 0;
    max-width: 620px
}

.hero h1 {
    font-size: clamp(40px, 6.6vw, 52px);
    font-weight: 900;
    margin-bottom: 26px;
    letter-spacing: -.02em
}

.hero p.lede {
    font-size: clamp(17px, 2.1vw, 20px);
    max-width: 620px;
    margin: 0 0 40px;
    color: var(--muted)
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 48px
}

.hero-chips {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap
}

.hero-visual {
    position: relative;
    flex: 1 1 320px;
    min-width: min(100%, 320px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    isolation: isolate
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% 4% 8% 8%;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .16), transparent 35%), radial-gradient(circle at 80% 10%, rgba(34, 211, 238, .15), transparent 32%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 32px;
    box-shadow: 0 30px 80px -35px rgba(0, 0, 0, .6);
    backdrop-filter: blur(8px)
}

.hero-visual svg {
    position: relative;
    width: min(100%, 470px);
    height: auto;
    filter: drop-shadow(0 30px 70px rgba(2, 8, 23, .35))
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(148, 163, 191, .06);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 17px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--muted);
    backdrop-filter: blur(6px);
    transition: border-color .2s, color .2s;
}

.chip:hover {
    border-color: rgba(34, 211, 238, .45);
    color: var(--text)
}

.chip svg {
    width: 15px;
    height: 15px;
    color: var(--cyan);
    flex: none
}


/* ---------- Stats strip ---------- */

.stats {
    padding: 0;
    margin-top: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transform: translateY(-56px);
    margin-bottom: -56px;
    position: relative;
    z-index: 3;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}

.stat {
    background: var(--surface);
    padding: 32px 20px;
    text-align: center
}

.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.stat span {
    font-size: 13.5px;
    font-family: var(--font-mono);
    letter-spacing: .04em;
    color: var(--dim)
}


/* ---------- Marquee ---------- */

.marquee {
    overflow: hidden;
    padding: 26px 0;
    margin-top: 96px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(10, 15, 30, .5);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 42px;
    padding-right: 42px
}

.marquee-group span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, 2.6vw, 27px);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;
}

.marquee-group span.outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(232, 237, 248, .3)
}

.marquee-group i {
    font-style: normal;
    font-size: 15px;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}


/* ---------- Services ---------- */

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

.card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.card:hover {
    border-color: rgba(139, 92, 246, .4);
    box-shadow: 0 24px 60px -24px rgba(139, 92, 246, .3)
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease-out);
}

.card:hover::before {
    transform: scaleX(1)
}


/* spotlight that follows the cursor */

.spot::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 92, 246, .14), transparent 65%);
}

.spot:hover::after {
    opacity: 1
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(139, 92, 246, .1);
    border: 1px solid rgba(139, 92, 246, .28);
    color: var(--cyan);
    margin-bottom: 22px;
}

.card-icon svg {
    width: 24px;
    height: 24px
}

.card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px
}

.card p {
    font-size: 15px
}


/* ---------- Work - sideways scroll ---------- */

.hwrap {
    padding: 0;
    height: 340vh
}

.hsticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden
}

.htrack {
    display: flex;
    align-items: stretch;
    gap: 28px;
    padding: 0 8vw;
    will-change: transform
}

.hpanel {
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.hintro {
    width: 480px;
    text-align: left
}

.hintro .section-head {
    margin: 0;
    text-align: left;
    max-width: none
}

.hhint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dim);
}

.hhint svg {
    width: 18px;
    height: 18px;
    color: var(--cyan);
    animation: nudge 1.6s ease-in-out infinite
}

@keyframes nudge {
    50% {
        transform: translateX(7px)
    }
}

.work-card {
    flex: none;
    width: 400px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color .3s ease, box-shadow .3s ease;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.work-card:hover,
.work-card:focus-visible {
    border-color: rgba(34, 211, 238, .4);
    box-shadow: 0 24px 60px -24px rgba(34, 211, 238, .25)
}

.work-card:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px
}

.browser {
    flex: none;
    min-height: 0;
    border-bottom: 1px solid var(--border)
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: #0A101E
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    opacity: .85;
    flex: none
}

.dot:nth-child(1) {
    background: var(--cyan)
}

.dot:nth-child(2) {
    background: var(--violet)
}

.dot:nth-child(3) {
    background: var(--magenta)
}

.browser-url {
    flex: 1;
    margin-left: 8px;
    background: rgba(148, 163, 191, .07);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    padding: 3px 10px;
    color: var(--dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-thumb {
    flex: none;
    min-height: 0;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface2)
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block
}

.work-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    min-height: 0
}

.work-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cyan)
}

.work-body h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 2px
}

.work-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dim);
    flex: 1;
    margin-top: 2px
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14.5px;
    margin-top: 6px
}

.link-arrow svg {
    width: 16px;
    height: 16px;
    transition: transform .25s
}

.link-arrow:hover svg,
.work-card:hover .link-arrow svg {
    transform: translateX(5px)
}


/* ---------- Work sample modal ---------- */

.work-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease
}

.work-modal.open {
    opacity: 1;
    pointer-events: auto
}

.work-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 15, .82);
    backdrop-filter: blur(6px)
}

.work-modal-panel {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transform: translateY(18px) scale(.98);
    transition: transform .3s var(--ease-out);
}

.work-modal.open .work-modal-panel {
    transform: translateY(0) scale(1)
}

.work-modal-head {
    flex: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.work-modal-head-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0
}

.work-modal-head-text h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25
}

.work-modal-close {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.work-modal-close:hover {
    background: rgba(232, 237, 248, .06);
    border-color: rgba(34, 211, 238, .4)
}

.work-modal-close svg {
    width: 17px;
    height: 17px
}

.work-modal-media {
    flex: 1 1 auto;
    overflow-y: auto;
    background: var(--surface2);
    min-height: 0
}

.work-modal-media img {
    width: 100%;
    height: auto;
    display: block
}

.work-modal-desc {
    flex: none;
    padding: 16px 22px 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.6;
    color: var(--dim)
}

@media (max-width:640px) {
    .work-modal {
        padding: 20px;
    }
    .work-modal-panel {
        max-width: none;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0
    }
}

.hcta {
    width: 420px;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius);
    padding: 52px 40px;
    border: 1px solid transparent;
    background: linear-gradient(160deg, #101830, #0C1322) padding-box, var(--grad) border-box;
}

.hcta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(139, 92, 246, .22);
    filter: blur(70px);
    top: -100px;
    right: -70px;
    pointer-events: none;
}

.hcta h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 12px
}

.hcta p {
    font-size: 15px;
    margin-bottom: 28px
}

.hcta .btn {
    position: relative;
    z-index: 1;
    margin: 6px auto 0;
    max-width: 280px;
    width: 100%
}


/* ---------- Pricing ---------- */

.price-group-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase; 
    color: var(--dim);
    text-align: center;
    margin: 52px 0 26px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.price-group-label::before,
.price-group-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border)
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.pricing-grid.two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin: 0 auto
}

.price-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, .4);
    box-shadow: 0 24px 60px -24px rgba(139, 92, 246, .3)
}

.price-card.featured {
    border: 1px solid transparent;
    background: linear-gradient(160deg, #101830, #0C1322) padding-box, var(--grad) border-box;
    box-shadow: 0 30px 80px -30px rgba(139, 92, 246, .4);
}

.badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 0 0 12px 12px;
    white-space: nowrap;
}

.price-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px
}

.price-card.featured h3 {
    margin-top: 14px
}

.price-card .for {
    font-size: 13.5px;
    color: var(--dim);
    margin-bottom: 20px
}

.price {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums
}

.price-note {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--dim);
    margin-bottom: 24px
}

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex: 1
}

.features li {
    display: flex;
    gap: 11px;
    font-size: 14.5px;
    align-items: flex-start;
    color: var(--muted)
}

.features svg {
    width: 17px;
    height: 17px;
    color: var(--cyan);
    flex: none;
    margin-top: 4px
}

.price-card .btn {
    width: 100%
}

/* small print inside a package card, sits above the button */

.card-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--dim);
    padding-top: 16px;
    margin-bottom: 18px;
    border-top: 1px dashed var(--border);
}

/* scope note under a group of package cards */

.group-note {
    max-width: 860px;
    margin: 22px auto 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dim);
}

.custom-banner {
    margin-top: 52px;
    border-radius: 22px;
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: linear-gradient(120deg, #0B1226, #151030 65%, #1A0F2E) padding-box, linear-gradient(115deg, rgba(34, 211, 238, .5), rgba(139, 92, 246, .6), rgba(217, 70, 239, .5)) border-box;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.custom-banner::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(139, 92, 246, .3);
    filter: blur(90px);
    top: -140px;
    right: -70px;
    pointer-events: none;
}

.custom-banner h3 {
    color: var(--text);
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 8px
}

.custom-banner p {
    max-width: 540px;
    font-size: 15.5px
}

.custom-banner .btn {
    position: relative;
    z-index: 1;
    background: var(--text);
    color: #0B1226
}

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

.fine-print {
    text-align: center;
    font-size: 13px;
    font-family: var(--font-mono);
    color: var(--dim);
    margin-top: 30px
}


/* ---------- Process ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.step {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color .3s, box-shadow .3s;
}

.step:hover {
    border-color: rgba(34, 211, 238, .4);
    box-shadow: 0 20px 50px -22px rgba(34, 211, 238, .25)
}

.step-num {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    margin-bottom: 20px;
    box-shadow: 0 6px 18px -4px rgba(139, 92, 246, .5);
}

.step h3 {
    font-size: 17.5px;
    font-weight: 700;
    margin-bottom: 8px
}

.step p {
    font-size: 14px
}


/* ---------- FAQ ---------- */

.faq {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px
}

.faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0 26px;
    transition: border-color .25s;
}

.faq details[open] {
    border-color: rgba(139, 92, 246, .4)
}

.faq summary {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    padding: 21px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary svg {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex: none;
    transition: transform .3s var(--ease-out)
}

.faq details[open] summary svg {
    transform: rotate(45deg)
}

.faq details p {
    padding: 0 0 24px;
    font-size: 15px
}


/* ---------- Contact ---------- */

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 52px;
    align-items: start
}

.contact-info h2 {
    font-size: clamp(30px, 4.4vw, 42px);
    font-weight: 900;
    margin-bottom: 16px
}

.contact-info>p {
    margin-bottom: 34px;
    font-size: 17px
}

.contact-lines {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15.5px;
    color: var(--text);
    font-weight: 500
}

.contact-line .card-icon {
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 13px
}

.contact-line small {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--dim)
}

form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6);
}

.field label {
    display: block;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 8px
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--text);
    background: #0A1120;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 16px;
    transition: border-color .2s, box-shadow .2s;
    min-height: 48px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .15);
}

.form-note {
    font-size: 12.5px;
    font-family: var(--font-mono);
    color: var(--dim);
    text-align: center
}


/* ---------- Footer ---------- */

footer {
    background: #04060B;
    color: var(--dim);
    padding: 60px 0 34px;
    border-top: 1px solid var(--border);
    position: relative
}

footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad);
    opacity: .5
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 42px
}

.footer-brand {
    max-width: 320px
}

.footer-brand .logo {
    color: var(--text);
    margin-bottom: 14px
}

.footer-brand p {
    font-size: 14px
}

.footer-col h4 {
    color: var(--text);
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 15px
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.footer-col a {
    color: var(--dim);
    font-size: 14px;
    transition: color .15s
}

.footer-col a:hover {
    color: var(--cyan)
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    font-family: var(--font-mono)
}


/* ---------- Loading screen ---------- */

#loader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    overflow: hidden;
    color-scheme: light;
    color: #0F172A;
    background: #F7FAFF;
    perspective: 1200px;
    transition: background .2s ease;
}

#loader::before,
#loader::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    transition: opacity .25s ease;
}

#loader::before {
    width: 480px;
    height: 480px;
    background: rgba(139, 92, 246, .12);
    top: -140px;
    right: -120px
}

#loader::after {
    width: 400px;
    height: 400px;
    background: rgba(34, 211, 238, .14);
    bottom: -150px;
    left: -120px
}

.loader-inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: opacity .32s ease, transform .32s var(--ease-out);
}

.loader-mark {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 26px;
    flex: none;
    background: #fff;
    border: 1px solid rgba(139, 92, 246, .22);
    display: grid;
    place-items: center;
    box-shadow: 0 22px 54px -24px rgba(62, 123, 255, .45), 0 12px 28px -22px rgba(15, 23, 42, .4);
    animation: loaderFloat 2.6s ease-in-out infinite;
}

.loader-mark svg {
    width: 46px;
    height: 46px;
    fill: #0F172A
}

.loader-ring {
    position: absolute;
    inset: -14px;
    border-radius: 34px;
    border: 1.5px solid rgba(62, 123, 255, .28);
    animation: loaderRing 2s ease-out infinite
}

.loader-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    color: #0F172A
}

.loader-bar {
    width: 180px;
    height: 3px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .12);
    overflow: hidden
}

.loader-bar span {
    display: block;
    height: 100%;
    width: 38%;
    border-radius: 999px;
    background: var(--grad);
    animation: loaderBar 1.1s cubic-bezier(.45, 0, .55, 1) infinite;
}

.loader-pct {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: #64748B
}

.loader-tiles {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    perspective: 1200px;
    transform-style: preserve-3d;
    transition: opacity .16s ease;
}

.loader-tile {
    position: absolute;
    left: var(--tile-x);
    top: var(--tile-y);
    width: var(--tile-size);
    height: var(--tile-size);
    background: #F7FAFF;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .055), 0 10px 22px rgba(15, 23, 42, .08);
    backface-visibility: hidden;
    transform-origin: var(--origin, center);
    transform: rotateX(0) rotateY(0) translateZ(0);
    transition: transform .78s cubic-bezier(.2, .75, .2, 1), opacity .62s ease;
    transition-delay: var(--delay, 0ms);
    will-change: transform, opacity;
}

.loader-tile.is-alt {
    background: #EEF4FF
}

@keyframes loaderFloat {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-9px)
    }
}

@keyframes loaderRing {
    0% {
        transform: scale(.85);
        opacity: 0
    }
    35% {
        opacity: 1
    }
    100% {
        transform: scale(1.3);
        opacity: 0
    }
}

@keyframes loaderBar {
    0% {
        transform: translateX(-120%)
    }
    100% {
        transform: translateX(390%)
    }
}

#loader.done .loader-inner {
    opacity: 0;
    transform: scale(.9) translateY(-10px)
}

#loader.tiles-ready .loader-tiles {
    opacity: 1
}

#loader.splitting {
    background: transparent
}

#loader.splitting::before,
#loader.splitting::after {
    opacity: 0
}

#loader.hide {
    pointer-events: none
}

#loader.hide .loader-tile {
    opacity: 0;
    transform: perspective(900px) rotateX(var(--flip-x, 0deg)) rotateY(var(--flip-y, 0deg)) translateZ(32px) scale(.96);
}

body.no-scroll {
    overflow: hidden
}


/* ---------- Hero entrance (after loader) ---------- */

html.js .stagger {
    opacity: 0;
    transform: translateY(24px) scale(.98);
    transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
    transition-delay: var(--d, 0s);
}

html.js.loaded .stagger {
    opacity: 1;
    transform: none
}


/* ---------- Scroll entrances - 3D fly system ---------- */

html.js [data-anim] {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity .85s var(--ease-out), transform .85s var(--ease-out), filter .85s ease;
    transition-delay: var(--d, 0s);
}

html.js [data-anim="fly-up"] {
    transform: perspective(1000px) translateY(70px) rotateX(14deg) scale(.96);
    transform-origin: center top
}

html.js [data-anim="fly-left"] {
    transform: perspective(1000px) translateX(-90px) rotateY(10deg)
}

html.js [data-anim="fly-right"] {
    transform: perspective(1000px) translateX(90px) rotateY(-10deg)
}

html.js [data-anim="flip"] {
    transform: perspective(1000px) rotateX(-38deg) translateY(30px);
    transform-origin: center bottom
}

html.js [data-anim="zoom"] {
    transform: scale(.82);
    filter: blur(8px)
}

html.js [data-anim="fade"] {
    transform: translateY(30px)
}

html.js [data-anim].anim-in {
    opacity: 1;
    transform: none;
    filter: none
}


/* section heads stay visible; their children animate word by word */

html.js [data-anim="head"] {
    opacity: 1;
    transform: none
}

html.js [data-anim="head"] .eyebrow {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s var(--ease-out)
}

html.js [data-anim="head"]>p,
html.js [data-anim="head"] .section-head>p {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease .4s, transform .6s var(--ease-out) .4s
}

html.js [data-anim="head"].anim-in .eyebrow,
html.js [data-anim="head"].anim-in>p,
html.js [data-anim="head"].anim-in .section-head>p {
    opacity: 1;
    transform: none
}

.split-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .1em;
    margin-bottom: -.1em
}

.split-word>span {
    display: inline-block;
    transform: translateY(115%);
    transition: transform .8s var(--ease-out);
    transition-delay: calc(70ms*var(--w, 0))
}

.anim-in .split-word>span {
    transform: translateY(0)
}


/* snappy transform for tilt cards after their entrance finished */

html.js [data-anim].anim-in.tilt {
    transition: transform .18s ease, box-shadow .3s ease, border-color .3s ease
}


/* ---------- Back to top ---------- */

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, color .15s ease, border-color .2s;
}

.to-top.show {
    opacity: 1;
    transform: none;
    pointer-events: auto
}

.to-top:hover {
    color: var(--cyan);
    border-color: rgba(34, 211, 238, .5);
    transform: translateY(-3px)
}

.to-top:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px
}

.to-top svg {
    width: 20px;
    height: 20px
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
    html.js [data-anim] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important
    }
    .split-word>span {
        transform: none !important
    }
    #glow,
    .stars {
        display: none
    }
    body::after {
        animation: none
    }
}


/* ---------- Responsive ---------- */

@media (max-width:960px) {
    .grid-3,
    .pricing-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr)
    }
    .pricing-grid.two {
        grid-template-columns: repeat(2, 1fr)
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }
    .contact-wrap {
        grid-template-columns: 1fr
    }
}

@media (max-width:860px) {
    .hwrap {
        height: auto;
        padding: 88px 20px;
    }
    .hsticky {
        position: static;
        height: auto;
        overflow: visible;
        display: block
    }
    .htrack {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 8px 0 24px;
        overflow: visible;
        scroll-snap-type: none;
    }
    .hintro,
    .work-card,
    .hcta {
        scroll-snap-align: none
    }
    .hintro {
        width: 100%;
        max-width: 100%
    }
    .work-card {
        width: 100%;
        max-width: 100%
    }
    .hcta {
        width: 100%;
        padding: 44px 30px
    }
}

@media (max-width:680px) {
    section {
        padding: 80px 0
    }
    .hero {
        padding: 10px 0 100px
    }
    .hero-inner {
        flex-direction: column;
        text-align: center
    }
    .hero-copy {
        flex: 1 1 auto;
        max-width: none
    }
    .hero-actions,
    .hero-chips {
        justify-content: center
    }
    .hero-visual {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 280px;
        margin-top: 12px
    }
    .grid-3,
    .pricing-grid,
    .pricing-grid.two,
    .steps {
        grid-template-columns: 1fr
    }
    .custom-banner {
        padding: 38px 28px
    }
    .stats-grid {
        transform: none;
        margin-bottom: 0;
        margin-top: -40px
    }
    form {
        padding: 28px 22px
    }
    .marquee {
        margin-top: 80px
    }
    .to-top {
        right: 16px;
        bottom: 16px
    }
}


/* ---------- Patch: header offset + hero form + CTA polish ---------- */

.hero {
    padding: 150px 0 120px
}

.hero-form {
    flex: 0 0 50%;
    min-width: 320px;
    position: relative;
    z-index: 2;
    padding: 30px 28px 26px;
    gap: 15px;
    border-radius: 22px;
    border: 1px solid transparent;
    background: linear-gradient(165deg, #101830, #0B1120 70%) padding-box, var(--grad) border-box;
    box-shadow: 0 34px 90px -34px rgba(139, 92, 246, .45), 0 20px 60px -30px rgba(0, 0, 0, .7);
}

.hero-form-head h2 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.01em
}

.hero-form-head p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 5px
}

.hero-form textarea {
    min-height: 86px
}

.hero-form .btn {
    width: 100%
}

.hero-note {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .05em;
    color: var(--dim);
    margin: -30px 0 40px
}

.field input,
.field select,
.field textarea {
    font-size: 16px
}

.drawer-head,
.drawer-cta {
    display: none
}


/* ---------- Patch: off-canvas mobile menu ---------- */

body.nav-open {
    overflow: hidden;
    overscroll-behavior: none
}

body.menu-open #header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(5, 7, 15, .98) !important
}

@media (max-width:860px) {
    .menu-btn {
        display: block
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px 16px calc(22px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, #0B1120, #05070F);
        border-left: 1px solid var(--border-strong);
        box-shadow: -40px 0 90px rgba(0, 0, 0, .55);
        transform: translateX(110%);
        visibility: hidden;
        overflow-y: auto;
        transition: transform .45s var(--ease-out), visibility 0s linear .45s;
    }
    .nav-links.open {
        transform: none;
        visibility: visible;
        transition: transform .45s var(--ease-out)
    }
    .nav-links a:not(.btn) {
        display: block;
        padding: 14px;
        font-size: 17px;
        font-weight: 600;
        color: var(--text);
        border-radius: 12px
    }
    .nav-links a:not(.btn):hover,
    .nav-links a.active:not(.btn) {
        background: rgba(139, 92, 246, .12);
        color: var(--cyan)
    }
    .drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 6px 14px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--border)
    }
    .drawer-title {
        font-family: var(--font-mono);
        font-size: 11.5px;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: var(--dim)
    }
    .drawer-close {
        background: rgba(148, 163, 191, .08);
        border: 1px solid var(--border-strong);
        border-radius: 12px;
        color: var(--text);
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: border-color .2s, color .2s
    }
    .drawer-close:hover {
        border-color: rgba(34, 211, 238, .5);
        color: var(--cyan)
    }
    .drawer-close:focus-visible {
        outline: 2px solid var(--cyan);
        outline-offset: 2px
    }
    .drawer-cta {
        display: block;
        margin-top: auto;
        padding-top: 16px
    }
    .drawer-cta .btn {
        width: 100%
    }
}

.nomobile {
    display: block;
}


/* ---------- Patch: responsive fixes ---------- */

@media (max-width:1080px) {
    .hero {
        padding: 140px 0 110px
    }
    .hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 44px
    }
    .hero-form {
        width: 100%;
        max-width: 600px;
        flex: 0 0 auto;
        min-width: 0
    }
}

@media (max-width:680px) {
    .nomobile {
        display: none;
    }
    .hero {
        padding: 112px 0 92px
    }
    .hero-note {
        margin: -26px 0 34px;
        text-align: center
    }
    .hero-form {
        max-width: none;
        text-align: left
    }
    .logo {
        font-size: 17px
    }
    .nav-cta .btn {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 40px
    }
}

@media (max-width:400px) {
    .nav-cta .btn {
        display: none
    }
}

@media only screen and (max-width:480px) {
    .hero-copy,
    .hero-form {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   Additions: honeypot, form hints, care plan band, about section
   ========================================================================== */

/* --- spam honeypot: must stay invisible to people, visible to bots --- */

.hp-field {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- form helpers --- */

.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--dim);
    line-height: 1.5;
}

.form-legal {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--dim);
}

.form-legal a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-legal a:hover {
    color: var(--text);
}

/* --- care plan band --- */

.care-band.four {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width:1080px) {
    .care-band.four {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:860px) {
    .care-band.four {
        grid-template-columns: 1fr;
    }
}

.care-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 8px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface2), var(--surface));
}

.care-item h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--text);
    margin-bottom: 6px;
}

.care-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 30px;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 8px;
}

.care-price span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: var(--dim);
}

.care-item p {
    font-size: 15px;
    line-height: 1.65;
}

.care-note {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--dim);
}

@media (max-width:860px) {
    .care-band {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

/* --- work modal role line --- */

.work-modal-role {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .02em;
    color: var(--cyan);
}

.work-modal-role[hidden] {
    display: none;
}

/* --- about / who you're working with --- */

#about {
    padding: 96px 0;
}

.about-wrap {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.about-photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--surface2), var(--surface));
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.about-photo-fallback {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 64px;
    letter-spacing: .04em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .5;
}

.about-photo.no-photo img {
    display: none;
}

.about-copy h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    color: var(--text);
    margin: 10px 0 18px;
}

.about-copy p {
    margin-bottom: 14px;
    max-width: 62ch;
}

.about-copy strong {
    color: var(--text);
}

.about-points {
    list-style: none;
    margin: 22px 0 26px;
    display: grid;
    gap: 10px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15.5px;
    color: var(--muted);
}

.about-points svg {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 4px;
    color: var(--cyan);
}

@media (max-width:860px) {
    #about {
        padding: 72px 0;
    }
    .about-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .about-photo {
        max-width: 240px;
        aspect-ratio: 1 / 1;
    }
}

/* --- testimonials (kept ready for when real ones exist) --- */

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 54px;
}

.testimonial {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.testimonial blockquote {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 16px;
}

.testimonial figcaption {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

.testimonial figcaption span {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13.5px;
    color: var(--dim);
}


/* ==========================================================================
   Geo gate: shown to visitors outside the countries we take work from
   (see geo-pricing.js - set blockOtherCountries:false to disable)
   ========================================================================== */

body.geo-blocked {
    overflow: hidden;
}

#geo-block {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--bg);
    background-image: radial-gradient(55% 45% at 12% -5%, rgba(139, 92, 246, .16), transparent 62%),
                      radial-gradient(45% 38% at 88% 8%, rgba(34, 211, 238, .10), transparent 60%);
}

.geo-block-card {
    max-width: 560px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 40px 34px;
}

.geo-block-card h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(23px, 4vw, 30px);
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.geo-block-card p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 14px;
}

.geo-block-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 26px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}
