:root {
    --bg: #030712;
    --bg-2: #0f172a;
    --panel: rgba(255, 255, 255, .055);
    --panel-strong: rgba(255, 255, 255, .09);
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(96, 165, 250, .48);
    --text: #f8fafc;
    --muted: #94a3b8;
    --soft: #cbd5e1;
    --blue: #60a5fa;
    --blue-strong: #2563eb;
    --purple: #a855f7;
    --green: #34d399;
    --shadow: 0 30px 90px rgba(0, 0, 0, .4);
    --hero-dissolve: 0;
    --hero-surface-opacity: 1;
    --hero-surface-scale: 1;
    --hero-surface-blur: 0px;
    --hero-fade-shade: 0;
    --hero-glow-opacity: .18;
    --hero-content-opacity: 1;
    --hero-content-blur: 0px;
    --hero-content-translate: 0px;
    --hero-content-scale: 1;
    --code-shift: 0px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent 80%);
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -4;
    background: url("/images/backends-gradient.png") center top / cover no-repeat;
    content: "";
    opacity: .7;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    letter-spacing: 0;
}

.site-shell {
    position: relative;
    isolation: isolate;
    overflow-x: clip;
    min-height: 100vh;
    background: transparent;
}

.code-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.code-backdrop {
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 28%, rgba(37, 99, 235, .09), transparent 34%),
        radial-gradient(circle at 76% 62%, rgba(168, 85, 247, .07), transparent 38%),
        linear-gradient(135deg, #000103, #020611 52%, #06020c);
}

.code-backdrop::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(96, 165, 250, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, .016) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    opacity: .55;
}

.code-backdrop::after {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, transparent 0, rgba(0, 1, 3, .42) 62%, rgba(0, 1, 3, .82) 100%),
        linear-gradient(90deg, rgba(0, 1, 3, .92), transparent 28%, transparent 72%, rgba(0, 1, 3, .92));
    content: "";
}

.code-backdrop pre {
    position: absolute;
    top: 3vh;
    left: max(18px, 5vw);
    width: min(1120px, 92vw);
    margin: 0;
    color: rgba(125, 170, 220, .34);
    font: 700 clamp(12px, 1.2vw, 17px) / 1.72 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    text-shadow: 0 0 18px rgba(96, 165, 250, .12);
    transform: translate3d(0, var(--code-shift), 0);
    transition: transform .08s linear;
    white-space: pre-wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px clamp(20px, 5vw, 72px);
    /* background: rgba(3, 7, 18, .72); */
    /* border-bottom: 1px solid var(--line); */
    backdrop-filter: blur(20px);
}

.site-header,
main,
.site-footer,
.contact-modal {
    position: relative;
    z-index: 2;
}

.brand,
.primary-nav,
.hero-actions,
.trusted div,
.site-footer,
.site-footer div {
    display: flex;
    align-items: center;
}

.brand {
    gap: 11px;
    font-weight: 850;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue-strong), var(--purple));
    box-shadow: 0 14px 34px rgba(37, 99, 235, .35);
}

.primary-nav {
    gap: 26px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 700;
}

.primary-nav a,
.site-footer a {
    transition: color .2s ease;
}

.primary-nav a:hover,
.site-footer a:hover {
    color: #fff;
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 850;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.header-cta {
    padding: 10px 17px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--line);
    color: #fff;
    font-size: 14px;
}

.button {
    padding: 14px 22px;
}

.button:hover,
.header-cta:hover,
.service-card:hover,
.project-card:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--blue-strong), var(--purple));
    box-shadow: 0 22px 48px rgba(37, 99, 235, .32);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .05);
}

.button-light {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 22px 48px rgba(255, 255, 255, .14);
}

button,
input,
select,
textarea {
    font: inherit;
}

.hero {
    position: relative;
    display: grid;
    min-height: calc(100vh - 80px);
    place-items: center;
    padding: clamp(78px, 10vw, 132px) clamp(20px, 5vw, 72px);
    overflow: hidden;
    text-align: center;
}

.hero::before {
    position: absolute;
    inset: -12vh -8vw;
    z-index: 0;
    background:
        radial-gradient(circle at 24% 28%, rgba(37, 99, 235, .46), transparent 30%),
        radial-gradient(circle at 76% 32%, rgba(168, 85, 247, .38), transparent 34%),
        url("/images/backends-gradient.png") center top / cover no-repeat,
        linear-gradient(135deg, rgba(2, 6, 23, .98), rgba(15, 23, 42, .98));
    content: "";
    opacity: var(--hero-surface-opacity);
    transform: scale(var(--hero-surface-scale));
    filter: blur(var(--hero-surface-blur));
    transition: opacity .08s linear, transform .08s linear, filter .08s linear;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 45%, rgba(96, 165, 250, var(--hero-glow-opacity)), transparent 36%),
        linear-gradient(to bottom, rgba(3, 7, 18, 0), rgba(3, 7, 18, var(--hero-fade-shade)));
    content: "";
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    opacity: var(--hero-content-opacity);
    filter: blur(var(--hero-content-blur));
    transform: translateY(var(--hero-content-translate)) scale(var(--hero-content-scale));
    transition: opacity .08s linear, filter .08s linear, transform .08s linear;
}

.glow {
    position: absolute;
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    border-radius: 999px;
    filter: blur(70px);
    opacity: .45;
    pointer-events: none;
}

.glow-blue {
    top: 20%;
    left: 16%;
    background: rgba(37, 99, 235, .5);
    animation: pulse-blue 8s ease-in-out infinite;
}

.glow-purple {
    right: 14%;
    bottom: 18%;
    background: rgba(168, 85, 247, .42);
    animation: pulse-purple 10s ease-in-out infinite;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: var(--soft);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(16px);
}

.pill-blue {
    border-color: rgba(96, 165, 250, .22);
    background: rgba(37, 99, 235, .12);
    color: var(--blue);
}

.spark {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--blue);
    box-shadow: 0 0 20px var(--blue);
}

h1 {
    margin: 30px auto 22px;
    font-size: clamp(48px, 9vw, 116px);
    line-height: .92;
}

h1 span {
    display: block;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #fff, #dbeafe 45%, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.16em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: .98;
}

h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.hero p,
.section-heading p,
.copy-panel p,
.service-card p,
.project-card p,
.process-card p,
.faq-item p,
.contact-card p,
.cta-panel p,
blockquote p {
    color: var(--muted);
}

.hero p {
    max-width: 760px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 42px;
}

.trusted {
    margin-top: 76px;
}

.trusted p {
    margin-bottom: 16px;
    color: #64748b;
    font-size: 14px;
}

.trusted div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.trusted span,
.tech-strip span {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    color: var(--soft);
}

.trusted span {
    padding: 9px 13px;
    font-size: 14px;
}

.section {
    padding: clamp(76px, 9vw, 128px) clamp(20px, 5vw, 72px);
}

.story-section {
    position: relative;
    min-height: 100vh;
}

.story-anchor {
    position: absolute;
    top: var(--story-anchor-top);
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.story-sticky {
    position: relative;
    min-height: 100vh;
    padding: clamp(78px, 8vw, 116px) clamp(20px, 5vw, 72px);
    display: grid;
    align-items: center;
    overflow: hidden;
    perspective: 1200px;
}

.story-panels {
    position: relative;
    display: grid;
    gap: clamp(70px, 8vw, 118px);
    isolation: isolate;
}

.story-panel {
    position: relative;
    display: grid;
    align-content: center;
    min-height: min(760px, 78vh);
    opacity: 1;
    pointer-events: auto;
}

.gsap-horizontal-story .story-section {
    min-height: 100vh;
}

.gsap-horizontal-story .story-sticky {
    min-height: 100vh;
    padding: 0;
    align-items: stretch;
}

.gsap-horizontal-story .story-panels {
    display: flex;
    gap: 0;
    width: max-content;
    min-height: 100vh;
    will-change: transform;
}

.gsap-horizontal-story .story-panel {
    position: relative;
    flex: 0 0 100vw;
    width: 100vw;
    min-height: 100vh;
    padding: clamp(84px, 8vw, 120px) clamp(24px, 7vw, 104px);
    opacity: .36;
    pointer-events: none;
    transform: scale(.92);
    filter: blur(8px);
    backface-visibility: hidden;
    will-change: transform, opacity, filter;
}

.gsap-horizontal-story .story-panel.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    filter: blur(0);
}

.gsap-horizontal-story .story-panel::before {
    top: clamp(82px, 8vw, 122px);
    right: clamp(24px, 7vw, 104px);
}

.gsap-horizontal-story .story-panel > .section-heading,
.gsap-horizontal-story .story-panel > .about-grid,
.gsap-horizontal-story .story-panel > .service-grid,
.gsap-horizontal-story .story-panel > .tech-strip,
.gsap-horizontal-story .story-panel > .process-grid,
.gsap-horizontal-story .story-panel > .project-grid,
.gsap-horizontal-story .story-panel > .testimonial-grid,
.gsap-horizontal-story .story-panel > .faq-list,
.gsap-horizontal-story .story-panel > .contact-grid,
.gsap-horizontal-story .story-panel > .cta-panel {
    width: min(1120px, calc(100vw - clamp(48px, 14vw, 208px)));
    margin-right: auto;
    margin-left: auto;
}

.story-panel::before {
    position: absolute;
    top: -2vh;
    right: clamp(0px, 4vw, 52px);
    z-index: -1;
    color: rgba(96, 165, 250, .055);
    content: attr(data-stage-label);
    font-size: clamp(120px, 22vw, 330px);
    font-weight: 950;
    line-height: .75;
}

.story-progress {
    position: absolute;
    top: 50%;
    right: clamp(12px, 2.4vw, 34px);
    z-index: 4;
    display: grid;
    gap: 8px;
    transform: translateY(-50%);
}

.story-progress span {
    display: grid;
    width: 34px;
    height: 28px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(203, 213, 225, .48);
    font-size: 11px;
    font-weight: 900;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.story-progress span.is-active {
    border-color: rgba(96, 165, 250, .34);
    background: rgba(37, 99, 235, .12);
    color: #dbeafe;
}

.horizontal-progress {
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    bottom: clamp(18px, 4vw, 44px);
    left: clamp(20px, 5vw, 72px);
    z-index: 5;
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    gap: 16px;
    align-items: center;
    color: rgba(203, 213, 225, .62);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.horizontal-progress div {
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
}

.horizontal-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    transform: scaleX(0);
    transform-origin: left center;
}

.story-panel.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.section-heading {
    max-width: 880px;
    margin-bottom: 48px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading .pill {
    margin-bottom: 22px;
}

.stats,
.service-grid,
.process-grid,
.project-grid,
.testimonial-grid,
.contact-grid {
    display: grid;
    gap: 22px;
}

.stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 24px;
}

.stat-card,
.service-card,
.process-card,
.project-card,
blockquote,
.faq-item,
.contact-card,
.copy-panel,
.assurance-list,
.cta-panel {
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .46)),
        linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.stat-card {
    padding: 28px;
    text-align: center;
}

.stat-card strong {
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 46px;
    line-height: 1;
}

.stat-card span {
    color: var(--muted);
}

.about {
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
    gap: 22px;
}

.copy-panel,
.assurance-list {
    padding: 32px;
}

.copy-panel p {
    max-width: 840px;
    font-size: 18px;
}

.copy-panel p:last-child {
    margin-bottom: 0;
}

.assurance-list {
    display: grid;
    gap: 14px;
}

.assurance-list span {
    display: block;
    padding: 15px 16px;
    border: 1px solid rgba(52, 211, 153, .16);
    border-radius: 16px;
    background: rgba(52, 211, 153, .07);
    color: #d1fae5;
    font-weight: 750;
}

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

.service-card,
.project-card,
.process-card,
.contact-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-card:hover,
.project-card:hover,
.contact-card:hover {
    border-color: var(--line-strong);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .84), rgba(15, 23, 42, .52)),
        linear-gradient(135deg, rgba(255, 255, 255, .095), rgba(255, 255, 255, .035));
}

.icon-box {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .24), rgba(168, 85, 247, .24));
    color: #dbeafe;
    font-weight: 900;
}

.service-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--soft);
    font-size: 13px;
}

.tech-section {
    background: transparent;
}

.tech-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 1020px;
    margin: 0 auto;
}

.tech-strip span {
    padding: 13px 18px;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.tech-strip span:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .08);
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card span,
.project-card span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

.project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card::after {
    position: absolute;
    top: -46px;
    right: -46px;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .18);
    content: "";
    filter: blur(34px);
}

.project-card a,
.contact-card a {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 850;
}

.testimonials,
.contact {
    background: transparent;
}

.testimonial-grid,
.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

blockquote {
    margin: 0;
    padding: 30px;
}

blockquote p {
    font-size: 18px;
}

cite {
    display: block;
    color: var(--soft);
    font-style: normal;
    font-weight: 800;
}

.faq-list {
    display: grid;
    max-width: 980px;
    margin: 0 auto;
    gap: 14px;
}

.faq-item {
    padding: 25px;
    transition: border-color .2s ease, transform .2s ease;
}

.faq-item:hover {
    transform: translateX(4px);
    border-color: var(--line-strong);
}

.faq-item h3 {
    color: var(--blue);
}

.contact-card {
    text-align: center;
}

.contact-card span {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 999px;
    background: rgba(37, 99, 235, .18);
    color: #bfdbfe;
    font-weight: 900;
}

.final-cta {
    padding-top: 34px;
}

.cta-panel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(40px, 7vw, 72px);
    overflow: hidden;
    text-align: center;
}

.cta-panel h2,
.cta-panel p,
.cta-panel .hero-actions {
    position: relative;
    z-index: 2;
}

.cta-panel p {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    font-size: 20px;
}

.glow-panel {
    top: -80px;
    right: -70px;
    width: 330px;
    height: 330px;
    background: rgba(37, 99, 235, .34);
}

.site-footer {
    justify-content: space-between;
    gap: 22px;
    padding: 30px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer div {
    gap: 18px;
}

.contact-modal {
    width: min(720px, calc(100vw - 32px));
    max-height: min(860px, calc(100vh - 32px));
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: transparent;
    color: var(--text);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .62);
}

.contact-modal::backdrop {
    background: rgba(3, 7, 18, .72);
    backdrop-filter: blur(12px);
}

.modal-card {
    position: relative;
    overflow: auto;
    max-height: min(860px, calc(100vh - 32px));
    padding: clamp(24px, 5vw, 42px);
    background:
        radial-gradient(circle at 20% 0, rgba(37, 99, 235, .28), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(168, 85, 247, .25), transparent 36%),
        rgba(15, 23, 42, .96);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.modal-heading {
    max-width: 580px;
    margin-bottom: 24px;
}

.modal-heading h2 {
    margin-top: 20px;
    font-size: clamp(34px, 5vw, 54px);
}

.modal-heading p {
    color: var(--muted);
}

.form-notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 750;
}

.form-notice p {
    margin: 0;
}

.form-notice p + p {
    margin-top: 8px;
}

.form-notice.success {
    border: 1px solid rgba(52, 211, 153, .32);
    background: rgba(52, 211, 153, .12);
    color: #d1fae5;
}

.form-notice.error {
    border: 1px solid rgba(248, 113, 113, .36);
    background: rgba(248, 113, 113, .12);
    color: #fee2e2;
}

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

.modal-form label {
    display: grid;
    gap: 8px;
}

.modal-form span {
    color: var(--soft);
    font-size: 14px;
    font-weight: 850;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.modal-form input,
.modal-form select {
    min-height: 48px;
    padding: 0 14px;
}

.modal-form textarea {
    min-height: 132px;
    resize: vertical;
    padding: 13px 14px;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    border-color: var(--blue);
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 0 0 4px rgba(96, 165, 250, .16);
}

.modal-form select option {
    background: #0f172a;
}

.form-wide {
    grid-column: 1 / -1;
}

.modal-form button {
    border: 0;
    cursor: pointer;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.reveal {
    animation: fade-up .7s ease both;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-blue {
    0%,
    100% {
        opacity: .3;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(1.18);
    }
}

@keyframes pulse-purple {
    0%,
    100% {
        opacity: .25;
        transform: scale(1.2);
    }
    50% {
        opacity: .42;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --hero-dissolve: .35;
        --hero-surface-opacity: .65;
        --hero-surface-scale: 1;
        --hero-surface-blur: 0px;
        --hero-fade-shade: .25;
        --hero-glow-opacity: .12;
        --hero-content-opacity: 1;
        --hero-content-blur: 0px;
        --hero-content-translate: 0px;
        --hero-content-scale: 1;
        --code-shift: 0px;
    }

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

    .story-section {
        min-height: auto;
    }

    .story-sticky {
        position: relative;
        min-height: auto;
        padding-top: clamp(76px, 9vw, 128px);
        padding-bottom: clamp(76px, 9vw, 128px);
    }

    .story-progress {
        display: none;
    }

    .story-panels {
        display: grid;
        min-height: auto;
        gap: clamp(76px, 9vw, 128px);
    }

    .story-panel {
        position: relative;
        inset: auto;
        opacity: 1 !important;
        pointer-events: auto;
        transform: none !important;
        filter: none !important;
    }

}

@media (max-width: 1100px) {
    .stats,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-panel.stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .project-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .primary-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .header-cta {
        width: 100%;
    }

    .hero {
        min-height: auto;
        text-align: left;
    }

    .hero p,
    .hero-inner,
    .section-heading.center,
    .contact-card,
    .cta-panel {
        text-align: left;
    }

    .hero-actions,
    .trusted div {
        justify-content: flex-start;
    }

    .stats,
    .service-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .story-sticky {
        padding-top: clamp(64px, 12vw, 92px);
        padding-bottom: clamp(64px, 12vw, 92px);
    }

    .story-panels {
        gap: clamp(64px, 12vw, 92px);
    }

    .story-panel,
    .story-panel.stats {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

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

    .modal-form {
        grid-template-columns: 1fr;
    }
}
